What is a token?
Language models read and write text in small chunks called tokens. A token can be a whole short word, part of a longer word, or punctuation. In English, a useful rule of thumb is that one token is about four characters, or roughly three quarters of a word, so 1,000 words is close to 1,300 tokens. The exact count depends on the model’s tokenizer, so treat this as an estimate.
How token-based pricing works
Many model providers charge separately for input tokens, which are everything you send to the model, and output tokens, which are what it writes back. Prices are usually quoted per million tokens, and output tokens typically cost more than input tokens. This calculator multiplies your volumes by the prices you enter, so it stays accurate whatever your provider charges. We do not include prices of our own because they change often.
The formula is simple: monthly cost = (input tokens / 1,000,000 x input price) + (output tokens / 1,000,000 x output price).
Why agents cost more than a single prompt
A one-off question is a single call. An agent makes several calls per task, and each call often re-sends the growing conversation, instructions and tool results. That means input tokens can add up much faster than you expect. A task that looks like a 500-word question can turn into dozens of thousands of tokens once an agent loops through a few tools.
Six ways to cut your token costs
- Trim the context. Send only what the model needs, not whole documents.
- Cap the number of steps an agent may take per task.
- Use a smaller model for easy steps, such as classification, and a stronger one for hard reasoning.
- Cache repeated instructions if your provider offers prompt caching, and check how it is billed.
- Ask for concise output. Output tokens usually cost more.
- Measure real runs. Log token counts for ten typical tasks and use those averages here.
Where this fits with other costs
Tokens are only part of the bill. Automation platforms also charge by executions, tasks or credits, and people spend time reviewing output. Combine this estimate with our AI agent cost calculator and the ROI calculator, and read how agent pricing works for the full picture.
Frequently asked questions
How many tokens are in 1,000 words?
Roughly 1,300 tokens for typical English text. Code, other languages and unusual formatting can use more.
Why are input and output priced differently?
Providers set separate rates because generating output costs more compute than reading input. Check your provider’s pricing page for the current rates.
Does this include the cost of the platform?
No. It covers model usage only. Add platform fees, such as executions or credits, separately.
Is my data stored?
No. Everything runs in your browser.