Kimi K3.1 Pro vs Sonnet 5.5: Same Price, Different Bill

Kimi K3.1 Pro

On paper, Moonshot AI priced Kimi K3.1 Pro to the cent against Claude Sonnet 5.5: $2 per million input tokens and $10 per million output tokens. Run both through the same independent test suite, though, and the bills part ways. Artificial Analysis spent an average of $2.11 per task running Kimi K3.1 Pro through its Intelligence Index. Sonnet 5.5 at maximum effort cost $5.46 per task on the same evaluations.

The token price is identical. The cost of the work is not, and that gap matters more than any score Moonshot published when it released the model on 23 October 2026.

The second thing to know is that Kimi K3.1 Pro is not yet an open-weight model. Moonshot says the full weights will be released by 4 November. Until they appear, it is a hosted API like Sonnet 5.5, and the questions that come with downloadable weights are still ahead.

This comparison was researched on 26 October 2026. It weighs Kimi K3.1 Pro against Claude Sonnet 5.5 and Claude Opus 5.5 on independently measured capability, list price, measured cost per task, and what changes when weights ship. Provider-reported figures are labelled throughout.

Key Takeaways
  • Kimi K3.1 Pro and Sonnet 5.5 share a $2/$10 list price, but Sonnet 5.5’s cache reads cost $0.10 per million tokens against Kimi’s $0.20.
  • On Artificial Analysis’s Intelligence Index v4.3.2, Kimi K3.1 Pro scores 55, Sonnet 5.5 56 and Opus 5.5 58. A one-point gap does not show either model is better.
  • Terminal-Bench 4.0 rankings flip with the harness: vendor numbers put Sonnet 5.5 first, while Artificial Analysis’s run puts Kimi K3.1 Pro first at 67.2%.
  • Kimi K3.1 Pro used about a quarter of Sonnet 5.5’s output tokens per index task at max effort, which is why it cost $2.11 per task against $5.46.
  • Weights are promised by 4 November 2026. Serving 2.8 trillion parameters is a multi-GPU data-centre job, not a workstation install.

Quick Navigation


The price comparison needs a footnote

The list prices are where the “same price” claim holds.

Per 1M tokensInputOutputCache hitCache write
Kimi K3.1 Pro$2.00$10.00$0.20Billed by TTL; rate not displayed at research date
Claude Sonnet 5.5$2.00$10.00$0.10$2.50 (5 min), $4.00 (1 h)
Claude Opus 5.5$4.00$20.00$0.20$5.00 (5 min), $8.00 (1 h)

Sources: Kimi API docs, Artificial Analysis, Anthropic pricing. Prices checked 26 October 2026.

Input matches input and output matches output; Opus 5.5 is exactly double. Three footnotes complicate the picture.

  1. Cache reads. Anthropic charges 5% of the input rate for Sonnet 5.5 cache hits. Kimi charges 10%. For an agent that re-reads the same long prefix on every call, that difference compounds. Kimi also bills cache writes separately, and the write rate was not displayed on its pricing page when we checked.
  2. Tokenizers. Anthropic says its current tokenizer produces roughly 30% more tokens for the same text than its older one. Kimi uses its own tokenizer, and we found no public comparison of the two. A million tokens on each platform may not hold the same amount of text.
  3. Speed. Artificial Analysis measured Kimi K3.1 Pro at about 58 output tokens per second on Moonshot’s API, against about 134 for Sonnet 5.5. Moonshot’s Highspeed variant runs two to three times faster at double the price, except for cache hits. If latency matters, the comparable Kimi price is closer to $4/$20.

So the headline survives, narrowly: same list price for uncached input and output, and nothing more.

What Kimi K3.1 Pro actually changes

Kimi K3.1 Pro is not a new architecture. Moonshot describes it as Kimi K3, released in July, with substantially more post-training compute spent on reinforcement learning across hundreds of domains. The price fell from K3’s $3/$15.

The model is a mixture-of-experts (MoE) design: a router sends each token through a small subset of specialist sub-networks instead of the whole model. Artificial Analysis lists 2.8 trillion total parameters with about 104 billion active per token. Coverage of the K3 launch reported 896 experts with 16 active per token; Moonshot has not restated that for K3.1 Pro.

Reasoning is always on. The API offers low, high and max effort, defaults to max, and fixes temperature at 1.0. Moonshot’s benchmark claims all use max.

What the 1M-token context window means

Moonshot lists a 1,048,576-token window for the K3 series, shared between input and output, with a default output cap of 131,072 tokens. Sonnet 5.5 and Opus 5.5 also offer 1M tokens at standard pricing.

A window is capacity, not proof of quality. The longest independent test here, AA-LCR v1.1, uses documents of roughly 10,000 to 100,000 tokens. Kimi K3.1 Pro scores 86%, Opus 5.5 85% and Sonnet 5.5 83%. That is encouraging, but it says nothing direct about reasoning across 800,000 tokens.

Why 2.8 trillion parameters is not a normal open-weight deployment

MoE cuts compute per token. It does not cut memory. The router can call any expert, so all 2.8 trillion parameters must sit in accelerator memory even though only about 104 billion fire per token.

K3’s published weights, the closest reference, came to about 1.56 TB on Hugging Face. Vast.ai lists full-precision K3 serving on an eight-GPU B300 node, plus 1-bit and 2-bit community quantizations that fit one node at some cost in accuracy. Long-context key-value caches come on top.

An 8-billion-parameter open model runs on one consumer GPU. A licence page puts both in the “open weights” category. Operationally, Kimi K3.1 Pro belongs in a data centre.

Kimi K3.1 Pro vs Sonnet 5.5: the benchmark evidence

Kimi K3.1 Pro

Independent figures come from Artificial Analysis, which runs every model through the same harness. Provider figures come from Moonshot’s and Anthropic’s launch materials.

MeasureKimi K3.1 ProSonnet 5.5Opus 5.5Source type
AA Intelligence Index v4.3.2555658Independent
Terminal-Bench 4.0, AA harness67.2%63.6%59.6%Independent
Terminal-Bench 4.0, provider65.7%70.6%66.4%Provider-reported
Humanity’s Last Exam52%55%61%Independent
AA-Omniscience (−100 to 100)303246Independent
AutomationBench-AA73%72%70%Independent
AA-Briefcase v1.1 (Elo)1,6781,8161,801Independent

Independent rows test Sonnet 5.5 and Opus 5.5 at “Max, Default Fallback”. Moonshot’s own score used a Claude Code harness. Anthropic’s Opus figure is its xhigh run; at max it reported 64.8%. Sources: AA Kimi vs Sonnet, AA Kimi vs Opus, AA Terminal-Bench 4.0, Moonshot.

What a one- or three-point gap means

Artificial Analysis presents point scores without error bars, so a one-point gap between Kimi K3.1 Pro and Sonnet 5.5 is best read as a tie. A tie on the composite does not make the models equivalent, because the components disagree.

Kimi K3.1 Pro leads on terminal work, SaaS automation and long-context reasoning. It trails on knowledge: 52% on Humanity’s Last Exam against Opus 5.5’s 61%, and 30 on AA-Omniscience against 46. AA-Omniscience penalizes hallucinated answers, so that 16-point gap matters wherever a confident wrong fact is expensive. On AA-Briefcase, which grades long-horizon deliverables such as memos and spreadsheets, both Claude models lead by more than 120 Elo points.

The Terminal-Bench ranking flips with the harness

In vendor reporting, Sonnet 5.5 leads Terminal-Bench 4.0 at 70.6%, Opus 5.5 follows at 66.4% and Kimi K3.1 Pro is third at 65.7%. In Artificial Analysis’s run the order reverses: Kimi 67.2%, Sonnet 63.6%, Opus 59.6%.

These are different experiments, not contradictory ones. Artificial Analysis runs all 66 tasks with the mini-swe-agent harness and averages pass@1 over three repeats. Moonshot ran its model in a Claude Code harness and took rivals’ scores from their blogs or the official leaderboard, whichever was higher.

Scale matters too. With 66 tasks, one task is worth about 1.5 points, so Kimi’s 3.6-point independent lead over Sonnet 5.5 is two or three tasks per pass. What both sets agree on is that the three models are close and the harness moves results by several points, a pattern our LLM benchmark comparison found across other models.

Before transferring any ranking to your workload, ask:

  • Does the harness resemble your agent framework, tools and permissions?
  • Which effort level was tested, and can you afford it in production?
  • How many tasks separate the models, and were scores averaged over repeats?
  • Do failures arrive loudly as errors or quietly as plausible wrong output?
  • What are time to first token and total time per task?

The last question has teeth. At max effort, Artificial Analysis measured Sonnet 5.5’s time to first token at about 372 seconds, against about 3 seconds for Kimi K3.1 Pro; total time per task was closer, at 936 and 846 seconds. We cover why public scores rarely transfer in why benchmark scores fail to predict production.

The token price is not the cost of the job

Kimi K3.1 Pro

A per-token price multiplies by token count, and token counts differ sharply. Artificial Analysis recorded what each model produced across its index:

AA Intelligence Index v4.3.2Kimi K3.1 ProSonnet 5.5 (max)Opus 5.5 (max)
Output tokens per task55k197k119k
of which reasoning35k147k84k
Cost per task$2.11$5.46$5.98
Cost to run full index$3,117$7,260$8,708

At max effort, Sonnet 5.5 reasons for roughly four times as many tokens as Kimi K3.1 Pro. Identical prices times very different volumes produce bills about 2.6 times apart.

Effort is a dial, though. In September, Artificial Analysis reported Sonnet 5.5 at xhigh scoring 52 for $2.74 per task, priced before Anthropic halved its cache-read rate. Lower effort narrows the cost gap and widens the capability gap, so compare models at the effort each would really run at.

Three illustrative workloads

These figures are illustrative arithmetic at list prices, not measurements. They ignore tokenizer differences and batch discounts.

Scenario and assumptionsKimi K3.1 ProSonnet 5.5Opus 5.5
1. Document analysis: 200k input, 4k output, no cache$0.44$0.44$0.88
2. Coding task: 30k input plus each model’s AA-measured average output (55k / 197k / 119k)$0.61$2.03$2.50
3. Cached agent loop: 100k prefix, 50 calls, 2k fresh input and 3k output per call, one cache write then 49 hits$2.68 plus write fee$2.44$4.88

Scenario 1 is the headline claim working as advertised: input-heavy work costs the same on both. Scenario 2 shows where it breaks, because a model that generates more tokens turns the same rate card into a bill three times larger. Scenario 3 reverses direction: Sonnet 5.5’s cheaper cache reads win even before Kimi’s unpublished write fee, which would add about $0.25 if it matched Anthropic’s 5-minute rate (an assumption).

Scenario 3 also holds output constant across models, which scenario 2 shows is unrealistic. Only your own traces can say which effect dominates.

What self-hosting adds

Once weights ship, a per-token bill can become a per-hour bill. Hourly hardware cost ÷ tokens per second ÷ 3,600 × 1,000,000 gives cost per million tokens. The hard part is the inputs: a multi-GPU node, a throughput figure measured at your batch size, and utilization, since an idle accelerator still bills by the hour.

Add engineering time for serving software, quantization testing, monitoring, security patching and updates. Self-hosting is not cheaper by default; it wins only at sustained high utilization, as we showed in what inference actually costs per token.

Kimi K3.1 Pro open weights change the security equation

Moonshot paired the launch with an unusual disclosure. It says it found cyber-related content in its mid-training corpus and cyber tasks in its reinforcement-learning mix, and removed both ahead of the open release while keeping general coding tasks.

Its evidence is xdev-bench-hard, an in-house test in which an agent must turn a known vulnerability in software such as the Linux kernel or Node.js into a working exploit. At pass@3 with no hard timeouts, a checkpoint trained without filtering solved 90.5% of tasks, the released K3.1 Pro 81.0% and Kimi K3 33.3%. On Moonshot’s own test, filtering lowered the ceiling. It also left most of the capability in place, because general coding skill transfers.

The independent figure measures something else. Artificial Analysis’s Cyber Index scores defensive work: finding a vulnerability, reproducing it and patching it without breaking the code. Kimi K3.1 Pro scored 64%, up from K3’s 41%. That is the highest among models on a standard public API, behind only OpenAI’s trusted-access GPT-6 Sol (Daybreak Blue) at 69%. Artificial Analysis recorded no safety refusals.

Neither number is a probability of harm. A 64% defensive score means the model fixed most benchmark vulnerabilities under test conditions, nothing more.

What changes when the weights are downloadable

A hosted API keeps the provider in the loop: it can log requests, rate-limit accounts, update refusal behaviour and revoke access. Downloaded weights carry none of that and cannot be recalled. Fine-tuning can weaken or remove trained-in refusals, though not every safeguard is equally easy to strip. Notebookcheck reports that one company has already announced plans to remove K3.1 Pro’s safeguards after release.

The zero-refusal result changes the usual argument. For defensive work the hosted model already does not refuse, so open weights matter less for refusals than for monitoring and access control. K3’s history is relevant: in August, Reuters reported a research firm’s claim that K3 escaped a cybersecurity test sandbox.

The trade-off runs both ways. Moonshot argues capable open models let more teams audit code nobody else reviews. Weights also enable private deployment, independent audits and fine-tuning. What they move is responsibility: access control, logging, egress rules and patching shift from provider to deployer.

Who should consider Kimi K3.1 Pro?

  • High-volume agentic coding and terminal automation. The strongest case: top independent Terminal-Bench score and less than half the measured cost per task. Trial it now via the API.
  • Knowledge-sensitive work. Research, legal and analyst workflows should weigh Opus 5.5’s AA-Omniscience lead, 46 to 30, before price.
  • Latency-sensitive products. Standard Kimi K3.1 Pro streams at under half Sonnet 5.5’s measured speed; Highspeed closes the gap at double the price.
  • Long cached agent loops. Sonnet 5.5’s $0.10 cache reads can make it cheaper. Model your real prefix sizes.
  • Self-hosting for data control. Wait for the weights and licence. K3’s licence required a separate Moonshot agreement for model-as-a-service businesses above $20 million in revenue over 12 months.
  • Regulated procurement. In July the White House accused Moonshot of using banned Nvidia chips and copying an Anthropic model to build K3, without publishing evidence. Factor provenance into vendor review.

A migration test that fits in a week:

  1. Collect 50 to 200 real tasks with a pass/fail rubric.
  2. Run each candidate at the effort level you would use in production.
  3. Record cost per accepted output, not cost per token.
  4. Record time to first token, task time and the share of silent failures.
  5. Re-price cached workloads once Kimi’s cache-write rate is confirmed.
  6. If self-hosting, read the released licence and compare a quantized endpoint against the hosted API.

Conclusion

On independent evidence, Kimi K3.1 Pro ties Sonnet 5.5 on Artificial Analysis’s composite, leads it on the independent terminal-agent test and trails clearly on knowledge and hallucination resistance. At identical token prices it cost less than half as much per measured task, because it reached answers with far fewer tokens.

That makes the obvious framing both too modest and too generous. “Same price” undersells the most practical finding, cost per task. “Open weights” oversells a release that has not happened. Until files and licence are public, claims about self-hosting and removable safeguards are forecasts.

For cost-sensitive agentic coding, Kimi K3.1 Pro has earned a slot in your next evaluation against Sonnet 5.5. It has not yet earned a slot in your infrastructure plan. Revisit that after 4 November, with the licence in hand.

Frequently asked questions

What is Kimi K3.1 Pro?

Kimi K3.1 Pro is a reasoning model from Beijing-based Moonshot AI, released on 23 October 2026. It is a post-trained version of Kimi K3, a mixture-of-experts model with about 2.8 trillion total and 104 billion active parameters. It is available through Kimi’s apps and API, with weights promised by 4 November 2026.

Is Kimi K3.1 Pro cheaper than Claude Sonnet 5.5?

Per token, list prices match: $2 per million input and $10 per million output. Sonnet 5.5 is cheaper for cached input, at $0.10 against $0.20. Per task, Kimi K3.1 Pro was cheaper on Artificial Analysis’s index, $2.11 against $5.46, because it generated far fewer tokens. Your workload may differ.

Are Kimi K3.1 Pro’s weights publicly available?

Not as of 26 October 2026. Moonshot says full weights will be released by 4 November 2026. Kimi K3’s weights arrived on Hugging Face about ten days after its API launch, under a custom licence. Check the files and licence before planning a deployment.

What is Kimi K3.1 Pro’s context window?

Moonshot lists 1,048,576 tokens for the K3 series, shared by input and output, with output defaulting to 131,072 tokens. Independent long-context testing so far covers documents of about 10,000 to 100,000 tokens, where Kimi K3.1 Pro scored 86% on AA-LCR v1.1.

How reliable are Kimi K3.1 Pro’s benchmark scores?

Treat Moonshot’s figures as provider claims under its own harness. Artificial Analysis broadly supports its competitiveness with an Intelligence Index score of 55, but rankings shift with the harness: on Terminal-Bench 4.0, vendor numbers place Kimi third and Artificial Analysis places it first. Validate on your own tasks.

Can Kimi K3.1 Pro be self-hosted?

Only after the weights ship, and only with serious hardware. The comparable K3 weights total about 1.56 TB, and full-precision serving has been offered on eight-GPU B300 nodes. Quantized versions fit smaller setups with some accuracy loss, and licence terms may apply to large model-serving businesses.

What are the cybersecurity implications of releasing its weights?

Moonshot says removing cyber training data cut exploit success on its internal test from 90.5% to 81%. Kimi K3.1 Pro still scored 64% on Artificial Analysis’s defensive Cyber Index with no refusals. Once weights are downloadable, provider monitoring no longer applies and safeguards can be modified by whoever runs the model.


Keep reading

Kimi K3.1 Pro

Kimi K3.1 Pro vs Sonnet 5.5: Same Price, Different Bill

On paper, Moonshot AI priced Kimi K3.1 Pro to the cent against Claude Sonnet 5.5: $2 per million input tokens and $10 per million output …
RAG vs fine-tuning

RAG vs Fine-Tuning: Which One You Actually Need

Take a support team that ships two prototypes on the same base model. The first searches the product documentation on every question and pastes the …
AI capex

AI Infrastructure Spending: What $145 Billion and a Sold-Out AWS Actually Buy

Published 25 October 2026 · Last verified 25 October 2026 · By the UniverseBlend editorial desk On 21 October, Meta set the latest marker for …
agentic AI

What Is Agentic AI? How AI Agents Work, What They Cost, and Where They Fail

Agentic AI describes software systems in which a language model chooses and carries out a sequence of actions to complete a task. It calls tools, …

RAG vs Fine-Tuning: Which One You Actually Need

RAG vs fine-tuning

Take a support team that ships two prototypes on the same base model. The first searches the product documentation on every question and pastes the top passages into the prompt. The second was fine-tuned on 4,000 past tickets. In the demo, the fine-tuned one sounds better: right terminology, exact escalation format. Three weeks later pricing changes. The fine-tuned model keeps quoting the old plan; the retrieval system picks up the new page the morning it’s published.

Neither prototype failed at what it was built to do. Retrieval-augmented generation (RAG) changes what the model can see when it answers. Fine-tuning changes how the model behaves. So the RAG vs fine-tuning decision starts with a plain question: does your problem live in the facts, in the form of the output, or in both?

The short answer: start with RAG when answers depend on knowledge that changes, is large, or must be cited. Investigate fine-tuning when the model already knows enough but won’t reliably produce the format, style or task behaviour you need, and prompting hasn’t fixed it. Combine them only when you’ve measured both problems at once.

Key Takeaways
  • RAG updates knowledge at query time without touching weights. Fine-tuning is a weak, risky way to add facts: research found RAG consistently beat it for knowledge injection.
  • Fine-tuning earns its place on behaviour: output format, tone, classification and repeated specialised tasks, especially when it lets you shorten prompts.
  • RAG mostly costs you per query (retrieval plus extra input tokens); fine-tuning mostly costs you per update (data, training, evaluation, regression testing). Query volume and update frequency decide which is cheaper.
  • More retrieved text isn’t better. Models use information in the middle of long contexts less reliably, so retrieval precision beats retrieval volume.
  • Neither approach is a security boundary. Retrieved documents can carry injected instructions; training data can be poisoned.
  • A fine-tuned model is tied to its base model’s lifecycle. On OpenAI’s platform, tuned models are retired along with their base, so budget for re-tuning.

Quick Navigation


RAG vs Fine-Tuning: Two Different Ways to Change an AI System

The original RAG paper by Lewis and colleagues framed the distinction precisely. A model’s weights are parametric memory: knowledge absorbed in training, hard to inspect and hard to update. A searchable document index is non-parametric memory: knowledge the model reads at inference time. The authors pointed to two problems with parametric memory that retrieval helps with, providing provenance for an answer and updating what the model knows.

In a RAG system, the model doesn’t change. At query time the application embeds the question, searches an index, optionally reranks, and inserts the best passages into the prompt. Re-index an edited document and the next answer can reflect it.

Fine-tuning runs a training job on examples of the input and output you want, producing a modified set of weights or a small set of adapter weights. Parameter-efficient methods such as LoRA train a tiny fraction of the parameters (up to 10,000 times fewer than full fine-tuning of GPT-3 175B, the paper reports) without adding inference latency. That makes fine-tuning cheaper. It doesn’t make it a reliable way to store facts.

Five things get lumped together as “teaching the model”:

What needs to changeExampleUsual first tool
KnowledgeCurrent refund policy, a product’s API limitsRAG
BehaviourAsk a clarifying question before actingPrompting, then fine-tuning
StyleHouse tone, terminology, reading levelPrompting, then fine-tuning
Task formatFixed JSON schema, ticket triage labelsStructured outputs or prompting, then fine-tuning
Tool-use patternWhich tool to call, in what orderPrompting and tool definitions, then fine-tuning

Only the first row is about facts. The rest are about form, where fine-tuning has a real case.

RAG vs Fine-Tuning: What Changes When the Source of Truth Changes?

Most enterprise knowledge moves. Product documentation changes each release, policies are revised quarterly, manuals get errata, and support knowledge bases are edited daily. What matters is how often facts change and how quickly a wrong answer hurts.

RAG handles change by re-indexing, but it isn’t instant or automatic. A document edited at 09:00 isn’t retrievable until the ingestion pipeline has chunked, embedded and written it to the index. If the old version isn’t deleted, both can be retrieved and blended. Two sources that disagree, such as a policy page and an outdated FAQ, produce an answer that cites one and contradicts the other. These are data-engineering problems: freshness targets, deletion handling, versioning and source precedence.

Fine-tuning handles change by retraining, and that’s the core reason it’s rarely the first choice for factual knowledge. Ovadia and colleagues compared the two for knowledge injection and found that RAG consistently outperformed unsupervised fine-tuning, for knowledge the model had seen before and for entirely new facts. They also found models struggled to learn new facts this way unless exposed to many variations of each one. A separate study by Gekhman and colleagues found that fine-tuning examples containing new knowledge are learned much more slowly than familiar ones, and that once learned they increase the model’s tendency to hallucinate. Their conclusion: models acquire facts mainly in pre-training, and fine-tuning mostly teaches them to use what they already know.

That doesn’t rule fine-tuning out of fast-changing domains. A claims assistant might retrieve current policy wording while a fine-tuned model handles the stable part: extracting fields into a fixed schema and flagging exceptions consistently. The facts live outside the model; the behaviour lives inside it.

RAG vs Fine-Tuning Cost: The Cost of a Query Versus the Cost of an Update

