Sep 6, 2026 AI Infrastructure

SWE-Bench Pro vs SWE-Bench Verified: Why the Two Scores Disagree (2026)

A model can post a 95 on SWE-Bench Verified and land near half that on SWE-Bench Pro, and both numbers are real. Verified is a 500 task human validated subset of open GitHub issues, and the frontier has largely saturated it in 2026 with scores in the mid 90s. SWE-Bench Pro, built by Scale AI, runs harder tasks across more languages and, crucially, includes private codebases that model trainers cannot legally access, so contamination is prevented by construction. The result is a benchmark that separates models Verified no longer can. If you are picking a coding model on benchmark numbers, reading these two scores as if they measure the same thing is how you end up disappointed in production. This post explains what each one measures, why the gap is structural rather than noise, and how to weight them.

Sep 4, 2026 AI Infrastructure

AI Coding Agent Pricing in 2026: Copilot, Claude Code, Codex, and Cursor Compared

The four most used AI coding tools in 2026 price on four different models, which makes a straight sticker comparison almost useless. GitHub Copilot sells seats with monthly AI credits. Cursor sells seats with usage allowances. Claude Code meters against rolling time windows under flat Max tiers. OpenAI Codex bills token metered credits that ride whatever ChatGPT plan you already pay for. The list prices span 10 dollars a month to 200, but the number that decides your actual bill is not the sticker, it is how heavily you run agents, because daily autonomous agent use commonly pushes real spend toward 60 to 200 dollars per developer regardless of which logo is on the plan. This post lays out the September 2026 tiers for each tool, explains the four pricing models, and gives you a way to budget that survives contact with real usage.

Sep 4, 2026 AI Infrastructure

Claude Fable 5.1: The 75 Percent Cache Read Cut and What Else Changed (2026)

Anthropic released Claude Fable 5.1 on September 1, 2026, keeping the headline rates at 10 dollars per million input tokens and 50 per million output but cutting the cache read price from 1.00 to 0.25 dollars per million, a 75 percent drop. That single line is more consequential for anyone running agents than the benchmark gains, because agentic workloads re-send a large, stable context on every turn, and cache reads are how you avoid paying full input price for it over and over. At 0.25 per million, a cache read is 2.5 percent of the normal 10 dollar input rate, which changes what a long context agent actually costs to operate. This post explains what cache reads are, why the cut lands hardest on agent loops, what else changed in 5.1, and how the restricted access Mythos 5.1 sibling fits.

Sep 4, 2026 AI Infrastructure

Claude Sonnet 5 Stays at 2 and 10 Dollars: What the Cancelled Price Increase Means for Agent Budgets (2026)

On September 1, 2026, Anthropic cancelled a planned price increase for Claude Sonnet 5 that would have moved it from 2 dollars per million input tokens and 10 per million output to 3 and 15. The rate stays at 2 and 10. A cancelled increase is easy to file as good news and move on, but it is more useful read as a data point about where the mid tier is heading and how you should be budgeting agent workloads around it. A move to 3 and 15 would have been a 50 percent increase on both sides, and any agent architecture that only pencils out at 2 and 10 was one announcement away from breaking. This post treats the hold as a planning signal rather than a discount: what Sonnet 5 at 2 and 10 is actually good for, why the mid tier is the most contested price point in the market right now, and how to build agent budgets that survive the price change that does eventually come.

Sep 4, 2026 AI Infrastructure

Gemini 3.8 Flash: Google's Cheap Agentic Tier Tested (September 2026)

Google DeepMind released Gemini 3.8 Flash on September 2, 2026, and the headline is that it costs exactly what 3.7 Flash cost, 0.75 dollars per million input tokens and 3.75 per million output, while beating the older model on every benchmark Google published. It ships a 1 million token context, 64K output, multimodal input across text, image, audio, video, and PDF, and it is tuned for long horizon coding and autonomous agents. On DeepSWE v1.1 it reads 73.7 percent against 65.3 for 3.7 Flash, and on Terminal-Bench 2.1 it posts 89.4 percent. Google also claims it beats Claude Opus 5 on three of the benchmarks it reported. The catch worth naming up front is the price schedule: those rates hold through December 31, 2026, then double on January 1. This post tests whether the cheap tier is now good enough to be the default engine for real agent work, where it holds up, and where the flagship tiers still earn their keep.

Sep 4, 2026 AI Infrastructure
vs

