Rule of thumb For English: 1 token ≈ 4 characters or 0.75 words . For German: 1 token ≈ 3 characters or 0.6 words . Special characters, emojis, and code generate a disproportionately large number of tokens.
Calculate tokens and costs
0 / 10,000
02.0004.0006.0008.000
Tokens 0
Characters / Words 0 0 Words
Estimated cost  

Cost breakdown (per request)

Input
Output
Total
Gymnastics Input Overhead Output Total Turn
185092001,059
21,100152001,315
31,350212001,571
41,600272001,827
51,850332002,083
Total6,7501051,0007,855
Scenario Per conversion At 100,000 conversations/month
Standard (no caching, no batching)$0.0356$3,560
With prompt caching (system prompts cached starting from turn 2)$0.0269$2,692
With caching + batch API (50% discount)$0.0135$1,346
What this means: The default implementation of a chatbot (no caching, no batching, everything in real time) is the most expensive option. If you take costs seriously, you should implement caching from the start—with OpenAI and Anthropic, it’s a simple header setting. Batching is only relevant where response time isn’t critical.
Batch API
Asynchronous processing mode with a 50% discount on input and output. Responses are provided within 24 hours instead of in real time.
Cached Input
Input tokens that have already been processed in a previous call and cached by the provider. Billed at approximately 10% of the normal price.
Context Window
Maximum number of tokens a model can process in a single request (input + output combined).
Input Token
Token sent to the AI — everything in the prompt: system prompt, user message, chat history.
Max Output
Maximum number of tokens the model can generate in a single response. Must be less than the Context Window.
Output Token
Token generated by the AI in its response. Typically 4–5 times more expensive than the input.
Overhead Tokens
Invisible control tokens that every message in a chat request receives—typically 3 per message plus 3 for the entire request.
Prompt Caching
A mechanism that allows providers to cache recurring prompt components (typically system prompts) and bill them at the cached price for the next request.
System prompt
The instruction at the beginning of an AI request that defines the model’s behavior (persona, response style, constraints). Is sent again with every request in a conversation.
Token
The smallest processing unit of a language model. Subword-based, typically 3–5 characters long. Each provider has its own tokenizer.
Tokenizer
An algorithm that breaks text down into tokens. OpenAI uses tiktoken; other providers use proprietary methods.

Prices as of May 2026. Check the providers’ official websites for current rates at any time.