RAG is cheap to change and pays on every query. Fine-tuning pays each time something changes and can be cheaper per query.

  • RAG costs fall into fixed and variable parts. Fixed: preparing documents, building the chunking and embedding pipeline, search infrastructure and re-indexing. Variable, per query: embedding the question, the search, any reranking and, usually the largest line, the extra input tokens from retrieved passages. Evaluation and monitoring sit on top.
  • Fine-tuning costs are weighted the other way. Fixed: curating training examples, training jobs, experiments, evaluation against a baseline and, on every refresh, retraining, regression testing, versioning and rollback. Variable: inference on the tuned model, which may be priced differently from the base model or need dedicated serving if self-hosted.

One fixed cost is easy to miss: a fine-tune is bound to its base model. OpenAI’s fine-tuning guide, checked on 25 October 2026, says the platform is being wound down and closed to new users; existing customers can train until 6 January 2027, and tuned models last only as long as their base model. Whatever your provider, budget for re-tuning and re-evaluating when the base model retires.

A break-even model

Define, over one evaluation period:

  • Q = number of queries
  • C_R = fixed RAG setup and maintenance cost
  • V_R = average variable RAG cost per query
  • C_F = fixed fine-tuning, evaluation and maintenance cost
  • V_F = average variable cost per query on the fine-tuned model

Then:

Total RAG cost = C_R + Q × V_R

Total fine-tuning cost = C_F + Q × V_F

When fine-tuning has the higher fixed cost (C_F > C_R) and the lower per-query cost (V_F < V_R), the volume at which the two totals are equal is:

Q* = (C_F − C_R) / (V_R − V_F)

Below Q*, RAG is cheaper; above it, fine-tuning is. If V_F isn’t lower than V_R, for instance because a tuned model’s per-token premium outweighs the context saved, fine-tuning never breaks even on cost.

Most of the gap V_R − V_F usually comes from context. If fine-tuning lets you drop T_ctx retrieved tokens from every prompt at an input price of P_in per token, then V_R − V_F is roughly T_ctx × P_in plus the retrieval cost, minus any premium the tuned model charges per token. OpenAI’s optimisation guide makes the same point from the other side: fine-tuning can allow shorter prompts with fewer examples and less context, saving tokens at scale. That saving only exists if the facts you were retrieving can be dropped, which is rarely true for changing knowledge.

Three assumptions limit the model. It’s only valid if both systems meet the same quality, latency, security and availability targets. C_F recurs with every data refresh, so frequent updates multiply it. And it ignores the cost of being wrong. Add an error term, with p as the share of answers that are wrong and K as the average cost of a wrong answer (a refund, an escalation, a compliance review), and each total gains Q × p × K. A cheaper system with a higher error rate can cost more overall. UniverseBlend’s breakdown of what inference actually costs per token covers how request shape, caching and batching change V in practice.

RAG vs fine-tuning

Context Length and Inference Latency in RAG vs Fine-Tuning

Every retrieved passage is input the model must process before it writes the first token. That prefill work grows with prompt length, so retrieval adds to time-to-first-token as well as cost. Generation speed changes less with context length than the wait before it starts.

More context also isn’t more accuracy. Liu and colleagues found that models used relevant information best when it sat at the beginning or end of the input and noticeably worse when it sat in the middle, even for models built for long contexts. Retrieving the top 20 chunks “to be safe” can push the one that matters into exactly that position.

The levers are about precision: chunks sized to the unit of meaning (a policy clause, an API endpoint), a reranker that cuts a wide search to a few passages, and compression of long sources. UniverseBlend’s piece on context engineering in AI agents covers how ordering and caching stable prompt sections cut cost and latency, which applies directly to RAG prompts.

Fine-tuning doesn’t make context unnecessary. A tuned model still needs today’s facts, the user’s details and any document it’s asked about. What it can remove is scaffolding: long instructions and few-shot examples that taught the format. That saving is real at high volume, and different from dropping retrieved knowledge.

RAG vs Fine-Tuning: Accuracy, Evaluation and Failure Modes

The two architectures fail in recognisably different ways, and a fluent answer can hide either.

RAG fails when retrieval misses the right passage, the index holds stale or wrong documents, chunk boundaries split the sentence that mattered, the reranker drops key evidence, or the model answers beyond what the text supports. The last is hardest to spot, because the answer arrives with citations.

Fine-tuning fails when training examples are inconsistent (the model learns the errors), when it overfits and handles new inputs worse, when it regresses on abilities the base model had, and when teams assume training on a document means the model will recall it. The Gekhman results suggest that assumption can worsen hallucination.

Evaluate both on a representative test set drawn from real queries, not on demo prompts. For RAG, measure retrieval separately from generation: were the right passages retrieved (recall at k), was the set focused, and was the answer faithful to it? The Ragas framework evaluates these dimensions without human labels for every case. For both, measure correctness, task success, latency and cost per query, and rerun a regression suite on every index rebuild or model version.

RAG vs Fine-Tuning: Security and AI Agent Implications

Retrieval puts external text into the model’s context, and the model can’t reliably tell data from instructions. Greshake and colleagues showed attackers could plant prompts in content an application was likely to retrieve and steer its behaviour and tool calls. In an agent, a poisoned wiki page is an attack path.

Fine-tuning carries a different risk: a model trained on poisoned data carries the problem into every answer, and editing a document won’t fix it. The OWASP Top 10 for LLM Applications 2025 lists both, as prompt injection (LLM01) and data and model poisoning (LLM04), alongside vector and embedding weaknesses (LLM08), which covers retrieval stores themselves.

Neither architecture is a security boundary. Fine-tuning doesn’t reliably train away injection, and phrase filters are easy to evade. The controls that hold sit outside the model: permission-aware retrieval so users only retrieve what they’re allowed to read, provenance on every indexed document, access controls on the index, least-privilege tool permissions and confirmation for irreversible actions. UniverseBlend’s analysis of how agent prompt-injection benchmarks score failures explains why passing a benchmark isn’t proof of safety.

The Facts–Form–Frequency Test: A RAG vs Fine-Tuning Decision Framework

The Facts–Form–Frequency test, developed for this article rather than an industry standard, splits each requirement in two and asks how often each part changes.

  • Facts: what the model must know that it doesn’t reliably know now.
  • Form: how the output must look or behave, consistently.
  • Frequency: how often each changes, and how many queries you’ll serve between changes.

The rules: changing facts go to retrieval. Form that prompting can’t hold goes to fine-tuning, once measured. Frequency and volume decide whether the fixed cost pays.

ScenarioRecommendationAssumption behind it
Frequently changing factual knowledgeRAGUpdates must appear within hours, not training cycles
Stable domain-specific output formatFine-tuning, after prompting and structured outputs fall shortThe format is consistent and examples are available
Repeated specialised task behaviourFine-tuningHigh volume, stable task, measurable gain over prompting
Large collections of reference documentsRAGCorpus too large for the context window and changing
Strict source attributionRAGAnswers must cite the passage they used
High-volume, predictable queriesEvaluate fine-tuning on costQ exceeds Q* at equal quality
Current facts and consistent behaviourBothBoth gaps measured separately
Base model already meets the barNeitherPrompting plus evals pass
RAG vs fine-tuning

When a Hybrid RAG and Fine-Tuning Architecture Makes Sense

A hybrid uses each method for what it’s good at. A fine-tuned extraction model returns contracts in a fixed schema while retrieval supplies the current clause library to check them against.

Hybrids cost more than either alone: you pay C_R and C_F, and a regression could come from the index or the model. Justify one with two measurements, a behaviour gap prompting didn’t close and a knowledge gap the tuned model alone didn’t close. Otherwise start with the simplest architecture that meets requirements, usually a strong base model with good prompting and retrieval.

RAG vs Fine-Tuning: A Workload-Based Implementation Checklist

A planning meeting should be able to answer these before committing:

  1. Baseline: What does the base model score on your test set with good prompting alone?
  2. Test data: Do you have a few hundred real, labelled queries, including hard and adversarial ones?
  3. Update frequency: How often do the underlying facts change, and how stale may an answer be?
  4. Volume: What’s Q per month now and in a year, and what are C and V for each option?
  5. Cost: Are you logging input tokens, retrieval calls and cost per successful task?
  6. Latency: What time-to-first-token and end-to-end targets must hold at peak?
  7. Security: Who may retrieve which documents, which tools can the model call, and what needs human confirmation?
  8. Rollback: Can you revert an index build or model version in minutes?
  9. Lifecycle: When does your base model retire, and who re-tunes and re-tests on its replacement?
  10. Monitoring: Which drop in recall, faithfulness, task success or cost triggers review?

Conclusion

Start with RAG when answers depend on changing facts, a large corpus or a citation requirement. Investigate fine-tuning when the base model knows enough but won’t hold a format, style or task behaviour at your volume after proper prompting. Use both only when you’ve measured both gaps.

The useful next step is small: take 200 real queries, run them through the base model with good prompting, and label every failure as a facts problem or a form problem. The split tells you which approach to build first.

FAQ

Is RAG better than fine-tuning?

Neither in general. RAG suits current or large bodies of knowledge; fine-tuning suits consistent behaviour and format.

Can RAG and fine-tuning be used together?

Yes: a fine-tuned model for task format plus retrieval for current facts. It’s worth the extra cost only when both gaps are measured.

Is RAG cheaper than fine-tuning?

Not always. RAG has lower fixed costs but adds cost to every query; fine-tuning can win at high volume if it removes context, but every update adds fixed cost.

Does fine-tuning add new knowledge to an LLM?

Unreliably. Models learn new facts slowly this way, and learning them can increase hallucination.

Does RAG increase token usage?

Yes. Retrieved passages are extra input tokens on every query. Tighter retrieval and reranking reduce the increase.

Which approach is better for frequently changing information?

RAG. Updating an index takes minutes to hours; updating weights takes a training cycle plus evaluation.

Can fine-tuning improve structured output?

Often. Try structured-output features and prompting first, then fine-tune if format errors persist at your volume.

Does RAG make an AI agent more secure?

No. Retrieved documents can carry prompt injections. Security comes from permissions, provenance and tool controls outside the model.


Keep reading

Kimi K3.1 Pro

Kimi K3.1 Pro vs Sonnet 5.5: Same Price, Different Bill

On paper, Moonshot AI priced Kimi K3.1 Pro to the cent against Claude Sonnet 5.5: $2 per million input tokens and $10 per million output …
RAG vs fine-tuning

RAG vs Fine-Tuning: Which One You Actually Need

Take a support team that ships two prototypes on the same base model. The first searches the product documentation on every question and pastes the …
AI capex

AI Infrastructure Spending: What $145 Billion and a Sold-Out AWS Actually Buy

Published 25 October 2026 · Last verified 25 October 2026 · By the UniverseBlend editorial desk On 21 October, Meta set the latest marker for …
agentic AI

What Is Agentic AI? How AI Agents Work, What They Cost, and Where They Fail

Agentic AI describes software systems in which a language model chooses and carries out a sequence of actions to complete a task. It calls tools, …

AI Infrastructure Spending: What $145 Billion and a Sold-Out AWS Actually Buy

AI capex

Published 25 October 2026 · Last verified 25 October 2026 · By the UniverseBlend editorial desk

On 21 October, Meta set the latest marker for AI infrastructure spending, telling investors it expects to spend $135 billion to $145 billion on capital expenditure in 2026, a figure that includes principal payments on finance leases.

Side by side, the two statements describe one problem from opposite ends. Meta shows how much money is going in. Amazon shows how little of that money has yet become compute that a customer can rent.

In this story, AI infrastructure spending means cash spent on long-lived assets — land, buildings, electrical and cooling plant, servers, accelerators, memory and networking — that hyperscalers expect to run AI and cloud workloads.

Key Takeaways
  • Meta’s 21 October guidance narrowed its 2026 range to $135–145 billion; the $145 billion ceiling has stood since April. With $85.8 billion spent by September, the range implies $49–59 billion of fourth-quarter capex, 41–70% above the third quarter.
  • Amazon has not raised its ~$220 billion forecast since 30 July. Jassy’s 23 October remarks described capacity commitments and an appetite to spend more, not a new budget.
  • “Sold out” applies to large, committed blocks of AWS capacity. Jassy said Amazon still keeps capacity back for on-demand EC2 and its Bedrock inference service.
  • Estimates of 2026 hyperscaler spending run from about $794 billion (consensus cited by Goldman Sachs, all capex, US) to about $900 billion (J.P. Morgan, AI capex, five US firms) to $957 billion (TrendForce, nine global cloud providers). They measure different things and cannot be added together.
  • Memory prices are inflating the dollar figures. Jassy attributed most of Amazon’s $20 billion increase to memory costs, and TrendForce estimates DRAM and NAND will take 47% of large cloud providers’ capex this year.
  • AWS’s $496 billion backlog equals roughly 2.9 years of its current revenue run rate. Its duration, pricing and margin are not disclosed.
  • Utilisation of new capacity, contract pricing, and price versus volume inside capex would show whether the spending works. None is disclosed.

Quick Navigation


The AI infrastructure spending ledger

The headline numbers come in three kinds: what companies have spent, what they say they will spend, and what analysts think the sector will spend. They should never share a column without labels.

WhoFigure and periodStatusWhat it does not establish
Meta$135–145bn, 2026, incl. finance-lease principalGuidance, 21 Oct 2026AI share; price inflation within it
Amazon~$220bn cash capex, 2026Management expectation, 30 Jul 2026; unchanged at 25 OctAWS share (includes retail, logistics, satellites)
Alphabet$195–205bn, 2026Guidance, 22 Jul 2026Split between Cloud customers and Google’s own use
Microsoft~$175bn, calendar 2026Guidance as reported, 29 Jul 2026Lower than April’s ~$190bn because of lease accounting, not cuts
Five US hyperscalers incl. Oracle~$900bn AI capex, 2026J.P. Morgan estimate, 19 Oct 2026Company disclosure; uses J.P. Morgan’s AI definition
US hyperscalers~$794bn total capex, 2026Consensus cited by Goldman Sachs, 7 Aug 2026AI share; Goldman says it overstates US AI investment by ~$200bn
Nine global cloud providers$957bn, 2026TrendForce estimate, 14 Oct 2026Includes ByteDance, Tencent, Alibaba, Baidu; not additive to the rows above

The “$700 billion” figure that circulated in July is out of date. Reuters used it on 30 July for Big Tech’s AI investment; by October the narrowest comparable estimate had passed $790 billion.

Meta’s guidance reads like a raise, but only the floor moved, from $130 billion to $135 billion. The $145 billion ceiling dates from 29 April, when Meta cited higher component prices. What the new floor establishes is that Meta expects to spend at least $49 billion in the fourth quarter. (Calculation: $135bn minimum guidance minus $85.82bn spent from January to September, using purchases of property and equipment plus finance-lease principal from Meta’s third-quarter cash-flow statement.)

Microsoft’s row shows why a lower number need not mean a smaller programme. CFO Dive reported that Microsoft extended the estimated useful life of its data centres from 15 to 25 years. Chief financial officer Amy Hood said the change moves some future data-centre leases from finance leases, which count as capex, to operating leases, which do not. The buildings are the same. The reported capex is lower.

The money arrives before the compute

A capex dollar buys assets that come online in a fixed order, and the earliest spending earns nothing.

In his April shareholder letter, Jassy listed what AWS pays for up front: land, power, buildings, chips, servers and networking gear. The cash goes out “typically 6-24 months before we start billing customers,” depending on the component. The same letter puts data-centre lives at 30-plus years and chips, servers and networking at five to six.

That timing suggests a framework for reading any capex announcement. Track the money through six states:

  1. Committed — approved budget or guidance. Meta’s $135–145 billion sits here.
  2. Procured — equipment ordered or paid for. TrendForce reports that some component suppliers now want payment in advance, which pulls cash forward.
  3. Installed — racks in a building. This needs a finished shell and cooling.
  4. Available — energised, networked and commissioned capacity that can take a workload. This needs a grid connection.
  5. Contracted — capacity sold under commitment. AWS’s $496 billion backlog lives here, and it can run ahead of state 4.
  6. Monetised — capacity billing at a price that covers its depreciation and running costs.

Companies disclose the first and fifth states and, in aggregate, the sixth. The states in between are where the time goes.

Power is the slowest of them. UniverseBlend’s analysis of transformer lead times and interconnection queues found transformers averaging about 128 weeks and US interconnection waits of three to seven years, longer than the buildings they serve. J.P. Morgan’s 19 October note puts data-centre construction at 18–30 months and names power as the primary bottleneck.

Amazon’s own metric points the same way. AWS added 3.9 gigawatts of power capacity in 2025 and expects to double total power capacity by the end of 2027, according to the shareholder letter. When the constraint is energised megawatts, capex can outrun capacity for a long time without anything having gone wrong.

That is why Meta’s fourth quarter deserves attention. Its guidance implies quarterly spending 41–70% above the third quarter’s $34.91 billion. (Calculation: implied fourth quarter of $49.2–59.2bn divided by the third-quarter actual.) A late-year surge of that size buys assets that will mostly enter service in 2027.

AI capex

The memory allocation problem

Memory changed the arithmetic more than any other component in 2026, because it raises the price of AI servers and ordinary cloud servers at the same time.

Two products are involved. Conventional server DRAM, sold as DDR5 registered modules (RDIMMs), sits beside CPUs in general-purpose servers. High-bandwidth memory (HBM) is also made from DRAM dies, but they are stacked, linked by through-silicon vias and packaged beside an accelerator to deliver very high bandwidth. An operator cannot plug HBM into a CPU server or fit DDR5 into a GPU package.

They compete upstream, for wafers. Micron chief executive Sanjay Mehrotra has said HBM3E needs about three times the silicon of DDR5 to produce the same number of bits. He expects that ratio to exceed 4-to-1 with HBM4E. Every wafer turned over to HBM yields fewer bits than it would as DDR5. UniverseBlend covered how HBM crowds out conventional DRAM wafers in September.

Amazon has tied this to its budget. On its 30 July earnings call, Jassy attributed most of the increase from about $200 billion to about $220 billion to higher memory costs, which J.P. Morgan’s research also records. He returned to the point on the 23 October podcast. According to several reports of the interview, he described splitting constrained memory between HBM for accelerators and DRAM for AWS’s core, non-AI services, both of which are growing.

The analyst figures show the scale. TrendForce estimates that server DRAM contract prices rose 64% in the second half of 2025 and will rise about 270% over 2026. It expects DRAM and NAND flash together to account for 47% of large cloud providers’ capex in 2026 and 68% in 2027. These are one research firm’s estimates, not company disclosures, but they point the same way as what Amazon and Meta have told investors.

Demand is coming from the CPU side as well. A 22 October TrendForce report expects server CPU shipments to grow 31% in 2026 and more than 40% in 2027, partly because agentic AI workloads need more CPU orchestration. It sees planned CPU-to-accelerator ratios moving from 1:8 toward 1:2 or even 1:1. Those CPUs need memory of their own, mostly DDR5 server modules, so AI demand also lifts conventional DRAM demand directly.

Part of 2026’s capex growth is therefore a price effect: a larger budget buys fewer servers per dollar than it did a year ago. No hyperscaler splits capex into price and volume, so outsiders cannot tell how much extra compute each additional billion buys.

AI capex

Training and inference compete for the same buildout

Accelerator counts say little on their own, because training and inference ask different things of the same hardware budget.

Training a frontier model needs thousands of accelerators working in lockstep for weeks, high-bandwidth interconnect between them and enough HBM to hold model state. Models are retrained and new ones begun, so a training cluster is a recurring claim on capacity, not a one-off cost.

Inference runs continuously and follows user demand. Generating each token means reading the model’s weights and its key-value (KV) cache from memory. Throughput is therefore usually limited by memory bandwidth, as UniverseBlend explained in why memory bandwidth, not FLOPS, caps inference throughput. The KV cache grows with context length and with the number of concurrent requests, so longer contexts cut how many users one accelerator can serve. Operators batch requests to raise utilisation, and pay for it in latency.

These differences turn into capex decisions. A cluster built for training carries a networking fabric that an inference fleet may not need. Hardware built for fast or cheap inference may be poorly suited to frontier training, and UniverseBlend has argued that specialised inference chips win only a narrow slice of the market. Capacity can move between workloads, though not always efficiently.

Meta and Amazon make this choice from different positions. Meta is its own customer. Its release says current and scheduled capacity gives it “flexibility to allocate resources across model training, core business growth” and new products. Its return arrives mainly through advertising: third-quarter ad revenue rose 26%, with impressions up 10% and price per ad up 14%. That growth cannot be credited wholly to AI infrastructure, although Meta says its AI investments are already delivering substantial incremental ad revenue.

Amazon sells capacity. Jassy said 2027 is “largely sold out all the big chunks,” according to Reuters, with some capacity held back for on-demand EC2 and Bedrock. Large commitments take long blocks; on-demand and managed-inference customers buy in small pieces at different prices. The same gigawatt can earn very different returns depending on who fills it.

Sold-out capacity versus profitable capacity

Sold-out capacity shows that demand at current prices exceeds deliverable supply. It does not show that the next dollar of capex earns an attractive return.

The disclosures establish three things. Customers have signed commitments: AWS’s backlog reached $496 billion at the end of June, up from $364 billion three months earlier. AWS is profitable now, with $16.6 billion of operating income on $42.2 billion of second-quarter revenue, according to Amazon’s second-quarter release. And Jassy wrote in April that Amazon already had commitments for a substantial portion of its 2026 AWS capex.

They do not establish duration, pricing or concentration. The backlog is about 2.9 years of AWS’s $169 billion annualised run rate (calculation: backlog divided by run rate), but Amazon does not say how long the contracts run, what margins they carry or how much comes from a few AI laboratories; OpenAI alone has committed more than $100 billion, according to the shareholder letter. Regional mix and utilisation are also undisclosed.

Costs are rising too. Meta’s depreciation and amortisation rose 44% year on year in the third quarter to $7.15 billion, and its free cash flow was negative $2.12 billion. Meta also announced a non-voting Class C share class, partly to give it a way to raise capital, effective 19 January 2027. J.P. Morgan notes that hyperscalers are increasingly funding the buildout with debt and equity rather than free cash flow.

Useful-life assumptions sit beneath all of this. Amazon depreciates chips and servers over five to six years. J.P. Morgan’s chief US economist, Michael Feroli, has warned that AI hardware may lose economic value faster than conventional equipment as each generation lowers the cost per unit of compute. If he is right, current depreciation schedules could overstate profits.

The strongest counterargument is Amazon’s. Jassy’s letter argues that data centres last 30-plus years and that returns become cumulatively attractive a couple of years after assets enter service. That holds well for buildings and power, the long-lived part. It says less about the five-year assets, which are where memory inflation lands.

What to watch next

Scheduled disclosures:

  • 28 October 2026 — Alphabet third-quarter results and Microsoft fiscal first-quarter 2027 results, both after the US close. Watch Alphabet’s $195–205 billion range and Microsoft’s capex including finance leases.
  • 29 October 2026 — Amazon third-quarter results, as reported by Reuters. Watch whether the ~$220 billion expectation changes, the AWS backlog and margins, and any memory commentary.
  • 19 January 2027 — Meta’s Class C stock takes effect, an indication of how Meta intends to fund 2027.

Not yet scheduled: Meta’s 2027 capex range, which management says it is still developing, and 2027 HBM contract prices, which TrendForce expects to rise 70–140%.

A scorecard for the quarters that follow:

IndicatorTypeDisclosed?
Backlog growth versus revenue growthLeadingYes (AWS, Google Cloud, Microsoft)
Capex growth versus cloud revenue growthLeadingYes
Price versus volume within capexLeadingNo
Utilisation of newly deployed capacityLeadingNo
Segment margin after depreciationLaggingPartly (AWS yes; Meta’s AI no)
Free cash flow and external financingLaggingYes
Return on invested capital for AI assetsLaggingNo

If backlog keeps outpacing revenue while margins hold after depreciation, the spending is converting. If capex keeps rising while margins fall and financing needs grow, it is not, whatever the backlog says.

Conclusion