GPT-6 Astra vs Claude Fable 5.1: Agentic Coding Benchmarks Tested (September 2026)

Two frontier flagships shipped inside 72 hours. OpenAI released GPT-6 Astra on September 3, 2026, calling it the most intelligent and aligned model it has published, and Anthropic released Claude Fable 5.1 on September 1 with a 75 percent cut to cache read pricing. Both carry a 1 million token context window and both list at 10 dollars per million input tokens and 50 dollars per million output tokens, so the sticker price will not decide this for you. What decides it is the agentic coding numbers and the cost you actually pay once caching enters the picture. On Terminal-Bench 4.0, Astra reads 57.7 percent against Fable 5.1 at 55.8 percent; on DeepSWE v1.1, Astra is 74.1 percent. Those gaps are real but narrow, and narrow gaps get erased by the parts of the bill that the leaderboard never shows. This post puts the two side by side on the benchmarks that matter for coding agents, then argues for a default based on total cost per solved task rather than a headline percentage.

Sep 4, 2026 AI Infrastructure

GPT-6 Astra vs GPT-5.6 Sol: Is the Upgrade Worth It (September 2026)

OpenAI released GPT-6 Astra on September 3, 2026, less than two months after GPT-5.6 Sol shipped on July 9. The launch framing is that Astra is the most intelligent and aligned model OpenAI has published, and the benchmark tables back a real capability step. But Sol did not get worse; it got cheaper. After the August 22 price cut, Sol sits near 4 dollars per million input tokens and 20 dollars per million output, while Astra lists around 10 and 50. That is roughly a 2.5x premium on both sides of the ledger for the newer model, and a 2.5x premium is a lot to pay for a capability gap that, on many workloads, you will never actually exercise. This post treats the choice as a procurement decision rather than a launch day upgrade reflex: what Astra buys you, what it costs, and the specific workloads where Sol remains the correct default even though it is now the older model.

Sep 4, 2026 AI Infrastructure

Kimi K3 vs GPT-6 Astra: Open Weights Against the Flagship on GPQA and Cost (2026)

OpenAI released GPT-6 Astra on September 3, 2026, and it currently leads the field on GPQA Diamond at 96.0 percent, the highest abstract reasoning score OpenAI has published. It costs 10 dollars per million input tokens and 50 per million output, with a Fast mode at roughly double that. The interesting comparison is not another flagship, it is Kimi K3, the open weights model from Moonshot AI that posts 93.5 percent on the same GPQA Diamond benchmark while charging 2.50 and 14 dollars per million tokens on its hosted API and shipping weights you can run yourself. This post puts the two side by side on the benchmark that actually compares cleanly, walks through why the Terminal-Bench numbers do not compare across versions, and works out the cost gap that decides which model belongs in which part of your stack.

Sep 4, 2026 AI Infrastructure

Qwen3.8 27B on Apple Silicon: MLX Throughput, Quantization, and Where It Fits (2026)

Alibaba's Qwen team shipped Qwen3.8 27B in August 2026: a dense 27.78 billion parameter multimodal model under Apache 2.0, with a native 262,144 token context, a vision encoder, and open weights on Hugging Face. On paper it is the most convincing dense, locally deployable model near 30 billion parameters yet, posting 90.3 on LiveCodeBench v6 and 61.7 on SWE-bench Pro. The reason it matters for Apple Silicon specifically is that a dense 27B model at 4-bit fits in the unified memory of a well specced Mac, and MLX now uses the M5 Neural Accelerators that llama.cpp does not. This post covers how to size the model for your machine, which quantization to run, the config to load it under MLX, and how to reason about throughput without trusting a number someone posted for a different chip.

Sep 4, 2026 Headless Commerce

Shopify SimGym: What AI Shopper Simulation Can and Cannot Test (2026)

Shopify SimGym, part of the Winter 2026 Edition, runs AI shoppers through your storefront to simulate buyer behavior before you push changes live. The AI shoppers browse products and collections, use navigation and search, add items to the cart, and report the friction they hit, and they are trained on the behavioral data behind billions of Shopify purchases. It sounds like a way to test your store without waiting for real traffic, and for themed stores it is a useful directional screen. The catch that matters for anyone reading this on the headless side is that SimGym operates on Shopify themes, and a headless storefront is not a theme. This post covers what SimGym actually tests, what it explicitly does not, and how headless teams should think about pre ship validation when the tool cannot see their front end.

