AI · head to head
Amazon Bedrock vs AWS CDK

Amazon Bedrock
AI
AWS managed service for building generative AI applications and agents
- From
- On request
- Free plan
- No

AWS CDK
Developer Tools
Open source framework for defining AWS infrastructure in programming languages
- From
- Free
- Free plan
- Yes
The short version
- AWS CDK is an Apache 2.
- AWS CDK is free; Amazon Bedrock prices on request.
- Only Amazon Bedrock lists bedrock AgentCore for agents; only AWS CDK lists construct Library of reusable components.
- Where Amazon Bedrock falls short: requires an AWS account and is tied to AWS regions and services.
- Where AWS CDK falls short: targets AWS only, so it does not provision resources on other clouds.
How do Amazon Bedrock and AWS CDK differ?
Amazon Bedrock and AWS CDK differ on starting price (On request against Free), pricing model (Usage-based against Open-source) and free tier (No against Yes). Only the attributes on which Amazon Bedrock and AWS CDK actually diverge.
| Attribute | Amazon Bedrock | AWS CDK |
|---|---|---|
| Starting price | On request | Free |
| Pricing model | Usage-based | Open-source |
| Free tier | No | Yes |
| Platforms | Web | Windows, macOS, Linux |
| Category | AI | Developer Tools |
Which features does each one have?
They share no listed features; 8 appear only for Amazon Bedrock and 8 only for AWS CDK. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.
Only in Amazon Bedrock
- Access to many foundation models through one API
- Bedrock AgentCore for agents
- Guardrails for content filtering
- Knowledge Bases for retrieval-augmented generation
- Model evaluation tools
- Fine-tuning and prompt tools
- Per-token and provisioned throughput pricing
- Encryption and identity-based access controls
Only in AWS CDK
- Construct Library of reusable components
- CDK CLI for synthesis and deployment
- Programmatic CDK Toolkit Library
- Support for TypeScript, JavaScript, Python, Java, C# and Go
- Deployment through AWS CloudFormation
- Custom and shareable constructs
- Construct Hub registry
- Open source under Apache 2.0
What is each one used for?
Amazon Bedrock is most often brought in for adding generative AI to applications on AWS; AWS CDK for defining AWS infrastructure in TypeScript or Python. The jobs each tool is most often brought in to do.
Amazon Bedrock
- Adding generative AI to applications on AWSnot AWS CDK
- Retrieval-augmented generation over company datanot AWS CDK
- Building agents with guardrailsnot AWS CDK
- Comparing foundation models on cost and qualitynot AWS CDK
AWS CDK
- Defining AWS infrastructure in TypeScript or Pythonnot Amazon Bedrock
- Reusable internal infrastructure modulesnot Amazon Bedrock
- Serverless application stacksnot Amazon Bedrock
- Testing infrastructure with unit testsnot Amazon Bedrock
- Standardising environments across accountsnot Amazon Bedrock
Where do Amazon Bedrock and AWS CDK fall short?
Amazon Bedrock's most cited limit: requires an AWS account and is tied to AWS regions and services. AWS CDK's: targets AWS only, so it does not provision resources on other clouds. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
Amazon Bedrock
- Requires an AWS account and is tied to AWS regions and services
- Pricing varies by model, tier and commitment, so costs are hard to forecast
- Some provisioned throughput pricing requires contacting an account team
- Model availability differs between AWS regions
- Not a self-hosted option for teams needing full control
AWS CDK
- Targets AWS only, so it does not provision resources on other clouds
- Deploys through CloudFormation, so its resource coverage and limits apply
- Infrastructure written in code can be harder to review than declarative templates
- The AWS resources it creates are billed separately at standard AWS rates
How much do Amazon Bedrock and AWS CDK cost?
AWS CDK is free to use. Plan by plan below, from each vendor's own pricing page.
Amazon Bedrock
On requestNo published plan breakdown. See the Amazon Bedrock review.
AWS CDK
FreeNo published plan breakdown. See the AWS CDK review.
Which should you pick?
Choose Amazon Bedrock if
- You need access to many foundation models through one api.
- You also want bedrock agentcore for agents.
Choose AWS CDK if
- You need construct library of reusable components.
- You want to start without paying.
- You work on Windows, macOS, Linux.
- You also want cdk cli for synthesis and deployment.
Questions people ask
- Is Amazon Bedrock or AWS CDK better?
- It depends on the job. Amazon Bedrock fits adding generative AI to applications on AWS; AWS CDK fits defining AWS infrastructure in TypeScript or Python. Amazon Bedrock starts at On request and AWS CDK at Free.
- Which is cheaper, Amazon Bedrock or AWS CDK?
- AWS CDK has a free tier; the other does not. Paid plans start at On request for Amazon Bedrock and Free for AWS CDK.
- Does Amazon Bedrock or AWS CDK run on more platforms?
- Amazon Bedrock runs on Web. AWS CDK runs on Windows, macOS, Linux.
- Can I use AWS CDK for free?
- Yes. AWS CDK has a free tier, so you can try it without paying. Amazon Bedrock starts at On request.
- What is Amazon Bedrock best used for?
- Amazon Bedrock is most often used for adding generative ai to applications on aws, retrieval-augmented generation over company data, building agents with guardrails, comparing foundation models on cost and quality. Of those, adding generative ai to applications on aws and retrieval-augmented generation over company data are not what AWS CDK is typically brought in for.
- What can Amazon Bedrock do that AWS CDK cannot?
- Amazon Bedrock covers Access to many foundation models through one API, Bedrock AgentCore for agents, Guardrails for content filtering, Knowledge Bases for retrieval-augmented generation. AWS CDK covers Construct Library of reusable components, CDK CLI for synthesis and deployment, Programmatic CDK Toolkit Library, Support for TypeScript, JavaScript, Python, Java, C# and Go.
Answered from the vendors’ own pages
Amazon Bedrock: How is Amazon Bedrock priced?
Most models are billed per token with separate input and output rates, and batch inference is priced 50 per cent lower for selected models. Provisioned Throughput is billed hourly per model unit.
SourceAWS CDK: Which languages does AWS CDK support?
The AWS documentation lists TypeScript, JavaScript, Python, Java, C# and .NET, and Go. Infrastructure is defined as constructs composed into stacks and apps.
SourceAmazon Bedrock: When did Bedrock become available?
Amazon announced it on 13 April 2023, and it became generally available on 28 September 2023.
SourceAWS CDK: How does AWS CDK deploy resources?
CDK apps are synthesised and deployed through AWS CloudFormation. The documentation states this gives predictable, repeatable deployments with rollback on error.
SourceAmazon Bedrock: Does Bedrock train on my data?
AWS states that Bedrock never stores or uses your data to train models.
SourceAWS CDK: Is AWS CDK free?
It is open source under the Apache 2.0 licence according to its GitHub repository. The AWS resources you provision with it are charged at their normal rates.
SourceAmazon Bedrock: What compliance does it cover?
AWS lists ISO, SOC, CSA STAR Level 2, GDPR and FedRAMP High scope, and says Bedrock is HIPAA eligible.
SourceAWS CDK: When was AWS CDK first released?
Wikipedia reports a developer preview announced in 2018 and general availability on 11 July 2019. CDK v2 followed in 2021.
SourceRelated pages
More on Amazon Bedrock
Other head to heads
- Amazon Bedrock vs Azure OpenAI Service
- Amazon Bedrock vs Writer
- Amazon Bedrock vs Poe
- Amazon Bedrock vs Adobe Firefly
- Amazon Bedrock vs Black Forest Labs
- Amazon Bedrock vs Ideogram
- Amazon Bedrock vs Anthropic API
- Amazon Bedrock vs Qwen
- Amazon Bedrock vs Galileo
- Amazon Bedrock vs Kling AI
- Amazon Bedrock vs AutoGen
- Amazon Bedrock vs Arize AI
- Amazon Bedrock vs Copilotly
- Amazon Bedrock vs Google Gemini
- Amazon Bedrock vs Inflection AI
- Amazon Bedrock vs Kimi
- Amazon Bedrock vs Meta AI
- Amazon Bedrock vs Poolside
- Amazon Bedrock vs Terraform
- Amazon Bedrock vs HCP Terraform
- Amazon Bedrock vs Atlantis
- Amazon Bedrock vs Pants Build
- Amazon Bedrock vs Frappe
- Amazon Bedrock vs Eclipse
- Amazon Bedrock vs Spacelift
- Amazon Bedrock vs Python
- Amazon Bedrock vs Backstage
- Amazon Bedrock vs Jitsu
- Amazon Bedrock vs Notepad++
- Amazon Bedrock vs Steampipe
- Amazon Bedrock vs iTerm2
- Amazon Bedrock vs JFrog Artifactory
- Amazon Bedrock vs Leafmap
- Amazon Bedrock vs LocalStack
- Amazon Bedrock vs OrbStack
- Amazon Bedrock vs PhpStorm
- AWS CDK vs Azure OpenAI Service
- AWS CDK vs Writer
- AWS CDK vs Poe
- AWS CDK vs Adobe Firefly
- AWS CDK vs Black Forest Labs
- AWS CDK vs Ideogram
- AWS CDK vs Anthropic API
- AWS CDK vs Qwen
- AWS CDK vs Galileo
- AWS CDK vs Kling AI
- AWS CDK vs AutoGen
- AWS CDK vs Arize AI
- AWS CDK vs Copilotly
- AWS CDK vs Google Gemini
- AWS CDK vs Inflection AI
- AWS CDK vs Kimi
- AWS CDK vs Meta AI
- AWS CDK vs Poolside
- AWS CDK vs Terraform
- AWS CDK vs HCP Terraform
- AWS CDK vs Atlantis
- AWS CDK vs Pants Build
- AWS CDK vs Frappe
- AWS CDK vs Eclipse
- AWS CDK vs Spacelift
- AWS CDK vs Python
- AWS CDK vs Backstage
- AWS CDK vs Jitsu
- AWS CDK vs Notepad++
- AWS CDK vs Steampipe
- AWS CDK vs iTerm2
- AWS CDK vs JFrog Artifactory
- AWS CDK vs Leafmap
- AWS CDK vs LocalStack
- AWS CDK vs OrbStack
- AWS CDK vs PhpStorm