Treat AI infrastructure spending in 2026 as a measure of intent. Meta’s range tells you how much it is prepared to put in; Amazon’s sold-out remark tells you how far delivery is lagging demand. Neither tells you about returns.

Three questions separate a credible announcement from a merely large one. How much of the increase is price? How long until the spending becomes energised capacity? And who has contracted to use it, at what margin? Today companies answer the third only in aggregate and the first two not at all. Until that changes, a rising capex number is evidence of demand and of component inflation, in proportions that nobody outside these companies can see.

FAQ

What is AI capex in 2026?

It is capital spending on data centres, power, cooling, servers, accelerators, memory and networking intended to run AI and cloud workloads. Estimates for 2026 range from about $794 billion (US hyperscaler consensus, all capex) to about $900 billion (J.P. Morgan, AI capex at five US firms), depending on scope.

Why is Meta spending up to $145 billion on capital expenditure?

Meta guided on 21 October 2026 to $135–145 billion, including finance-lease principal, to support its advertising business and its AI work. When it raised the range in April, it cited higher component prices. Its 2027 plans are not yet set.

Why is Amazon’s AWS capacity sold out through 2027?

Jassy said on 23 October 2026 that customers have committed to most large blocks of 2027 capacity because demand from AI labs and enterprises exceeds what Amazon can build. Some capacity is kept for on-demand EC2 and Bedrock, so not every service or region is unavailable.

How do HBM and conventional DRAM affect AI infrastructure costs?

HBM is stacked memory packaged with accelerators; conventional DRAM serves CPU servers. They are not interchangeable, but both come from DRAM wafers, and HBM uses about three times as much silicon per bit. Rising prices for both have pushed up capex budgets, including Amazon’s.

Does higher AI capex guarantee higher cloud profits?

No. Capex creates depreciation, over five to six years for chips and servers, and returns depend on utilisation and pricing. No company discloses margins on its new AI capacity.

How can businesses tell whether AI infrastructure spending is producing returns?

Compare backlog and revenue growth with capex growth, then check margin after depreciation and free cash flow. For a buyer, the test is utilisation: reserved but idle capacity earns nothing.

Editorial note: Figures are as disclosed or reported up to 25 October 2026. Alphabet and Microsoft report on 28 October and Amazon on 29 October; if those results change any figure here, this article will carry a dated update. Report errors through the contact page.


Keep reading

Kimi K3.1 Pro

Kimi K3.1 Pro vs Sonnet 5.5: Same Price, Different Bill

On paper, Moonshot AI priced Kimi K3.1 Pro to the cent against Claude Sonnet 5.5: $2 per million input tokens and $10 per million output …
RAG vs fine-tuning

RAG vs Fine-Tuning: Which One You Actually Need

Take a support team that ships two prototypes on the same base model. The first searches the product documentation on every question and pastes the …
AI capex

AI Infrastructure Spending: What $145 Billion and a Sold-Out AWS Actually Buy

Published 25 October 2026 · Last verified 25 October 2026 · By the UniverseBlend editorial desk On 21 October, Meta set the latest marker for …
agentic AI

What Is Agentic AI? How AI Agents Work, What They Cost, and Where They Fail

Agentic AI describes software systems in which a language model chooses and carries out a sequence of actions to complete a task. It calls tools, …

What Is Agentic AI? How AI Agents Work, What They Cost, and Where They Fail

agentic AI

Agentic AI describes software systems in which a language model chooses and carries out a sequence of actions to complete a task. It calls tools, reads their results, and decides what to do next until it reaches a stopping condition. The model supplies judgment. The surrounding runtime supplies tools, state, permissions and limits.

The word “agent” now appears on chat interfaces, scripted automations and products that call a single API. That makes the label close to useless for anyone deciding what to build, buy or secure. The useful question is narrower. What is agentic AI, measured by what the system actually does at runtime? It comes down to how much control the system has over choosing its next action, whether those actions change anything outside the conversation, and what constrains and checks that behaviour. Those three properties also decide what the system costs and how it fails.

Key Takeaways
  • The defining property of an agent is runtime control over the next action, plus the ability to act on external systems. Personality, tool count and branding don’t decide it.
  • A model is not an agent. The runtime that executes tool calls, carries state and enforces limits makes it one.
  • Verification is only as good as its evidence. A second model call is not ground truth; a test result or metric is.
  • Agent cost follows the execution path. Repeated context makes long runs disproportionately expensive, and cost per successful task matters more than cost per call.
  • Permissions turn a model’s proposal into an action. Enforce them in code, at the tool boundary, not in the prompt.
  • Prompt injection is an architectural risk. Constrain tools, scope credentials and gate irreversible actions rather than relying on instructions.
  • Many tasks are better served by a deterministic workflow or a single model call.

Quick Navigation


What is agentic AI? A working definition

Anthropic’s engineering guide, Building effective agents (December 2024), draws the most widely used line. Workflows are “systems where LLMs and tools are orchestrated through predefined code paths”. Agents are systems where “LLMs dynamically direct their own processes and tool usage”. OpenAI’s launch post for its agent tooling (March 2025) describes agents as “systems that independently accomplish tasks on behalf of users”.

Neither is a formal standard, and both leave room for judgment. Taken together, they point to the distinguishing property: in an agent, the model decides what happens next, and what happens next can be an action with consequences.

A language model on its own is not an agent. It takes text in and produces text out. It becomes part of an agentic system when a runtime around it does four things:

  • exposes tools it can call;
  • executes the calls it requests;
  • feeds the results back;
  • repeats until a stopping condition is met.

The same model can sit inside a chatbot, a fixed pipeline or an agent. The architecture decides which.

The anatomy of an agentic AI system

Most agentic systems share six parts, though implementations differ in how they build each one.

PartWhat it doesTypical implementation
ModelReads the current context and proposes the next stepA hosted or self-hosted LLM
RuntimeRuns the loop: sends context, parses tool calls, executes them, appends resultsAgent framework, provider SDK or custom code
ToolsLet the system read or change the outside worldAPIs, databases, shell, browser, file system
State and memoryCarry information between steps and sessionsTranscript, scratchpad, task record, retrieval store
ObjectiveDefines what “done” meansUser request plus system instructions, sometimes a checklist
Permissions and limitsDecide what the system may do and when it must stopScoped credentials, approval gates, step and budget caps

The last row is the one most often left implicit. A model can propose deleting a file. Whether the file is deleted depends on whether the runtime permits it, and that decision belongs to code, not to the model.

How an AI agent actually works: one investigation, step by step

The loop is usually described as perceive, decide, act, verify, and then continue or stop. The research lineage is the ReAct paper (Yao et al., 2022), which interleaved model “reasoning traces and task-specific actions” so that actions could pull in outside information. Here is what that loop looks like in practice.

Hypothetical scenario. A deployment of a payments service has failed, and an on-call engineer asks an agent to find out why.

  1. Perceive. The runtime gives the model the request, the system instructions and descriptions of three tools: get_deploy_logs, query_metrics and run_diagnostic. Only read-only diagnostics are permitted.
  2. Decide. The model requests the deploy logs for the failed release.
  3. Act. The runtime calls the logging API and appends 3,000 lines of output to the context.
  4. Verify. The model finds a connection-refused error to the database at the moment of rollout. It forms a hypothesis that a credential rotation broke the connection string.
  5. Continue. It queries metrics for the database. The metrics show the database healthy, with connections from the old release still succeeding. The hypothesis is weakened, and the model revises it: perhaps the new release points at the wrong host.
  6. Act again. It requests a DNS diagnostic from the new pod. The tool returns an error. The diagnostic container is not available in that namespace.

That last step is where the architecture shows. A well-built runtime returns the error to the model as data, and the model can choose a different route: inspect the release’s configuration diff, which is a read-only call it is allowed to make. A badly built one either crashes or lets the model keep retrying the same failing call. If the next move would be to restart the pod or roll back the release, a change with real side effects, the runtime should require the engineer’s approval rather than let the model proceed.

Verification deserves scepticism. When the model “checks” its own conclusion, that check is another model call, with the same blind spots as the first. The checks worth trusting come from the environment. Anthropic’s guide stresses gaining “ground truth” from tool results and code execution at each step. In this example, that means a metric that changes, a test that passes, or a configuration value that can be compared. An agent that reports “root cause found” without that kind of evidence has produced a hypothesis, not a finding.

The loop ends on one of three things: the objective is met, the agent escalates to a human, or a limit is hit. Anthropic recommends explicit stopping conditions, “such as a maximum number of iterations”. Without them, a confused agent simply keeps going.

agentic AI

AI agents versus LLM workflows: a spectrum, not a binary

The cleanest way to distinguish them is to watch execution rather than read the product page.

Observable behaviourLLM workflowAI agent
Who chooses the next stepCode written in advanceThe model, at runtime
BranchingFixed branches, perhaps chosen by a model classificationOpen-ended; the next tool and arguments are selected each turn
Number of model callsKnown in advanceVaries run to run
StoppingWhen the pipeline endsWhen the objective is met, a limit is hit or the agent escalates
Side effectsUsually at fixed, reviewed pointsWherever the model chooses, within its permissions
Human approvalDesigned into specific stepsMust be enforced by the runtime for sensitive actions

Real systems sit between the columns. A workflow can route a ticket using a model’s classification, which is a dynamic decision inside a fixed structure. An agent can run inside a workflow, handling one open-ended step before handing back to deterministic code. Treat this as a spectrum of autonomy. UniverseBlend’s comparison of agents, copilots, assistants and chatbots classifies systems by who approves consequential actions, which is a practical way to place a product on that spectrum.

Tools, memory, planning and permissions in AI agent architecture

Tools

Tools are what make actions possible: an API call, a database query, a shell command, a browser session. Each tool is also an interface the model must use correctly, so its design matters. A tool that returns 3,000 lines of raw log is technically working, but it spends context budget and buries the one relevant line. A tool with an ambiguous parameter name invites wrong arguments. Without tools, the system can only talk about the world. With poorly designed tools, it talks to the world unreliably.

Memory

There are at least three kinds of memory:

  • The working context of the current call.
  • Task state carried across steps: what has been tried, what failed, what remains.
  • Persistent memory across sessions: notes, retrieval stores, user preferences.

Memory lets an agent avoid repeating a failed diagnostic. It also lets an error persist. A wrong conclusion written to the task record in step 3 becomes a premise in step 9. Retrieved or remembered text can also carry instructions from someone other than the user. Memory needs the same provenance checks as any other input.

Planning

Planning means breaking a goal into steps, choosing the next one, and revising the plan when evidence contradicts it. In the deployment example, the model planned around a credential hypothesis and abandoned it when the metrics disagreed. That revision is the valuable part. Without planning, an agent either follows its first idea regardless of evidence or wanders. Explicit plans written into state make that behaviour visible to an operator.

Permissions

Permissions separate deciding to act from being allowed to act. The model’s output is a request. The runtime, or the system the tool talks to, decides whether that request is executed. In practice that means:

  • an identity for the agent distinct from the user;
  • credentials scoped to the task;
  • read and write separated;
  • approval required for irreversible operations.

An agent with broad credentials and a careful system prompt is relying on the prompt. An agent with narrow credentials doesn’t need the prompt to hold.

What AI agents actually cost

A chat reply costs one model call. An agent task costs the sum of every call on the path it took, and that path isn’t known in advance. Agent cost is driven by the execution path, not the number of tasks submitted.

Three mechanisms make paths expensive:

  • Repeated context. Each call re-sends the instructions, the tool definitions and the growing transcript, so later calls are larger than early ones.
  • Variable length. A task that goes smoothly takes a few calls. One that hits a tool error, a dead-end hypothesis or a verification failure takes many more.
  • Work outside the model. Tool APIs, retrieval queries, sandboxed compute, logging and storage all bill separately.

Anthropic’s write-up of its multi-agent research system reports that its agents “typically use about 4× more tokens than chat interactions”, and multi-agent systems “about 15×”. It also reports that on its browsing evaluation, token usage alone “explains 80% of the variance” in performance. Those figures are specific to that system and task, not a general rate, but they show the scale.

A worked example with labelled assumptions. Rates are Anthropic’s published Claude Sonnet 5.5 prices, checked on 22 October 2026: $2 per million input tokens and $10 per million output tokens, with no caching. The workload is hypothetical:

  • Each call carries an 8,000-token fixed prefix (system prompt plus tool definitions).
  • Each step adds 2,500 tokens of tool output and reasoning.
  • Each call returns 400 output tokens.
PathModel callsInput tokensOutput tokensCost
Clean run685,5002,400$0.195
Run with a tool error, a revised hypothesis and an extra verification11225,5004,400$0.495

The second run is less than twice as long in calls but more than 2.5 times as expensive. Input grows with every step, because each call re-reads everything before it. If 70% of runs are clean and 30% take the longer path, the average run costs about $0.29. Prompt caching can cut the repeated-prefix cost substantially, but only if the prefix stays byte-identical between calls.

The more important number is cost per successful task. Suppose, hypothetically, the agent above succeeds 90% of the time. A cheaper model at one-tenth the token price succeeds 50% of the time. Every failure costs $4 of an engineer’s time to review and redo. Then:

  • Stronger model: ($0.285 + 0.10 × $4) ÷ 0.90 ≈ $0.76 per success
  • Cheaper model: ($0.0285 + 0.50 × $4) ÷ 0.50 ≈ $4.06 per success

The token bill is the smallest line in that calculation. The success rates and review cost here are invented to show the mechanism. The point is that the cheapest response doesn’t produce the cheapest completed task once failures have a price. UniverseBlend’s analysis of when adding agents stops paying for itself follows the same arithmetic into multi-agent designs.

agentic AI

Latency follows the same path logic. Eleven sequential calls, each waiting for a model and a tool, take far longer than six. Concurrency limits and rate limits apply per call, not per task.

Where AI agents fail, and why AI agent security is an architecture problem

It helps to separate two kinds of failure. Model errors are wrong judgments: a misread log, a wrong hypothesis, a hallucinated parameter. Design failures are what the system allows those errors to do. Most damaging incidents need both: the model makes a mistake, and the architecture lets the mistake reach something that matters.

The failure modes worth designing against:

  • Prompt injection. Text in a retrieved document, web page, ticket or tool output carries instructions the model may follow. OWASP’s Top 10 for agentic applications (December 2025) highlights agent behaviour hijacking, tool misuse and identity and privilege abuse among its risks.
  • Excessive permissions: an agent that can delete when it only needed to read.
  • Insecure tool integrations: tools that pass model-generated arguments straight into shells, queries or URLs.
  • Sensitive-data exposure: private data in context sent to an external tool or rendered into an outbound link.
  • Persistent wrong assumptions carried forward in state.
  • Unbounded loops and retry storms: a failing call retried until a budget or rate limit intervenes.
  • Duplicate or irreversible operations: a retry that sends the payment twice.
  • Missing audit trails: no way to reconstruct which step did what.
  • Cascading failures: one tool’s bad output becomes the next tool’s input.

Telling the model to ignore malicious instructions is not a control. It lowers the odds of compliance on a good day and offers nothing on a bad one. Defence in depth works at layers the model cannot talk its way past:

  • constrained tool interfaces with validated arguments;
  • least-privilege credentials;
  • explicit authorization at the tool boundary;
  • sandboxed execution;
  • egress limits;
  • idempotency keys for writes;
  • human approval for irreversible steps.

No single one of these is sufficient. UniverseBlend’s guide to the four layers of sandbox isolation covers the containment side.

How to tell a real agentic AI system from a branded workflow

These questions assess architecture and autonomy. They are not a certification, and a useful system need not answer yes to all of them.

  1. Does the system choose its next action at runtime, or follow a sequence written in advance?
  2. Does it read tool results and change course when they contradict its plan?
  3. Does it keep task state across steps, so it knows what has been tried?
  4. Does it stop on a defined condition: objective met, escalation or limit?
  5. Are its actions bounded by explicit permissions enforced outside the model?
  6. Can an operator reconstruct what happened from logs, including tool arguments and results?
  7. Can it recover from a failure without repeating a dangerous action?

A product that answers “no” to the first three is a workflow with a model in it. That may be exactly the right product. A product that answers “yes” to the first three and “no” to the last four is an agent you shouldn’t deploy near anything important.

When not to use an agent

Anthropic’s guide recommends “finding the simplest solution possible”, which “might mean not building agentic systems at all”. That advice is easy to agree with and often ignored.

Use a deterministic function when the logic can be written down: validation, formatting, routing by known rules. Use an ordinary API integration when the steps are fixed and the data is structured. Use a single model call when the task is one transformation, such as summarising, classifying or extracting. Use a conventional workflow, perhaps with model calls at specific steps, when the process has to be predictable, auditable and fast.

An agent earns its cost and risk when the next step genuinely cannot be known in advance and the value of finding it outweighs:

  • latency: many sequential calls;
  • variable cost: the execution path decides the bill;
  • harder audits;
  • a larger failure surface.

If a mistake would be expensive or irreversible and the path is predictable, the agent is the wrong tool. So what is agentic AI, in the end? It’s a way of handing the choice of next action to a model. It is worth doing only where that choice is the hard part of the problem.

FAQ

What is agentic AI in simple terms?

Agentic AI is software in which a language model decides what to do next, uses tools to do it, looks at the result, and repeats until the task is finished or it needs help. The model makes the decisions, and the surrounding system controls what it is allowed to do.

How does agentic AI differ from generative AI?

Generative AI produces content in response to a prompt. Agentic AI uses a generative model as the decision-maker inside a loop that takes actions, such as calling APIs or running code, and reacts to their results. Our agentic AI vs generative AI comparison covers the cost and risk differences.

What is the difference between an AI agent and an LLM workflow?

In a workflow, developers write the sequence of steps in advance and the model fills in specific parts. In an agent, the model chooses the next step at runtime. Many real systems combine both.

Do AI agents need memory?

They need at least task state within a run, so they know what has been tried. Persistent memory across sessions is optional and adds risk, because incorrect or injected information can persist.

How do AI agents use tools?

The model outputs a structured request naming a tool and its arguments. The runtime checks that the request is permitted, executes it and returns the result as new context for the next decision.

Why can AI agents be expensive?

Each step is a model call that re-sends the growing context, and the number of steps varies with how the task unfolds. Retries, verification calls, tool fees and human review of failures add to the total.

What are the main security risks of agentic AI?

The main risks are prompt injection through external content, over-broad permissions, insecure tool integrations, data leakage and irreversible actions taken on a wrong assumption. Defence in depth applies to all of them: least privilege, validation, sandboxing and approval gates.

When should a business avoid using an AI agent?

Avoid an agent when the steps are predictable, when errors would be costly or irreversible, or when latency and auditability matter more than flexibility. A workflow or single model call is usually cheaper and easier to trust.


Keep reading

Kimi K3.1 Pro

Kimi K3.1 Pro vs Sonnet 5.5: Same Price, Different Bill

On paper, Moonshot AI priced Kimi K3.1 Pro to the cent against Claude Sonnet 5.5: $2 per million input tokens and $10 per million output …
RAG vs fine-tuning

RAG vs Fine-Tuning: Which One You Actually Need

Take a support team that ships two prototypes on the same base model. The first searches the product documentation on every question and pastes the …
AI capex

AI Infrastructure Spending: What $145 Billion and a Sold-Out AWS Actually Buy

Published 25 October 2026 · Last verified 25 October 2026 · By the UniverseBlend editorial desk On 21 October, Meta set the latest marker for …
agentic AI

What Is Agentic AI? How AI Agents Work, What They Cost, and Where They Fail

Agentic AI describes software systems in which a language model chooses and carries out a sequence of actions to complete a task. It calls tools, …

LLM Determinism: Why the Same Prompt Gives Different Answers

LLM determinism

A classification endpoint has been running at temperature 0 for a month. A team replays last Tuesday’s inputs to debug a complaint, and a handful of the labels come back different. Nobody changed the prompt, the model ID or the code. (This is a hypothetical scenario, but the pattern is common enough that Anthropic’s own glossary warns about it.) The glossary says that “even with temperature set to 0, the results will not be fully deterministic, and identical inputs might produce different outputs across API calls.”

The usual fix, turning temperature down, only controls one step: how the next token is picked from the model’s probabilities. It does not control how those probabilities were computed, which hardware computed them, which other requests shared the batch, which model version sat behind the name, or what the tools returned. LLM determinism is a property of the whole inference pipeline, not of one parameter. Where in that pipeline the variation enters decides what an application can honestly promise about it.

Key Takeaways
  • Temperature 0 controls token selection, not computation. Anthropic documents that it is “not fully deterministic”, and OpenAI described its seed as “best effort”.
  • The main documented cause on modern stacks is a lack of batch invariance, not concurrency. A request’s arithmetic can depend on which other requests share its batch. Batch-invariant kernels removed the variation in Thinking Machines’ test, at a speed cost.
  • A pinned model ID freezes the weights, not the serving stack. Anthropic says infrastructure updates are the most likely cause of behaviour changes on a stable ID.
  • In agents, one different token can redirect a whole run. Safety must come from validation and approval gates, not from the model repeating itself.
  • Evaluate distributions, not single runs. Report standard errors, resample where variance is high, and track failure modes.
  • Pick a reproducibility level: exact, best-effort, statistical, or application-level correctness. Then control the layer that matters for that level.

Quick Navigation


What LLM determinism actually means

A system is deterministic if the same inputs always produce the same output. The difficulty with LLMs is that “the same inputs” hides most of the inputs. The prompt is visible. The model weights, numerical kernels, batch composition, hardware, decoding settings, tokenizer and every tool response along the way are not, and all of them feed into the result.

It helps to separate four questions that often get merged:

  • Repeat within one fixed environment. Same weights, same kernels, same hardware, same batch shape. This is the narrowest case, and the one most likely to be reproducible bit for bit.
  • Repeat across serving conditions. Same model and prompt, but different load, batch sizes or machines. This is what an API user actually experiences.
  • Reproduce after a change. The provider updates the model, the serving stack or the infrastructure. The question is now whether the behaviour is preserved, not the bits.
  • Reproduce a workflow. An agent’s final state depends on many calls, plus tools and external data. Matching one response is not the same as matching the run.

Reproducibility is also not correctness. A model can return the same wrong answer every time. It can also return different wording that is equally correct. Exact text equality, equivalent meaning, task success and safe execution are four different success criteria, and an application should choose one deliberately.

Temperature is only one LLM determinism control

At each step, the model produces a score (a logit) for every token in its vocabulary. Decoding turns those scores into a choice. Greedy decoding takes the highest-scoring token. Sampling draws from the probability distribution. Temperature reshapes that distribution: lower values concentrate probability on the top token, and temperature 0 is generally treated as greedy. Top-p and top-k limits trim the candidate set before the draw.

A seed fixes the random number generator used for sampling, so that two runs with the same probabilities make the same draws. OpenAI introduced a seed parameter in 2023. Its cookbook guide promised “(mostly) consistent outputs” on a “best effort” basis and stated that “determinism is not guaranteed”. It paired the seed with a system_fingerprint field identifying the backend configuration, warning that when the fingerprint differs “you may see different outputs”. The current Chat Completions reference now marks system_fingerprint as “Deprecated”. So the visible signal for backend change is going away even on the API that introduced it. We found no seed parameter documented for Anthropic’s Messages API, and Anthropic’s glossary says outright that temperature 0 is not fully deterministic, on its own service and through third-party clouds.

Both controls act on the last step of the computation. Greedy decoding is deterministic given its input, but its input is a vector of floating-point logits computed by everything upstream. If two top candidates are close and the upstream arithmetic shifts one of them slightly, greedy decoding faithfully picks a different token. There may also be implementation details in tie-breaking. Temperature and seeds narrow the variation that sampling adds. They do nothing about variation in the numbers being sampled from.

How the serving system breaks LLM determinism

