The short answer: an enterprise LLM bill is not “unit price × tokens”. It is driven by input and output tokens, cache hits, batch discounts, reasoning tokens, tool calls, and retries. At 100 million input and 20 million output tokens per month, DeepSeek Flash costs about RMB 360 at peak, while OpenAI GPT-6.1 Sol and Claude Sonnet 5.5 cost about USD 400 at standard list prices. Caching, batch, and model routing can change the total materially — but only after quality and latency pass the gate.

This guide is for technical and procurement teams building AI applications, agents, knowledge bases, or content workflows. Data cut-off: 1 November 2026. Prices come from public DeepSeek, OpenAI, Anthropic, and Alibaba Cloud Model Studio pages; RMB and USD are not converted and no ranking is implied. The model is an editorial estimate, not a quote, and does not promise savings, accuracy, or a go-live date.

1 November 2026 review: three billing changes

Claude Sonnet 5.5 cache reads are USD 0.10 per million tokens (5% of input), so the 50% input-cache case is corrected from USD 310 to USD 305. DeepSeek lists Search/Fetch at RMB 5 per 1,000 successful requests and charges for calls made through Harness/Claude Code/Codex from 00:00 Beijing time on 1 November 2026. OpenAI regional processing endpoints add 10% for models released on or after 5 March 2026, and FedRAMP endpoints add 10% from 1 November 2026. Other checked prices are unchanged.

Three rules to remember

Input price is not the total. Output and reasoning tokens often dominate. Caching and batch can save money, but cannot fix a wrong answer.

How are LLM APIs actually priced?

Most text models price input and output tokens separately; caching, batch, long context, and reasoning tokens change the effective rate. Do not compare a single headline price.

Input tokens include prompts, documents, and context. Output tokens include the answer, reasoning content, and tool arguments. Output is often more expensive because generation is sequential. Long prompts may enter a higher price band; cache hits only reduce repeated input; batch usually discounts non-real-time work but adds latency.

List price is also not the bill. It may exclude tax, tool calls, retries, search/fetch, embeddings, vector storage, and observability. Region, peak/off-peak time, and deployment scope can change the rate. Confirm currency, unit, region, and validity before comparing vendors.

What do 100M input and 20M output tokens cost per month?

At standard list prices, DeepSeek Flash is about RMB 360 at peak; OpenAI GPT-6.1 Sol and Claude Sonnet 5.5 are about USD 400. Model choice matters more than the last decimal.

Assumptions: 100 million input tokens and 20 million output tokens per month; standard text inference only; no cache, batch, tools, retries, tax, or observability; RMB and USD listed separately. At this scale, the workload could be tens of thousands of medium-length Q&A sessions or a batch of document/content tasks, depending on prompt and output length.

China / RMB modelInput per 1M tokensOutput per 1M tokensMonthly cost
DeepSeek Flash, peakRMB 2 (cache miss)RMB 8≈ RMB 360
DeepSeek Flash, off-peakRMB 1RMB 4≈ RMB 180
DeepSeek Pro, peakRMB 9RMB 27≈ RMB 1,440
International / USD modelInput per 1MOutput per 1MMonthly cost
OpenAI GPT-6.1 SolUSD 2USD 10≈ USD 400
Claude Sonnet 5.5USD 2USD 10≈ USD 400
Claude Haiku 5.5USD 0.10USD 0.50≈ USD 20
Qwen3.8-Max, SingaporeUSD 2USD 6≈ USD 320
Qwen3.8-Flash, SingaporeUSD 0.15USD 0.47≈ USD 24.4

Editorial model: 100M × input price + 20M × output price. Excludes cache, batch, tools/search, retries, tax, and observability. RMB and USD are not converted. DeepSeek peak/off-peak follows the official page; OpenAI/Anthropic/Qwen are public standard prices and may change by region/version.

The most common misreading is “cheapest”. A low Haiku or Qwen Flash price does not mean it can handle every task. If a cheaper model causes rework, human review, or a wrong commitment, the saving disappears. The next section looks at cache, batch, and routing.

How much can caching, batch, and model routing save?

Cache only cuts repeated input; batch usually halves the rate; routing sends simple tasks to cheaper models. They can be combined, but not at the expense of correctness.

