LIVE · Thursday 3 December

Cutting LLM Token Spend on Azure OpenAI and Bedrock: The Enterprise Playbook, Lever by Lever, in Order

For 40 teams on two clouds, the savings come from a shared gateway, prompt caching and a cheaper default model, not from asking teams to rewrite code. Here is the order, the official discounts and the traps that reverse them.

By Thomas12 min read

The playbook for cutting LLM token spend across Azure OpenAI and Amazon Bedrock without slowing teams down is to put the cost controls in a shared platform layer, not in each team's code. In order: attribute every call to a team through an AI gateway, show teams their bill before charging them for it, turn on prompt caching and the 50% asynchronous discounts, make a cheaper model the default with an opt-up path, enforce quotas and alerts instead of approvals, and buy reserved capacity last. On list prices for a sample 40-team estate, those steps take a $110,000 monthly bill to about $43,600, but most of that saving depends on prompt layout and on teams' quality tests, not on switching a feature on.

No vendor publishes this order as a standard. It follows from one rule: do the things that change the bill but not the output first, and the things that change the output only once you can measure quality per team.

Why attribution comes first

A 40-team estate cannot cut what it cannot assign. Both clouds can tag spend to a team, but in different places, so the first job is to make the two look alike.

On Azure, the natural control point is Azure API Management's AI gateway. Microsoft's documentation describes an llm-emit-token-metric policy that sends token counts to Azure Monitor with custom dimensions, so a team or application ID taken from the caller's subscription key or a header becomes a filter on every chart. The same gateway can front more than Azure: its docs say it manages models "in non-Microsoft providers such as Amazon Bedrock," and a unified model API, in preview, exposes several backends through one OpenAI-compatible endpoint. That makes a single gateway for both clouds possible, though it is not required.

On Bedrock, AWS's cloud financial management blog of June 29, 2026 recommends application inference profiles carrying cost allocation tags such as team, project and environment, plus a CUR 2.0 export with caller identity included, so spend shows up per IAM role. An application inference profile can wrap a cross-Region system profile, so teams keep the capacity benefits of cross-Region routing and still get their own line on the bill.

Tags feed showback, not chargeback, at first. Microsoft's FinOps guidance suggests tagging AI resources with "model version, environment, business unit, and experiment ID" and using the FOCUS billing format because it "enables cross-cloud comparisons." Showing each team its own cost lets it see what its prompts and model choices cost before money changes hands. The FinOps Foundation adds a caution worth putting on the dashboard: "Token economics which only accounts for tokens is therefore a partial view," because engineering and governance costs sit outside the per-token bill. Track cost per request or per task alongside raw tokens.

The signal to move on: every team's traffic carries a team ID on both clouds, and the dashboard shows cost per request, cache-hit and cache-write rates per team.

The lever table

Lever Azure OpenAI Amazon Bedrock Who changes code
Attribution and quotas APIM llm-emit-token-metric, llm-token-limit per counter key Application inference profiles with cost tags; CUR 2.0 caller identity Platform only
Prompt caching Automatic at 1,024+ identical tokens; cached input $0.20 vs $2.00 on GPT-6 Sol Claude needs explicit cache_control; reads $0.10 vs $2.00 on Sonnet 5.5 Shared SDK wrapper; teams order prompts
50% async discount Flex (preview) on GPT-6 and 5.6; Global Batch to GPT-5.5 Batch for Claude up to Sonnet 4.6 and Opus 5; Flex on some models Platform for Flex; teams for batch jobs
Default-small routing GPT-6 Luna at 1/20 of GPT-6 Sol Haiku 5.5 at 1/20 of Sonnet 5.5 input and output Teams run quality tests
Semantic caching APIM semantic cache with Redis Through the same gateway Platform, per app
Reserved capacity PTUs, hourly or 1-month/1-year reservations Reserved tier, 1 or 3 months Platform

Prices are per million tokens at global, short-context list rates: Azure's from Microsoft's retail price list (GPT-6 rates effective September 1, 2026), Bedrock's from the AWS price list published November 9, 2026.

Prompt caching: the biggest discount, and the one most easily reversed

Prompt caching is a billing discount that leaves the answer unchanged. Microsoft's caching guide says it "has no impact on the output content returned in the model response beyond a reduction in latency and cost." That is why it comes before anything that touches model choice.