Sep 4, 2026 Headless Commerce

Shopify Storefront API 2026-07: Breaking Changes and the Headless Migration (2026)

Shopify's Summer 2026 edition, codenamed Compass, shipped 65 updates, and the one that lands on every headless team is Storefront API version 2026-07 with breaking changes to the cart and product query structures. On a themed Shopify store these version bumps are invisible; the platform absorbs them. On a headless build, where your storefront talks to the Storefront API directly, a breaking change to the query shapes you depend on is a scheduled outage if you ignore it. Shopify runs a quarterly versioning cadence and supports each version for a fixed window, so 2026-07 is not optional, it is a migration with a deadline attached. This post covers what changed in the cart and product queries, why headless builds are uniquely exposed to Storefront API versioning in a way themed stores are not, and how to run the migration behind a version pin so you upgrade on your schedule rather than on an outage.

Aug 27, 2026 AI Infrastructure

The State of AI Coding Agents (August 2026): Adoption, Terminal-Bench, and the Stack Devs Actually Run

The AI coding agent field in August 2026 has stopped being about who has the smartest model and started being about who fits the way developers actually work. The adoption data tells the story: awareness of Codex climbed from 27 percent of developers early in the year to 65 percent by mid year, while GitHub Copilot's share slid from 29 percent a year ago to 21 percent, according to JetBrains research. On raw capability the top agents are bunched together, with Terminal-Bench 2.1 putting GPT-5.6 Sol, Claude Opus 5, and Grok 4.6 all within roughly a point of each other. When the models are this close, the differentiator is workflow shape, not benchmark position. This post lays out where adoption is heading, what the benchmarks do and do not tell you, and the multi tool stack most working developers have converged on, because almost nobody uses just one agent anymore.

Aug 27, 2026 AI Infrastructure

GPT-5.6 Sol: Pricing, Terminal-Bench Numbers, and Where It Actually Wins (2026)

GPT-5.6 Sol is the flagship tier of OpenAI's GPT-5.6 family, released on July 9, 2026 alongside Terra and Luna. It ships a 1,050,000 token context window and, after OpenAI cut prices on August 22, sits near 4 dollars per million input tokens and 20 dollars per million output tokens. On Terminal-Bench 2.1, the agentic coding benchmark, it lands at the very top of the public leaderboards, though the exact number swings with the harness and the effort setting used. This post skips the launch-day cheerleading and treats Sol as a procurement decision: what it costs in production, what the benchmark numbers actually say once you account for effort tiers, and the specific workloads where it beats the cheaper Terra and Luna tiers or a rival like Claude Opus 5. If you are choosing a default model for an agent, the interesting question is not the headline score, it is the cost per solved task.

Aug 27, 2026 AI Infrastructure

OX Alpha and the Rise of Stealth Frontier Models: What 80 Percent on DeepSWE Signals

A model called OX Alpha showed up as an anonymous frontier system, free to use through August 27, 2026, carrying a 1 million token context, multimodal input, and a reported score near 80 percent on DeepSWE, an agentic software engineering benchmark. Technical analysis points to Zhipu GLM-5.x lineage behind the mask. Stealth launches like this, where a lab floats a strong model under a codename on a router or an arena before it admits what it is, are becoming a standard move in 2026, and they are worth understanding because they are how you get an early, unbranded read on the frontier. This post explains what OX Alpha is, what a DeepSWE score around 80 percent actually means for real software work, and why the stealth pattern exists at all. The number is the least interesting part; the reason a lab would ship it anonymously is the part that tells you where the field is.

Aug 27, 2026 Headless Commerce

Shopify Managed Markets Ends DDU: What the Cross-Border Duty Change Means for Enterprise Stores (2026)

As part of its August 2026 platform updates, Shopify is ending Delivered Duty Unpaid on Managed Markets, its cross border commerce service. In plain terms, stores can no longer let the international customer settle import duties with the carrier on delivery; the duty has to be calculated and collected at checkout instead, the model known as Delivered Duty Paid. That sounds like a billing footnote and it is anything but. The point of sale where a shopper learns the true landed cost of an order is the single biggest lever on international conversion and on the surprise fee refusals that generate returns and chargebacks. This post explains what the change actually is, why Shopify is making it, and what enterprise and headless stores should do about checkout, catalog data, and their merchant of record posture before the shift bites. Cross border is where commerce infrastructure decisions become finance decisions, and this is one of them.