They work on different levers. Caching suits long, repeated system prompts or fixed knowledge; batch suits non-real-time classification, summarisation, and offline evaluation; routing sends tasks by difficulty, so cheap models handle most simple requests and expensive models handle complex reasoning.

ModelStandard50% input cacheBatchNote
DeepSeek Flash, peakRMB 360RMB 262Not modelledCache-hit input RMB 0.04/M
DeepSeek Pro, peakRMB 1,440RMB 1,005Not modelledCache-hit input RMB 0.30/M
OpenAI GPT-6.1 SolUSD 400USD 305Not modelledCached input USD 0.10/M
Claude Sonnet 5.5USD 400USD 305USD 200Cache read USD 0.10/M (5% of input); batch 50%
Claude Haiku 5.5USD 20Not modelledUSD 10Batch 50%
Qwen3.8-MaxUSD 320USD 230USD 160Cache hit at 10% of input; batch 50%
Qwen3.8-FlashUSD 24.4USD 17.65USD 12.2Cache hit at 10% of input; batch 50%

Same 100M input + 20M output model. “50% cache” means half the input hits; cache writes, minimum cache length, and vendor rules differ. Claude Sonnet 5.5 cache reads are priced at 5% of input (USD 0.10/M). Batch and cache may not stack; columns are separate, not additive. Tax, tools, retries, and observability excluded.

Caching is not an automatic switch. It needs a stable request prefix; otherwise hit rate stays low. Batch is for offline work, not interactive support or agents. Cache writes may cost extra, and long context can move the whole request into a higher band. The sustainable optimisation is routing + evaluation + budget caps, not simply buying the cheapest model.

Why is the real bill higher than the token estimate?

Reasoning tokens, tool calls, retries, long context, cache writes, and observability all add usage. A simple input/output estimate misses those lines; calculate per task.

An agent request may include system prompts, retrieved passages, conversation history, tool definitions, tool returns, reasoning, and the final answer. Output tokens are not only the customer-facing paragraph. Retrieval, reranking, embeddings, vector storage, search/fetch, logs, and monitoring may be billed separately. Failed retries and timeout replays can charge the same request multiple times.

Search and fetch are billed per successful request

DeepSeek lists Search and Fetch as separate APIs at RMB 5 per 1,000 successful requests. It also states that calls made through Harness/Claude Code/Codex are currently not charged and will be billed from 00:00 Beijing time on 1 November 2026. OpenAI Web Search is USD 10 per 1,000 calls plus content tokens. Put tool fees on a separate budget line instead of assuming the token price covers them.

Successful requests per monthDeepSeek Search or FetchCalculation
10,000RMB 5010,000 ÷ 1,000 × RMB 5
100,000RMB 500100,000 ÷ 1,000 × RMB 5

Estimated on successful request count only. Failed requests, retries, refunds, minimum billing units, and regional rules follow the official page and actual invoice. Token, retrieved-content, and model-output costs are excluded.

  • Reasoning/thinking tokens: billed as output or separately by some models; complex tasks use far more than the visible answer.
  • Tool calls: arguments, results, and loops consume tokens; search/fetch may also have a per-request fee.
  • Long context: once a threshold is crossed, the whole request may be billed at a higher rate.
  • Cache writes: creating a cache may cost 125% of standard input; low hit rates can make it uneconomic.
  • Retries and concurrency: timeouts, rate limits, and replays add duplicate charges; peak pricing may apply.
  • Observability and governance: logs, tracing, evaluation, gateways, and audit are not model fees but are part of the AI application cost.
  • Regional and compliance uplifts: regional processing endpoints and FedRAMP endpoints each add 10%; residency or compliance requirements raise the unit price directly.

Regional endpoints and compliance uplifts: what does data residency cost?

OpenAI adds 10% for regional processing (data residency) endpoints on models released on or after 5 March 2026, and FedRAMP endpoints add 10% from 1 November 2026. Azure OpenAI's Regional and Data Zone deployments are also 10% above Global, so the two can be compared side by side. The uplift applies to usage through that endpoint, not to the whole invoice.

