Clarification on Code Interpreter Billing for Sessions

Hi,

I have a question regarding the billing for the Code Interpreter, as mentioned in the documentation:
https://platform.openai.com/docs/assistants/tools/code-interpreter

The Code Interpreter is charged at $0.03 per session, with each session lasting for one hour by default. Could you clarify how sessions are counted for billing purposes?

  1. If a user keeps interacting with the same thread after one hour has passed, will they be charged for a second session?
  2. If a user leaves the thread and returns to it several days later, will that count as a new session and incur an additional charge?

The most important question is: Is there a way to track how many sessions we have incurred?

Thanks for the clarification!