Aug 27, 2026 AI Infrastructure

vllm-metal vs vllm-mlx: The Two Apple Silicon vLLM Ports Compared (2026)

For most of its life vLLM was a Linux and NVIDIA story, and running it on a Mac meant emulation, partial builds, or giving up. In 2026 that changed: vLLM now has two competing Apple Silicon ports. vllm-metal is a Metal GPU backend that unifies MLX and PyTorch under one compute pathway and has landed in Docker Model Runner on macOS. vllm-mlx is built directly on Apple's MLX array framework and, on an M4 Max, has posted throughput up to 525 tokens per second on small text models, exceeding llama.cpp by 21 to 87 percent across the configurations tested. Two ports with the same goal and different foundations means the interesting question is not whether vLLM runs on a Mac, it is which port to reach for and for what. This post compares them on throughput, run to run stability, and fit, and is honest about the case where the right answer is still to develop on the Mac and serve on Linux.

Aug 26, 2026 AI Infrastructure

Enterprise LLM Strategy: When to Build a Domain Model vs Call a Frontier API

In August 2026 Thomson Reuters launched Thomson, a proprietary model it trained in house on an open-weight foundation, reportedly the most recent base being Qwen 3.5, combined with decades of Westlaw, Practical Law, Checkpoint, and Reuters content. The reported numbers are the interesting part: a total investment near 40 million dollars covering talent and compute, but a final training run of only about 450,000 dollars, with early evaluations placing it comparable to leading frontier models on its target tasks. That gap between 40 million and 450,000 is the whole story of the build versus buy decision, and most teams read it wrong. This post is a decision framework, not a cheerleading piece: what you are actually buying when you build a domain model on open weights, what the real costs are beyond the headline training run, and the specific conditions under which owning a model beats calling a frontier API.

Aug 26, 2026 AI Infrastructure

MCP Authorization in 2026: Agent Identity, OAuth, and the New Enterprise Security Model

For most of its short life, MCP authorization meant a bearer token in a header and a lot of hope. That is changing. The 2026-07-28 specification release and the roadmap updated on 2026-08-22 push MCP toward a real enterprise security model: proof of possession bound tokens through DPoP, short lived credentials through Workload Identity Federation, and a working group defining how an agent presents its own identity or a user delegated one. This post reads those changes the way an operator running an MCP server in production would. What is actually landing, what problem each piece solves, and what you should do now versus wait on. The short version: static keys on a remote MCP server are the liability to retire first, and the new primitives give you a path off them that does not depend on every client implementing the same thing on day one.

Aug 26, 2026 AI Infrastructure

MCP Streamable HTTP: How the 2026 Transport Update Changes Remote Agent Servers

MCP historically had two ways to talk: stdio for a local server on your machine and HTTP for a remote one, each with its own quirks. The 2026 transport work collapses that split. Streamable HTTP is becoming the single binding, with remote servers holding a persistent connection over Server-Sent Events instead of the older polling approach, and the roadmap extends the same HTTP model to cover local servers speaking Streamable HTTP over stdio. That sounds like plumbing, and it is, but plumbing is exactly what decides whether a remote MCP server is production grade or a demo. This post explains what Streamable HTTP actually changes, why persistent SSE connections beat polling for agent workloads, and what an operator running remote MCP servers should do about it, in plain terms rather than spec language.

Aug 26, 2026 Headless Commerce

Shopify Checkout Extensibility in 2026: The One-Page Checkout Migration, Explained

Shopify's move to Checkout Extensibility is not a UI refresh, it is the deprecation of the entire old customization surface: checkout.liquid, Additional Scripts, and Shopify Scripts are being replaced by Checkout UI Extensions, Shopify Pixels, Shopify Functions, and the Checkout Editor. The deadlines are real and staggered. Shopify Scripts stop working on June 30, 2026. Plus stores began hitting hard blocks on legacy checkout.liquid customizations around August 13, 2026, affecting roughly 5,200 merchants, and non-Plus stores face an August 26, 2026 upgrade deadline after which legacy customizations are removed automatically. The dangerous part is the failure mode: after an auto upgrade, tracking pixels, tag managers, affiliate scripts, and post purchase apps can stop working with no visible storefront error. This is a decision and execution guide, not a countdown clock: what changed, what breaks silently, and how to migrate without losing conversion tracking.

