LLM Token Cost Estimator

Paste your prompt and completion text to see token counts and API cost estimates across popular LLM models.

Prompt (Input Tokens)

Estimated input tokens: 0 0 chars

Completion (Output Tokens)

Estimated output tokens: 0 0 chars

Volume Projection

calls / month

Cost Comparison

Prices as of mid-2025
0
Input tokens
0
Output tokens
0
Total tokens

Monthly Cost at 1,000 calls/mo

Summary

Paste your prompt and completion text to see token counts and API cost estimates across popular LLM models.

How it works

  1. Paste your prompt text into the input field and any expected completion text into the output field.
  2. The tool uses the GPT-2/GPT-3 tokenization rule of thumb (1 token ≈ 4 characters, or ~0.75 words) to estimate token counts.
  3. Select the models you want to compare from the model list.
  4. Cost estimates update instantly based on current published API pricing (input and output token rates).
  5. Use the monthly volume field to project costs at scale.

Use cases

  • Budget LLM API spend before committing to a production deployment.
  • Compare GPT-4o vs Claude 3.5 Sonnet vs Gemini 1.5 Pro for a specific use case.
  • Estimate monthly costs when running thousands of API calls per day.
  • Quickly check whether a long system prompt meaningfully increases per-call cost.
  • Evaluate cheaper models (GPT-4o mini, Haiku) as drop-in alternatives.
  • Prototype prompt cost before wiring up an API key.

Frequently Asked Questions

Last updated: 2026-06-11 · Reviewed by Nham Vu