Cloud · head to head
AWS Lambda vs Turso

AWS Lambda
Cloud
Run code without thinking about servers
- From
- Free
- Free plan
- Yes

Turso
Databases
SQLite-lineage database platform for running very large numbers of small per-tenant databases, with an MIT-licensed engine.
- From
- Free
- Free plan
- Yes
The short version
- AWS Lambda is a serverless compute service.
- AWS Lambda is free; Turso starts at $4.99/mo.
- Only AWS Lambda lists event-driven execution; only Turso lists per-tenant databases.
- Where AWS Lambda falls short: provisioned concurrency, used to avoid cold starts, is charged separately at $0.0000041667 per GB-second whether or not the function runs.
How do AWS Lambda and Turso differ?
AWS Lambda and Turso differ on pricing model (Usage-based against Freemium), platforms (Web, API against Web) and category (Cloud against Databases). Only the attributes on which AWS Lambda and Turso actually diverge.
| Attribute | AWS Lambda | Turso |
|---|---|---|
| Pricing model | Usage-based | Freemium |
| Platforms | Web, API | Web |
| Category | Cloud | Databases |
Identical on both: starting price (Free), free tier (Yes).
Not yet recorded: founded for Turso.
Which features does each one have?
They share no listed features; 20 appear only for AWS Lambda and 10 only for Turso. 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 Lambda
- Function-as-a-Service
- Event-driven execution
- Auto-scaling
- Pay-per-use
- Multiple languages
- Concurrency limits
- Dead Letter Queues
- Environment variables
Only in Turso
- Per-tenant databases
- MIT licence
- Embedded replicas
- SQLite compatibility
- HTTP access
- Branching
- Point-in-time restore
- In-process engine
What is each one used for?
AWS Lambda is most often brought in for event-driven functions without managing servers. The jobs each tool is most often brought in to do.
AWS Lambda
- Event-driven functions without managing serversnot Turso
- API backends behind API Gatewaynot Turso
- Processing S3, DynamoDB, SQS and Kinesis eventsnot Turso
- Scheduled jobs without a always-on instancenot Turso
- Edge compute through Lambda@Edgenot Turso
Turso
- Multi-tenant SaaS where each customer gets their own database for real isolation, per-tenant restore and clean deletionnot AWS Lambda
- Agent or session infrastructure that creates a throwaway database per task and destroys it afterwardsnot AWS Lambda
- Local-first and offline-capable applications where an embedded replica serves reads at file speed and syncs when connectivity returnsnot AWS Lambda
- Embedding a SQLite-compatible engine in a product where the public domain original's closed contribution model is a problemnot AWS Lambda
Where do AWS Lambda and Turso fall short?
AWS Lambda's most cited limit: ephemeral storage beyond the included 512 MB is metered. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
AWS Lambda
- Billed on two axes at once, $0.20 per million requests plus $0.0000166667 per GB-second of duration, so memory settings change the bill as much as traffic does
- Provisioned concurrency, used to avoid cold starts, is charged separately at $0.0000041667 per GB-second whether or not the function runs
- Ephemeral storage beyond the included 512 MB is metered
- Lambda@Edge costs $0.60 per million requests, three times the standard request rate
- VPC use and cross-region data transfer carry EC2 charges on top
Turso
- SQLite allows one writer per database, so a single tenant's write throughput cannot be scaled horizontally and a busy tenant serialises against itself with no sharding option
- Per-tenant databases mean per-tenant migrations, so every schema change becomes a fan-out job that must be idempotent and resumable, and multi-database schemas, the feature meant to solve this, is deprecated
- There are no cross-database queries; ATTACH is deprecated on the cloud, so any report or analytic spanning tenants must be assembled in your application or in a separate warehouse you also operate
- Data Edge, the multi-region edge replication that was Turso's original positioning, is deprecated, so a large share of the tutorials and articles describing Turso as an edge database describe behaviour you can no longer rely on
- Three engine lineages share the name, SQLite, the libSQL fork and the Rust rewrite, and the Rust engine is still maturing, so SQLite compatibility needs verifying against your specific pragmas, extensions and query patterns; the cloud already restricts journal_mode and busy_timeout and makes user_version read-only
How much do AWS Lambda and Turso cost?
AWS Lambda is free to use; Turso has a free plan, with paid plans from $4.99/mo. Plan by plan below, from each vendor's own pricing page.
AWS Lambda
Free- Free TierFree
- 1M free requests/month
- 400,000 GB-seconds/month
- Always free
Turso
Free- FreeFree
- 100 databases
- 5 GB storage
- 500M monthly rows read
- Developer$4.99/mo
- Unlimited databases
- 9 GB storage
- 2.5B monthly rows read
- Scaler$24.92/mo
- Unlimited databases
- 24 GB storage
- 100B monthly rows read
- Pro$416.58/mo
- Unlimited databases
- 50 GB storage
- 250B monthly rows read
Which should you pick?
Choose AWS Lambda if
- You need function-as-a-service.
- You want to start without paying.
- You work on Web, API.
- You also want event-driven execution.
Choose Turso if
- You need per-tenant databases.
- You want to start without paying.
- You also want mit licence.
Questions people ask
- Is AWS Lambda or Turso better?
- It depends on the job. AWS Lambda fits event-driven functions without managing servers; Turso fits multi-tenant SaaS where each customer gets their own database for real isolation, per-tenant restore and clean deletion. AWS Lambda starts at Free and Turso at Free.
- Which is cheaper, AWS Lambda or Turso?
- AWS Lambda starts at Free and Turso at Free.
- Does AWS Lambda or Turso run on more platforms?
- AWS Lambda runs on Web, API. Turso runs on Web.
- Can I use AWS Lambda for free?
- Both have a free tier, so you can try either at no cost before committing.
- What is AWS Lambda best used for?
- AWS Lambda is most often used for event-driven functions without managing servers, api backends behind api gateway, processing s3, dynamodb, sqs and kinesis events, scheduled jobs without a always-on instance. Of those, event-driven functions without managing servers and api backends behind api gateway are not what Turso is typically brought in for.
- What can AWS Lambda do that Turso cannot?
- AWS Lambda covers Function-as-a-Service, Event-driven execution, Auto-scaling, Pay-per-use. Turso covers Per-tenant databases, MIT licence, Embedded replicas, SQLite compatibility.
Answered from the vendors’ own pages
AWS Lambda: Is there a free tier for AWS Lambda?
Yes. AWS Lambda offers a free tier including 1 million requests per month, 400,000 GB-seconds per month, and 100 GB monthly response streaming.
SourceTurso: Is Turso just hosted SQLite?
Not exactly. It hosts databases built on the SQLite lineage: libSQL, an MIT fork of SQLite, and Turso Database, a newer Rust rewrite. The platform adds branching, backups, an HTTP API and programmatic database creation.
AWS Lambda: How is AWS Lambda charged?
Lambda charges $0.20 per million requests. Duration charges are $0.0000166667 per GB-second for x86 (up to 6 billion GB-seconds/month in US East Ohio with tiered pricing). Ephemeral storage over the included 512 MB costs $0.0000000309 per GB-second. Provisioned Concurrency costs $0.0000041667 per GB-second with a 5-minute minimum.
SourceTurso: Can I really run a million databases?
That is the design goal and the platform API exists to make provisioning and deletion programmatic. The practical constraints are the ones that come with it: migrations fan out, and nothing can query across databases.
AWS Lambda: What are Lambda Durable Functions pricing?
Lambda Durable Functions include operations at $8.00 per million (start execution, steps, waits). Data written costs $0.25 per GB. Data retention is $0.15 per GB-month with configurable 1-90 day retention (default 14 days).
SourceTurso: How do embedded replicas handle read-after-write?
Reads come from the local replica and writes go to the primary, so a read immediately after a write can return stale data unless you wait for a sync. Application code has to account for that rather than assume it.
Turso: What licence is it under?
libSQL and Turso Database are both MIT. Turso Cloud is a commercial managed service built on them, so the engine is genuinely open even though the platform is not.
Turso: Is Turso still an edge database?
No. Data Edge, the multi-region edge replication feature, is deprecated. The current positioning is per-tenant and embedded databases, and older material describing edge replication is out of date.
Related pages
Other head to heads
- AWS Lambda vs Google Cloud Run
- AWS Lambda vs Deno Deploy
- AWS Lambda vs Azure Functions
- AWS Lambda vs Serverless Framework
- AWS Lambda vs Cerebrium
- AWS Lambda vs Koyeb
- AWS Lambda vs Beam Cloud
- AWS Lambda vs Lambda
- AWS Lambda vs Porter
- AWS Lambda vs Terragrunt
- AWS Lambda vs Vultr
- AWS Lambda vs Heroku
- AWS Lambda vs OVHcloud
- AWS Lambda vs Rancher
- AWS Lambda vs HAProxy
- AWS Lambda vs IBM Cloud
- AWS Lambda vs Northflank
- AWS Lambda vs K3s
- AWS Lambda vs SQLite
- AWS Lambda vs SurrealDB
- AWS Lambda vs Supabase
- AWS Lambda vs PlanetScale
- AWS Lambda vs Neon
- AWS Lambda vs MotherDuck
- AWS Lambda vs EMQX
- AWS Lambda vs DuckDB
- AWS Lambda vs Trino
- AWS Lambda vs Teradata
- AWS Lambda vs Apache HBase
- AWS Lambda vs Nile
- AWS Lambda vs TIBCO Enterprise Message Service
- AWS Lambda vs VerneMQ
- AWS Lambda vs Xata
- AWS Lambda vs Apache Hadoop
- AWS Lambda vs FaunaDB
- AWS Lambda vs Instaclustr
- Turso vs Google Cloud Run
- Turso vs Deno Deploy
- Turso vs Azure Functions
- Turso vs Serverless Framework
- Turso vs Cerebrium
- Turso vs Koyeb
- Turso vs Beam Cloud
- Turso vs Lambda
- Turso vs Porter
- Turso vs Terragrunt
- Turso vs Vultr
- Turso vs Heroku
- Turso vs OVHcloud
- Turso vs Rancher
- Turso vs HAProxy
- Turso vs IBM Cloud
- Turso vs Northflank
- Turso vs K3s
- Turso vs SQLite
- Turso vs SurrealDB
- Turso vs Supabase
- Turso vs PlanetScale
- Turso vs Neon
- Turso vs MotherDuck
- Turso vs EMQX
- Turso vs DuckDB
- Turso vs Trino
- Turso vs Teradata
- Turso vs Apache HBase
- Turso vs Nile
- Turso vs TIBCO Enterprise Message Service
- Turso vs VerneMQ
- Turso vs Xata
- Turso vs Apache Hadoop
- Turso vs FaunaDB
- Turso vs Instaclustr
