OpenAI Developer Forum
How to get token usage for each API call in streaming model?
API
PaulBellow
May 3, 2023, 6:18am
3
Genuinely trying to be helpful here…
helpful
587×755 26.8 KB
show post in topic
Related topics
Topic
Replies
Views
Activity
OpenAi API - get usage tokens in response when set stream=True
API
31
34377
August 3, 2024
Token usage when using openai.chat.completions.create stream: true
API
gpt-4
,
token
7
4213
November 4, 2023
Why there is no USAGE object returned with Streaming Api Call?
API
api
,
chat-completion
,
completions
19
4652
February 23, 2024
Chat completion "stream" API token usage
API
api
3
5978
May 6, 2024
Usage Info in API Responses
Announcements
20
10732
September 27, 2023