Aug 26, 2026 Headless Commerce

Shopify Sidekick in Winter 2026: What the Agentic Admin Assistant Actually Does

Shopify's Winter 2026 edition pushed hard into intelligence and automation, and the clearest expression of that bet is Sidekick, the admin assistant that now sits inside the merchant dashboard. The pitch is simple: instead of clicking through menus to build a discount, segment customers, or read your analytics, you ask Sidekick in plain language and it does the work in the admin. This post separates what Sidekick actually ships in the Winter 2026 cycle from the marketing, reads it as an operator would, and explains where an in admin agent genuinely saves time and where it is still faster to do the task yourself. Sidekick is one of more than 150 updates in the release, and it sits alongside Agentic Storefronts and a set of checkout and analytics changes that together signal where Shopify thinks commerce is heading.

Aug 25, 2026 AI Tooling

Antigravity 2.0 vs Cursor: Multi-Agent IDE Workflows Compared (August 2026)

Google relaunched Antigravity at I/O on May 19, 2026 as a five surface platform: a desktop app, a CLI, an SDK, a Managed Agents API, and an Enterprise Agent Platform, all built around running several agents at once with scheduled background tasks and Gemini 3.5 Flash as the default model. Cursor made the same conceptual move, reworking its core loop from a single composer to multiple agents running in parallel with a dedicated Agents view and cloud agent environments that run on isolated copies of your repo. The two products now rhyme, which makes the choice less about who has agents and more about how each one exposes orchestration, where the work executes, and what you pay to run it. This post compares the two on architecture, control surface, execution model, and pricing, and explains which team profile each one actually fits.

Aug 25, 2026 AI Tooling

Claude Agent SDK in Production: Building Durable Agents Beyond the Demo (2026)

The Claude Agent SDK is the same agent infrastructure that powers Claude Code, exposed as a library: the agent loop, built in tools for reading files and running commands and searching the web and editing code, hooks, sessions, MCP support, and subagents that run in isolated context windows and report only what matters back to an orchestrator. Two features decide whether an agent survives contact with real work. The first is context compaction, which automatically summarizes earlier messages as the context limit approaches so a long running agent does not simply run out of room. The second is the session on ClaudeSDKClient, which you can persist and resume so an agent picks up where it left off. It ships in Python and TypeScript, and from June 15, 2026 Claude subscription plans include a separate monthly Agent SDK credit. This post is about what those primitives change in how you design an agent, and where an SDK is the right tool versus a heavier orchestration framework.

Aug 25, 2026 Headless Commerce

commercetools vs Shopify Plus: The Enterprise Headless Decision (2026)

The choice between commercetools and Shopify Plus is not a feature checklist, it is a decision about how much of your commerce stack you want to own. commercetools is MACH infrastructure: microservices, API first, cloud native, headless, with no frontend, no opinions about your data model, and no prescriptions about checkout, priced from roughly 40,000 to more than 500,000 dollars a year before you add the headless CMS, search layer, and frontend team that a composable stack requires. Shopify Plus is the opposite bargain: an opinionated platform at roughly 2,000 to 2,500 dollars a month plus a 0.2 percent transaction fee and app spend, that ships in weeks rather than quarters. What changed in 2026 is that Shopify's Winter edition pushed hard into agentic commerce, with Storefront MCP for Hydrogen and AI discovery for headless stores, which narrows the flexibility gap that used to justify going fully composable. This post is a decision framework, not a scorecard: what each platform actually costs, how long each takes, and which revenue and complexity profile each one fits.

Aug 25, 2026 AI Tooling

Grok Build: What xAI's Agentic Coding Tool Actually Ships (August 2026)

xAI moved into the agentic coding fight with Grok Build, and its opening move is price. The Grok Build 0.1 model lists at 1 dollar per million input, 0.2 dollars per million cached input, and 2 dollars per million output, which undercuts the frontier tiers most coding agents default to. Above it sits Grok 4.6 with a 500K token context window, reasoning, function calling, and structured outputs, priced at 2 dollars input and 6 dollars output per million below 200K tokens, and positioned for long running agents doing research, codebase analysis, and application development. xAI has run this playbook before: at the grok-code-fast-1 launch it partnered with seven IDE adjacent tools for a free period. This post separates what Grok Build actually ships from the noise, reads the pricing against the incumbents, and explains where a cheap, fast coding model earns its place and where it does not.