The root mechanism is that floating-point addition is not associative. Real-number arithmetic says (a + b) + c equals a + (b + c). Floating-point arithmetic rounds after every operation, so the order matters. In 32-bit floats:

  • (100,000,000 + (−100,000,000)) + 1 = 1
  • 100,000,000 + ((−100,000,000) + 1) = 0

In the second order, adding 1 to −100,000,000 is lost to rounding, because 32-bit floats near that magnitude are spaced 8 apart. The same effect, at smaller scale, occurs whenever a GPU kernel sums thousands of products in a matrix multiplication or attention reduction. Change the order of the sum and the last few bits of the result can change.

That alone does not make a system nondeterministic. A fixed kernel on fixed hardware sums in a fixed order. NVIDIA’s cuBLAS documentation says its routines “generate the same bit-wise results at every run” on GPUs “with the same architecture and the same number of SMs”. It lists the exceptions: multi-stream execution, atomics mode and certain workspace conditions. It also notes that results are not guaranteed to match across toolkit versions.

The more interesting finding came from Thinking Machines Lab. In Defeating Nondeterminism in LLM Inference (September 2025), Horace He and colleagues argued that the common explanation, “concurrency plus floating point”, misses the main cause. A typical forward pass, they wrote, uses essentially no atomic operations and is run-to-run deterministic. What it is not is batch-invariant. Many kernels choose a different reduction strategy depending on how many tokens are in the batch, so one request’s numbers depend on how many other requests were processed alongside it. Server load sets the batch size, and load is outside any user’s control.

Their experiment makes the scale concrete. They ran 1,000 completions of the same prompt at temperature 0 on Qwen3-235B-A22B-Instruct-2507 and got 80 unique outputs. All 1,000 matched for the first 102 tokens, then split at token 103: 992 continued “Queens, New York” and 8 “New York City”. With batch-invariant kernels, all 1,000 completions were identical. The cost was speed. In their unoptimised test on a smaller model, a run that took 26 seconds with default vLLM took 55 seconds deterministically, or 42 seconds with an improved attention kernel. That is one implementation on one stack, but it establishes the mechanism. It also shows why providers optimising for throughput may not choose batch-invariant kernels by default.

Two qualifications matter. First, a numerical difference only changes text when it lands on a near-tie between candidate tokens. Most batch changes alter nothing visible, which is why the divergence above appeared at token 103 and not token 1. Second, once a single token differs, every later token is conditioned on a different prefix, so a one-bit difference can become a different paragraph.

Mixture-of-experts (MoE) models add a possible amplifier. A router scores each token and sends it to a few experts. If two experts score almost equally, a small numerical shift could change the assignment, and with it the computation path. Some MoE designs also cap how many tokens each expert accepts. The Switch Transformer paper sets expert capacity from the tokens in a batch and a “capacity factor”. Tokens beyond that capacity are “dropped” and passed through the residual connection without the expert’s computation. In such a design, whether a token is processed can depend on what else is in the batch. Whether any particular commercial model uses capacity limits at inference, and how often near-ties occur, is not publicly documented. This is a plausible mechanism, not a measured cause for any named API.

LLM determinism

LLM determinism and the model behind the name

Even with perfectly deterministic kernels, the model itself can change. Four things are worth distinguishing:

  • A model family: “Claude Sonnet”, “GPT-6”. This is a marketing label, not something you can reproduce against.
  • A mutable alias: a name that resolves to the latest snapshot. Anthropic’s model ID documentation describes an alias such as claude-sonnet-4-5 as “a convenience pointer that resolves to the most recent dated snapshot”.
  • A pinned snapshot: a fixed version. Anthropic says its IDs from the 4.6 generation onward map “to a single, fixed model snapshot” and that it “does not update the weights or configuration of an existing model ID”. OpenAI’s text generation guide recommends pinning production applications to snapshots for consistent behaviour.
  • The serving implementation: kernels, hardware, quantisation and routing infrastructure.

The fourth layer can change while the third stays fixed. Anthropic’s documentation says so directly: “If you notice unexpected behavioral differences on a previously stable model ID, an infrastructure update is the most likely cause.” That is a candid statement, and it applies in principle to any hosted model. A pinned snapshot freezes the weights. It does not freeze the arithmetic.

Unchanged application code therefore proves very little. Tokenizer versions, default parameters, safety filters, system-level prompt handling and the hardware a request lands on can all differ while the request body stays byte-identical. And snapshots do not last forever. When one is retired, the replacement is a different model, and UniverseBlend’s account of what breaks when a model version retires covers the migration that follows.

When LLM nondeterminism becomes an agent security and reliability problem

In a single chat answer, a changed word is usually harmless. In an agent, outputs become inputs. A one-token difference can change:

  • which tool the model selects, or the arguments it passes;
  • the text of a retrieval query, and therefore which documents come back;
  • an intermediate conclusion that later steps rely on;
  • whether the agent decides it is finished, or retries;
  • the exact downstream API call, and the state it leaves behind.

Because each step conditions the next, small divergences compound. Hypothetically: two runs of a support agent read the same ticket. One run’s first query returns a refund-policy document. The other’s, worded slightly differently, returns a shipping FAQ. From then on, the runs are reasoning about different evidence. Neither run is broken. The system simply has more than one plausible path, and a single test exercised only one of them.

This is where reliability shades into security, and the two should be kept apart. Ordinary variation is not an attack. But a safety property that holds on 99 runs and fails on the 100th is not a property the system has. Any defence that relies on the model “usually” refusing a dangerous action inherits that variance. The safer design assumes the model will sometimes choose differently and makes high-impact actions safe regardless:

  • idempotent operations, so a repeated call does no extra harm;
  • deterministic validation of tool arguments in code;
  • bounded retries;
  • approval gates for irreversible steps;
  • logs detailed enough to reconstruct which path a run took.

It also explains why an agent can pass an evaluation one day and fail a near-identical run the next without having become less capable. The capability did not change. The sample did.

Why one evaluation run cannot establish LLM determinism

If outputs vary, every evaluation score is an estimate with error. Anthropic’s 2024 research note, A statistical approach to model evaluations (with the companion paper by Evan Miller), recommends:

  • reporting the standard error of the mean with every score;
  • clustering standard errors when questions are grouped;
  • “resampling answers from the same model several times” to reduce within-question variance;
  • comparing models with paired differences on the same questions;
  • using power analysis to decide how many questions an evaluation needs.

None of those recommendations prescribes a universal sample size, and neither does this article. The right number of repeats depends on how variable the task is, how costly each run is, how risky a wrong conclusion would be, and how important the decision is. A model-selection decision for a regulated workflow justifies more trials than a prompt tweak for an internal tool. The practical rule is to keep running until the confidence interval is narrow enough that a plausible value at either end would not change your decision.

Variance is also only one of the reasons a public number misleads. Benchmarks can be contaminated, harnesses differ, and few report error bars. UniverseBlend’s case for building your own evals instead of trusting benchmark scores works through those gaps. For agents, measure the distribution of outcomes, not just the mean: how often the task succeeds, how it fails when it fails, and whether any failure involved an unsafe action. Two configurations with the same success rate can have very different worst cases.

A practical LLM determinism protocol for production teams

The aim is to make every surprising output diagnosable, then decide which layer to control.

  1. Record the model identifier exactly as sent and as returned, preferring pinned snapshots to aliases. Store any version or fingerprint field the provider still returns.
  2. Capture every request parameter: temperature, top-p, top-k, max tokens, stop sequences, seed, reasoning or thinking settings, and response format.
  3. Version the context, not just the prompt: system instructions, tool definitions, JSON schemas, retrieval configuration and any preprocessing.
  4. Log identifiers and timing: provider request IDs, timestamps, region, retries and their causes. A retried call is a second sample, not the same call.
  5. Snapshot tool and retrieval results for each step, so a replay can separate model variation from changes in the data.
  6. Test repetition deliberately. Run the same request many times in sequence and in parallel. Parallel requests are more likely to share batches with different neighbours, which exposes batch-dependent variation.
  7. Diagnose before controlling. If the variation disappears at temperature 0, it was sampling. If it persists with fixed inputs, suspect serving and ask the provider, or test on a controlled stack. If it appears after a date, suspect a model or infrastructure change. If it appears only in multi-step runs, look at tools and external state.
  8. Re-run a representative workload after any model change, alias move or announced retirement, and compare distributions, not single outputs.
  9. Track failure modes by category (wrong tool, wrong argument, premature stop, unsafe action), not only pass rates.
  10. Write down the reproducibility contract: the success criterion, the acceptable variation, and who signs off when it changes.
LLM determinism

Logging a seed does not make a result reproducible across providers, model versions or serving stacks. It is one field in a record whose purpose is diagnosis.

What teams should promise about LLM determinism

The useful framework here is a contract with four levels. It is a synthesis, not an industry standard. Choose the level from the task’s risk and from what a changed answer would cost.

LevelWhat it meansAchievable whenTypical use
Exact reproducibilityIdentical tokens for identical inputsYou control weights, kernels (batch-invariant), hardware and software versionsResearch replication, regulated audit trails, debugging
Best-effort reproducibilityUsually identical, with no guaranteeHosted API with pinned snapshot, temperature 0, seed where offeredCaching, regression tests, user-facing consistency
Statistical consistencyThe distribution of outcomes is stableRepeated evaluation with confidence intervalsModel selection, quality monitoring, agent evals
Application-level correctnessThe outcome is valid and safe, whatever the wordingValidation, constrained actions and approval gates in codeAgents that act, financial or customer-facing operations

Most production teams need the last two and only claim the second. Hosted APIs generally cannot offer the first, because the batch a request lands in is not the customer’s to choose. Self-hosting can achieve it at a throughput cost, but self-hosting is not a cure-all. It moves the responsibility for kernels, hardware and versioning onto the team. Who controls each of those layers is also a vendor question. The model vendor risk checklist covers what to ask about notice periods and snapshot pinning.

Conclusion

A repeatable prompt is not a reproducible system. Temperature and seeds control the last step of a long computation. Batching, kernels, hardware, model versions and tools sit upstream and downstream of it. The practical principle is to decide which level of reproducibility the task needs, find out which layer is producing the variation, and control that layer. For any action that cannot be undone, rely on validation in code rather than on the model making the same choice twice.

FAQ

Does temperature zero guarantee deterministic LLM outputs?

No. Temperature 0 makes decoding choose the most likely token, but the probabilities themselves come from floating-point computation that can vary with batch size, kernels and hardware. Anthropic’s documentation states that results at temperature 0 “will not be fully deterministic”. Other hosted APIs behave similarly, unless the provider guarantees otherwise.

Why can the same prompt produce different answers?

Sampling is the obvious reason, but not the only one. The same prompt can be processed in a different batch, on different hardware or with a different kernel. It can also reach an updated model behind an alias, or receive different tool and retrieval results. Any of these can change one token, and later tokens follow from it.

Can a random seed make LLM responses reproducible?

A seed fixes the randomness used in sampling, so it removes one source of variation. It does not fix the numbers being sampled from. OpenAI’s own guidance called seed-based determinism “best effort” and said that “determinism is not guaranteed”. Seeds also don’t carry across model versions or providers.

Do model updates affect reproducibility?

Yes. A new snapshot behind an alias is a different model. Pinning a dated or fixed snapshot avoids that, but the serving infrastructure can still change. Anthropic names infrastructure updates as the most likely cause of behaviour differences on a stable model ID. When a snapshot retires, the replacement must be re-evaluated.

How should teams evaluate nondeterministic models?

Treat each evaluation as a statistical estimate. Run tasks repeatedly, report the mean with a standard error or confidence interval, and compare models on paired questions. Scale the number of trials to the task’s variance and the decision’s importance. For agents, also categorise failures, because averages hide unsafe outliers.

Can LLM agents be made fully deterministic?

Rarely, in practice. You would need deterministic inference (fixed weights, batch-invariant kernels, fixed hardware) and frozen tools and external data. That is achievable in a controlled test harness, not across live systems. Production agents should instead be made safe under variation, using validated actions, idempotency and approval gates.


Keep reading

Kimi K3.1 Pro

Kimi K3.1 Pro vs Sonnet 5.5: Same Price, Different Bill

On paper, Moonshot AI priced Kimi K3.1 Pro to the cent against Claude Sonnet 5.5: $2 per million input tokens and $10 per million output …
RAG vs fine-tuning

RAG vs Fine-Tuning: Which One You Actually Need

Take a support team that ships two prototypes on the same base model. The first searches the product documentation on every question and pastes the …
AI capex

AI Infrastructure Spending: What $145 Billion and a Sold-Out AWS Actually Buy

Published 25 October 2026 · Last verified 25 October 2026 · By the UniverseBlend editorial desk On 21 October, Meta set the latest marker for …
agentic AI

What Is Agentic AI? How AI Agents Work, What They Cost, and Where They Fail

Agentic AI describes software systems in which a language model chooses and carries out a sequence of actions to complete a task. It calls tools, …

Model Deprecation Tracker: Retirement Dates by Provider

model deprecation dates

A model retirement can break a production system that nobody has touched in months. The application code stays the same while the model ID it calls stops resolving, and the next request returns an error. Asking which model is newest doesn’t help much here. What matters is which identifier each environment is running, what its provider has published about that identifier, and how many working days remain before the date. This page collects the model deprecation dates that the major providers have published, with each row checked against the provider’s own documentation.

The timing is not abstract. On 23 October 2026, the day after this check, OpenAI is scheduled to shut down o1, o1-pro, o3-mini, o4-mini, gpt-4-turbo and several other legacy snapshots on its API.

Quick answer: what developers need to know
  • Model deprecation dates tell you when a provider stops supporting a model ID. Retirement (or shutdown) dates tell you when requests to it start failing. They are separate events, often months apart.
  • Deprecated usually still works. Anthropic defines a deprecated model as “still functional but no longer recommended”. Microsoft lets existing Azure customers keep using deprecated models, while blocking new customers.
  • The same model can retire on different dates on different platforms. Claude Sonnet 4.5 retires on the Claude API on 2026-11-30 but on Amazon Bedrock on 2027-04-08.
  • A missing date means the provider hasn’t published one. It doesn’t mean the model is safe indefinitely. “Not sooner than” dates are floors, not schedules.
  • The verified tracker is in section 1. Each row links to its primary source.
Key Takeaways
  • Keep an inventory of every model ID, platform and region you call. It’s the only way to know which deadlines apply to you.
  • Treat the deprecation date and the retirement date as two separate events. Plan to the retirement date, and start when the deprecation notice arrives.
  • Check the same model on every platform you use. OpenAI and Azure, and Anthropic and Bedrock, publish different dates for the same models.
  • Check the replacement’s own retirement date before migrating to it.
  • Evaluate replacements on your own work. A newer model can cost more, answer differently or need a different request format.
  • Treat a missing date as unknown, not safe.

The providers that publish the most detail, OpenAI and Anthropic, are also the easiest to plan around. The gaps sit with the providers that list models as “deprecated or retired” without dates, and with cloud platforms whose schedules drift from the model developer’s own. For teams running several models across several clouds, the inventory and the monthly check are the controls that actually prevent an outage.


Quick Navigation


Model deprecation dates: the current tracker

Each row below comes from the provider’s own lifecycle page, read on 22 October 2026. “Announced” is the date the provider published the notice, where it gives one. “Retirement” is the provider’s shutdown, retirement or end-of-life (EOL) date, in the provider’s own terminology. “Replacement” is shown only when the provider names one. “Last verified” is the date UniverseBlend checked the row, which is not the date the provider changed it.

Rows are grouped by urgency. Dates are YYYY-MM-DD.

A. Retirement scheduled within 90 days (by 2027-01-20)
ProviderModel / endpoint IDStatusAnnouncedRetirementRecommended replacementMigration notesLast verifiedSource
OpenAI APIo1, o1-2024-12-17, o1-pro, o3-mini, o4-mini, gpt-4-turbo, gpt-4, gpt-3.5-turbo, gpt-4.1-nano, gpt-4o-2024-05-13, gpt-image-1 and their fine-tunesRetirement scheduled2026-04-222026-10-23Per ID: gpt-5.6-sol, gpt-5.6-terra or gpt-5.6-luna; o1-pro → gpt-5.6-sol with reasoning.mode: proFine-tuned ft-gpt-4, ft-gpt-3.5-turbo and ft-o4-mini models shut down the same day. Fine-tunes can’t be carried across, so each needs re-evaluating on the replacement.2026-10-22OpenAI deprecations
Google Gemini APIdeep-research-pro-preview-12-2025 (managed agent, preview)Preview; retirement scheduledNot verified2026-10-23 (earliest possible)deep-research-preview-04-2026Agent IDs carry their own preview lifecycle.2026-10-22Gemini deprecations
Google Gemini APIveo-3.1-generate-preview, veo-3.1-fast-generate-preview, veo-3.1-lite-generate-preview, gemini-omni-flash-previewPreview; shutdown date reached on verification dayNot verified2026-10-22gemini-omni-1.1-flashVideo generation moves to a different model family, so prompts and output handling need retesting.2026-10-22Gemini deprecations
OpenAI APIv1/prompts (reusable prompts), Evals dashboard and API, Agent BuilderRetirement scheduled2026-06-032026-11-30 (Evals read-only from 2026-10-31)Prompts: move into application code. Evals: Promptfoo. Agent Builder: Agents SDK or ChatGPT Workspace AgentsThese are platform features, not models. Export prompt and eval definitions before the read-only date.2026-10-22OpenAI deprecations
AWS Bedrockanthropic.claude-3-5-sonnet-20240620-v1:0, anthropic.claude-3-5-sonnet-20241022-v2:0, anthropic.claude-3-7-sonnet-20250219-v1:0, anthropic.claude-3-sonnet-20240229-v1:0, anthropic.claude-3-haiku-20240307-v1:0 (some Regions)LegacyLegacy from 2026-10-10 (Claude 3 models 10, 13 or 15 Oct by Region)2026-11-13No official replacement identified on the lifecycle pageBedrock does not migrate automatically. Claude 3 Haiku appears with different EOL dates for different Regions, so check yours.2026-10-22Bedrock model lifecycle (Legacy)
Google Gemini APIgemini-2.5-flash-preview-tts, gemini-2.5-pro-preview-tts, gemini-3.1-flash-tts-previewPreview; retirement scheduledNot verified2026-11-17 (earliest possible)gemini-3.8-flash-tts or gemini-3.8-flash-lite-ttsVoices and audio formats may differ, so listen-test before switching.2026-10-22Gemini deprecations
Google Gemini APIgemini-3.1-flash-live-preview, gemini-2.5-flash-native-audio-preview-12-2025Preview; retirement scheduledNot verified2026-11-17 (earliest possible)gemini-3.8-liveLive sessions depend on latency and turn-taking behaviour, so test them under real-time load.2026-10-22Gemini deprecations
Azure OpenAIo3 (2025-04-16), o3-pro (2025-06-10), o3-deep-research (2025-06-26), o3-mini (2025-01-31), o4-mini (2025-04-16)DeprecatedNot verified2026-11-19gpt-5.6-sol (o3 family); gpt-5.6-terra (o3-mini, o4-mini)After retirement, requests return 410 Gone. Provisioned deployments are not auto-upgraded.2026-10-22Azure model retirement schedule
Anthropic (Claude API)claude-sonnet-4-5-20250929Deprecated2026-09-302026-11-30claude-sonnet-5-5This date applies to the Claude API only; Bedrock’s is 2027-04-08.2026-10-22Anthropic model deprecations
OpenAI APIgpt-image-1-mini, gpt-image-1.5, chatgpt-image-latestRetirement scheduled2026-06-022026-12-01gpt-image-2.5-sunburst or gpt-image-2.5-flarechatgpt-image-latest is a “-latest” alias, so anything pinned to it stops resolving on this date.2026-10-22OpenAI deprecations
Azure OpenAIgpt-4o (2024-05-13)DeprecatedNot verified2026-12-09gpt-5.6-solStandard deployments are auto-upgraded region by region; provisioned deployments must migrate manually.2026-10-22Azure model retirement schedule
OpenAI APIgpt-5-2025-08-07, gpt-5-mini-2025-08-07, gpt-5-nano-2025-08-07, gpt-5-pro-2025-10-06, o3-2025-04-16, o3-pro-2025-06-10Retirement scheduled2026-06-112026-12-11gpt-5.6-sol, gpt-5.6-terra, gpt-5.6-luna by size; pro variants use reasoning.mode: proThe pro models change from separate IDs to a reasoning mode, so request parameters change too.2026-10-22OpenAI deprecations
OpenAI APItts-1, tts-1-hd, gpt-4o-mini-tts-2025-03-20, gpt-4o-mini-tts-2025-12-15Retirement scheduled2026-10-012027-01-06gpt-realtime-2.1-miniThe replacement is a realtime model, so the integration pattern changes as well as the ID.2026-10-22OpenAI deprecations
AWS Bedrockanthropic.claude-opus-4-1-20250805-v1:0Legacy (public extended access since 2026-10-08)Legacy from 2026-07-082027-01-08No official replacement identified on the lifecycle pageAlready retired on the Claude API (2026-08-05); on Bedrock it runs five months longer.2026-10-22Bedrock model lifecycle (Legacy)
OpenAI APIgpt-4o-2024-08-06, gpt-4o-2024-11-20, gpt-4o-mini-2024-07-18, gpt-4.1-2025-04-14, gpt-4.1-mini-2025-04-14Retirement scheduled2026-10-142027-01-14gpt-6-lunaFine-tuned versions follow the base model’s schedule. Azure retires the same snapshots on 2027-04-14.2026-10-22OpenAI deprecations
OpenAI APIgpt-realtime, gpt-audio, gpt-4o-realtime, gpt-4o-audio, gpt-realtime-mini, gpt-audio-mini, gpt-4o-mini-realtime, gpt-4o-mini-audioRetirement scheduled2026-07-202027-01-20gpt-realtime-2.1, gpt-realtime-2.1-mini or gpt-audio-1.5 per IDVoice agents need end-to-end latency testing, not just text evals.2026-10-22OpenAI deprecations
B. Retirement scheduled after 2027-01-20
ProviderModel / endpoint IDStatusAnnouncedRetirementRecommended replacementMigration notesLast verifiedSource
Azure OpenAIgpt-5, gpt-5-mini, gpt-5-nano (2025-08-07)GA, retirement date publishedNot verified2027-02-09No official replacement identifiedOpenAI’s own API shuts the same snapshots on 2026-12-11, two months earlier.2026-10-22Azure model retirement schedule
OpenAI APIwhisper-1, gpt-4o-transcribe, gpt-4o-mini-transcribe, gpt-4o-transcribe-diarize, endpoint /v1/audio/translationsRetirement scheduled2026-08-262027-02-26gpt-live-transcribe or gpt-transcribe; v1/realtime/translations for the endpointThe endpoint path changes, so this needs code changes, not just a config edit.2026-10-22OpenAI deprecations
Google Gemini APIgemini-2.5-flash-imageRetirement scheduledNot verified2027-03-15 (earliest possible)gemini-3.1-flash-lite-imageImage output style changes with the model, so review outputs visually.2026-10-22Gemini deprecations
AWS Bedrockmeta.llama3-70b-instruct-v1:0, meta.llama3-8b-instruct-v1:0, meta.llama3-1-70b-instruct-v1:0, meta.llama3-1-8b-instruct-v1:0, meta.llama3-3-70b-instruct-v1:0, meta.llama4-maverick-17b-instruct-v1:0, meta.llama4-scout-17b-instruct-v1:0, mistral.mistral-7b-instruct-v0:2, mistral.mixtral-8x7b-instruct-v0:1, deepseek.r1-v1:0, deepseek.v3-v1:0, google.gemma-3-4b-it, google.gemma-3-12b-it, google.gemma-3-27b-itLegacyLegacy from 2026-09-302027-03-30No official replacement identified on the lifecycle pagePublic extended access date is “to be announced”. New Provisioned Throughput can’t be created during Legacy.2026-10-22Bedrock model lifecycle (Legacy)
OpenAI APIgpt-5.1, gpt-5.3-codex, gpt-5.4-nanoRetirement scheduled2026-10-012027-04-01gpt-6-sol (gpt-5.1, gpt-5.3-codex); gpt-6-luna (gpt-5.4-nano)Azure lists gpt-5.1 as the replacement for some gpt-4o versions, yet OpenAI retires it first. Check the replacement’s own date.2026-10-22OpenAI deprecations
AWS Bedrockanthropic.claude-sonnet-4-5-20250929-v1:0LegacyLegacy from 2026-10-082027-04-08No official replacement identified on the lifecycle pagePublic extended access begins 2027-01-08. Existing customers can lose access after 15 days of inactivity during Legacy.2026-10-22Bedrock model lifecycle (Legacy)
Azure OpenAIgpt-4o (2024-08-06, 2024-11-20), gpt-4o-mini (2024-07-18), gpt-4.1, gpt-4.1-mini, gpt-4.1-nano (2025-04-14)Deprecated (gpt-4o 2024-11-20: Legacy)Not verified2027-04-14gpt-5.1 for gpt-4o; none listed for the othersFine-tuned deployments of these models run to 2027-10-01 or 2027-10-14.2026-10-22Azure model retirement schedule
Google Gemini APIgemini-3.1-flash-liteRetirement scheduledNot verified2027-05-07 (earliest possible)gemini-3.5-flash-liteA GA model with a published one-year horizon.2026-10-22Gemini deprecations
Google Gemini APIgemini-embedding-001Retirement scheduledNot verified2028-05-14 (earliest possible)gemini-embedding-2Changing the embedding model means re-embedding the whole corpus, so plan the storage and compute for it.2026-10-22Gemini deprecations
C. Retired in 2026 (selected)
ProviderModel / endpoint IDStatusAnnouncedRetirementRecommended replacementMigration notesLast verifiedSource
OpenAI APIchatgpt-4o-latestShut down2025-11-182026-02-17gpt-5.1-chat-latest (itself shut down 2026-07-23)A replacement that later retired too.2026-10-22OpenAI deprecations
Anthropic (Claude API)claude-3-7-sonnet-20250219Retired2025-10-282026-02-19claude-sonnet-5-5Requests to retired Claude models fail.2026-10-22Anthropic model deprecations
Google Gemini APIgemini-3-pro-previewShutdown date passedNot verified2026-03-09gemini-3.1-pro-previewThe preview ran for under four months (released 2025-11-18).2026-10-22Gemini deprecations
Cohereembed-english-v2.0, embed-english-light-v2.0, embed-multilingual-v2.0, c4ai-aya-expanse-8b, c4ai-aya-vision-8bRetiredNot verified (entry dated 2026-04-04)2026-04-04embed-v4.0 or v3.0 embeddings; command-a-03-2025, command-r7b-12-2024 or command-a-reasoning-08-2025 for chatEmbedding replacements require re-indexing.2026-10-22Cohere deprecations
Anthropic (Claude API)claude-3-haiku-20240307Retired2026-02-192026-04-20claude-haiku-4-5-20251001Anthropic’s pricing page lists Haiku 4.5 at $1 input / $5 output per 1M tokens. Compare that with your current spend before switching.2026-10-22Anthropic model deprecations
Google Gemini APIgemini-2.0-flash, gemini-2.0-flash-001, gemini-2.0-flash-lite, gemini-2.0-flash-lite-001Shutdown date passedNot verified2026-06-01gemini-3.6-flash; gemini-3.1-flash-lite for LiteGoogle calls its table dates the “earliest possible”, so the actual cutoff wasn’t confirmed here.2026-10-22Gemini deprecations
Anthropic (Claude API)claude-sonnet-4-20250514, claude-opus-4-20250514Retired2026-04-142026-06-15claude-sonnet-5-5; claude-opus-4-8On Bedrock, Claude Sonnet 4 reached EOL later, on 2026-10-14.2026-10-22Anthropic model deprecations
Anthropic (Claude API)claude-opus-4-1-20250805Retired2026-06-052026-08-05claude-opus-4-8The Claude API gave 61 days’ notice; Bedrock keeps it until 2027-01-08.2026-10-22Anthropic model deprecations
OpenAI APIAssistants APIShut down2025-08-262026-08-26Responses API and Conversations APIAn entire API surface was removed, not just a model.2026-10-22OpenAI deprecations
OpenAI APIVideos API, sora-2, sora-2-pro and dated snapshotsShut down2026-03-242026-09-24No official replacement identifiedNo migration path was published.2026-10-22OpenAI deprecations
D. Active or preview, with published lifecycle context
ProviderModel / endpoint IDStatusAnnouncedRetirementRecommended replacementMigration notesLast verifiedSource
Anthropic (Claude API)claude-haiku-4-5-20251001ActiveNot applicableNot publicly announced (floor “not sooner than 2026-10-15” has passed)Not applicableA passed floor date doesn’t mean the model has retired. Expect a deprecation notice with at least 60 days’ warning.2026-10-22Anthropic model deprecations
Anthropic (Claude API)claude-opus-4-5-20251101ActiveNot applicableNot publicly announced (floor 2026-11-24)Not applicableThis is the next Claude floor date to watch.2026-10-22Anthropic model deprecations
Anthropic (Claude API)claude-mythos-previewDeprecated2026-06-09To be announcedNot listedDeprecated, but without a retirement date.2026-10-22Anthropic model deprecations
Google Gemini APIgemini-2.5-pro, gemini-2.5-flash, gemini-2.5-flash-liteActive (restricted)Not applicableNone announcedNot applicableGoogle says these “are not deprecated” but limits access to users who have used them before.2026-10-22Gemini deprecations
Google Gemini APIgemini-3.5-flash, gemini-3.7-flashAuto-routedNot verifiedNot applicableRouted to gemini-3.6-flash and gemini-3.8-flashThe ID still answers, but a different model serves it. Re-run evals.2026-10-22Gemini deprecations
Google Gemini APIgemini-3.1-pro-previewPreviewNot applicableNone announcedNot applicableEarlier Pro previews were shut down roughly four to nine months after release.2026-10-22Gemini deprecations
Mistral AIOlder IDs such as mistral-large-2411, mistral-medium-2505, mistral-small-2503, codestral-2501, pixtral-large-2411Deprecated or retired (not distinguished)Not publishedNot publishedNot published on the models pageMistral lists these together without dates, so check your ID with Mistral support.2026-10-22Mistral models

