# Token pricing calculator

> Source: TokenPricing (https://tokenpricing.co) — https://tokenpricing.co/calculator. When citing or reusing this content, credit "TokenPricing" and link to https://tokenpricing.co/calculator.

Calculate cost per token and monthly LLM API spend. Compare input, output and cache-read costs using published model pricing or your own custom rates.

Canonical URL: https://tokenpricing.co/calculator
Last updated: 2026-10-19T18:20:00.103Z

Reproduction and quotation must name TokenPricing, link to the canonical HTML URL, and retain individual source citations.

Price interpretation: a displayed $0.00 is a reported zero rate, not a missing price or a promise of unlimited free access; provider eligibility, availability and limits still apply. Missing prices are marked unavailable.

[All model pricing](https://tokenpricing.co/)

From a single request to a month of traffic. Estimate your LLM API bill using separate input, output, and cached token pricing.

01

## Choose model pricing or enter custom rates

Input $/1M **$4.00**Output $/1M **$20.00**

02

## Tell us about your workload

Input tokens include cache hits. Cached tokens are charged once, at the cache-read rate.

## Your estimate

USD

Estimated monthly cost**$140.00**

$0.014 per request

Uncached input

$40.00

Cached input

$0.00

Output

$100.00

Estimate only. Excludes taxes, cache writes/storage, request fees and non-token charges. Provider tiers and discounts may change the total.

### Compare pricing for this workload

Estimates use published model pricing and your token usage. Compare capabilities and quality before choosing.

## How token pricing becomes your API cost

Apply input, output and cache-read pricing separately, then multiply by your request volume. All rates below are per 1 million tokens.

Monthly cost = requests × [(uncached input × input rate + cached input × cache rate + output × output rate) ÷ 1,000,000]

### 10,000 requests. 40% cache hits.

Each request uses 1,000 input and 500 output tokens. At $2 input, $8 output and $0.50 cached input per million: $12 uncached input + $2 cached input + $40 output.

**$54.00 per month**

Illustrative pricing, not a quote for a particular model.

## Build a budget you can trust

### Measure actual usage

System prompts, retrieved documents, tool definitions and conversation history all consume input tokens. Sample real requests rather than estimating from visible message length.

### Include reasoning output

For models that bill reasoning tokens, include them in output usage even when they are not visible in the final answer. Check the provider’s usage breakdown.

### Model realistic cache hits

Prompt caches usually have eligibility rules, minimum lengths and expiration times. Use an observed cache hit rate; 100% caching is rarely a safe starting assumption.

---
Cite as: Token pricing calculator — TokenPricing, https://tokenpricing.co/calculator (retrieved 2026-10-19)