If data cannot leave a region, or the contract requires regional processing, the estimate cannot use standard list prices alone. The official pricing page states that regional processing (data residency) endpoints add 10% for models released on or after 5 March 2026, and that FedRAMP endpoints add 10% starting 1 November 2026. Which regions and models support regional endpoints follows the official "Your data" documentation and model pages; this article does not assume every model supports them.

UpliftApplies toRateEffective / note
Regional processing endpoint (data residency)Models released on or after 5 March 2026+10%Official pricing page; charged on endpoint usage
FedRAMP endpointProcurement requiring FedRAMP+10%From 1 November 2026
Azure Regional / Data Zone deploymentRequires in-region or US/EU data boundary+10%Versus Global deployment; cached and batch prices rise too
Standard endpointData may leave the region; no residency requirement0Baseline price

Source: OpenAI Pricing (accessed 1 November 2026). Whether the two uplifts stack, and which models/regions are supported, is not stated on the pricing page and must be confirmed with the vendor; this article models each separately and assumes no stacking.

Azure's Regional and Data Zone deployments are also +10%

For the same Azure OpenAI model, a Regional or Data Zone deployment costs 10% more than Global: GPT-4.1 input USD 2.00→2.20 and output 8.00→8.80 per million tokens; GPT-4.1-mini 0.40→0.44 and 1.60→1.76; o4-mini 1.10→1.21 and 4.40→4.84. Cached input and batch prices rise by the same proportion.

That turns "10% for data residency" from one vendor's clause into a cross-checkable pattern: OpenAI triggers it by model release date and endpoint type, Azure by deployment type, and both land at 10%. The difference is naming and granularity — Azure picks Global, Regional or Data Zone when the deployment is created, with Regional and Data Zone at the same price; OpenAI picks standard, regional or FedRAMP on the same model.

ModelLineGlobal (USD per 1M tokens)Regional / Data Zone (USD per 1M)Uplift
GPT-4.1Input2.002.20+10%
GPT-4.1Output8.008.80+10%
GPT-4.1-miniInput0.400.44+10%
GPT-4.1-miniOutput1.601.76+10%
GPT-4.1-nanoInput0.100.11+10%
GPT-4.1-nanoOutput0.400.44+10%
o4-miniInput1.101.21+10%
o4-miniOutput4.404.84+10%

Source: Azure Retail Prices API (East US/USD, 1 November 2026); the raw meter is per 1K tokens and is multiplied by 1,000 here. Regional and Data Zone share the same price for GPT-4.1/mini/nano and o4-mini; cached input and batch prices rise by the same proportion (for example GPT-4.1 cached input 0.50→0.55, batch input 1.00→1.10). Whether a model and region support all three deployment types follows Azure's model page.

Example: a USD 10,000 monthly bill with 60% on regional endpoints

Monthly billRegional-endpoint shareMonthly upliftAnnualised uplift
USD 5,00050%+250+3,000
USD 10,00060%+600+7,200
USD 50,00030%+1,500+18,000

Editorial model: monthly bill × regional share × 10%; excludes tax, assumes no stacking with the FedRAMP uplift, and does not assume cache, batch or tool calls carry the same uplift. The invoice line items govern the base. Azure works the same way: a USD 10,000 monthly bill entirely on Regional or Data Zone deployments adds USD 1,000 per month, or USD 12,000 per year.

Five questions to ask in procurement

  • Model support: does the target model support regional endpoints, and is the required region covered?
  • Base: is the uplift applied to token prices or to the whole invoice?
  • Add-ons: do cache, batch and tool calls carry the same uplift?
  • Stacking: do regional and FedRAMP uplifts stack, and in what order?
  • Contract: can the region, uplift rate and notice period for changes be locked?
  • Deployment type: Azure offers Global/Regional/Data Zone, OpenAI standard/regional/FedRAMP; state which one is quoted.

When can a cheaper model not be used?

Classification, extraction, and summaries can start cheap; complex reasoning, code, high-stakes commitments, and long agent chains need a same-task evaluation before switching.

