What Is Amazon Bedrock? AWS Generative AI Explained

You want a chatbot, a document summarizer or an AI agent inside your product, and you don’t want to rent GPUs or sign five separate AI contracts. Amazon Bedrock is the AWS service built for exactly that.

So, what is Amazon Bedrock? It’s a fully managed service that gives you more than 100 foundation models from Amazon, Anthropic, OpenAI, DeepSeek, xAI and others behind one AWS API.

You pay per use, your data stays in your AWS account’s controls, and there are no servers to run. If you’d rather train and host your own models, that’s Amazon SageMaker territory instead.

Last checked against the AWS docs on December 1, 2026.

Pick Bedrock if you want to call ready-made AI models from AWS with IAM, CloudTrail and one bill.

Pick SageMaker if you need to train, fine-tune heavily or host a model you own on GPUs you size.

Pick a provider’s own API only if you need one model and none of the AWS controls.

This post contains affiliate links. As an Amazon Associate, Stepstocloud.com earns from qualifying purchases.

If you’re building your first AI app, the service docs explain the buttons but not the craft. Chip Huyen’s AI Engineering covers prompts, RAG, evaluation and agents in a way that carries straight over to Bedrock.

What is Amazon Bedrock: one API gateway connecting apps to many AI foundation models
Bedrock puts models from many providers behind one AWS endpoint, so switching models is a change of model ID, not a new contract.

Amazon Bedrock in plain terms

Think of Bedrock as a model marketplace with a single plug. Anthropic’s Claude, OpenAI’s GPT models, Amazon Nova, DeepSeek, Kimi from Moonshot AI and xAI’s Grok all sit behind the same AWS endpoint.

You send a prompt, name the model, and get an answer back.

Everything else is the AWS part, and that’s the real reason teams choose it.

Access runs through IAM, every call shows up in CloudTrail, usage lands on your normal AWS bill, and the models run in accounts the Bedrock team operates, not the model makers.

AWS’s Bedrock data protection page is specific about that last point: model providers have no access to those deployment accounts, so they can’t see Bedrock logs or your prompts and completions.

What you can build with it

Calling a model is only the start. Bedrock bundles the pieces most AI apps need next. Here’s which one solves which job:

See also  What Is AWS Redshift: Top Features, Pricing + How To Use
Your jobBedrock featureWhat it does
Chat, summarize, write, classifyInference APIs (Converse, InvokeModel, OpenAI-compatible APIs)Send prompts to any supported model
Answer from your own documentsKnowledge BasesRetrieval augmented generation (RAG) over your data
Block harmful or private contentGuardrailsFilters inputs and outputs, masks sensitive information
Agents that use tools and take actionsBedrock AgentCoreRuns and governs agents built with any framework or model
A model that speaks your domainModel customizationFine-tuning, continued pre-training, distillation
Millions of prompts overnightBatch inferenceReads prompts from S3, writes answers back to S3
Lower cost on repeated contextPrompt cachingReuses long prompts to cut latency and input token cost

Knowledge Bases: answers from your own data

A model knows the public internet up to its training cutoff, not your HR policy or product manual. Bedrock Knowledge Bases searches your files first, then hands the relevant passages to the model so the answer is grounded in them.

Amazon Bedrock Knowledge Bases retrieval: documents and a database feed relevant snippets to an AI model that answers
RAG doesn’t retrain the model; it looks up relevant passages at question time and adds them to the prompt.

Your source files usually live in Amazon S3. This is the feature behind most “chat with our documents” projects, and it’s cheaper to keep current than fine-tuning, since you just update the files.

The Knowledge Bases guide lists the supported data sources and vector stores.

Guardrails: rules the model can’t skip

Guardrails sit between users and the model. You set denied topics, content filters and sensitive-information rules once, and they apply to every model you call. Swap Claude for Nova next quarter and your safety rules come along.

Amazon Bedrock Guardrails shield letting safe chat messages through to the model and blocking harmful ones
One guardrail can check both what users send and what the model answers, whichever model sits behind it.

AgentCore: where agents live now