The two clouds trigger it differently. On Azure OpenAI caching is on by default, but only for prompts of at least 1,024 tokens whose first 1,024 tokens are identical; the guide says "a single character difference in the first 1,024 tokens results in a cache miss." On Bedrock, Claude models cache nothing unless asked: "Requests without cache controls aren't cached." AWS's simplest option is one top-level cache_control field, which Bedrock supports on Claude Sonnet 5.5, Haiku 5.5 and Opus 5.5. With 40 teams, the practical answer is a shared SDK wrapper that adds the marker on every Claude call and puts fixed content (tools, system prompt, reference documents) before variable user input on both clouds.

Two changes in the past year turned caching from a free win into something that needs watching. First, writing to the cache now costs more than ordinary input on the newer models. Microsoft says that on GPT-5.6 and later, "cache writes can incur charges in addition to discounted cache reads," and 12-hour cache writes are billed from November 1, 2026. AWS's caching guide says GPT-5.6 and later on Bedrock bill writes at "1.25x the uncached input token rate," and Claude Sonnet 5.5's global list price for a five-minute write is $2.50 per million against $2.00 for plain input. A prompt that is written to cache and never read back costs a quarter more than not caching at all. Read prices move too: AWS's pricing page says cache-read pricing for Claude Sonnet 5.5 was cut by 50% from October 7, 2026, so a break-even worked out in the summer is already out of date.

Second, the layout of the estate decides the hit rate. Azure's guide says "the system doesn't share prompt caches between Azure subscriptions," so if every team has its own subscription, two teams sending the same 3,000-token policy document never share a cache entry. On Bedrock a cache entry lives on the server that handled the request, and AWS warns that cross-Region inference "may lead to increased cache writes" at busy times. Workloads that share a long prefix belong in one subscription or account, behind one gateway route, with a stable prompt_cache_key on the GPT-5.6-and-later models, where Microsoft notes that more than about 15 requests a minute on one key can start missing the cache.

The metric that matters is the ratio of cache writes to cache reads per team. Both clouds return it in the response: cached_tokens and cache_write_tokens on the OpenAI models, cacheReadInputTokens and cacheWriteInputTokens on Bedrock's Converse API.

The 50% discount has moved

Both clouds sell half-price inference for work that can wait, but the newest models changed where it lives.

On Azure, Global Batch is "50% less cost than global standard" with a separate queue quota and a 24-hour target. Microsoft's price list, however, has Global Batch rates for GPT-5.5 and earlier and none for any GPT-6 model. For GPT-6 and GPT-5.6, the discount comes from Flex processing, which Microsoft's documentation, dated October 12, 2026, still labels a preview: 50% off Standard, selected per request on the same Global Standard deployment, with cached-token discounts still applying. Flex has no latency SLA and returns HTTP 429 when capacity is short, with no automatic fallback. What makes it useful for a 40-team estate is the x-ms-service-tier header, which Microsoft documents for "a gateway, proxy, or centralized routing layer." The platform team can mark an evaluation or enrichment route as Flex at the gateway, with a retry to Standard, and no team touches its code.

On Bedrock, AWS's pricing page offers batch "at a 50% lower price compared to on-demand" and a Flex tier "at 50% discount to Standard tier pricing." But Bedrock's batch-supported model table lists Claude up to Sonnet 4.6, Haiku 4.5 and Opus 5, not Sonnet 5.5, Haiku 5.5 or Opus 5.5, and the AWS price list has no batch or Flex rate for Sonnet 5.5. AWS's caching guide also says caching "is not supported with the batch inference API." For a team on Sonnet 5.5 with a well-cached prompt, moving offline work to Sonnet 4.6 batch can cost more, as the worked example shows.

The signal for this step is the share of each team's traffic tagged as tolerant of delay. If it is small, skip ahead.

Default-small routing, with an opt-up

Changing the default model is where real money is, and where quality can drop, which is why it comes after the discounts. The arrangement that keeps teams moving is a gateway default of the small model and a documented path to the larger one when a team's own tests show it needs it.

The price gaps are large and, at list prices, almost identical on both clouds. GPT-6 Luna is one-twentieth of GPT-6 Sol on every Azure rate. Claude Haiku 5.5 is one-twentieth of Sonnet 5.5 on Bedrock input and output, and one-tenth on cache reads.

AWS's own router is narrower than its marketing suggests. Bedrock Intelligent Prompt Routing routes "within a model family," and its page claims it "can reduce costs by up to 30% without compromising on accuracy." An AWS blog post from April 22, 2025 reported 56% for the Anthropic family, 35% for Nova and 16% for Meta, measured against the largest model in each family on AWS's own tests. The Anthropic models the router page lists are Haiku, Haiku 3.5 and Sonnet 3.5, so it does not cover an estate standardised on Claude 5.5. The opt-up default at the gateway is the portable version.

Quotas, alerts and semantic caching