Aug 25, 2026 Local AI Infrastructure

Ollama 0.19 MLX Backend on Apple Silicon: What the Switch Buys (2026)

Ollama 0.19, released March 30, 2026, switched its Apple Silicon inference from the llama.cpp Metal backend to MLX, and on the reference test decode throughput jumped from 58 to 112 tokens per second. That is close to a doubling for the interactive part of a local workload, and it lands because MLX is purpose built for Apple's unified memory rather than ported onto it. The gain is not uniform: MLX leads by roughly 20 to 87 percent for models under 14B, then converges with llama.cpp above about 27B where memory bandwidth becomes the ceiling and the backend stops being the bottleneck. This post explains what the backend switch actually changes, where the decode gain shows up and where it disappears, how prefill and decode behave differently, and how to verify the backend and measure the numbers on your own hardware rather than trusting a headline.

Aug 24, 2026 AI Tooling

Agent Client Protocol: The Editor to Agent Standard Behind Devin Desktop (2026)

When Cognition retired the Windsurf brand and relaunched the editor as Devin Desktop on June 2, 2026 with support for the open Agent Client Protocol, it made a bet that the editor and the agent should stop being welded together. Agent Client Protocol, first published by Zed Industries in August 2025, is a small idea with large consequences: standardize the messages between a code editor and a coding agent so that any editor can drive any agent, the same way the Language Server Protocol let any editor talk to any language server. It runs as JSON-RPC 2.0 over stdio, with the editor launching the agent as a subprocess and keeping control of the workspace, the permissions, and the user experience. This post explains how ACP works, why it is not the same thing as MCP, and what a standard editor to agent interface changes for teams building or buying agentic coding tools.

Aug 24, 2026 AI Tooling

Computer Use Agents in Production: Reliability and Cost Reality (2026)

Computer use agents crossed a symbolic line in 2026: on the OSWorld-Verified leaderboard the top models now sit above 85 percent, past the 72.4 percent human baseline, with Qwen3.8 Max at 86.1 percent and Claude and others clustered just behind. Google shipped Computer Use in preview with Gemini 3.7 Flash, and every major lab now has an agent that can drive a graphical interface. It is tempting to read a benchmark above the human baseline as a signal that these agents are ready to run real workflows unattended. That reading is wrong, and the gap between a passing OSWorld score and a reliable production automation is where most projects fail. This post explains what an OSWorld number actually measures, why per step accuracy compounds badly over long trajectories, and how to size the reliability, cost, and latency of a computer use agent before you put it in front of a real business process.

Aug 24, 2026 AI Tooling

Gemini 3.7 Flash vs Gemini 3.6 Flash: What the Coding and Agent Upgrade Buys (2026)

Gemini 3.7 Flash shipped on August 13, 2026 as Google's cheap agentic workhorse, and on paper the generational jump over 3.6 Flash is real: FrontierCode climbs from 34.4% to 43.6% and DeepSWE from 49.0% to 65.3%, a sixteen point gain on software engineering tasks that is large for a same tier upgrade. It carries a one million token input window, decodes fast at roughly 340 tokens per second, and lands at 56 on the Artificial Analysis Intelligence Index. The number that decides whether you should move now, though, is not on the benchmark chart. It is the pricing schedule. Intro rates of $0.75 per million input and $3.75 per million output hold only through December 31, 2026, after which they double to $1.50 and $7.50. This post reads the coding and agent gains against the previous generation, works out where the speed and the window matter, and explains why the price step change should shape how you plan the migration.

Aug 24, 2026 AI Infrastructure

Prompt Caching in Production: When It Actually Cuts Your LLM Bill (2026)

Prompt caching is the rare cost lever that is both large and underused. As of 2026 all three major hosted providers discount cached input by up to 90 percent: Anthropic charges 0.10x the base input rate for a cache read, OpenAI discounts cached input automatically above a token threshold, and Google bills context caching by stored token time rather than per token. The catch is in the mechanics. Caching only ever discounts input tokens, never output, and it only pays off when a large, stable prefix is reused often enough to clear the write premium and any storage fee. Get the prefix ordering wrong, or cache a prompt that changes every call, and you pay more, not less. This post works the arithmetic that decides whether prompt caching cuts your bill, walks the provider specific pricing that changes the answer, and lays out the prompt structure that makes caching pay.