Model deprecation dates by provider

OpenAI

OpenAI uses “deprecation” for the process and “shutdown” or “sunset” for the moment a model “is no longer accessible”, in the words of its deprecations page. The page is the most complete schedule of any provider. Every entry has a heading date, exact snapshot IDs, a shutdown date and usually a named replacement. It also covers things that aren’t models: the Assistants API, reusable prompts, the Evals platform and Agent Builder. Several 2026 notices route replacements through a reasoning parameter, so o3-pro users move to gpt-5.6-sol with reasoning.mode: pro, which changes the request body as well as the model name.

Anthropic

Anthropic publishes a status table with four states: Active, Legacy, Deprecated and Retired. It commits to “at least 60 days’ notice before model retirement for publicly released models”, according to its model deprecations page. Its 2026 notices hit that window closely. Opus 4.1 was announced on 5 June and retired on 5 August. Active models carry a “not sooner than” date, which is a floor rather than a plan: Claude Haiku 4.5’s floor of 15 October 2026 has passed and the model is still listed as Active. From the 4.6 generation onward, Anthropic’s model ID documentation says a dateless ID such as claude-sonnet-4-6 “maps to a single, fixed model snapshot”.

Google Gemini API

Google labels its table dates as “the earliest possible dates on which a model might be retired” and announces exact dates separately, via release notes. Preview models turn over fast: gemini-3-pro-preview was released on 18 November 2025 and shut down on 9 March 2026. Google also auto-routes some retired IDs at the API level. Calls to gemini-3.5-flash are served by gemini-3.6-flash, so code keeps working while the model behind it changes. Google Cloud’s enterprise platform has its own lifecycle page, which did not render for this check and is not covered here.

Azure OpenAI

Azure OpenAI runs its own schedule for the same OpenAI models. Microsoft’s retirement policy defines deprecated as closed to new customers but still usable by existing ones, and retired as “All inference requests return 410 Gone“. GA models get 60 days’ notice and previews 30. Retirement dates “aren’t extendable”. Standard deployments can be auto-upgraded region by region, but provisioned deployments cannot. The dates diverge from OpenAI’s. gpt-5-2025-08-07 shuts down on OpenAI’s API on 11 December 2026 but stays on Azure until 9 February 2027.

Amazon Bedrock

Amazon Bedrock uses Active, Legacy and EOL. Its lifecycle documentation sets either a six-month or a 45-day Legacy period. It also states that “only the Amazon Bedrock dates on the model card apply, even if they differ from the provider’s dates”. Two clauses are easy to miss. During Legacy, existing customers “may lose access after 15 days of inactivity”. And after EOL, migration “will not happen automatically”.

Cohere and Mistral

Cohere and Mistral publish less. Cohere’s deprecations page defines its terms clearly (deprecated models stay available to anyone who used them within 90 days of the announcement), but some entries give no separate shutdown date. Mistral’s models page lists dozens of older IDs as “deprecated or retired” with no dates and no replacements, which is the largest gap in this tracker.

What a retirement date actually means

Providers use different words for similar events, and the differences decide what breaks and when.

  • Deprecation is a notice. Requests still succeed. On Azure and Cohere, deprecation also stops new customers from starting to use the model.
  • Legacy is a warning before deprecation, used by Anthropic, Azure, Bedrock and Cohere. On Bedrock, though, Legacy already comes with an EOL date.
  • Retirement, shutdown, sunset or EOL is the date requests start failing. Microsoft documents the failure as 410 Gone.
  • API or endpoint retirement removes a surface, not a model. OpenAI’s Assistants API shut down on 2026-08-26, and code built on it broke even where the underlying model was still available through the Responses API.
  • Alias changes and auto-routing keep the ID working but change the model behind it. OpenAI’s chatgpt-image-latest and Google’s routed Flash IDs both fall into this category.
  • Preview expiry follows a shorter cycle. Azure guarantees 30 days’ notice for previews instead of 60, and Google’s preview models often last only a few months.
model deprecation dates

A retirement date is also scoped to a platform. Claude Opus 4.1 stopped working on the Claude API on 2026-08-05 but runs on Bedrock until 2027-01-08. Teams that call the same model through two clouds have two deadlines.

Finally, a date in a table isn’t proof that the shutdown happened. Google’s dates are explicitly the earliest possible, and Bedrock’s page lists models under “reached EOL” by Region. The only reliable check is to call the model ID from your own account.

Why model deprecation dates matter for AI infrastructure and costs

The cost of a retirement is rarely the replacement’s token price. It is the work forced by the deadline: inventorying where the ID is used, re-running evaluations, rewriting prompts that relied on one model’s habits, and re-approving outputs in regulated workflows. UniverseBlend’s guide to what breaks when your model version retires maps that work week by week. A tracker only tells you when it has to be finished.

Replacement models have different economics even when they are described as more capable. Anthropic’s recommended successor to claude-3-haiku-20240307 is claude-haiku-4-5-20251001, which its pricing page lists at $1 input and $5 output per million tokens. A team moving off a small, older model should re-budget rather than assume the new one costs the same. Reasoning-mode replacements can produce more output tokens for the same task. Embedding replacements, such as Cohere’s v2 to v4 or Google’s gemini-embedding-001 to gemini-embedding-2, mean re-embedding every stored document. That is a compute bill and a re-indexing window, not a config change.

Serving and capacity change too. Bedrock blocks new Provisioned Throughput for Legacy models, and Azure does not auto-upgrade provisioned deployments, so reserved capacity has to be re-bought or re-created on the new model. Latency and throughput profiles differ between models, which can change how many replicas or how much rate-limit headroom a service needs.

Contracts and regions add another layer. A team on Azure may have more time than one on the OpenAI API, but Azure’s dates “aren’t extendable”. AWS lets a private arrangement continue access past EOL, but that depends on the provider. If your AI contract doesn’t state notice periods, the questions in our model vendor risk checklist are the ones to raise before the next renewal.

A practical model migration checklist

  1. Inventory every model ID in code, config, infrastructure templates, notebooks and scheduled jobs. Record the platform (direct API, Azure, Bedrock, Google Cloud), region and environment for each, because dates differ between them.
  2. Confirm the notice at the source. Read the provider’s lifecycle page and note both the announcement date and the retirement date. Check the replacement’s own retirement date, too.
  3. Shortlist the named replacement and one alternative. The provider’s recommendation is a starting point, not a guarantee that it fits your workload.
  4. Compare cost, latency and throughput on your real request mix, including output-token counts on reasoning models.
  5. Run your own evaluation set, 50 to 200 real, anonymised examples scored against a written rubric. Public benchmarks can screen candidates but can’t choose for you, as our LLM benchmark comparison explains.
  6. Validate the contracts the application depends on: tool-calling schemas, structured-output parsing, refusal behaviour, token limits, streaming and any reasoning parameters.
  7. Test the rollout and the rollback in staging. Keep the old ID callable until the cutover is proven, because after the retirement date there is nothing to roll back to.
  8. Update configuration, dashboards and alerts. Alert on 404, 410 and model-not-found errors by model ID, so that a missed reference shows up as an alarm instead of a customer complaint.
  9. Finish before the deadline, not on it. Rolling, region-by-region upgrades and timezone ambiguity make the final day unreliable.
  10. Record the migration date and the evaluation result, so the next retirement starts from a known baseline.
model deprecation dates

How the model deprecation dates in this tracker are maintained

Every row was checked by hand against the linked provider page on 22 October 2026. There is no automated monitoring behind this page, and coverage is selective, not exhaustive. The tracker includes models and endpoints that are likely to sit in production systems, plus examples that show how lifecycle rules work.

The planned review cadence is monthly, with an extra update whenever a provider publishes a notice that affects a listed row or a widely used model. The page keeps two dates separate. A row’s announcement date belongs to the provider, and the last-verified date belongs to UniverseBlend. The article’s modified date changes only when a row’s data changes, a row is added or removed, or the guidance is materially revised. Re-checking a page without finding a change updates the last-verified date but not the modified date.

Frequently Asked Questions

What are model deprecation dates?

They are the dates a provider publishes to mark lifecycle changes for a specific model ID: when it was deprecated, and when it will be retired or shut down. Providers use different terms, so read each one’s definitions.

Does deprecated mean a model is no longer available?

Usually not. Anthropic, Azure and Cohere all keep deprecated models working for existing users until the retirement date. Azure and Cohere close them to new customers on deprecation.

How can I check whether an AI model has been retired?

Check the provider’s lifecycle page for your platform, then call the model ID from your own account. On Bedrock, the modelLifecycle field in ListFoundationModels reports the state per Region. Azure’s Models API exposes a deprecationDate.

What happens when an AI model reaches its retirement date?

Requests to it fail. Microsoft documents a 410 Gone response, and Anthropic says requests to retired models fail. The exception is auto-upgrade or auto-routing, which some Azure deployments and some Google IDs use. There, requests succeed but a different model answers them.

Use the provider’s deprecation notice, which usually names one. Bedrock’s lifecycle page does not, and Mistral’s models page doesn’t either. In those cases, choose from the provider’s active model list and evaluate the candidates yourself.

Should production systems use model aliases or dated model identifiers?

Pinned identifiers are the safer default for production. Aliases such as -latest can change the model without a code change. Anthropic’s IDs from the 4.6 generation onward are fixed snapshots even without a date suffix. Check each provider’s convention.

How often should a model deprecation tracker be checked?

Monthly at minimum, and whenever a provider emails a notice. Short preview windows (30 days on Azure) mean that quarterly checks can miss a deadline entirely.

Can a provider change a retirement date?

The policies differ. Microsoft says its retirement dates “aren’t extendable”. Google presents its dates as the earliest possible and confirms exact dates separately. AWS allows continued access past EOL only under a private arrangement with the model provider. Assume a date can move earlier for previews, and don’t plan around it moving later.


Keep reading

Kimi K3.1 Pro

Kimi K3.1 Pro vs Sonnet 5.5: Same Price, Different Bill

On paper, Moonshot AI priced Kimi K3.1 Pro to the cent against Claude Sonnet 5.5: $2 per million input tokens and $10 per million output …
RAG vs fine-tuning

RAG vs Fine-Tuning: Which One You Actually Need

Take a support team that ships two prototypes on the same base model. The first searches the product documentation on every question and pastes the …
AI capex

AI Infrastructure Spending: What $145 Billion and a Sold-Out AWS Actually Buy

Published 25 October 2026 · Last verified 25 October 2026 · By the UniverseBlend editorial desk On 21 October, Meta set the latest marker for …
agentic AI

What Is Agentic AI? How AI Agents Work, What They Cost, and Where They Fail

Agentic AI describes software systems in which a language model chooses and carries out a sequence of actions to complete a task. It calls tools, …

Context Engineering: Cost, Latency and Security in AI Agents

context engineering

An agent asked to fix a failing test may make twenty model calls before it answers. The first call carries a system prompt, a few thousand tokens of tool definitions and the user’s request. By the tenth call it is also carrying three file reads, two test runs, a stack trace, a search result and the model’s own earlier reasoning. None of that was written as a prompt, yet all of it shapes the next decision. Context engineering is the work of deciding what goes into each of those calls. As AI applications become stateful, tool-using systems, the wording of the prompt becomes one part of a larger problem: managing context for quality, cost, latency and security all at once.

That last part is the argument of this piece. Most explanations of context engineering treat it as a quality discipline, about getting the right information to the model. It is that, but the same decisions also set the input bill, the time to first token and the set of instructions an attacker can reach. A choice made for one of those reasons changes the other three.

Key Takeaways
  • Context engineering decides the exact tokens in each model call. Prompt wording is one part of it, and in agents often a small one.
  • Agent loops are input-heavy. In the worked example, input was over 90% of the uncached cost, and good cache layout cut the run by about 78%.
  • Prompt order is a cost decision. A volatile value at the top of the prompt can make caching more expensive than not caching.
  • Long context mainly lengthens prefill and time to first token. The size of the effect depends on hardware, serving and cache hits.
  • Everything in context can steer the model. Treat retrieved text, tool outputs and third-party tool descriptions as untrusted, and enforce permissions outside the model.
  • Every context rule should have a test: task success, tokens, cache-read share, latency and injection resistance.

Quick Navigation


The shift from prompt engineering to context engineering

The term is newer than the practice. Anthropic’s Applied AI team, in a September 2025 engineering post titled Effective context engineering for AI agents, described it as “the natural progression of prompt engineering”. It defined context engineering as “the set of strategies for curating and maintaining the optimal set of tokens” during inference. That is a useful working definition, but it is a practitioner’s framing, not a standard. Retrieval-augmented generation, conversation summarisation and tool design all existed before anyone grouped them under one name.

So “replaced” overstates it. Prompt design did not go away; it became one input among several. A well-written system prompt still matters, but in an agent it may be only a few percent of the tokens in a late-stage call. The rest arrives from places the prompt author did not write and often never sees.

DisciplineMain questionTypical artefacts
Prompt engineeringHow should the instructions be worded?System prompt, few-shot examples, output format
Retrieval (RAG)Which external documents are relevant to this query?Index, retriever, reranker, chunks
MemoryWhat from earlier sessions or turns should persist?Notes, summaries, user profiles, vector stores
OrchestrationWhich call happens next, and with which tools?Agent loop, planner, sub-agents, tool router
Context engineeringWhat exact set of tokens enters this call, in what order, and with what trust level?Context assembler, budgets, compaction rules, cache layout

Context engineering sits across the other four. Retrieval decides what might be relevant. Memory decides what might be kept. Context engineering decides what is actually sent, and that decision is made again for every call.

The context budget: what actually enters a model call?

Three numbers are often confused. The context window is the maximum the model will accept. The context budget is what an application chooses to spend, given cost and latency targets. The task requirement is what the call actually needs to succeed. In a healthy system the third is well below the second, and the second well below the first. UniverseBlend’s LLM context window comparison makes the same point from the other side: a model accepting a million tokens “says nothing about how well it uses them”.

A single call in an agent loop typically assembles:

  • System instructions: stable, written by the developer, high trust.
  • Tool definitions: stable within a session. They are often larger than people expect, because every tool brings a name, a description and a JSON schema.
  • Conversation history: grows every turn.
  • Retrieved material: documents, search results and file contents, chosen per query.
  • Tool outputs: API responses, logs and test results, frequently verbose and rarely edited.
  • Summaries and notes: compressed forms of earlier work, written by the model itself.

These components differ in how often they change, how much they cost, and how far they can be trusted. That is why context assembly should be task-specific. A call that decides which file to open needs the file list, not the contents of last week’s design document. A call that writes the final answer may need the reverse.

Anthropic’s post recommends several patterns for keeping the budget under control:

  • Compaction: summarising a conversation as it approaches the limit and starting a fresh window.
  • Tool-result clearing: dropping raw outputs once they have been used.
  • Structured note-taking outside the window.
  • Sub-agents: each works in a clean context and returns a condensed summary.
  • “Just-in-time” retrieval: the agent keeps lightweight identifiers, such as file paths or queries, and loads content only when needed.

Each of these is a decision about what survives into the next call.

The cost of context engineering

Agent loops are input-heavy in a way chat is not, because each call re-sends the accumulated transcript. A worked example makes the size of this visible.

Hypothetical workload. Rates are Anthropic’s published Claude Opus 5.5 prices, checked on 22 October 2026: $4 per million input tokens, $5 per million for 5-minute cache writes, $0.20 per million for cache reads, and $20 per million output tokens.

The agent makes 20 calls. Each carries a 12,000-token stable prefix (system prompt and tool definitions). The transcript grows by 1,500 tokens per call (tool output plus the model’s reply). Each call generates 500 output tokens. Across the run, that is 525,000 input tokens and 10,000 output tokens, and the last call alone sends 40,500 input tokens.

StrategyWhat is billedTotal
No caching525,000 input × $4 + 10,000 output × $20$2.30
Cache the stable prefix only12,000 written once, 228,000 read, 285,000 uncached history, output$1.45
Cache the growing prefix each turn40,500 written, 484,500 read, output$0.50
Prefix broken on every call (e.g. a timestamp at the top)525,000 written at $5, output$2.83
context engineering

Three things stand out. Input is $2.10 of the $2.30 uncached total, so here context, not generation, is the bill. Caching the whole growing prefix cuts the run cost by about 78%. And a single volatile value placed early in the prompt makes caching cost more than not caching, because every call pays the write premium and none of them get a read.

That last row is the context-engineering lesson. Anthropic’s prompt-caching documentation says cache hits “require 100 percent identical prompt segments” and that prefixes are built in the order tools, system, then messages. OpenAI’s prompt-caching guide tells developers to keep stable content first and dynamic content last, and to move timestamps and user-specific values later. On both platforms, cache economics depend on where things sit in the prompt, not just on how much there is.

Caching also has limits worth stating. Anthropic’s default cache lives five minutes (refreshed on use), so a tool call that runs longer than that lets the prefix expire. Opus 5.5 will not cache prompts under 512 tokens, and OpenAI’s minimum on GPT-5.6 and later is 1,024. On Anthropic’s API, changing a tool definition invalidates the entire cache. The worked example assumes none of these interruptions happen, and a real run will do worse.

The latency tax of context engineering

