AWSAzureAmazon BedrockAzure OpenAICost optimizationFinOps

Amazon Bedrock and Azure OpenAI Pricing: What Drives the Bill

How Amazon Bedrock and Azure OpenAI charge: tokens, batch, caching, tiers, provisioned capacity and fine-tuned hosting, and how to keep AI spend down.

·· 7 min read

AI features have an unusual cost profile. A normal web request costs roughly the same whoever sends it. A request to a large language model costs whatever its tokens cost. The same feature can be cheap for one user and expensive for the next, and a small prompt change can double the bill overnight.

This guide explains how Amazon Bedrock and Azure OpenAI charge, where the money usually goes, and what to change. It covers pricing models, not price lists: per-token prices differ by model and Region and change often, so always check the Bedrock pricing page and the Azure OpenAI pricing page for current figures. Tiers and discounts below are as published in November 2026.

The one thing to understand: you pay per token

Both services bill mainly per token, a chunk of text of a few characters. Input tokens (what you send) and output tokens (what the model writes) are priced separately, and output is usually the more expensive of the two.

Everything you send counts as input on every call: the system prompt, the conversation history, any documents retrieved for retrieval-augmented generation (RAG), tool definitions, and the user’s message. A chat feature that resends the whole conversation on each turn pays for the first message again on every reply.

So the bill is driven by tokens per request × requests, not by users. That is why AI spend often grows faster than usage.

How Amazon Bedrock charges

Option How it is billed When it fits
On-demand (Standard tier) Per input and output token, per model Default for most applications
Flex tier 50% below Standard Work that can tolerate lower priority
Priority tier 75% above Standard Latency-critical traffic
Batch inference 50% below on-demand, for supported models Jobs that do not need an immediate answer
Prompt caching Cache reads and cache writes priced separately from normal input Repeated long context: system prompts, documents, tool definitions
Provisioned Throughput Hourly per model unit, with no-commitment, 1-month and 6-month options Steady, high-volume traffic that needs guaranteed capacity
Intelligent Prompt Routing $1 per 1,000 requests Routing simple requests to a cheaper model in the same family

Around the model itself, Bedrock bills several features separately:

  • Guardrails: most filters are billed per 1,000 text units, where a text unit is up to 1,000 characters. Regex sensitive-information filters and word filters are free.
  • Knowledge Bases: index storage per gigabyte per month and retrieval per 1,000 API calls on the managed option. If you bring your own vector store, that store has its own costs, and some vector databases bill a minimum capacity even when idle.
  • Custom models: imported models are billed per Custom Model Unit per minute in 5-minute windows and scale to zero after 5 minutes without calls, so expect cold starts. Fine-tuned models carry a monthly storage charge plus the cost of the capacity they run on.

How Azure OpenAI charges

Option How it is billed When it fits
Standard (Global, Data Zone, Regional) Pay-as-you-go per input, cached input and output token Default for most applications
Batch 50% below Global Standard, results within 24 hours Bulk processing
Priority processing Separate, higher per-token rate on supported models Latency-critical traffic
Provisioned (PTUs) Hourly per provisioned throughput unit, regardless of usage, with monthly and yearly reservations Steady, high-volume traffic
Fine-tuned model hosting Hourly per deployment, whether or not it is called, plus per-token inference Custom models in production

Two Azure details catch teams out:

  • Provisioned deployments have minimums. Microsoft lists a minimum PTU count per model and deployment type (15 for most Global and Data Zone deployments, higher for Regional). You are paying for that floor every hour.
  • Fine-tuned deployments bill while idle. Storing a fine-tuned model is free; deploying it starts an hourly hosting charge. Microsoft deletes deployments with no calls for 15 consecutive days, but that can still be two weeks of hosting for nothing. A Developer deployment type with no hourly hosting fee exists for evaluating candidate models, without an availability SLA.

Where AI bills actually come from

These are the patterns to look for, roughly in order of how much they tend to cost.

1. Context that grows with every turn. Resending full conversation history, large system prompts and every retrieved document on each call. Summarise older turns, trim the system prompt, and retrieve fewer, better chunks.

2. The biggest model for everything. Classification, extraction, routing and short answers rarely need the most capable model. Use the smallest model that does each task well and send only the hard cases to a larger one. On Bedrock, Intelligent Prompt Routing can do this within a model family.

3. Long outputs. Output tokens usually cost more than input tokens. Cap the response length, ask for structured output instead of prose where the result feeds code, and don’t ask the model to repeat the input back.

4. Agents and retries. An agent that plans, calls tools and reflects can make many model calls for one user action. A retry loop on a timeout can double a request’s cost. Count model calls per user action, not just requests to your API.

5. Repeated context that is not cached. If many requests share the same long prefix, such as instructions, a policy document or tool definitions, prompt caching bills the repeated part at the cache rate. Put the stable content first so it can be cached.

6. Real-time pricing for work that is not real-time. Nightly summaries, back-office document processing and evaluation runs can go through batch at half price, or the Flex tier on Bedrock.