TaskStart withQuality gateDo not
Intent classification, field extraction, routingFlash / Haiku / Luna tierAccuracy, refusal, latencyUse a large model for simple classification without evaluation
Summaries, rewriting, FAQ draftsLow/mid-price modelFactual consistency, citations, readabilityPublish generated copy without review
RAG answersMid-price model + retrieval evaluationFaithfulness, citation, out-of-scope refusalSwap the model without fixing knowledge/permissions
Complex reasoning, code, agent planningFlagship/mid-high modelTask success, regression setOptimise unit price while ignoring rework
Quotes, compensation, medical/safety adviceHigh-capability model + human confirmationCompliance, traceability, reviewLet a cheap model make commitments

Editorial guidance, not a model ranking. Use your own task set to compare accuracy, latency, and cost per successful task; model versions, prompts, and tools change results.

What should procurement and acceptance measure?

Measure cost per successful task, P95 latency, accuracy, retry rate, cache hit rate, tool cost, and compliance — not just the price per million tokens.

Replace “token price” with “cost per successful task”: (model + tools + retrieval + retries + human review + observability) ÷ successful tasks. The denominator must be defined by the business: a correct answer, a closed ticket, usable copy, or a merged code change. Otherwise a cheaper model can create more rework at a lower unit price.

Acceptance itemSuggested definitionEvidence
Cost per successful taskAll AI-related spend / successful tasksInvoice, usage, task outcome
Accuracy / task successSame test set, human or rule reviewTest-set version and rubric
P95 latencyEnd to end, including retrieval and toolsTracing under real concurrency
Retry/failure rateFailures, timeouts, rate limits, replaysGateway logs and alerts
Cache hit rateCached input tokens / cacheable input tokensPrefix design and billing detail
Tool/retrieval costSearch, fetch, embedding, vector DB, rerankSeparate billing lines
Data and complianceRegion, retention, training use, permissions, auditContract, DPA, logs

There is no universal “cheap” threshold. Compare the same test set and time window before deciding that a model or pricing model actually lowers cost per successful task.

API or private deployment?

Use APIs for low-to-medium volume and fast launches; calculate private TCO when data cannot leave the intranet, permissions are complex, or long-term load is high.

APIs avoid GPU procurement, scale by usage, and update quickly; the trade-offs are data residency/retention, vendor lock-in, rate limits, and price changes. Private deployment improves data boundaries, permissions, and customisation; it adds hardware, model serving, backup, security, and operations. The question is which constraint matters, not which option is universally cheaper.

For a knowledge-base, content, or lightweight agent POC, start with APIs. When volume is stable, data is sensitive, and multiple internal systems need integration, evaluate private deployment. See private AI deployment cost and RAG knowledge-base cost for those layers.

Is Lingyi a fit?

Lingyi fits private gateways, model routing, permissions, and system integration. If you only need a public API for a light app, a cloud provider is simpler.

Lingyi does not resell model API discounts and does not claim any model is “the cheapest”. LingHarness is for enterprises that need a private gateway, model routing, permissions, audit, and multi-system integration. If you only call public APIs for a lightweight app, use the cloud provider directly. For platform selection, see agent base comparison; to scope a budget and routing policy, talk to us.

FAQ

Are LLM APIs billed only by tokens?

Text generation is usually billed by input and output tokens, but tool calls, search/fetch, embeddings, vector storage, retries, long context, and batch/cache rules may be separate. Confirm unit, region, tax, minimum spend, and price validity before signing.

Why do search and fetch increase the bill?

Search and fetch may be billed per request. DeepSeek Search/Fetch is RMB 5 per 1,000 successful requests and will be charged for Harness/Claude Code/Codex calls from 00:00 Beijing time on 1 November 2026. OpenAI Web Search is USD 10 per 1,000 calls plus content tokens. Budget the successful-request fee separately, then add model token costs.

What do 100M input and 20M output tokens cost per month?

Under this model and public standard prices: DeepSeek Flash about RMB 360 at peak, OpenAI GPT-6.1 Sol about USD 400, Claude Sonnet 5.5 about USD 400, and Qwen3.8-Flash about USD 24.4. Excludes cache, batch, tools, retries, and tax; RMB and USD are not directly comparable.

How much can caching and batch save?

In the same model, 50% input cache cuts GPT-6.1 Sol from about USD 400 to USD 305 and Claude Sonnet 5.5 from USD 400 to USD 305; batch cuts Sonnet 5.5 to USD 200. Actual savings depend on hit rate, cache-write cost, latency, and whether the vendor allows stacking.