The original Bedrock Agents feature is now called Agents Classic, and new sign-ups are closed. New agent work goes to Amazon Bedrock AgentCore, which runs agents built with CrewAI, LangGraph, LlamaIndex or Strands Agents, using any model.

How you call Bedrock

Bedrock has two inference endpoints. For most new apps, AWS recommends bedrock-runtime. The other, bedrock-mantle, is for features that only live there today, such as server-side web search, background requests and Projects.

Amazon Bedrock docs comparing the bedrock-runtime and bedrock-mantle endpoints and their API support
(1) Both endpoints share one inference engine; (2) only bedrock-runtime supports InvokeModel and Converse; (3) both take OpenAI-style APIs.

Both endpoints accept the OpenAI-compatible Chat Completions and Responses APIs and Anthropic’s Messages API.

In practice, an app already written with the OpenAI SDK can move to Bedrock by changing the base URL and the API key, as the Bedrock endpoints guide explains.

From the AWS CLI (after you install and sign in to the AWS CLI), two commands get you from zero to an answer. These are bash-style quotes; PowerShell needs the JSON escaped differently.

# 1. See which Claude model IDs your Region offers
aws bedrock list-foundation-models \
  --region us-east-1 \
  --by-provider anthropic \
  --query "modelSummaries[].modelId"

# 2. Send one prompt with the Converse API
aws bedrock-runtime converse \
  --region us-east-1 \
  --model-id global.anthropic.claude-opus-4-7 \
  --messages '[{"role":"user","content":[{"text":"Explain Amazon Bedrock in one sentence."}]}]'

The global. prefix is a cross-Region inference profile. Bedrock may serve the request from another commercial Region for more capacity.

See also  What Is AWS? Amazon Web Services Explained for Beginners

Use a us. or eu. profile instead when data must stay in one geography, which matters for UK GDPR and Canadian data rules.

Credentials and API keys

The CLI and SDKs sign requests with your normal AWS credentials. Bedrock also offers API keys for OpenAI-style code: short-term keys last up to 12 hours and inherit your IAM permissions, which AWS recommends for production.

Long-term keys create an IAM user behind the scenes and are meant for exploration only. The short-term ones work much like the temporary credentials AWS STS hands out for roles.

Model access is automatic now, with three catches

Older guides tell you to request each model on a “Model access” page. That’s out of date.

Per the current model access guide, most models are enabled by default; your first call to a third-party model starts an AWS Marketplace subscription in the background.

When that first call fails with AccessDeniedException, it’s almost always one of these:

SymptomLikely causeFix
AccessDenied on a third-party modelRole lacks aws-marketplace:Subscribe, Unsubscribe, ViewSubscriptionsAdd those three actions, wait about 2 minutes, retry
AccessDenied on an older Claude modelAnthropic First Time Use form not filled inSubmit the use-case form in the Bedrock console (not needed from Claude Opus 4.7 on)
Subscription keeps failingNo valid payment method for Marketplace purchasesAdd or fix the card in Billing
Model “not found”Model not offered in your RegionUse a cross-Region profile or a Region that lists it
Calls work for a few minutes, then failBackground subscription failed after a missing prerequisiteFix the prerequisite; the setup can take up to 15 minutes

How Bedrock pricing works

For text models you pay per input and output token, and each model has its own price. There’s no monthly fee just to have Bedrock turned on.

Prices change often, so check the model’s row on the Bedrock pricing page before you commit.

Four service tiers let you trade speed for cost on each request:

  • Standard: the default for everyday requests.
  • Flex: a discount for work that can wait, such as evaluations and bulk summaries.
  • Priority: faster responses for a premium, no reservation needed.
  • Reserved: capacity booked for 1 or 3 months, from 100,000 input tokens per minute; arranged through your AWS account team.

The bill that surprises people is rarely the chat itself. It’s a loop that resends a huge document on every turn, or an agent that calls a model dozens of times per task.

Turn on prompt caching for long, repeated context, and set an AWS billing alert before you share a demo.

Bedrock vs SageMaker vs calling a provider directly

