Free LLM inference cost calculator

Compare inference architectures before you benchmark them.

Project the cost, latency, and quality of three model configurations, including routing, retries, provider prompt caching, and full-response caching. Then export the assumptions for a representative local test.

04 / Project the frontier

Plan a benchmark from measured workload inputs.

Replace the illustrative inputs with a measured workload profile and provider prices. The planner identifies configurations that appear dominated and makes the assumptions portable.

  • Three configurations
  • Two cache types
  • Browser-only calculations
Projection workspace

Illustrative defaults. Replace prices and performance assumptions with your own evidence.

Shared workload

Traffic + routing mix

Routing shares total 100%. The modeled mix is complete.

Configuration A

Tokens per model call

Provider price per 1M tokens

Full-response cache

A hit serves a stored answer and avoids the model call entirely.

Configuration B

Tokens per model call

Provider price per 1M tokens

Full-response cache

A hit serves a stored answer and avoids the model call entirely.

Configuration C

Tokens per model call

Provider price per 1M tokens

Full-response cache

A hit serves a stored answer and avoids the model call entirely.

Projection assumptions

The planner routes each request once and normalizes traffic shares to 100%. A response-cache hit bypasses the model path. Retry assumptions apply to cache misses: 25% means 1.25 model attempts per miss; 150% means 2.5. The planner adds retry latency in sequence. Input includes prompt-cached tokens. Enter all billable output, including reasoning tokens that the provider bills as output. Cost covers provider usage in USD and excludes implementation, infrastructure, and labor.

Projected blended portfolio

Use this projection to plan the benchmark.

$11,724projected provider cost / month

Cost / 1,000 requests$11.7237

Blended across the normalized routing mix.

Average latency669 ms

Derived from entered path, cache, and retry assumptions.

Weighted quality87.7 / 100

You supply the score; this page calculates its weighted average.

Model calls / month997,400

After response-cache hits and retry assumptions.

Modeled cache difference$839

Positive means lower cost versus the same mix with no caching.

Projected configuration map

Cost × latency, with quality shown by point size

Lower-left is less expensive and faster. A ring marks a non-dominated configuration.

Projected inference configuration mapConfigurations plotted by projected cost per thousand requests and projected average latency. Larger points indicate higher user-supplied quality scores.$0.00$11.70$23.400 ms494 ms988 msProjected cost per 1,000 requestsProjected average latencyABC
Projected inference configuration comparison
ConfigurationStatusNormalized trafficCost / 1KMonthly costAverage latencyQuality
Frontier modelFrontier40%$23.40$9,360988 ms92 / 100
Efficient modelFrontier45%$4.5873$2,064509 ms86 / 100
Specialized endpointFrontier15%$1.9958$299297 ms81 / 100
Projection boundary

You supply the prices and quality scores. The planner calculates weighted average latency. Use a representative local benchmark to test rate limits, tail latency, failures, cache eligibility, stale responses, and workload-specific quality.

Method version: 2026-09-05.

Inputs in the projection

Compare cost, speed, and quality together.

Routing, cache eligibility, retries, response length, latency, and workload quality can outweigh a lower token price.

01

Configuration frontier

Compare cost per thousand requests, projected average latency, and a user-supplied quality score without collapsing them into one arbitrary rating.

02

Two kinds of caching

Provider prompt caching discounts eligible input tokens. A full-response cache avoids the model call. The planner models them separately.

03

Reusable benchmark inputs

Download the workload and configurations as JSON, then use the same assumptions in a local benchmark.

Run a benchmark before choosing a configuration

A local benchmark with representative prompts, real endpoints, and your evaluation rubric measures workload quality, tail latency, reliability, cache eligibility, retrieval relevance, and failure behavior. Use the planner to choose the configurations for that benchmark.