Inference quotes come in different shapes: three per-token prices, a monthly commit with overage, or a dedicated endpoint billed by the GPU-hour. The number people tend to compare first, the output price, often isn't the one that decides the bill. This guide shows how to put every quote on one scale using your own traffic, and what to check besides price.
Price every quote at your own mix
Start with last month's logs. You need three numbers, in millions of tokens:
- Input tokens billed at the full input price.
- Cached input tokens: the part of your prompts that repeats a prefix the provider has already processed.
- Output tokens.
Then compute each quote's monthly cost and blended price:
Monthly cost = input M × input price + cached M × cached price + output M × output price
Blended $/M = monthly cost ÷ total M
Public comparisons need a fixed reference mix. The API pricing pages use one so providers can be ranked, but your mix may look nothing like it. For a dedicated endpoint or GPU-hour quote, divide the monthly cost by your monthly tokens instead. Dedicated endpoint vs per-token pricing covers the capacity side of that.
Why cached input matters for agents
An agent loop sends the system prompt, the tool definitions and the conversation so far on every step. Input grows with every turn, while each step's output is often short. Much of that input repeats a prefix the provider saw on the previous step.
Prompt caching keeps the computed state for a prompt prefix so that a later request starting with the same prefix doesn't recompute it. Providers that support it charge less for cached input tokens. For agent workloads, the cached price can decide which quote is cheapest.
Cache rules differ, so ask:
- How large the discount is.
- Whether caching is automatic or needs markers in the request.
- The minimum prefix length, and how long a cached prefix stays available.
- Whether writing to the cache costs extra.
- How requests from one session get routed to servers that hold its cache.
Your hit rate on a new provider may differ from what you see today, so test before you commit.
A worked example
The prices here are illustrative quotes for the same open-weight model.
| Provider A | Provider B | Provider C | |
|---|---|---|---|
| Input $/M | $0.60 | $0.45 | $0.40 |
| Cached input $/M | $0.30 | $0.09 | No discount ($0.40) |
| Output $/M | $1.20 | $1.80 | $1.60 |
A has the cheapest output and C the cheapest input. Now price them at two mixes:
- Agent mix: 1,500M input, 6,000M cached input and 500M output a month (8,000M total).
- Generation mix: 400M input, no cached input and 600M output a month (1,000M total).
| Provider A | Provider B | Provider C | |
|---|---|---|---|
| Agent mix, monthly | $3,300 | $2,115 | $3,800 |
| Agent mix, blended $/M | $0.413 | $0.264 | $0.475 |
| Generation mix, monthly | $960 | $1,260 | $1,120 |
| Generation mix, blended $/M | $0.960 | $1.260 | $1.120 |
On the agent mix, A costs 56% more than B despite the cheapest output price. C has the cheapest input and costs the most, because it gives no cache discount. On the generation mix, A wins. Same three quotes, two different winners.
Check how sensitive the result is. If only half of the 6,000M cacheable tokens actually hit the cache on both A and B, A rises to $4,200 a month and B to $3,195. B still wins, but by less.
Minimum commitments and overage
A commit lowers your rate in exchange for a minimum. Price it like this:
Monthly cost = the greater of (usage at the committed rates) and (the monthly minimum), plus overage
Ask:
- What happens if you use less than the minimum: is it lost, rolled into later months, or spread across the term?
- What you pay above the commit: the same rate, or list price?
- Whether rate limits rise with the commit.
Price every commit at your low-volume case as well as your expected case. A cheap rate with a high minimum can cost the most in a slow month.
Quantization and context length
Ask which precision each provider serves: BF16, FP8 or 4-bit. Lower precision is cheaper to serve and can reduce quality, depending on the model and method. Run your own evals against each provider's endpoint rather than trusting the model card.
Check context length too. A provider may serve a shorter maximum context than the model supports, cap output length, or charge a higher rate above a prompt-length threshold. The per-model pages, such as DeepSeek V4.1 Flash and Kimi K3.1 Pro, list quantization and context for each provider.
Latency, throughput and limits
- Time to first token at p50 and p95, measured at your prompt length.
- Output speed per request, in tokens per second.
- Rate limits in requests and tokens per minute, compared with your peak.
- What happens above the limit: errors (HTTP 429) or queueing.
- Whether these numbers are in the contract with credits, or just typical figures.
Data retention and term
Zero data retention should mean prompts and outputs aren't stored after the response and aren't used for training. Get the definition in writing, including what metadata is logged. Ask how it interacts with prompt caching, since cached prefixes are held for a time. Ask too where requests are processed.
Term covers more than length. Ask whether you get lower list prices if they drop during your term, how much notice you get before a price change, and what happens when the provider retires the model version you depend on.
Put it on one sheet
For each quote, record:
- Blended $/M and monthly cost at your expected mix.
- Monthly cost at your low-volume case.
- Minimum, overage rate and unused-commit rules.
- Quantization, max context and max output.
- Latency and rate-limit guarantees.
- Retention terms, processing region and term length.
QuoteGPU's inference request asks for your token mix (input, cached input and output), peak load, latency target and retention needs. Verified providers quote it, and every quote shows up priced at your mix. It's free for buyers, and you sign directly with the provider. Request inference quotes.
Questions
What is a blended price per million tokens?
It's your monthly cost divided by your total monthly tokens, using your own mix of input, cached input and output. It turns three separate prices into one number you can compare across providers.
Why does cached input pricing matter for AI agents?
Agents resend the system prompt, tool definitions and conversation history on every step, so most of their tokens are repeated input. A provider with a deep discount on cached input can be the cheapest option for that traffic even if its output price is higher.
Should I compare inference providers on output price alone?
No. Output price decides the bill only when your traffic is output-heavy. For input-heavy or agent traffic, the input and cached input prices often matter more, so price every quote at your own mix.
What does zero data retention mean in an inference contract?
It usually means the provider doesn't store your prompts or outputs after responding and doesn't train on them. Definitions vary, so get the exact terms in writing, including what metadata is logged and how prompt caching is handled.