LLM Token Cost Estimator

Estimate API spending by combining prompt and completion token counts with per-1K token pricing.

Planning tool only; confirm pricing with your AI platform before committing budget.

Examples

  • 1,200 prompt + 800 completion tokens at $0.002/$0.006 ⇒ 2,000 tokens → $0.0072 total
  • 6,000 prompt + 6,000 completion tokens at $0.010/$0.030 ⇒ 12,000 tokens → $0.2400 total

FAQ

Can I estimate a monthly budget?

Multiply the total cost result by your expected number of similar requests each month.

What if my provider quotes per million tokens?

Convert the price to a per-1K basis by dividing by 1,000 before entering the rate.

Does this include network or storage fees?

No, it focuses solely on tokenized input/output costs.

Additional Information

  • Vendors bill per 1,000 tokens, so divide your counts by 1,000 before multiplying by the rate.
  • Prompt and completion pricing often differ; some models also include image or embedding fees that are not captured here.