Token estimates seems to depends heavily to openai api.
As far as I know, each model provider (openrouter, gemini, openai, …) has it own method to retreive the token counts for each request (for example, openrouter use await fetch("https://openrouter.ai/api/v1/generation?id=$GENERATION_ID", { headers })
Please authenticate to join the conversation.
Closed
Feature Request
About 2 years ago
Get notified by email when there are changes.
Closed
Feature Request
About 2 years ago
Get notified by email when there are changes.