OpenAI Developer Community
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
4162
December 11, 2023
Using the API the token count is off
API
11
1895
December 29, 2025
Prompt tokens usage seems too high
API
api
1
2821
January 21, 2024
Prompt tokes are much lower than the number mentioned in the response
API
6
220
January 10, 2025
How does ChatML do the exact formatting?
API
3
9031
June 6, 2023