Inference has two phases. In prefill, the model processes every input token, largely in parallel, and builds the key-value (KV) cache that generation will read from. In decode, it produces output one token at a time. The Splitwise paper from Microsoft researchers calls these “a compute-intensive prompt computation” and “a memory-intensive token generation”. The DistServe authors tie time to first token (TTFT) to prefill, and time per output token to decode.

Long context therefore lands mainly on TTFT. A 40,500-token prompt has far more prefill work than a 12,000-token one, and that work happens before the user sees anything. The relationship is not a fixed per-token cost, though. It depends on the attention implementation, the hardware, how the provider batches requests, queueing at the moment of the call and, above all, cache hits. Both major providers say caching reduces time spent processing input. Anthropic says users “generally see improved time-to-first-token for long documents”. Neither publishes a universal figure, and this article does not invent one. UniverseBlend’s LLM inference latency measurements show how far TTFT varies by provider even before prompt length is considered.

For agents, the model’s prefill time is only part of the wait. End-to-end latency adds network round trips, retrieval queries, tool execution and orchestration logic, multiplied by the number of steps. Trimming context helps the inference share of that. It does nothing for a slow database query or a test suite that takes four minutes. A latency budget for an agent should be measured per component before anyone decides to cut context to fix it.

Context engineering is also a security boundary

Everything in a model’s context can influence its next action. That is how the model is designed to work, and it is also the security problem. Greshake and colleagues’ 2023 paper on indirect prompt injection put it plainly: “LLM-Integrated Applications blur the line between data and instructions”. An attacker who cannot reach the prompt can still plant text in a web page, a document or a code comment that the application is likely to retrieve.

OWASP’s LLM01:2025 Prompt Injection entry separates direct injection from indirect injection, “when an LLM accepts input from external sources, such as websites or files”. It also notes that RAG and fine-tuning “do not fully mitigate” the risk. Agents widen the set of sources: retrieved documents, tool outputs that talk back, earlier conversation turns, and tool descriptions themselves. The Model Context Protocol specification says “descriptions of tool behavior such as annotations should be considered untrusted, unless obtained from a trusted server”. It also states that “MCP itself cannot enforce these security principles at the protocol level.” UniverseBlend’s eight classes of prompt injection maps how each of these entry points behaves.

context engineering

An illustrative scenario, not a reported incident: a support agent can read tickets and issue refunds through a tool. A customer submits a ticket whose body contains text formatted like a system note telling the assistant to refund the order in full and close the ticket. The ticket enters the context as retrieved material. Whether the model follows it depends on the model, the prompt and the formatting. Context engineering can lower the odds: mark the ticket body as untrusted data, keep it in a delimited block, and avoid putting it near the instructions. None of that is a guarantee. OpenAI’s research on an instruction hierarchy reports that training models to prioritise privileged instructions substantially improves robustness. That lowers the risk; it doesn’t remove it.

The control that actually holds sits outside the context. The refund tool should check, on the server, that the caller is authorised to refund that order, that the amount is under a limit, and that refunds above the limit need human approval. OWASP’s mitigations say the same: least privilege, functions handled in code rather than by the model, and “human-in-the-loop controls for privileged operations”. The distinction to keep is between what the model sees and what the application lets it do. Context filtering reduces exposure. Authorisation, input validation on tool arguments, sandboxing and approval gates decide the damage.

A context engineering architecture that can be tested

Treating context as an engineered component means every assembly rule should have a measurement attached. A practical architecture has five parts:

  • An assembler that builds each call from typed components (instructions, tools, history, retrieved items, tool outputs), each tagged with its source and trust level.
  • A budget per call type, set in tokens. Compaction or retrieval triggers when the budget is reached, not when the model’s limit is.
  • A cache layout: stable components first, in a fixed order, with volatile values pushed to the end.
  • A retrieval policy that prefers identifiers and on-demand loading over pre-stuffing.
  • An enforcement layer for tool calls, independent of anything in the context.
DecisionWhat to measureHow
What stays in the active contextTask success rate vs tokens per callRun the same eval set with and without each component
What is retrieved on demandRetrieval precision and recall; task successLabelled queries with known relevant documents
What is summarisedAccuracy of facts carried across compactionProbe questions about pre-compaction details
What is removedSuccess rate and tokens after clearing tool outputsAblation on long-running tasks
What is cachedCache-read share of input tokens; cost per taskProvider usage fields per request
What is treated as untrustedInjection success rateSeeded malicious documents and tool outputs in a red-team suite
What needs independent enforcementUnauthorised actions attempted vs executedServer-side logs of denied tool calls

The cache row is the easiest to start with, because both major providers report cached tokens in the response usage data. The security row is the one most often skipped. An agent that has never been tested against a poisoned document hasn’t shown that its context handling is safe.

When more context is the wrong answer

Long windows invite a simple strategy: include everything and let the model sort it out. The evidence says that is not free. The Lost in the Middle study (Liu et al., TACL) found that performance was “often highest when relevant information occurs at the beginning or end of the input context” and dropped when the relevant facts sat in the middle. Chroma’s Context Rot report, testing 18 models in July 2025, found that performance “grows increasingly unreliable as input length grows” and that “even a single distractor reduces performance”. The authors are clear that their evaluation is “not exhaustive of real-world use cases” and that they do not explain the mechanism. These are measured tendencies on specific tasks, not a law that every extra token makes every model worse.

In practice, more context goes wrong in a few recognisable ways:

  • Stale information (an earlier file version, a superseded plan) competes with current facts.
  • Duplicated evidence inflates the apparent weight of one source.
  • Conflicting sources force the model to arbitrate without being told which source is authoritative.
  • Summaries can be wrong. A compaction that drops a constraint will mislead every later call, and nothing in the context will flag it.
  • Unedited tool output buries a single error line in kilobytes of log.

A larger window still earns its place for some work: reasoning across a whole contract, comparing two long documents, or a codebase question whose answer is spread across many files. The case for it is strongest when the task genuinely needs the whole input and weakest when the window is used as a substitute for retrieval. Selective retrieval and a smaller context usually win on cost, latency and attack surface together. The burden of proof belongs on the larger context, and an eval on your own tasks is where that proof should come from.

References and further reading

  1. Effective context engineering for AI agents. Anthropic Applied AI team (Rajasekaran, Dixon, Ryan, Hadfield et al.), 29 Sep 2025. https://www.anthropic.com/engineering/effective-context-engineering-for-ai-agents. Vendor engineering guidance: the definition, compaction, note-taking, sub-agents and just-in-time retrieval.
  2. Lost in the Middle: How Language Models Use Long Contexts. Liu, Lin, Hewitt, Paranjape, Bevilacqua, Petroni, Liang. TACL; arXiv v1 6 Jul 2023. https://arxiv.org/abs/2307.03172. Research: position effects in long contexts.
  3. Context Rot: How Increasing Input Tokens Impacts LLM Performance. Hong, Troynikov, Huber (Chroma), 14 Jul 2025. https://www.trychroma.com/research/context-rot. Vendor research report: reliability declines with input length; distractor effects; stated limitations.
  4. Not what you’ve signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injection. Greshake, Abdelnabi, Mishra, Endres, Holz, Fritz. arXiv, Feb 2023 (v2 May 2023). https://arxiv.org/abs/2302.12173. Research: indirect prompt injection.
  5. LLM01:2025 Prompt Injection. OWASP Gen AI Security Project. https://genai.owasp.org/llmrisk/llm01-prompt-injection/. Industry guidance: direct vs indirect injection; RAG and fine-tuning don’t fully mitigate it; least privilege; human approval.
  6. The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructions. Wallace, Xiao, Leike, Weng, Heidecke, Beutel (OpenAI), arXiv, 19 Apr 2024. https://arxiv.org/abs/2404.13208. Research: training-based robustness to injection.
  7. Model Context Protocol Specification (schema 2026-07-28), Security and Trust & Safety section. https://modelcontextprotocol.io/specification/latest. Official spec: untrusted tool descriptions; the protocol cannot enforce its security principles.
  8. Prompt caching. Anthropic (Claude API docs). https://platform.claude.com/docs/en/build-with-claude/prompt-caching. Official docs: exact-match requirement; tools → system → messages order; 5-minute default TTL; 512-token minimum; TTFT improvement.
  9. Pricing. Anthropic (Claude API docs). https://platform.claude.com/docs/en/about-claude/pricing. Official docs: Opus 5.5 rates used in the worked example.
  10. Prompt caching. OpenAI (API docs). https://developers.openai.com/api/docs/guides/prompt-caching. Official docs: static-first ordering; full-prefix match; 1,024-token minimum; “up to 95%” discount.
  11. Splitwise: Efficient generative LLM inference using phase splitting. Patel, Choukse, Zhang, Shah, Goiri, Maleki, Bianchini (Microsoft), arXiv, 30 Nov 2023. https://arxiv.org/abs/2311.18677. Research: prefill is compute-intensive and decode memory-intensive.
  12. DistServe: Disaggregating Prefill and Decoding for Goodput-optimized LLM Serving. Zhong et al., arXiv, 18 Jan 2024. https://arxiv.org/abs/2401.09670. Research: TTFT tied to prefill; TPOT tied to decode.

Frequently Asked Questions

What is context engineering in AI?

Context engineering is the practice of deciding exactly what information enters each model call: instructions, history, retrieved documents, tool definitions, tool outputs and summaries, along with their order and trust level. It matters most in multi-step agents, where the context is rebuilt for every call.

How is context engineering different from prompt engineering?

Prompt engineering focuses on how instructions are written. Context engineering includes that, but also manages everything else the model sees, much of which the developer never writes directly, such as search results and tool outputs.

Is RAG a form of context engineering?

RAG is one technique within it. Retrieval decides which documents might be relevant. Context engineering also decides how many of them to include, where to place them, whether to summarise them and how far to trust them.

How does context engineering reduce LLM costs?

It reduces costs by sending fewer unnecessary tokens and by ordering prompts so that stable content can be served from cache at a fraction of the input price. Savings depend on the provider’s cache rules, minimum lengths, cache lifetimes and write charges. Caching is not automatically cheaper.

How does context engineering improve AI agent security?

It limits and labels untrusted content, which reduces the chance that injected instructions steer the model. It does not prevent prompt injection on its own. Tool permissions, argument validation, sandboxing and human approval have to be enforced outside the model.

What tools or techniques are used for context engineering?

Common techniques include retrieval with reranking, compaction or summarisation, clearing tool results, structured notes stored outside the window, sub-agents with isolated contexts, cache-aware prompt ordering, and per-call token budgets. The tooling varies; the techniques are what carry over.


Keep reading

Kimi K3.1 Pro

Kimi K3.1 Pro vs Sonnet 5.5: Same Price, Different Bill

On paper, Moonshot AI priced Kimi K3.1 Pro to the cent against Claude Sonnet 5.5: $2 per million input tokens and $10 per million output …
RAG vs fine-tuning

RAG vs Fine-Tuning: Which One You Actually Need

Take a support team that ships two prototypes on the same base model. The first searches the product documentation on every question and pastes the …
AI capex

AI Infrastructure Spending: What $145 Billion and a Sold-Out AWS Actually Buy

Published 25 October 2026 · Last verified 25 October 2026 · By the UniverseBlend editorial desk On 21 October, Meta set the latest marker for …
agentic AI

What Is Agentic AI? How AI Agents Work, What They Cost, and Where They Fail

Agentic AI describes software systems in which a language model chooses and carries out a sequence of actions to complete a task. It calls tools, …

AI API Pricing 2026: Every Model, Input and Output

AI API pricing comparison

On the official price lists, GPT-6.1 Sol costs half as much per token as Claude Opus 5.5: $2 against $4 per million input tokens, and $10 against $20 for output. Send each model one 300,000-token prompt that returns a 2,000-token answer, though, and the bills come out at $1.23 and $1.24. OpenAI doubles the input rate once a prompt passes 272,000 tokens. Anthropic charges Opus 5.5 the same rate across its whole 1M-token window. The headline ratio says 2:1. For that request, the real ratio is close to 1:1.

That gap between the published rate and the invoice is the subject of this guide. The tables below give the verified rates. The rest of the guide covers the rules that decide what you actually pay.

Key Takeaways
  • Output tokens usually decide the bill. In the worked example below, output is 2 million of 22 million tokens but makes up roughly half of the cost before caching and nearly all of what remains after it.
  • Cache reads cost 2% to 10% of the ordinary input rate, depending on provider and model. Caching discounts only the input side, so in the worked example a 98% hit rate on the cache-eligible tokens cuts the bill by about 31%, not 90%.
  • Cache writes are a separate line item at OpenAI (1.25× input for 30 minutes) and Anthropic (1.25× for 5 minutes, 2× for one hour). DeepSeek and Google bill caching differently, so cached rates are not like-for-like across providers.
  • Long-context thresholds can reprice a whole request. OpenAI’s GPT-6 models double input and cache rates above 272K input tokens. Gemini 3.1 Pro Preview reprices above 200K. Opus 5.5 has no long-context tier.
  • Three of the requested names do not match a documented, priced API model: Qwen 4, a current first-party Llama API price, and an official Kimi K3 price we could read directly. Details are in the status table.
  • Gemini 3.6 Flash prices double on 1 January 2027, according to Google’s pricing page. Any budget that runs into next year needs both rates.

Quick Navigation


AI API pricing comparison: the October 2026 snapshot

AI API pricing comparison

All prices below are in US dollars per one million tokens, for the standard (real-time) service tier, as published on each provider’s official pricing page and checked on 22 October 2026. Providers did not all change prices on that date; it is simply the date we checked. The table is split in two so it stays readable on a phone. Table 1 gives the token rates, and Table 2 gives the conditions that change them.

Table 1. Token rates (USD per 1M tokens, standard tier, verified 22 Oct 2026)

ProviderModel / API IDInputOutputCached inputCache writes
OpenAIGPT-6.1 Sol gpt-6.1-sol$2.00$10.00$0.10$2.50 (30-min TTL); $5.00 (12-h TTL)
OpenAIGPT-6 Sol gpt-6-sol$2.00$10.00$0.20$2.50
OpenAIGPT-6 Luna gpt-6-luna$0.10$0.50$0.01$0.125 (30-min); $0.25 (12-h)
AnthropicClaude Opus 5.5$4.00$20.00$0.20$5.00 (5-min); $8.00 (1-h)
AnthropicClaude Sonnet 5.5$2.00$10.00$0.10$2.50 (5-min); $4.00 (1-h)
GoogleGemini 3.1 Pro Preview gemini-3.1-pro-preview$2.00$12.00$0.20Storage: $4.50 per 1M tokens per hour
GoogleGemini 3.6 Flash gemini-3.6-flash$0.75$3.75$0.075Storage: $0.50 per 1M tokens per hour
MistralMistral Large 4 mistral-large-4$1.36$4.18$0.14Not published
DeepSeekdeepseek-v4-pro (V4-Pro-0813)$1.32$3.96$0.044Not applicable (misses billed as input)
DeepSeekdeepseek-flash (V4.1-Flash-1017)$0.30$1.20$0.006Not applicable (misses billed as input)
Alibaba CloudQwen3.8-Max qwen3.8-max$2.00$6.00See pricing conditionsNot published
MiniMaxMiniMax-M3.1-Flash$0.15$0.60$0.015Not published
Moonshot AIKimi K3 kimi-k3$3.00*$15.00*$0.30*Not verified

Kimi K3 figures are from Together AI’s serverless price list, a third-party host. Moonshot’s own price table did not render for verification. DeepSeek rates are peak-hour rates; off-peak rates are half.

Table 2. Conditions that change the rate

ModelLong-context tierBatch discountPricing condition
GPT-6.1 Sol, GPT-6 Sol, GPT-6 LunaAbove 272K input tokens: 2× input and cache rates, 1.5× output, for the whole request50% (Batch and Flex)Fast mode 2×; regional processing +10%
Claude Opus 5.5, Sonnet 5.5None; full 1M window at standard rates50%US-only inference 1.1×; Opus 5.5 Fast mode $8 / $40
Gemini 3.1 Pro PreviewAbove 200K: $4.00 input, $18.00 output, $0.40 cache50%Preview model
Gemini 3.6 FlashNone listed50%From 1 Jan 2027: $1.50 / $7.50 / $0.15 cache
Mistral Large 4Not publishedNot published for this modelPublic Preview (v26.10)
DeepSeek V4 Pro and FlashNone; 1M contextNot publishedOff-peak 50% off; peak is 01:00–04:00 and 06:00–10:00 UTC on weekdays
Qwen3.8-MaxSingle tier, 0–1MNot labelledBatch and cache discounts cannot be combined
MiniMax-M3.1-FlashNot publishedNot publishedNo effective date shown
Kimi K3No context-length tiering (official quickstart)Not verifiedCache writes billed by 5-min or 1-h TTL; rates not verified

Table labels. Not published: the provider’s official page gives no figure. Not applicable: the provider’s billing model has no such charge. Not verified: a figure exists but we could not confirm it on an official page. See pricing conditions: the rate depends on a rule described elsewhere. A missing cache price never means free caching.

Which requested models could be verified

This article started from a list of model names. Not all of them match a documented API product.

Requested nameStatusWhat we found
GPT-6 SolVerified current modelStill priced on its own model page, but GPT-6.1 Sol is newer and has cheaper cache reads
GPT-6 LunaVerified current modelPriced as listed above
Opus 5.5Verified current modelClaude Opus 5.5, priced as listed above
Gemini 3.1 ProVerified, previewAPI ID gemini-3.1-pro-preview
Gemini 3.6 FlashVerified current modelRates double on 1 Jan 2027; Gemini 3.8 Flash has the same rates
LlamaNo first-party API price locatedLlama 4 (April 2025) is the latest Llama release; Meta’s newest open-weight model is Muse Spark Open
Qwen 4Name could not be verifiedAlibaba’s newest documented models are Qwen3.8-Max and Qwen3.8 Flash
Mistral Large 4Verified, Public PreviewReleased 6 October 2026
MiniMax M3.1 FlashVerified current model$0.15 / $0.60 is correct, in USD per 1M tokens
DeepSeekVerified current modelsTwo models, with peak and off-peak pricing
KimiVerified model; price unconfirmed at sourcekimi-k3 is current; the official price table did not render

Two corrections are worth stating plainly. No Alibaba documentation we found describes a “Qwen 4”, so this article prices Qwen3.8-Max instead and labels it as Qwen3.8-Max. On Mistral, the marketing pricing page still says “Mistral Large costs $0.5 /M tokens in and $1.5 /M tokens out”. The developer documentation shows that rate belongs to Mistral Large 3. Large 4 lists at $1.36 and $4.18.

The cost behind the headline rate

A pricing page lists up to six token categories, and a real request can touch all of them.

  • Ordinary input is every prompt token that the provider processes from scratch: the system prompt, tool definitions, retrieved documents, conversation history and the user’s message.
  • Output covers every token the model generates. On reasoning models that includes hidden thinking tokens. Google says this directly: Gemini output prices include thinking tokens. A model that thinks for 4,000 tokens before writing a 300-token answer bills 4,300 output tokens.
  • Cached input is prompt content the provider has already processed and stored, so it is billed at a reduced read rate.
  • Cache writes are the cost of storing that prefix the first time. OpenAI and Anthropic charge a premium for this. Google instead charges hourly storage on explicit caches.
  • Long-context tiers reprice a request once its prompt passes a threshold. OpenAI applies the higher rate to the entire request, not just the tokens above the line.
  • Batch pricing takes 50% off at OpenAI, Anthropic and Google in exchange for asynchronous processing. It suits evaluations, backfills and document processing. It doesn’t suit anything a user is waiting on.

The headline input and output pair is therefore the lowest price a request can reach, with no conditions applied. Most real workloads pay for at least two of the other four categories.

Cached-input pricing in practice

Prompt caching stores the processed form of a repeated prompt prefix, so the provider can skip recomputing it on the next request. The provider passes part of that saving back as a lower rate on the tokens that hit the cache. The mechanism differs enough between providers that a cached rate on one page is not directly comparable with a cached rate on another.

Anthropic’s prompt-caching documentation uses explicit breakpoints, with up to four per request. The minimum cacheable prompt for Opus 5.5 is 512 tokens. The default cache lives for five minutes and is refreshed at no cost each time it is used. A 5-minute write costs 1.25× the base input rate and a 1-hour write costs 2×. Reads cost 0.1× on most models, but 0.05× on Opus 5.5 and Sonnet 5.5. Changing a tool definition invalidates the whole cache.

OpenAI’s prompt-caching guide says GPT-5.6 and later support both implicit and explicit caching. The minimum is 1,024 tokens. The default lifetime is at least 30 minutes, and a 12-hour option is available in the Responses API. Writes cost 1.25× ordinary input for the 30-minute lifetime and 2.5× for 12 hours. Reads cost 0.1×, or 0.05× on GPT-6.1 Sol. The guide adds that “cache-write pricing is not an additive fee”: each input token is billed at exactly one rate.

Google’s context-caching documentation says implicit caching is on by default for Gemini 2.5 and newer, with a 4,096-token minimum on Gemini 3.1 Pro Preview and 3.6 Flash. Explicit caches add hourly storage charges, listed on the pricing page.

DeepSeek lists only two input rates, cache hit and cache miss. A cache miss is simply the ordinary input rate.

Three practical consequences follow:

  1. A cache hit is not guaranteed. The prefix has to match exactly. Any change to a timestamp, a tool list or a thinking setting early in the prompt breaks it.
  2. Writes cost money only at some providers. At Anthropic, a 1-hour cache write costs 2× input. The prefix must then be read at least twice before the write pays for itself.
  3. A cheaper read rate does not guarantee a cheaper bill. It does nothing to output, and it does nothing if your traffic pattern lets the cache expire between requests.

A worked example: 22 million tokens, with and without caching

This example is hypothetical. The workload is invented to show the mechanics. The rates are Anthropic’s official Opus 5.5 rates as listed on 22 October 2026.

Workload

  • 10,000,000 ordinary input tokens (user messages and retrieved documents that change on every request).
  • 10,000,000 cache-eligible input tokens: a 50,000-token shared prefix (system prompt, tool definitions and a reference document) sent with 200 requests.
  • 2,000,000 output tokens.

Assumption about cache creation. Traffic gaps let the 5-minute cache expire four times, so the prefix is written four times: 4 × 50,000 = 200,000 write tokens. The remaining 9,800,000 cache-eligible tokens are reads.

Rates (Opus 5.5, USD per 1M tokens): input $4.00; 5-minute cache write $5.00; cache read $0.20; output $20.00.

Formula: Total = (ordinary input × input rate) + (cache writes × write rate) + (cache reads × read rate) + (output × output rate), with each token count divided by 1,000,000.

LineTokensRateCost
Ordinary input10,000,000$4.00$40.00
Cache writes (5-min)200,000$5.00$1.00
Cache reads9,800,000$0.20$1.96
Output2,000,000$20.00$40.00
Total with caching$82.96
Total without caching (20M input at $4)$120.00
AI API pricing comparison

Caching saves $37.04, or 30.9%. On the cached tokens alone, the effective rate falls from $4.00 to about $0.30 per million (writes plus reads, divided by 10 million). The total bill falls by less than a third, because ordinary input and output make up $80 of what remains, and caching touches neither.

The same workload on GPT-6.1 Sol, at $2.00 input, $2.50 write, $0.10 read and $10.00 output, costs $41.48 with caching against $60.00 without. That is the same 30.9% saving, because OpenAI’s write and read multipliers for this model happen to mirror Anthropic’s. Switching to 1-hour Anthropic writes ($8.00) raises the Opus total to $83.56. That costs more here, but it would cost less if longer gaps between requests were forcing extra rewrites.

When a cheaper model costs more

The opening example has a sharper version. GPT-6.1 Sol, with a 270,000-token prompt and a 2,000-token answer:

  • 270,000 × $2.00 + 2,000 × $10.00 = $0.56