7. Capacity nobody uses. Provisioned Throughput on Bedrock, PTUs on Azure and deployed fine-tuned models on Azure all bill by the hour. Check their utilisation monthly. If it is low, on-demand is probably cheaper.

8. Logging every prompt and response. Invocation logging is valuable for debugging and audit, but full prompts and responses are large. Logging them into CloudWatch Logs or Log Analytics with no retention limit adds a second bill on top of the model one. Set retention, and log samples rather than everything where that is enough.

A Gulf-specific check: where does inference run?

If you call Bedrock from the Middle East (UAE) Region, me-central-1, look at the model card before you pick a model. For many current Anthropic Claude models, AWS lists global cross-Region inference as the only supported option from me-central-1, with no in-Region or geographic option. Global inference can process a request in any supported commercial Region.

AWS states that global inference is priced at the source Region’s rates and that stored data, such as invocation logs and knowledge bases, stays in the source Region. The model processing itself can still happen elsewhere. On Azure, Data Zone deployments cover the EU and the US only, so keeping processing in one place means a Regional deployment in a Region where your model is available.

None of this is a cost problem as such, but it can become a compliance one. If the prompts contain personal data covered by the Saudi PDPL, or data your organisation must keep in-country under rules such as the UAE IA Regulation or NCA ECC, check where inference is processed before you choose the model, not after the feature ships.

Make AI cost visible per feature

You cannot control what you cannot see. With several features sharing one account, the bill shows tokens by model, not by feature.

  • On Bedrock, create an application inference profile per feature or team and tag it. Usage through that profile then shows up under your cost allocation tags.
  • On Azure, use separate deployments per application and tag the resources, and track usage per deployment in Azure Monitor.
  • In your application, log input and output token counts per feature from the API response. That is the number product decisions need.
  • Set alerts. AWS Budgets and Cost Anomaly Detection, or Azure budgets, on the AI services specifically, so a prompt change that doubles cost is caught in days.

For the rest of the cloud bill, see Why is my AWS bill so high?. If you want help working through it, our cloud cost optimization service covers Bedrock and Azure OpenAI spend alongside the rest of your AWS and Azure costs.

Frequently asked questions

How is Amazon Bedrock priced?

On-demand Bedrock usage is billed per input token and per output token, at a rate that depends on the model. Bedrock also offers a Flex tier at 50% below Standard, a Priority tier at a 75% premium, batch inference at 50% below on-demand for supported models, separate rates for prompt cache reads and writes, and Provisioned Throughput billed hourly per model unit with 1-month or 6-month commitment options. Guardrails, Knowledge Bases and custom models are billed separately.

How is Azure OpenAI priced?

Standard deployments are pay-as-you-go per input, cached input and output token, deployed as Global, Data Zone (EU or US) or Regional. The Batch API returns results within 24 hours at 50% off Global Standard pricing. Provisioned deployments are billed hourly per provisioned throughput unit regardless of usage, with monthly and yearly reservations available. Deployed fine-tuned models also carry an hourly hosting charge.

Why is my Bedrock or Azure OpenAI bill so high?

Usually because each request carries more tokens than it needs to: long system prompts, full conversation history resent on every turn, too many retrieved documents in RAG, and verbose outputs. Using the largest model for every task, agent loops that call the model many times per user action, and retries multiply that. On the capacity side, idle Provisioned Throughput, idle PTUs and deployed fine-tuned models that nobody calls keep billing by the hour.

Is batch inference cheaper on Bedrock and Azure OpenAI?

Yes. AWS prices Bedrock batch inference 50% below on-demand for supported models, and Microsoft prices the Azure OpenAI Batch API at 50% below Global Standard, with results returned within 24 hours. Batch suits work that does not need an immediate answer, such as document classification, summarisation, data extraction and evaluations.

Does Bedrock in the UAE Region keep inference inside the UAE?

Not necessarily. For many current Anthropic Claude models, the Bedrock model cards list only global cross-Region inference as supported from the Middle East (UAE) Region, me-central-1. Global inference can route a request to any supported commercial Region. AWS states that stored data such as invocation logs and knowledge bases stays in the source Region and that global inference is priced at source-Region rates, but the processing itself may happen elsewhere. If your data is subject to residency rules, check the model card and your obligations before choosing a model.

Do Azure OpenAI fine-tuned models cost money when not in use?

Yes. A deployed fine-tuned model incurs an hourly hosting charge whether or not it receives any calls, on top of the per-token inference charge. Storing the fine-tuned model without a deployment is free, and Microsoft automatically deletes deployments that receive no calls for 15 consecutive days. Delete deployments you do not need and redeploy when you do.

Hussein Ayoub

Written by

Hussein Ayoub, Founder, Cloud Security & DevOps

Cloud security and DevOps engineer focused on AWS and Azure. AWS Certified Security – Specialty, DevOps Engineer – Professional and Solutions Architect – Professional, and an ISO/IEC 27001 Lead Auditor. Leads Pavora's security assessments, penetration tests, DevOps engagements and AWS training.

Is your AI bill growing faster than your users?

Book a free call. We will look at how your application calls Bedrock or Azure OpenAI and where the tokens go.