# Turso — card for AI agents

SQLite-compatible (libSQL) cloud database with many small per-user or per-agent databases.

Maker: Turso · category: Databases and backends

## Price (official page)
- Free tier: 100 databases, 5GB storage, 500 Million rows read and 10 Million rows written a month
- Free tier terms: free allowance · monthly · card not needed · amount: 5GB (read from the wording above and the pricing page; empty = not stated)
- Paid from $5.99/month
- Usage price: Developer overage: +$0.75/GB storage, +$1/Billion rows read, +$1/Million rows written
- Pricing page: https://turso.tech/pricing (checked 2026-10-09)
- Note: Developer is $5.99/month billed monthly or $4.99/month with yearly billing. Paid plans billed on the first day of each month. Turso is joining Supabase (Turso blog, 2026-10-02).

## Connect
- Official MCP server: https://mcp.turso.ai/mcp
- npm: `npm install @libsql/client`
- PyPI: `pip install libsql`
- Repository: https://github.com/tursodatabase/turso

## For AI agents on Turso's own site (AgentGid check 2026-11-13: 6 of 6)
- llms.txt: https://turso.tech/llms.txt (full text: https://turso.tech/llms-full.txt)
- OpenAPI description: https://turso.tech/openapi.json
- Official MCP server: yes · official SDK: yes · status page: yes
- robots.txt lets AI assistants (ChatGPT-User, Claude-User) read the site: yes

