LLM Cost Calculator

All calculations run locally in your browser — no token counts or model choices are sent anywhere.

Input Cost

$0.00

Output Cost

$0.00

Total Cost

$0.00

How to use this LLM cost calculator

  1. Pick the model you plan to use.
  2. Enter your expected input and output token counts.
  3. The estimated cost in USD updates instantly.

How is API cost calculated?

Most LLM providers charge separately for input tokens (the prompt you send) and output tokens (the response generated), usually priced per million tokens. Output tokens are almost always more expensive than input tokens, so a long generated response costs more than a long prompt with a short answer.

Are these prices exact?

They're the standard public list prices at the date shown above, but providers change pricing periodically and may offer batch, cached, or volume discounts — check your provider's official pricing page for exact billing.

How do I get my token counts?

Use OmniDeck's Token Counter to get exact input token counts for your prompt, then estimate expected output length separately.