Quotas replace approval queues. APIM's llm-token-limit sets a tokens-per-minute cap or a quota per hour, day, week, month or year on any counter key, such as a team's subscription, and can reject an over-limit prompt before it reaches the model. AWS suggests tiered alerts: daily spend more than 20% above baseline, hourly tokens above the 95th percentile, error rates above 10% for 15 minutes. A runaway agent loop gets stopped; ordinary work never waits for a sign-off.

Semantic caching, which returns a stored answer to a similar question, belongs on a few routes, not as a default. Microsoft's policy reference warns that it "can surface responses that are incorrect, outdated, or unsafe for the current request," suggests starting the similarity threshold around 0.05, and says to partition entries by user or group with vary-by. It suits an internal FAQ bot; it does not suit anything personalised. Its savings depend entirely on how repetitive the questions are, and no figure for a typical estate has been published.

Reserved capacity last

Reserved capacity pays only when load is steady, and steadiness is visible only after the gateway has recorded months of traffic. Azure bills provisioned throughput units per hour "regardless of the number of tokens consumed," with discounts for one-month or one-year reservations that, Microsoft notes, "don't guarantee capacity." Bedrock's Reserved tier reserves tokens per minute for one or three months, needs at least 100,000 input and 10,000 output tokens per minute, and overflows to Standard. AWS also notes that the reservation's consumption includes cache-write tokens. Buy for the flat baseline the dashboard shows and leave peaks on pay-as-you-go.

What it adds up to on a sample estate

The figures below are arithmetic on list prices, not measurements of live traffic. Each step can be recomputed from the rates stated.

Assume 20 teams per cloud. Each cloud sends 20 billion input tokens and 1.5 billion output tokens a month, all on GPT-6 Sol (Azure) or Claude Sonnet 5.5 (Bedrock) at global rates of $2 in and $10 out per million. That is $55,000 a month per cloud, $110,000 in all.

Step Azure (GPT-6 Sol) Bedrock (Sonnet 5.5) Assumption
Starting bill $55,000 $55,000 No caching, all Standard
After caching $37,500 $36,500 50% of input read, 5% written
After Flex or batch $33,750 $36,500 20% of traffic can wait
After default-small $20,925 $22,650 40% passes tests on Luna or Haiku 5.5

Caching does most of the work: with half the input read from cache at $0.20 (Azure) or $0.10 (Bedrock) and 5% written at $2.50, input costs fall from $40,000 to $22,500 on Azure and $21,500 on Bedrock. If the prompt layout is poor, say 20% read and 30% written, the totals are $50,800 and $50,400, and most of the saving disappears.

The asynchronous step splits the clouds. On Azure, Flex halves the delay-tolerant 20% and saves $3,750. On Bedrock that share costs $7,300 a month on cached Sonnet 5.5 and $8,250 on Sonnet 4.6 batch at $1.50 input and $7.50 output, so the cheaper choice is to leave it where it is.

Routing assumes the small model uses the same number of tokens and caches the same way. The estate ends at $43,575, 60% below where it started. The routing share is the softest number here, and every one of these assumptions should be replaced with the team-level figures from step one.

When routing stops paying: specialised models

Once attribution is in place, it usually shows a few high-volume, repetitive workloads, such as a classifier, an extraction job or a support triage step, that dominate spend. For these, routing between off-the-shelf models leaves money behind, because even the small model is general-purpose. The option is a smaller model trained on that workload's own traffic.

AWS offers this inside Bedrock as model distillation, which its cost page claims makes models "up to 75% less expensive," with less than 2% accuracy loss for uses like RAG. Parsec, a small language model lab, sells a managed version that post-trains models on a customer's traffic and routes each turn between them; its comparison page claims "savings on real workloads: 60%" against "typical router savings" of 15%, without defining the workload or baseline. Parsec publishes no price for the service, and its pages do not mention VPC deployment for it, which matters for estates with residency rules. Specialisation is not worth doing for a workload with low volume, a task that changes monthly, or no evaluation set to prove the smaller model matches.

Bottom line

If the estate has no per-team attribution yet, do that before anything else; on both clouds it needs only platform work. If teams already see their costs, standardise prompt layout and caching through a shared wrapper and watch the cache-write ratio, since a bad layout can cost more than no cache. Send delay-tolerant GPT-6 traffic to Azure Flex at the gateway; on Bedrock, check the batch and Flex tables for your exact model before promising a 50% saving. Make the small model the default only with a quality test and an opt-up path, use quotas instead of approvals, and buy reserved capacity only for load the dashboard shows is flat.

Sources

More in Products

All Products →