← All tools
// AI TOOL

LLM Token Counter & Cost Calculator

Calculate Claude, GPT, Gemini and DeepSeek API costs for your use case. Prices in EUR (approximate). Price list updated November 2026 — check current prices with the provider before production deployment.

Author: CreateAI teamUpdated:

Your Use Case

Output is estimated at 30% of input length. Slovenian uses 20–30 % more tokens.
For a chatbot ~500/day, for content gen ~30/day
Estimate: 201 input + 60 output tokens per call

Model comparison (USD / ≈EUR)

Cheapest: Claude Haiku 5.5 - ≈€0.14/month
100× difference between the most expensive and the cheapest
ModelPricing / 1M tok./call/month/year
Claude Haiku 5.5
Anthropic
$0.10 / $0.50≈€0.0000≈€0.14≈€2
GPT-6 Luna
OpenAI
$0.10 / $0.50≈€0.0000≈€0.14≈€2
DeepSeek V4.1 Flash
DeepSeek
$0.30 / $1.20≈€0.0001≈€0.37≈€4
Gemini 3.5 Flash Lite
Google
$0.30 / $2.50≈€0.0002≈€0.58≈€7
DeepSeek V4 Pro
DeepSeek
$0.95 / $1.91≈€0.0003≈€0.85≈€10
Gemini 3.8 Flash
Google
$0.82 / $4.13≈€0.0004≈€1.14≈€14
GPT-6.1 Terra
OpenAI
$1.00 / $5.00≈€0.0005≈€1.38≈€17
Claude Sonnet 5.5
Anthropic
$2.00 / $10.00≈€0.0009≈€2.77≈€34
GPT-6.1 Sol
OpenAI
$2.00 / $10.00≈€0.0009≈€2.77≈€34
Gemini 4 Carbon
Google
$2.00 / $10.00≈€0.0009≈€2.77≈€34
Claude Opus 5.5
Anthropic
$4.00 / $20.00≈€0.0018≈€5.53≈€67
Claude Fable 5.2
Anthropic
$8.00 / $40.00≈€0.0037≈€11.06≈€135
GPT-6 Astra
OpenAI
$10.00 / $50.00≈€0.0046≈€13.83≈€168

Optimization tips

  • Prompt caching = 90% savings on repeated system prompts
  • Batch API = 50% savings on non-realtime calls
  • Model routing = simple tasks on Haiku/Flash, complex on Sonnet/Pro
  • max_tokens limit = prevent overly long outputs

How do you calculate the cost of LLM API calls?

Every API call to Claude, GPT, Gemini or DeepSeek is billed by tokens. One token corresponds to roughly 4 characters or 0.75 words in English — in Slovenian words are longer, so there are ~20–30% more tokens. The token counter counts precisely: input tokens (prompt + context), output tokens (response) and the total cost for the chosen model.

The calculator is especially useful for comparing models: Claude Haiku suits high-frequency tasks at low cost, while Claude Opus suits complex, high-value analysis. For an application with 10,000 calls a day the cost difference between models can be a thousandfold — comparing them on your actual text shows the real picture.

Frequently asked questions

Is Slovenian text tokenised differently?

Yes. Diacritics (č, š, ž) and long Slavic words often take 2–3 tokens instead of one. For Slovenian text, count on 20–30% more tokens than for English text of the same length.

What is the context window?

The maximum number of tokens a model sees at once. The latest Claude models have a context window of 200,000+ tokens — at least ~150,000 words or 500 pages of text. Longer context is usually more expensive.

How do I optimise API costs?

Shorten the system prompt, implement prompt caching (Claude supports it), choose a smaller model for simple tasks and set an output token limit where possible.

Does the calculator support batch processing?

The calculator estimates a single call. For a batch estimate (e.g. 10,000 documents), multiply the average tokens per document by the batch price — most models offer a 50% discount for asynchronous batch calls.

Want help with the next step?

We review the tool result and show you which fixes are worth making first.

Free consultation →

Or send us an enquiry

Token and API cost counter | CreateAI