Developer Tools · head to head
AWS CDK vs Letta

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; Letta starts at $20/mo.
- Where AWS CDK falls short: targets AWS only, so it does not provision resources on other clouds.
- Where Letta falls short: free tier limited to 3 stateful agents.
How do AWS CDK and Letta differ?
AWS CDK and Letta differ on pricing model (Open-source against Freemium), platforms and category. Only the attributes on which AWS CDK and Letta actually diverge.
Identical on both: starting price (Free), free tier (Yes).
Which features does each one have?
They share no listed features; 8 appear 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 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
Only in Letta
Nothing recorded that AWS CDK does not also cover.
What is each one used for?
AWS CDK is most often brought in for defining AWS infrastructure in TypeScript or Python; Letta for building agents with memory for continuous learning. The jobs each tool is most often brought in to do.
AWS CDK
- Defining AWS infrastructure in TypeScript or Pythonnot Letta
- Reusable internal infrastructure modulesnot Letta
- Serverless application stacksnot Letta
- Testing infrastructure with unit testsnot Letta
- Standardising environments across accountsnot Letta
Letta
- Building agents with memory for continuous learningnot AWS CDK
- Enabling reflection during idle periods via sleep-computenot AWS CDK
- Managing agent context and extracting learningsnot AWS CDK
Where do AWS CDK and Letta fall short?
AWS CDK's most cited limit: targets AWS only, so it does not provision resources on other clouds. Letta's: free tier limited to 3 stateful agents. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
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
Letta
- Free tier limited to 3 stateful agents
- Pro tier capped at 20 stateful agents
- API Plan usage charges apply beyond base tier
How much do AWS CDK and Letta cost?
AWS CDK is free to use; Letta has a free plan, with paid plans from $20/mo. Plan by plan below, from each vendor's own pricing page.
AWS CDK
FreeNo published plan breakdown. See the AWS CDK review.
Letta
Free- FreeFree
- Limited agents
- Limited Letta Auto usage
- Bring your own API keys
- Pro$20/mo
- Weekly and monthly Letta Auto quota
- Pay-as-you-go overage
- Up to 20 stateful agents
- API Plan$20/mo
- Unlimited agents
- $0.10/active agent/month
- $0.00015/second for tool execution
- Teams Pro$20/mo
- Per seat pricing
- Add teammates
- Letta Auto quota
Which should you pick?
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 AWS CDK or Letta better?
- It depends on the job. AWS CDK fits defining AWS infrastructure in TypeScript or Python; Letta fits building agents with memory for continuous learning. AWS CDK starts at Free and Letta at Free.
- Which is cheaper, AWS CDK or Letta?
- AWS CDK starts at Free and Letta at Free.
- Does AWS CDK or Letta run on more platforms?
- AWS CDK runs on Windows, macOS, Linux. Letta runs on Web.
- Can I use AWS CDK for free?
- Both have a free tier, so you can try either at no cost before committing.
- What is AWS CDK best used for?
- AWS CDK is most often used for defining aws infrastructure in typescript or python, reusable internal infrastructure modules, serverless application stacks, testing infrastructure with unit tests. Of those, defining aws infrastructure in typescript or python and reusable internal infrastructure modules are not what Letta is typically brought in for.
- What can AWS CDK do that Letta cannot?
- 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
AWS 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.
SourceLetta: How much does Letta cost?
Letta offers a free tier, then Pro plan at $20/month with up to 20 stateful agents, API Plan at $20/month base plus usage charges ($0.10/active agent/month, $0.00015/second for tool execution), and Teams Pro at $20/seat/month.
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.
SourceLetta: How many agents can I create on the free plan?
The free tier is limited to 3 stateful agents. Pro plan allows up to 20 stateful agents, while API Plan offers unlimited agents.
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.
SourceLetta: Does Letta charge for tool execution?
On the API Plan, Letta charges $0.00015 per second for tool execution. The Pro and Teams Pro plans include execution in their monthly fee.
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
Other head to heads
- 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
- AWS CDK vs CrewAI
- AWS CDK vs Dify
- AWS CDK vs Autonoly
- AWS CDK vs Trigger.dev
- AWS CDK vs Browserbase
- AWS CDK vs Inngest
- AWS CDK vs Relevance AI
- AWS CDK vs Dagster
- AWS CDK vs Merge
- AWS CDK vs Browser Use
- AWS CDK vs IBM MQ
- AWS CDK vs Alloy Automation
- AWS CDK vs Orkes
- AWS CDK vs Automate.io
- AWS CDK vs Decodable
- AWS CDK vs Grouparoo
- AWS CDK vs Activepieces
- AWS CDK vs Apache Camel
- Letta vs Terraform
- Letta vs HCP Terraform
- Letta vs Atlantis
- Letta vs Pants Build
- Letta vs Frappe
- Letta vs Eclipse
- Letta vs Spacelift
- Letta vs Python
- Letta vs Backstage
- Letta vs Jitsu
- Letta vs Notepad++
- Letta vs Steampipe
- Letta vs iTerm2
- Letta vs JFrog Artifactory
- Letta vs Leafmap
- Letta vs LocalStack
- Letta vs OrbStack
- Letta vs PhpStorm
- Letta vs CrewAI
- Letta vs Dify
- Letta vs Autonoly
- Letta vs Trigger.dev
- Letta vs Browserbase
- Letta vs Inngest
- Letta vs Relevance AI
- Letta vs Dagster
- Letta vs Merge
- Letta vs Browser Use
- Letta vs IBM MQ
- Letta vs Alloy Automation
- Letta vs Orkes
- Letta vs Automate.io
- Letta vs Decodable
- Letta vs Grouparoo
- Letta vs Activepieces
- Letta vs Apache Camel