## A year of price history (Internet Archive copies of the pricing page, read by rules)
- Months read: 12 (2025-10 to 2026-10) of https://turso.tech/pricing
- Lowest $/month figure on the page: $4.99 in 2025-10, $4.08 in 2026-10
- 2026-09: lowest $/month figure $4.99 → $4.08; new figures $4.08/mo, $82.42/mo (archived copy: https://web.archive.org/web/20260925201126/https://turso.tech/pricing)
- 2026-09: free plan shown (archived copy: https://web.archive.org/web/20260925201126/https://turso.tech/pricing)
- A figure is any "$X/month" on the page (plans, seats and add-ons alike); open the archived copy to see which plan it is.

## Price history in AgentGid's catalog (since 2026-10-10)
- Changes recorded: 0 (a vendor price change or an editor's correction; the evidence archive keeps the pricing page of each date)

## Other APIs in this category
- MongoDB Atlas: https://agentgid.com/apis/mongodb/agent.md
- DuckDB: https://agentgid.com/apis/duckdb/agent.md
- Redis: https://agentgid.com/apis/redis/agent.md
- Firebase: https://agentgid.com/apis/firebase/agent.md
- Upstash Redis: https://agentgid.com/apis/upstash/agent.md

## Links
- AgentGid page: https://agentgid.com/apis/turso/


## Turso: small SQLite databases for every user or agent

Turso is an online database service built on SQLite, the small database that lives in one file. Your app can create a separate database for each user, customer or AI agent in a second, and pay mostly for what it stores. The same database can also live as a file on a phone or laptop and sync with the cloud.

### Where to use it
- A database for every user or agent: When someone signs up, or your app starts a new AI agent, create a private database just for them. One customer's data can never mix with another's.
- Memory for an AI assistant: Let your assistant save what it learned and find related notes later by meaning, not by exact words. The search is built into the database.
- An app that works offline: Keep the data in a file on the device so the app reads and writes with no internet. Changes go to the cloud when the connection comes back.
- Data for a serverless site: Query the database from short-lived functions on hosts like Vercel or Cloudflare, with no database server to run yourself.
- A test copy of live data: Copy your real database into a branch, try a risky change there, and delete the branch when you are done.
- A live database for each generated site: If your product builds small apps or sites for people, give each one its own database. Idle ones cost little because you pay mostly for storage. (idea, not from the official pages)

### How to start
- Install the Turso command line tool and sign up; the sign-up command opens your browser.

```
brew install tursodatabase/tap/turso
turso auth signup
```

- Create a database and an access token for it, then store both in .env as TURSO_DATABASE_URL and TURSO_AUTH_TOKEN.

```
turso db create my-db --tursodb
turso db tokens create my-db
```

- Connect from your app with the package that matches the engine and run a query.

```
import { connect } from "@tursodatabase/serverless";

const conn = connect({
  url: process.env.TURSO_DATABASE_URL,
  authToken: process.env.TURSO_AUTH_TOKEN,
});
```


### License
The database engine is open source under the MIT license, so you can ship it inside your own app. Turso Cloud is a paid online service with a free plan; its terms of use govern how you may use it.

### Good to know
- Free plan databases are archived after 10 days without use; you have to unarchive them before they work again.
- Turso is being bought by Supabase. Turso says existing databases and workflows keep running as they do today.
- Databases on the new Turso engine are in early preview in the cloud; the older libSQL engine is the long-tested option.
- A few SQLite settings behave differently in the cloud, for example the version number some tools use to track schema changes is read-only.
- The general terms of use (last updated March 2024) say you will use the service for your own internal business or personal use, not on behalf of others. Check with Turso before you resell databases or build them for clients.

Checked 2026-11-10 against: https://turso.tech, https://turso.tech/pricing, https://turso.tech/terms-of-use, https://turso.tech/privacy-policy, https://turso.tech/blog/turso-is-joining-supabase, https://docs.turso.tech/llms.txt, https://docs.turso.tech/introduction.md, https://docs.turso.tech/turso-cloud.md, https://docs.turso.tech/quickstart.md, https://docs.turso.tech/local-development.md, https://docs.turso.tech/sdk/ts/quickstart.md, https://docs.turso.tech/sdk/http/quickstart.md, https://docs.turso.tech/sdk/python/quickstart.md, https://docs.turso.tech/sdk/ts/reference.md, https://docs.turso.tech/sdk/authentication.md, https://docs.turso.tech/sdk/authorization.md, https://docs.turso.tech/sdk/authorization/tokens.md, https://docs.turso.tech/sdk/authorization/jwks.md, https://docs.turso.tech/api-reference/introduction.md, https://docs.turso.tech/api-reference/quickstart.md, https://docs.turso.tech/api-reference/authentication.md, https://docs.turso.tech/api-reference/response-codes.md, https://docs.turso.tech/api-reference/databases/create.md, https://docs.turso.tech/api-reference/groups/unarchive.md, https://docs.turso.tech/cli/group/unarchive.md, https://docs.turso.tech/cloud/limitations.md, https://docs.turso.tech/integrations/mcp.md, https://docs.turso.tech/guides/agent-databases.md, https://docs.turso.tech/guides/ai-memory.md, https://docs.turso.tech/features/ai-and-embeddings.md, https://docs.turso.tech/features/embedded-replicas/introduction.md, https://docs.turso.tech/features/branching.md, https://docs.turso.tech/libsql.md, https://github.com/tursodatabase/turso/blob/main/README.md, https://registry.npmjs.org/@libsql/client/0.18.0, https://registry.npmjs.org/@tursodatabase/serverless/1.4.1, https://pypi.org/pypi/pyturso/0.8.3/json

### Mistakes to avoid
- Don't: import { createClient } from "@libsql/client" inside a Cloudflare Worker or edge function → Do: import { createClient } from "@libsql/client/web" (The default entry needs Node.js; the /web entry talks over HTTP.)
- Don't: Using @libsql/client against a database created with --tursodb → Do: Use @tursodatabase/serverless for Turso-engine databases and @libsql/client for libSQL ones (The two cloud engines have different drivers.)
- Don't: PRAGMA user_version = 2 to track migrations, as in plain SQLite → Do: Keep the version in a _schema_version table (user_version is read-only on Turso Cloud.)
- Don't: turso auth api-tokens mint my-token (no --org) for a deploy script → Do: turso auth api-tokens mint my-token --org my-org, with scopes or a group and --read-only when possible (Unrestricted tokens reach every organization and are deprecated.)
- Don't: Shipping one full-access database token to every user's browser → Do: Issue short-lived, scoped tokens per user (for example from Clerk or Auth0 through JWKS), or query from your server (Tokens can be limited by database, table, action and expiry; a shared full-access token cannot.)

### Questions
- Is there a free plan? Yes. The Free plan costs $0 a month with 100 databases and 5GB of storage, and needs no credit card, as reported on the pricing page.
- Can I try it without an account? Yes, locally. The Turso packages open a database file on your machine and need no token; the cloud needs an account.
- Can an AI agent manage my Turso databases? Yes. Turso runs a hosted MCP server; you approve access in the browser and the agent gets a scoped token.
- Does it search by meaning for AI apps? Yes. Vector search is built in, with no extension to install.
- What happens to Turso after the Supabase deal? Turso says the platform keeps running and the database stays open source.

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