Can a cheaper model replace a premium one?

It depends on the task. Classification, extraction, and simple summaries can start cheap; complex reasoning, code, long agent chains, and quotes/compensation need the same test set comparing accuracy, latency, and rework. Do not choose on unit price alone.

Is API or private deployment cheaper?

There is no universal answer. APIs are faster and cheaper to start at low-to-medium volume. Private deployment adds hardware, model serving, integration, operations, and depreciation; it can be justified by data boundaries, permissions, or stable high load, but it is not automatically cheaper.

How do we prevent an AI bill from running away?

Set model/task budget caps, record usage by task, monitor retries and cache hits, limit long context and tool loops, and add human confirmation for high-stakes work. Review cost per successful task monthly, not the token headline.

How much does a data-residency endpoint add?

OpenAI's pricing page states that regional processing (data residency) endpoints add 10% for models released on or after 5 March 2026. It applies to usage through that endpoint, not the whole invoice; for example, a USD 10,000 monthly bill with 60% on regional endpoints adds about USD 600 per month, or USD 7,200 per year.

When does the FedRAMP uplift start?

The pricing page states that FedRAMP endpoints add 10% starting 1 November 2026. Whether FedRAMP is required, whether it can be combined with regional endpoints, and whether the two uplifts stack need to be confirmed against the compliance requirement and with the vendor.

How much more is Azure Data Zone?

The same model on a Regional or Data Zone deployment costs 10% more than Global: GPT-4.1 input 2.00→2.20 and output 8.00→8.80 per million tokens; GPT-4.1-mini 0.40→0.44 and 1.60→1.76; o4-mini 1.10→1.21 and 4.40→4.84. Cached input and batch prices rise by the same proportion; model and region support follows Azure's model page.

If the cost sits in developer-tool seats rather than API calls, see AI coding-assistant seat and usage TCO; the two models are separate and not double-counted.

Sources and caveats

This is public-source research and an editorial model, not a vendor quote, interviews, or testing. RMB and USD are not converted; prices, regions, versions, and billing rules can change. The model excludes tax, tools/search, retries, observability, human review, and private infrastructure. Cache and batch are calculated separately; no stacking is assumed. Model capability and price are different questions; this article does not rank “cheapest” or “best”. This article re-checked OpenAI's pricing page on 1 November 2026, added the regional-processing and FedRAMP uplifts as a separate cost line, and cross-checked Azure Retail Prices API Global versus Regional/Data Zone meters, which confirm the same 10% uplift on identical models; the token models above are unchanged.

  1. DeepSeek, Models & Pricing (accessed 31 Oct 2026): deepseek-flash / v4-pro input, cache-hit, output, peak/off-peak, and Search/Fetch prices.
  2. OpenAI, Pricing (accessed 31 Oct 2026): GPT-6.1 Sol standard, batch, long-context, and Web Search prices; regional processing endpoint 10% uplift (models released on or after 5 March 2026) and FedRAMP endpoint 10% uplift (from 1 November 2026); the Introducing GPT-6.1 Sol page (29 Sep 2026) returned 403 during this check and is not the sole price source.
  3. Anthropic, Claude model pricing (accessed 31 Oct 2026): Sonnet 5.5 USD 2/10, cache reads USD 0.10 (5% of input), Haiku 5.5 USD 0.10/0.50, batch pricing.
  4. Alibaba Cloud Model Studio, model pricing (updated 29 Oct 2026, accessed 31 Oct 2026): Qwen3.8-Max/Flash Singapore prices, 50% batch, context-cache rules.
  5. Microsoft, Azure OpenAI pricing: azure.microsoft.com/pricing/details/cognitive-services/openai-service. Price tables for Global, Data Zone and Regional deployment types.
  6. Microsoft, Azure Retail Prices API: prices.azure.com/api/retail/prices. East US/USD token prices for GPT-4.1, 4.1-mini, 4.1-nano and o4-mini on Global versus Regional/Data Zone, including cached and batch meters.

The Chinese version is at 企业大模型 API 成本与路由.

Have a project in mind?

Tell us what you’re building. We’ll tell you what we would do, what it costs, and what we would not promise.

Talk to us