OpenAI Developer Forum
When sending a message to OpenAI chat api does it add json special characters ex. "{" to the final amount of prompt_tokens?
API
chatgpt
,
token
,
billin
backroot
August 29, 2023, 8:37am
3
@KingOfPeru
I hope my post is helpful.
show post in topic
Related Topics
Topic
Replies
Views
Activity
What is the reason for adding total 7 tokens?
API
chatgpt
,
api
12
3627
December 11, 2023
Using the API the token count is off
API
10
1282
January 16, 2024
Prompt tokens usage seems too high
API
api
1
2149
January 21, 2024
How does ChatML do the exact formatting?
API
3
6822
June 6, 2023
Is JSON Mode supposed to result in a higher prompt token count?
API
2
1162
December 1, 2023