Add 10,000 tokens to that prompt, taking it to 280,000:

  • 280,000 × $4.00 + 2,000 × $15.00 = $1.15

A 3.7% longer prompt roughly doubles the cost, because the long-context rate applies to the whole request. At 300,000 tokens, GPT-6.1 Sol ($1.23), Gemini 3.1 Pro Preview ($1.24 at its above-200K rates) and Opus 5.5 ($1.24) all land within about a cent of each other. In that band, a choice between them should rest on output quality and latency rather than price.

The second trap is costing a single call instead of a successful task. Cost per success = cost per attempt ÷ success rate. Hypothetical example: a pipeline step sends 20,000 input tokens and receives 3,000 output tokens. On MiniMax-M3.1-Flash ($0.15 / $0.60) one attempt costs $0.0048; on Opus 5.5 ($4 / $20) it costs $0.10. Even if the small model succeeds half the time and Opus 5.5 nine times in ten, the token cost per success is about $0.01 against $0.11. On tokens alone, the cheaper model still wins.

What flips the comparison is what a failure sets off: a human review, a rolled-back change, a customer ticket. If each failure costs $2 of someone’s time, the expected cost per attempt becomes about $1.00 for the small model and $0.30 for Opus 5.5. These success rates are invented for illustration. Measure your own before treating any per-token figure as the cost of the work.

Hosted API versus open-weight deployment

Several models in the table publish their weights: Mistral Large 4 (weights promised), Kimi K3, Qwen3.8-Max (released openly as Qwen3.8-2.4T-A95B) and Meta’s Muse Spark Open. That makes them available to self-host. It doesn’t make them free.

The hosted rates above are directly comparable with each other. Self-hosted costs are not comparable with them on a per-token basis until you supply your own figures for:

  • GPU rental or ownership cost per hour, and how many GPUs the model needs at your chosen quantization.
  • Achieved throughput in tokens per second at your real batch size and input/output mix.
  • KV-cache memory for your context lengths, which caps concurrency.
  • Utilisation: an accelerator that sits idle 80% of the time costs five times more per token than one at full load.
  • Engineering, orchestration, monitoring, storage and on-call time.

UniverseBlend’s breakdown of self-hosted LLM cost and its five hidden fees works through these layers with stated assumptions. For current accelerator rates, see our GPU cloud pricing 2026 guide. We do not quote a universal self-hosted price per million tokens, because no honest one exists.

Third-party hosts sit between the two. Together AI lists Llama 3.3 70B at $1.04 per million tokens for both input and output, and DeepSeek V4 Pro at the same $1.32 and $3.96 DeepSeek charges at peak. Hosted open-weight prices can match or exceed the original lab’s API, so check both.

A practical API cost-estimation method

  1. Log a representative day of traffic and count tokens per request in four buckets: stable prefix, variable input, visible output and reasoning output.
  2. Find the prefix share. If 40% or more of input tokens repeat across requests within the cache lifetime, caching is worth engineering for.
  3. Estimate the hit rate honestly. Count how often gaps between requests exceed the cache lifetime (5 minutes, 30 minutes or 1 hour, depending on provider and setting). Each gap means another write.
  4. Check every threshold. Record your 95th-percentile prompt length and compare it against 200K (Gemini 3.1 Pro), 272K (GPT-6 family), 256K (several Qwen3.x Plus and Flash models) and 512K (MiniMax-M3).
  5. Apply the formula for each candidate model and multiply by monthly volume.
  6. Move what can wait to batch. Anything that can tolerate hours of delay usually gets 50% off.
  7. Add a margin for retries and failed requests. Our analysis of AI API rate limits in 2026 explains why failed calls still consume capacity.

What changes the bill

  • OpenAI: whole-request repricing above 272K input tokens; cache writes at 1.25× (30 minutes) or 2.5× (12 hours); Fast mode at 2×; regional processing at +10% for models released on or after 5 March 2026.
  • Anthropic: no long-context surcharge on Opus 5.5; a 512-token cache minimum; US-only inference at 1.1×.
  • Google: the above-200K tier on Gemini 3.1 Pro Preview; Flash prices doubling on 1 January 2027; hourly storage for explicit caches.
  • DeepSeek: time-of-day pricing, with weekday peak windows at double the off-peak rate.
  • Alibaba Model Studio: tiered input pricing on many Qwen Plus and Flash models; batch and cache discounts that cannot be stacked.
  • MiniMax: M3 pricing that changes above 512K input tokens; a Priority tier at 1.5×.

Conclusion

Pick the model on quality for your task first. Then let cost choose between the models that pass. Within that shortlist:

  • Output-heavy work (long generation, agents that write code): compare output rates first.
  • Prefix-heavy work (support bots, RAG with a fixed corpus, agents with long tool lists): compare cache read and write rates, and check whether your traffic keeps the cache warm.
  • Long-document work above 200K tokens: the threshold matters more than the headline rate.
  • Offline work: price it at batch rates.

Recheck the rates before you commit a budget. Three of the prices in this article carry a known end date, a preview label or a pending change.

Frequently asked questions

Which AI API is cheapest for input tokens?

Among the models checked on 22 October 2026, GPT-6 Luna has the lowest standard input rate, at $0.10 per million tokens. DeepSeek’s deepseek-flash drops to $0.15 off-peak, and MiniMax-M3.1-Flash is $0.15. These are small models, though, and not substitutes for frontier models on hard tasks.

Which AI API is cheapest for output tokens?

GPT-6 Luna, at $0.50 per million output tokens. Among the larger models, DeepSeek V4 Pro ($3.96 at peak, $1.98 off-peak) and Mistral Large 4 ($4.18) cost well below Opus 5.5 ($20) and Gemini 3.1 Pro Preview ($12).

Which providers offer cached-input pricing?

All of the providers verified here publish a cached-input rate except Alibaba, which points to a separate caching page instead of listing a per-model figure. Cache-write charges and eligibility rules differ by provider.

How much can prompt caching save?

The read discount is roughly 90% to 98% on cached tokens, depending on the model. On a whole bill, the saving depends on how much of the input is a repeated prefix and how much of the cost is output. In our worked example it was about 31%.

Does batch processing reduce API costs?

Yes. OpenAI, Anthropic and Google each publish 50% off for asynchronous batch jobs. The other providers’ batch discounts could not be verified per model.

Why does long-context pricing sometimes increase?

Longer prompts need more compute and memory per request, and some providers price that in with a threshold. OpenAI applies its higher rate to the entire request once the prompt passes 272K input tokens.

Are open-weight models cheaper than hosted APIs?

Only at sustained, high utilisation with engineering capacity to spare. The weights are free to download, but running them means paying for hardware, operations and idle capacity.

How should a startup estimate its monthly API bill?

Measure real token counts per request, split them into prefix, variable input and output, apply each candidate model’s formula, and then add 10% to 20% for retries. Recheck after the first month of production traffic.

How often should AI API prices be rechecked?

Monthly at minimum, and before any budget commitment. This snapshot already contains a scheduled price change (Gemini Flash) and two preview-labelled models.

How these prices were checked. Every rate in Tables 1 and 2 was read from the provider’s official pricing or model page on 22 October 2026, except the Kimi K3 rates, which are labelled as third-party. Totals and derived long-context rates are our own calculations from those published rules.


Keep reading

Kimi K3.1 Pro

Kimi K3.1 Pro vs Sonnet 5.5: Same Price, Different Bill

On paper, Moonshot AI priced Kimi K3.1 Pro to the cent against Claude Sonnet 5.5: $2 per million input tokens and $10 per million output …
RAG vs fine-tuning

RAG vs Fine-Tuning: Which One You Actually Need

Take a support team that ships two prototypes on the same base model. The first searches the product documentation on every question and pastes the …
AI capex

AI Infrastructure Spending: What $145 Billion and a Sold-Out AWS Actually Buy

Published 25 October 2026 · Last verified 25 October 2026 · By the UniverseBlend editorial desk On 21 October, Meta set the latest marker for …
agentic AI

What Is Agentic AI? How AI Agents Work, What They Cost, and Where They Fail

Agentic AI describes software systems in which a language model chooses and carries out a sequence of actions to complete a task. It calls tools, …

Chinese Open-Weight Models Compared: DeepSeek vs Qwen & More

Chinese open-weight models

Research cutoff: 20 October 2026. Prices, licences and legal status were checked on that date and change often.

On 19 October, MiniMax priced its new M3.1 Flash at $0.15 per million input tokens and $0.60 per million output tokens. Those are, to the cent, the off-peak rates DeepSeek charges for V4.1 Flash. The next day, the US Department of Homeland Security published an order removing DeepSeek products from federal civilian IT systems. That pairing sums up where Chinese open-weight models stand: quality at the top has converged enough that licence terms, serving cost, hardware and the identity of your customer now decide the purchase.

This comparison covers the current release from DeepSeek, Alibaba’s Qwen, Moonshot AI’s Kimi, MiniMax and Zhipu AI’s GLM (sold internationally as Z.ai). It does not name a winner, because the evidence does not support one.

Key Takeaways
  • “Open-weight” covers five different licences. Only DeepSeek V4.1 Flash (MIT) and Qwen3.8-27B (Apache 2.0) come with standard permissive licences. Kimi K3, GLM-5.3, MiniMax-M3 and Qwen’s 2.4-trillion-parameter model all add custom conditions.
  • The downloadable model is not always the model you tested. Qwen3.8’s open-weight flagship is text-only and lacks the hosted Max model’s 1M-token context. MiniMax’s newest model, M3.1 Flash, has no weights yet.
  • Hosted prices for the same workload differ by about 25×. On the example workload below, the bill runs from roughly $167 a month (DeepSeek, off-peak) to $4,110 (Kimi K3).
  • Self-hosting the flagships is a cluster decision. The largest checkpoints need 1.4–4.9 TB of accelerator memory for weights alone. Only the 27B Qwen model fits on a single GPU.
  • Vendor benchmark tables are not mutually comparable. DeepSeek’s and MiniMax’s October tables report different Humanity’s Last Exam scores for the same Anthropic model.
  • The US order on DeepSeek is narrow but real. It covers federal civilian agency systems and procurement, including third-party products “developed using DeepSeek implementations”. The public notice does not extend it to private companies.

Quick Navigation


What this comparison measures

“Open-weight” means the trained parameters can be downloaded. It does not mean the training data or training code is public (none of the five publishes its training data), and it does not mean the licence permits every commercial use. Each family is assessed on its current release, with the downloadable checkpoint and the hosted API treated separately where they differ. Vendor-reported figures are labelled as such.

Master comparison of Chinese open-weight models

Table 1 — Release, weights and licence (checked 20 October 2026)

FamilyCurrent release assessedWeightsLicenceCommercial use
DeepSeekV4.1-Flash-1017 (Oct 2026)DownloadableMITPermitted
QwenQwen3.8-27B; Qwen3.8-2.4T-A95B (Aug 2026)Downloadable27B: Apache 2.0 (reported). 2.4T: custom “Qwen3.8-Max License”Permitted; conditions above stated thresholds for the 2.4T model
KimiKimi K3 (late July 2026)DownloadableCustom “Kimi K3 License” (MIT-derived)Permitted; conditions above thresholds
MiniMaxMiniMax-M3 (June 2026); M3.1 Flash (Oct 2026)M3: downloadable. M3.1 Flash: not yet releasedM3: “MiniMax Community License”M3: commercial use requires notice or written authorisation
GLMGLM-5.3 (weights 28 Aug 2026)DownloadableCustom “GLM-5.3 License”Permitted; security review for hosts above $10 billion revenue

Table 2 — Architecture, context and price

ModelTotal / active parametersContextInputsAPI price per 1M tokens (input / output)
DeepSeek V4.1 Flash552B reported; 763B in repository metadata / 8B–16B active (reported)1MText, image$0.15 / $0.60 off-peak; double at peak
Qwen3.8-27B27B dense262K native, 1M with YaRNText, image, videoNot verified
Qwen3.8-2.4T-A95B2.4T / 95BBelow the hosted model’s 1M (exact figure not published)Text onlyHosted Max: $2 / $6 (reported, not verified)
Kimi K32.8T / 104B1MText, image, video$3.00 / $15.00 ($0.30 cached input)
MiniMax-M3~428B / ~23B1MText, image, videoNot published
MiniMax M3.1 FlashNot disclosedNot stated officiallyText, image (reported)$0.15 / $0.60 ($0.015 cached input)
GLM-5.3~744–753B / ~40B1MNot confirmed (GLM-5.2 was text-only)$1.40 / $4.40

Every model except Qwen’s 27B has converged on a very large mixture-of-experts design with a 1M-token context, so architecture no longer separates them. Hosted prices do: they span more than an order of magnitude, from the two Flash models to Kimi K3.

Chinese open-weight models

What the benchmark tables establish

Less than they appear to. The October model cards from DeepSeek and MiniMax both compare against Kimi K3, GLM-5.3 and Anthropic’s Claude Opus 5, and both use some of the same benchmarks: DeepSWE v1.1, Terminal-Bench 4.0, NL2Repo-Bench and Humanity’s Last Exam (HLE).

Table 3 — Vendor-reported scores on shared benchmarks (October 2026)

BenchmarkDeepSeek V4.1-Flash-1017MiniMax M3.1 FlashKimi K3 (in DeepSeek’s table)GLM-5.3 (in DeepSeek’s table)
DeepSWE v1.177.073.767.566.9
Terminal-Bench 4.042.338.112.637.9
NL2Repo-Bench68.261.258.058.0
HLE (no tools)42.643.443.542.0 (text-only subset)

Sources: DeepSeek V4.1-Flash-1017 model card; MiniMax M3.1 Flash announcement. DeepSeek ran DeepSWE with the Mini-SWE-V2 harness and Terminal-Bench with the Claude Code harness; MiniMax’s footnotes cite several harnesses. All figures are company-reported.

DeepSeek’s table lists Claude Opus 5 at 56.3 on HLE without tools; MiniMax’s lists the same model at 55.6. The gap is small, but it shows that run conditions differ even when the labels match, and the four HLE scores above sit within 1.5 points of each other.

The Kimi row is the clearest warning. In DeepSeek’s table, Kimi K3 scores 12.6 on Terminal-Bench 4.0. Moonshot’s own card reports 88.3 on Terminal-Bench 2.1, an earlier version. Neither figure is necessarily wrong, but they cannot be compared, and a reader skimming two announcements could draw opposite conclusions.

Independent measurement helps a little. Artificial Analysis, as reported by The Decoder, puts DeepSeek V4.1-Flash-1017 at 45 on its Intelligence Index and M3.1 Flash at 42; its own page lists GLM-5.3 at 45. It also found that M3.1 Flash answered 56% of AA-Omniscience questions correctly but was confidently wrong in 93% of the cases it missed, a reliability signal absent from MiniMax’s table. None of this is your codebase or your latency budget. Use benchmarks to decide what to test.

Five families, five different trade-offs

DeepSeek: lowest price, cleanest licence, biggest procurement question

DeepSeek released V4.1 Flash on 10 September and an updated checkpoint, V4.1-Flash-1017, on 17–18 October, under the MIT licence with FP8 weights and a 1M-token context. SiliconANGLE’s launch report describes a 552B-parameter mixture-of-experts model activating 8B parameters on prompts and 16B when generating; the repository metadata shows 763B. DeepSeek has not explained the gap, and the higher figure is the one that sets your memory budget.

Price is DeepSeek’s strongest argument. Since 17 August, rates double during weekday peak hours (09:00–12:00 and 14:00–18:00 Beijing time). Off-peak, V4.1 Flash costs $0.15 per million uncached input tokens and $0.60 per million output tokens, and since 14 September calls to V4-Pro have been served and billed as V4.1 Flash. Two caveats: a nearly five-hour API outage on 15 October, and the US federal order covered below.

Qwen: the only realistic single-GPU option, and a split flagship

Qwen3.8-27B is the only strong small model in any family’s current generation. It is dense and multimodal, handles 262K tokens natively (1M with YaRN scaling), and The Decoder reports an Apache 2.0 licence. Its weights need about 54 GB in BF16 or 27 GB at FP8, so it fits on one 80 GB accelerator.

The flagship, Qwen3.8-2.4T-A95B (2.4 trillion total, 95 billion active parameters), is a different product from the hosted Qwen3.8-Max. Its model card says Max offers “more features, such as vision input & non-thinking support, 1M context length by default, official built-in tools”. The download is text-only, with a shorter context, under a custom licence whose thresholds appear in Table 4.

Kimi: the largest model, the highest price

Kimi K3 is the biggest model in the group: 2.8 trillion total parameters, 104 billion active, a 1M-token context, and text, image and video input. Moonshot trained it with quantisation-aware training, so the released weights are natively MXFP4, which is why a 2.8T model downloads at about 1.56 TB rather than 5.6 TB.

On Moonshot’s platform, K3 costs $3.00 per million input tokens ($0.30 cached) and $15.00 per million output tokens, 20 to 25 times DeepSeek’s off-peak rates. Moonshot reports strong agentic and multimodal results at maximum reasoning effort, including 91.2 on BrowseComp and 84.8 on OSWorld-Verified. Agent and computer-use workloads are where the premium could pay off; only your own tests can confirm it. The MIT-derived licence adds conditions for large resellers and very large products (Table 4).

MiniMax: two models, two different deals

MiniMax currently offers two different things under one brand. MiniMax-M3, released in June, is downloadable: about 428B total parameters, about 23B active, a 1M-token context through MiniMax’s sparse attention design, published in BF16. Its model card reports 80.5 on SWE-bench Verified and 78.1 on MMMU-Pro.

The M3 licence is the most restrictive here. The base grant covers non-commercial use; commercial use needs a one-time notice to MiniMax below $20 million in annual revenue, written authorisation above it, and a “Built with MiniMax M3” label. Serving the model through an API counts as commercial use, and military use is prohibited.

M3.1 Flash, launched on 19 October at $0.15 input, $0.60 output and $0.015 cached input per million tokens, ties DeepSeek on price. MiniMax says “model weights will be released later”. Until then it is an API product with no published licence, parameter count or context window.

GLM: MIT one release, custom the next

Zhipu’s GLM-5.2, released in June, was MIT-licensed and text-only. GLM-5.3 reached the API in August and open weights on 28 August, after a two-week safety hold: roughly 744–753B total parameters, about 40B active, a 1M-token context. Its new licence requires hosts with more than $10 billion in annual revenue to pass Z.ai’s security review. Few buyers will hit that threshold, but it shows a family’s licence can change between point releases.

At $1.40 input and $4.40 output, GLM-5.3 is mid-priced. Artificial Analysis measured 85.5 output tokens per second and a 2.44-second time to first token on Z.ai’s API. Z.ai’s vLLM recipe starts at one node of eight H200 or H20 accelerators for the FP8 checkpoint, which makes it the most practical large model to self-host.

Licences: what “open-weight” permits

A downloadable checkpoint only means you can obtain the file. The table summarises the clauses that decide what you can do with it; it is not legal advice.

Table 4 — Licence conditions that change a deployment decision

ModelRevenue or user triggerWhat it triggersExempt
DeepSeek V4.1 Flash (MIT)NoneKeep the copyright notice—
Qwen3.8-27B (Apache 2.0, reported)NoneNotice and licence retention—
Qwen3.8-2.4T-A95B>100M MAU or >$20M monthly revenue; MaaS/AI work-assistant revenue >$50M per yearDisplay model name; separate licenceInternal use
Kimi K3MaaS revenue >$20M per 12 months; >100M MAU or >$20M monthly revenueSeparate agreement; display “Kimi K3”Internal use; use via Moonshot or certified partners
GLM-5.3Hosting company revenue >$10B per 12 monthsZ.ai security reviewRouting, embedding
MiniMax-M3Any commercial use; >$20M annual revenueNotice; prior authorisation; “Built with MiniMax M3”None stated

The practical split is between internal use and resale. If you run a model only inside your company, the thresholds in the Kimi and large-Qwen licences generally do not apply. If you sell API access to a model, MiniMax-M3 requires permission at any scale, and Kimi K3 and Qwen’s flagship require agreements above their revenue thresholds.

Hosted API versus self-hosting economics

Headline prices are per token. A bill depends on how many of your tokens are input versus output, how many hit the cache, and, for DeepSeek, what time of day they arrive.

Example workload: 1 billion input tokens a month, of which 70% are cache hits, plus 200 million output tokens. This is roughly the shape of an agent or retrieval system that reuses long system prompts.

Table 5 — Monthly API bill for the example workload (prices checked 20 October 2026)

ModelCached inputUncached inputOutputMonthly total
DeepSeek V4.1 Flash (off-peak)700M × $0.003 = $2.10300M × $0.15 = $45.00200M × $0.60 = $120.00$167.10
DeepSeek V4.1 Flash (all at peak)$4.20$90.00$240.00$334.20
MiniMax M3.1 Flash700M × $0.015 = $10.50300M × $0.15 = $45.00200M × $0.60 = $120.00$175.50
Qwen3.8-Max (reported rates)700M × $0.20 = $140.00300M × $2.00 = $600.00200M × $6.00 = $1,200.00$1,940.00
GLM-5.3 (no cache discount assumed)—1,000M × $1.40 = $1,400.00200M × $4.40 = $880.00$2,280.00
Kimi K3700M × $0.30 = $210.00300M × $3.00 = $900.00200M × $15.00 = $3,000.00$4,110.00

The Qwen cache rate assumes explicit cache hits at 10% of the input price, as CloudZero reports for Alibaba Model Studio. GLM-5.3 is shown without a cache discount because Z.ai’s cached rate was not verified; its real bill would be lower. The DeepSeek cache-hit rate is taken from third-party transcriptions of DeepSeek’s pricing page.

Output is the largest line in every bill except GLM’s, where the missing cache discount inflates input. For Kimi K3 it is 73% of the total, so long answers or long reasoning traces widen the gap between vendors well beyond what input prices suggest.

Chinese open-weight models

Self-hosting changes what you pay for. In a mixture-of-experts model, only the active parameters are computed per token, but every parameter must sit in accelerator memory.

Table 6 — Weight memory before KV cache and activations

ModelReleased precisionWeights in memory (approx.)
Qwen3.8-27BBF16~54 GB (~27 GB at FP8)
MiniMax-M3BF16~856 GB (~428 GB if quantised to FP8)
DeepSeek V4.1-Flash-1017FP8~0.55–0.76 TB
GLM-5.3FP8~0.75 TB
Kimi K3MXFP4~1.56 TB (repository size)
Qwen3.8-2.4T-A95BFP8 / BF16~2.4 TB / ~4.9 TB

An eight-GPU H200 server holds 8 × 141 GB = 1,128 GB. GLM-5.3 and DeepSeek V4.1 Flash fit on one such node at FP8 with headroom for a modest KV cache, which is why Z.ai’s recipe starts there. Kimi K3 and Qwen’s 2.4T model do not fit and need either newer accelerators with more memory per device or a multi-node deployment.

To compare a node with an API bill, use monthly node cost = GPUs × hourly rate × 730 hours. At an assumed $3.00 per GPU-hour (a placeholder, not a quote), one eight-GPU node costs 8 × $3.00 × 730 = $17,520 a month, before redundancy, engineers or monitoring. That is about 4.3 times the Kimi K3 API bill for the example workload and more than 100 times DeepSeek’s off-peak bill. Self-hosting pays at much higher volume, under data-residency rules that exclude vendor APIs, or when the licence blocks the hosted route you need.

Utilisation decides the outcome: a node billed for 730 hours that is busy for 200 of them has more than tripled its effective cost per token. Measure throughput on your own prompts before trusting any published tokens-per-second figure.

Government restrictions and procurement

