OutputTokenCount
Last updated
Was this helpful?
The OutputTokenCount() function returns the number of output tokens that the AI model has generated for an AI agent conversation. Output tokens cover everything the model returns, such as the agent's replies and, when enabled, its reasoning.
Use this function together with InputTokenCount() for cost tracking, usage quotas, or to display token usage in the application.
This function is NOT SQL compatible. For more information about SQL compatibility, see our documentation.
Returns a numeric value containing the number of output tokens generated for the conversation.
conversation
AI agent conversation
☑️
an AI agent conversation field from the data model
Last updated
Was this helpful?
Was this helpful?