Ready-made AI models on a shelf next to a workshop building a custom model, showing Bedrock versus SageMaker
Bedrock is the shelf of ready models; SageMaker is the workshop where you build and host your own.
Amazon BedrockAmazon SageMakerProvider’s own API
What you getReady foundation models, many providersTools to train, tune and host any modelOne provider’s models
Servers to manageNoneYou pick instance types (often GPUs)None
BillingPer token on your AWS billPer instance hour and storageSeparate contract and invoice
AWS IAM, CloudTrail, VPC controlsYesYesNo
Best forApps and agents on existing modelsCustom ML and models you ownQuick tests of a single model

Plenty of teams use both: Bedrock for the generative features, SageMaker for a fraud or forecasting model they trained themselves.

See also  What Is AWS Athena: 9 Features, Pricing [Athena Tutorial]

Mistakes to avoid in your first Bedrock project

  1. Following a 2024 tutorial. Model access, Agents and the endpoints have all changed; check the current docs.
  2. Using a global profile for regulated data. Pick a us. or eu. profile, or a single Region, when residency matters.
  3. Shipping a long-term API key. It’s an IAM user key in disguise; use short-term keys or roles.
  4. Fine-tuning first. Try better prompts and a Knowledge Base before paying to customize a model.
  5. No Guardrails on a public chatbot. Add them before launch, not after the first bad screenshot.

Books for building AI apps

Stack of AI engineering books

AI Engineering (Chip Huyen, O’Reilly)

Prompts, RAG, evaluation and agents: the craft behind a Bedrock app.

Check price on Amazon
Stack of large language model books

Hands-On Large Language Models (O’Reilly)

Explains embeddings and retrieval, the ideas Knowledge Bases run on.

Check price on Amazon

Frequently asked questions

Is Amazon Bedrock free?

No. There is no fee to turn Bedrock on, but every model call is billed, usually per input and output token at that model’s own price. Batch jobs, the Flex tier and prompt caching can lower the cost, and a billing alert keeps experiments from running up a surprise bill.

What is the difference between Amazon Bedrock and SageMaker?

Bedrock gives you ready-made foundation models through an API, with no servers to manage and per-token billing. SageMaker is for training, tuning and hosting your own machine learning models on instances you choose. Use Bedrock to build on existing models and SageMaker when you own the model.

Which AI models are available on Amazon Bedrock?

More than 100 foundation models, including Amazon Nova, Anthropic Claude, OpenAI GPT models, DeepSeek, Moonshot AI Kimi, MiniMax and xAI Grok, plus models from Meta, Mistral, Cohere, Qwen and others. Availability differs by AWS Region, so list the models for your Region before you build.

Does Amazon Bedrock use my data to train models?

According to AWS, models run in deployment accounts operated by the Bedrock team, and model providers have no access to those accounts, Bedrock logs, or your prompts and completions. You keep control of your data with IAM, encryption and logging settings in your own AWS account.

Do I need to request model access in Amazon Bedrock?

Not for most models any more. Access is enabled by default if your role has the AWS Marketplace subscribe permissions and the account has a valid payment method. Older Anthropic Claude models still need a one-time use-case form before the first call.

Can I use the OpenAI SDK with Amazon Bedrock?

Yes. Bedrock supports OpenAI-compatible Chat Completions and Responses APIs on its endpoints, so existing OpenAI SDK code can call Bedrock models by changing the base URL and using a Bedrock API key. AWS recommends short-term API keys for production use.

Conclusion

Amazon Bedrock is the quickest way to put modern AI models inside an AWS app without running GPUs or juggling vendor contracts. Start small, keep the AWS controls on, and grow into the extra features as you need them.

  • Bedrock gives you 100+ foundation models from many providers through one AWS API, billed per token.
  • Use bedrock-runtime for new apps; OpenAI-style code moves over with a new base URL and key.
  • Model access is on by default; AccessDenied usually means Marketplace permissions, the Anthropic form or billing.
  • Knowledge Bases, Guardrails and AgentCore cover RAG, safety and agents.
  • Choose SageMaker instead when you train or host your own model.
What is Amazon Bedrock pin: AWS generative AI service explained

Recommended reading

Leave a Comment