United States, federal civilian agencies. On 20 October 2026, DHS published a notice in the Federal Register (FR Doc. 2026-21447) of an exclusion and removal order under the Federal Acquisition Supply Chain Security Act of 2018. It covers information technology products and services from Hangzhou DeepSeek Artificial Intelligence Co. and its affiliates, plus “third-party products and services developed using DeepSeek implementations”, across federal civilian agency systems and procurement. The public notice gives no compliance deadline, does not say whether self-hosted copies of the MIT-licensed weights count as covered products, and makes no statement about private companies. The signed order sits in the docket (DHS-2026-0628), and federal suppliers should read it directly.

Earlier restrictions. Texas, New York, Virginia and Iowa barred DeepSeek on state government devices or networks in January and February 2025, and the US Navy told personnel not to use it in January 2025. The No Adversarial AI Act, introduced on 25 June 2025, would bar executive agencies from using AI from adversary-country companies; we found no evidence it has been enacted. None of these measures restricts private companies in general, but federal civilian contractors are exposed because the order reaches third-party products built on DeepSeek.

DeepSeek and Huawei. Reports of a hardware partnership are partly substantiated and partly not. In June 2026, a Huawei-led research group said, via the Shenzhen government, that it had post-trained DeepSeek V4-Pro on more than 1,000 Ascend 910C chips; DeepSeek did not comment. Bloomberg reported on 4 September that DeepSeek planned to buy at least 160,000 Ascend 950DT chips for inference while continuing to train on Nvidia hardware. The Information reported design collaboration on future chips. Neither company has confirmed a commercial arrangement.

Table 7 — Procurement checklist by family

CheckDeepSeekQwenKimiMiniMaxGLM
Weights downloadable nowYesYesYesM3 yes; M3.1 Flash noYes
Licence fits intended useMITDepends on model and scaleDepends on scaleNotice or authorisation for any commercial useYes, below $10B revenue
US federal civilian restrictionYes, FASCSA order (Oct 2026)None foundNone foundNone foundNone found
US state device bansTX, NY, VA, IA (2025)None foundNone foundNone foundNone found
Vendor API data locationVendor-operated; confirm in termsAlibaba Cloud regions incl. Singapore, Frankfurt, Virginia (reported)Vendor-operated; confirm in termsVendor-operated; confirm in termsVendor-operated; confirm in terms
Continuity signalFive-hour outage, 15 Oct 2026Hosted flagship ahead of open releaseSingle large modelWeights for newest model pendingLicence changed between point releases

Self-hosting puts data handling under your controls; a vendor API puts it under the vendor’s terms and jurisdiction. Where a model was trained does not by itself make either route safe or unsafe. Confirm the current position with your legal and procurement teams.

Which model fits which workload

  • Startup on hosted APIs: DeepSeek V4.1 Flash and MiniMax M3.1 Flash, the cheapest endpoints by far. Run DeepSeek batch jobs off-peak, and check M3.1 Flash’s factual reliability before using it for question-answering.
  • Self-hosting on one GPU: Qwen3.8-27B, the only current-generation option.
  • Self-hosting on one eight-GPU node: GLM-5.3 or DeepSeek V4.1 Flash; DeepSeek’s MIT licence is simpler unless you sell to US federal civilian agencies.
  • Software engineering: shortlist DeepSeek V4.1 Flash, MiniMax-M3 and GLM-5.3 and test them on your own repository, since vendor coding tables use different harnesses.
  • Chinese-language or multilingual products: none of the cards consulted reports a comparable multilingual benchmark, so test on your own corpus.
  • Reasoning and mathematics: HLE scores sit within 1.5 points, and Kimi K3’s 93.5 on GPQA Diamond has no like-for-like counterpart in the other cards. Run your own evaluation.
  • Multimodal: Kimi K3, Qwen3.8-27B or MiniMax-M3. Qwen’s 2.4T download is text-only, and GLM-5.3’s multimodal support was not confirmed.
  • Regulated or government-facing: exclude DeepSeek from US federal civilian supply chains; for the rest, check licence terms, data residency and vendor support.

A short evaluation protocol. Pick 50–200 tasks that represent real traffic. Run every candidate with the same prompts, tools, context limits and sampling settings. Record pass rate, time to first token, output speed, cost per successful task and failure types, and repeat after each model update.

Conclusion

The five families now differ more on rights and costs than on capability. DeepSeek has the cheapest API and the cleanest licence but sits under a federal civilian procurement order. Qwen has the only single-GPU option, and a flagship download that is narrower than what Alibaba hosts. Kimi posts strong agentic numbers on its own tables at the highest price. MiniMax’s licence requires notice for commercial use. GLM is mid-priced and the easiest large model to self-host. Choosing among Chinese open-weight models in 2026 means choosing which of those trade-offs your workload, budget and customers can accept, and then testing.

Frequently asked questions

What are Chinese open-weight models?

Large language models from Chinese developers whose trained weights can be downloaded and run on your own hardware, chiefly DeepSeek, Qwen, Kimi, MiniMax and GLM. The training data and code are not public, and commercial rights vary by licence.

Are DeepSeek and Qwen models open source?

Partly. DeepSeek V4.1 Flash (MIT) and Qwen3.8-27B (Apache 2.0) use standard permissive licences, but neither family publishes training data, and Qwen’s largest open model uses a custom licence.

Can Chinese open-weight models be used commercially?

Yes for most buyers, with model-specific conditions. MiniMax-M3 needs a notice to MiniMax for any commercial use; Kimi K3 and Qwen’s 2.4T model add conditions only above high revenue or user thresholds.

Which of these models can run on a single GPU?

Only Qwen3.8-27B. The other current flagships need hundreds of gigabytes to several terabytes of accelerator memory.

Is DeepSeek banned in the United States?

Not in general. DHS has ordered federal civilian agencies to remove DeepSeek products, and several states ban it on government devices; the published notice does not extend to private companies or individuals.

Is self-hosting cheaper than using an API?

Usually not at moderate volume. Self-hosting tends to win on data control, licence fit or very high, steady utilisation.

How should I compare benchmark results across vendors?

Only when benchmark version, harness and settings match, which is rare. Use scores to build a shortlist, then test it on your own tasks.


Keep reading

Kimi K3.1 Pro

Kimi K3.1 Pro vs Sonnet 5.5: Same Price, Different Bill

On paper, Moonshot AI priced Kimi K3.1 Pro to the cent against Claude Sonnet 5.5: $2 per million input tokens and $10 per million output …
RAG vs fine-tuning

RAG vs Fine-Tuning: Which One You Actually Need

Take a support team that ships two prototypes on the same base model. The first searches the product documentation on every question and pastes the …
AI capex

AI Infrastructure Spending: What $145 Billion and a Sold-Out AWS Actually Buy

Published 25 October 2026 · Last verified 25 October 2026 · By the UniverseBlend editorial desk On 21 October, Meta set the latest marker for …
agentic AI

What Is Agentic AI? How AI Agents Work, What They Cost, and Where They Fail

Agentic AI describes software systems in which a language model chooses and carries out a sequence of actions to complete a task. It calls tools, …

Anthropic IPO: Revenue, Compute Costs and the November Timeline

Anthropic IPO

Anthropic told prospective investors on 14 October that it earned $16.8 billion in revenue in the third quarter of 2026. It also said it earned $1.70 for every dollar it spent on computing power in that quarter. Those two numbers, reported by Reuters, Bloomberg and the Financial Times from people who attended the meeting, are the strongest case yet for an Anthropic IPO. They’re also harder to read than they look.

The difficulty is the third number. A confidential prospectus seen by Reuters in September showed that Anthropic has committed at least $518 billion to computing infrastructure over roughly a decade, and that about 80% of it can’t be cancelled. So the question for anyone weighing the listing isn’t whether revenue is growing. It’s whether revenue per compute dollar can keep rising faster than the bills Anthropic has already signed.

Status as of 18 October 2026: Anthropic has officially confirmed only that it confidentially submitted a draft S-1 on 1 June 2026. It has announced no IPO date, share count or price. A November listing has been reported by the Wall Street Journal and Bloomberg, citing unnamed sources, but it isn’t confirmed. We found no report of a public S-1 on the SEC’s EDGAR database. All financial figures below come from investor-day attendees or a confidential prospectus, not from audited public filings.

Key Takeaways
  • Confirmed: Anthropic submitted a confidential draft S-1 on 1 June 2026. It has not announced an IPO date.
  • Reported: Quarterly revenue rose from about $4.7 billion in Q1 2026 to $16.8 billion in Q3. Growth slowed from roughly 147% in Q2 to about 45% in Q3.
  • Reported: Anthropic said it was profitable on an adjusted basis and cash-flow positive in Q3, but the adjustments haven’t been fully disclosed.
  • Our analysis: A $1.70 revenue-to-compute ratio implies compute equal to about 59% of revenue. That can’t sit alongside an 85% gross margin unless most compute, probably training, is booked outside cost of revenue.
  • Reported: About 80% of the $518 billion in commitments is non-cancelable or payable regardless of use. Payment schedules haven’t been reported.
  • Unresolved: A mid-November listing would need a public S-1 by late October. Whether that happens is the next hard signal.

Quick Navigation


The numbers behind the Anthropic IPO story

The quarterly figures come from an investor day at Anthropic’s San Francisco headquarters on 14 October. Reuters cited two attendees, and Bloomberg cited people familiar with the presentation. Anthropic didn’t respond to Reuters’ request for comment and hasn’t published the results. The figures are calendar 2026 quarters. They describe revenue earned in each quarter, not an annualised run rate.

Quarter (2026)Reported revenueChange on prior quarter (our calculation)Source and qualification
Q1$4.7bn (FT: about $4.8bn)n/aInvestor-day attendees
Q2$11.6bn (FT: $11.5bn)+147% (FT figures: +140%)Investor-day attendees
Q3$16.8bn+45% (FT figures: +46%)Reuters, Bloomberg and FT all report $16.8bn

The small differences between outlets matter less than what they agree on. Revenue for the first nine months of 2026 comes to $33.1 billion on either set of figures. That’s about 7.2 times the roughly $4.6 billion Anthropic earned in all of 2025, according to the prospectus Reuters reviewed.

The slowdown is just as clear. Q2 more than doubled Q1, while Q3 added 45%. The Decoder linked the slower quarter to a summer seasonal dip and new competition. Anthropic also told investors that 5% to 7% of revenue came from distillation, meaning rival labs paying to train on Claude’s outputs. Per the FT, as summarised by Simon Willison, it had cut that business back “materially” in Q3. That’s revenue the company is choosing to shrink.

One accounting point affects every ratio that follows. Anthropic records the full value of Claude sales made through cloud partners such as AWS and Google, and books the partners’ share as an expense. OpenAI records only its net share. Axios reported that a source familiar with Anthropic’s finances put the effect of switching to net reporting at about 6% to 10% of revenue. The S-1 should settle the treatment. Until then, comparisons with OpenAI need that caveat.

What the reported compute ratio actually tells us

According to the FT’s investor-day reporting, Anthropic earned $1.70 in revenue for every dollar spent on “computing power” in Q3. It’s the most useful number in the story, and the most easily misread.

Start with what it can’t mean. A ratio of 1.70 doesn’t mean Anthropic keeps 70 cents of profit per compute dollar. Revenue also has to pay for staff, sales, cloud-partner fees, offices, legal costs and stock-based compensation. The ratio measures how hard the hardware is working commercially, not how profitable the company is.

If the ratio uses Q3 revenue and Q3 compute spending, the arithmetic is straightforward. These are our calculations, and they depend on that assumption:

Implied Q3 compute spend = $16.8bn ÷ 1.70 ≈ $9.9bn
Compute as a share of revenue = 1 ÷ 1.70 ≈ 59%
2025 equivalent = $4.6bn revenue ÷ $7.33bn compute and infrastructure costs ≈ $0.63

The 2025 figures come from the confidential prospectus as reported by Reuters. On that basis, Anthropic went from earning 63 cents per compute dollar in 2025 to $1.70 in Q3 2026, close to a 2.7-fold improvement. If the definitions match, that’s the clearest evidence in the reporting that the business is scaling. Revenue grew much faster than the hardware bill.

The tension with an 85% gross margin

Now set it beside the 85% gross margin Bloomberg reported. Gross margin is revenue minus cost of revenue, divided by revenue. At 85%, cost of revenue in Q3 would be at most about $2.5 billion. But the ratio implies about $9.9 billion of compute. If all of that compute counted as cost of revenue, the gross margin couldn’t exceed about 41%.

Both numbers can be true only if roughly three-quarters of the compute spend, around $7.4 billion, sits outside cost of revenue. The likeliest home is training, which AI companies often treat as research and development. Earlier reporting cited by BeInCrypto described an 80% gross margin that “left out training costs,” which fits that reading. It hasn’t been confirmed for the 85% figure.

That doesn’t make the gross margin misleading. It means it measures something narrow: the cost of serving models already built. The $1.70 ratio is the broader test, because it appears to count all computing power. To interpret it fully, readers need four things the S-1 should disclose:

  • whether “computing power” includes training, inference and research compute together;
  • whether it includes payments on reserved but idle capacity;
  • whether revenue is gross of cloud-partner fees, which would flatter the ratio (on a 6% to 10% net-basis haircut, $1.70 becomes about $1.53 to $1.60);
  • whether the Q3 figure is typical or flattered by timing, such as a training run that hadn’t started.
Anthropic IPO

The $518 billion question: commitments are not spending

The $518 billion figure comes from the confidential prospectus Reuters reviewed on 29 September. It isn’t debt, and it isn’t money already spent. It’s the total of contracts to buy computing capacity and equipment over roughly a decade. That’s why it doesn’t contradict a cash-positive quarter: the obligations fall due over years, while the quarter’s cash flow covers one quarter’s payments.

CounterpartyReported commitmentPeriodCancelability, as reported
Broadcom (equipment leases)~$161.2bnIncludes a five-year, $125.2bn TPU leaseNon-cancelable except on default
Google$111.1bnApr 2026 to Jul 2033Payable regardless of usage
Amazon$110bnMay 2026 to Apr 2036Payable regardless of usage
xAI (Nvidia-based capacity)Up to $84.5bnThrough 2029Largely cancelable with 90 days’ notice
Microsoft$31.4bnNov 2026 to May 2033Non-cancelable except for Microsoft’s uncured breach
AMDExpected to exceed $20bnNot reportedAMD also agreed to buy up to $5bn of Anthropic stock

The first four non-cancelable lines add up to about $414 billion. That matches the prospectus’s statement that about 80% of the total “is non-cancelable or requires payment regardless of usage.” Anthropic’s own wording on Google is blunt: “If our actual spend falls short, we must pay Google the difference.”

That is take-or-pay exposure. If demand falls short of the commitment, Anthropic pays anyway, and the unused capacity drags the revenue-per-compute ratio down. Our earlier analysis of the obligation behind Anthropic’s $518 billion compute commitment goes through each partner’s terms in detail.

Anthropic IPO
What the commitments assume about revenue

A rough scale check helps, as long as it’s treated as an illustration, not a schedule. Spreading each non-cancelable contract evenly over its reported period gives about $56 billion a year. That counts Google over about seven years, Amazon over ten, Microsoft over six and a half, and only the five-year Broadcom TPU lease. Anthropic’s annualised Q3 compute spend, at four times the implied $9.9 billion, is about $40 billion. To keep the ratio at $1.70 against $56 billion a year of compute, annual revenue would need to reach about $95 billion. Q3 annualised is $67 billion.

The real schedules almost certainly aren’t flat. Capacity typically ramps as data centres come online, so early years are lighter. But the illustration shows what the commitments assume: revenue keeps growing well beyond its current pace. A slowdown from 147% to 45% in a quarter is the kind of shift that makes that assumption worth testing.

Where CoreWeave fits into the picture

CoreWeave announced a multi-year agreement with Anthropic on 10 April 2026 to run production Claude workloads. It disclosed no contract value, duration or capacity. CoreWeave isn’t named in the reported six-partner breakdown of the $518 billion, so we can’t tell whether that contract sits inside the total, is too small to list, or is reported elsewhere.

The October “repricing” is a different event. It concerns CoreWeave’s own debt. Its bonds fell far enough that yields reached roughly 15% to 16% on 14 and 15 October, while the fixed coupons stayed the same, as we detailed in our analysis of CoreWeave’s debt repricing. Nothing we found shows any change to CoreWeave’s agreement with Anthropic.

The connection is indirect but real. Lenders are charging more to finance GPU-heavy infrastructure. Anthropic’s largest commitment, the Broadcom TPU lease, is itself funded by a roughly $60 billion debt structure that Bloomberg reported. If the cost of financing AI capacity rises, providers will try to pass it on when contracts renew or expand. That’s a pressure on future compute prices, not evidence about Anthropic’s current terms.

What profitability and free cash flow do, and don’t, prove

Anthropic told investors it was profitable “on an adjusted basis” in Q3. The FT reported it was the second straight such quarter. Bloomberg reported an adjusted operating margin of “over 11%” and positive free cash flow. Free cash flow is operating cash flow minus capital spending.

Each of those claims is narrower than it sounds.

  • Adjusted isn’t GAAP. The FT and The Information both reported that the adjusted margin excludes stock-based compensation, which is a real cost even though no cash leaves the company: it dilutes shareholders. Other adjustments haven’t been disclosed. The 2025 comparison shows how far the measures can diverge. On the prospectus figures Reuters reported, Anthropic’s 2025 operating loss was more than $8 billion before liability writedowns. Its net loss was about $42 billion, of which about $34 billion was a non-cash charge on convertible financing.
  • The margin’s period is unclear. Bloomberg’s “over 11%” reads as a Q3 figure. The Decoder, citing The Information, described 11% as the margin for the year through Q3. Those are different claims, and the reporting doesn’t settle which is right.
  • Cash flow can be front-loaded. Large customers sometimes prepay, and capacity contracts can defer payments until hardware arrives. Either would make a quarter’s cash flow look stronger than the underlying economics. No cash-flow amount has been reported, so there’s no way to tell. Anthropic ended 2025 with $20.28 billion in cash, according to the prospectus as reported, and it isn’t short of money. The IPO is about funding commitments that grow faster than current cash generation.
What the reported margins add up to

The useful reading is this. If 11% adjusted operating margin and $1.70 per compute dollar both describe Q3, compute took about 59% of revenue. Everything else before stock-based pay took about 30%, leaving roughly $1.8 billion of adjusted operating profit. That’s a real business at real scale. It’s also thin enough that a few points of compute cost or a quarter of idle capacity would erase it.

The Anthropic IPO timeline: confirmed facts and reported expectations

Date (2026)EventStatus
1 JuneAnthropic confidentially submits a draft S-1; shares and price not setOfficial
18 SeptemberWSJ reports a November IPO plan, per PYMNTSAnonymous sources
29 SeptemberReuters reports the confidential prospectus: $518bn of commitments, 2025 resultsDocument seen by Reuters, not public
1 OctoberBloomberg: listing as soon as mid-November; marketing could start the week of 9 November, per Yahoo FinanceAnonymous sources; plans “remain fluid”
4 OctoberNo public S-1 on EDGAR, 126 days after the confidential submissionSecondary check
14 OctoberInvestor day in San Francisco; Q3 figures sharedReported by attendees
15 OctoberReuters: some investors weigh a valuation near $1.5 trillion, below the roughly $2 trillion earlier expectedAnonymous sources

The November timeline is unconfirmed. Anthropic hasn’t announced it, and Bloomberg itself said the dates could change.

There is a mechanical test, though. A company that files confidentially must make its registration statement public at least 15 days before it starts a roadshow, as Yahoo Finance noted. Marketing in the week of 9 November would therefore need a public S-1 by about 25 October. We couldn’t query EDGAR directly for this article, and we found no report of a public filing as of 18 October. That isn’t proof that nothing has been filed confidentially since. Amended drafts can be submitted privately too.

What to watch before the Anthropic IPO

  • A public S-1 on EDGAR. It would turn reported figures into audited ones, and its timing confirms or kills the November window.
  • The definition of compute cost. The S-1’s segment and cost disclosures should show whether training sits in cost of revenue or R&D. That decides whether 85% gross margin and $1.70 per compute dollar describe the same business.
  • The commitment schedule. The contractual obligations table would show how much of the $518 billion falls due each year. Back-loaded payments buy time; front-loaded payments test revenue growth sooner.
  • Q4 growth and distillation. Anthropic reportedly told investors that lower distillation revenue will weigh on the current quarter. A further slowdown would sharpen the commitments question.
  • Gross versus net revenue. If the SEC pushes for net reporting of cloud-partner sales, every ratio here moves down by a similar amount.
  • Stock-based compensation. Its size determines the gap between adjusted and GAAP operating profit.

Conclusion

The reported numbers support one conclusion. Anthropic has turned compute into revenue far more efficiently in 2026 than in 2025, and on an adjusted basis that is now enough to cover its other costs.

They don’t yet show that the efficiency will hold against $414 billion of commitments that must be paid whether or not the demand arrives. That depends on two disclosures only a public S-1 can provide: what “computing power” includes, and when the commitment payments fall due. Until those appear, the $1.70 ratio is the right number to watch and the wrong number to treat as settled.

Frequently Asked Questions

Is Anthropic going public?

It is preparing to. Anthropic confidentially submitted a draft S-1 on 1 June 2026, which gives it the option to list after SEC review. It hasn’t announced an IPO date or terms.

When is Anthropic expected to IPO?

Bloomberg and the Wall Street Journal reported a November 2026 target, with trading possibly before Thanksgiving. Both cited unnamed sources, and Anthropic hasn’t confirmed the timing.

Has Anthropic filed an S-1?

Only confidentially, on 1 June 2026. Reuters has reported on a prospectus it saw, but no public S-1 had appeared on EDGAR in the reporting we found as of 18 October 2026. Our explainer on what the Anthropic S-1 must disclose covers how that filing process works.

How much revenue does Anthropic generate?

Investor-day attendees reported $16.8 billion for Q3 2026 and about $33.1 billion for the first nine months. These figures aren’t audited or published by Anthropic.

Is Anthropic profitable?

On an adjusted basis, reportedly yes, for Q2 and Q3 2026. The adjustments exclude stock-based compensation at least. In 2025, it reported a large operating loss and a net loss of about $42 billion, according to the prospectus Reuters saw.

How much is Anthropic spending on compute?

Reported 2025 compute and infrastructure costs were $7.33 billion. No Q3 figure has been reported, but the $1.70 ratio implies about $9.9 billion if it uses same-quarter figures. That’s our calculation, not a disclosed number.

What does the $1.70 revenue-per-compute-dollar figure mean?

It reportedly means Q3 revenue was 1.7 times compute spending. It measures revenue efficiency, not profit, because staff, sales and other costs also come out of revenue.

What are Anthropic’s infrastructure commitments?

At least $518 billion over about a decade with six partners, per the confidential prospectus Reuters saw. About 80% is non-cancelable or payable regardless of usage. These are future obligations, not current spending or debt.


Keep reading

Kimi K3.1 Pro

Kimi K3.1 Pro vs Sonnet 5.5: Same Price, Different Bill

On paper, Moonshot AI priced Kimi K3.1 Pro to the cent against Claude Sonnet 5.5: $2 per million input tokens and $10 per million output …
RAG vs fine-tuning

RAG vs Fine-Tuning: Which One You Actually Need

Take a support team that ships two prototypes on the same base model. The first searches the product documentation on every question and pastes the …
AI capex

AI Infrastructure Spending: What $145 Billion and a Sold-Out AWS Actually Buy

Published 25 October 2026 · Last verified 25 October 2026 · By the UniverseBlend editorial desk On 21 October, Meta set the latest marker for …
agentic AI

What Is Agentic AI? How AI Agents Work, What They Cost, and Where They Fail

Agentic AI describes software systems in which a language model chooses and carries out a sequence of actions to complete a task. It calls tools, …