ModelFarebeta
Back to AI Toolkit

Drizzle ORM

Work with SQL databases through typed TypeScript schemas and queries.

Toolkit

Data & storage · Documentation reviewed 2026-11-10. Not independently tested.

When it helps

TypeScript applications that want database types while retaining close control over SQL and database drivers.

What to consider

Apache-2.0 licensed. Driver support and migration behavior vary by database. Generated SQL and destructive schema changes need review.

Getting started

Choose the documented driver for your database, define a schema, and test queries and migrations on a development database.

Access & costs

Runs
Local / Self-hosted
External account
Optional
API key
Optional
Costs
Local or service costs

The ORM needs no service account. Local or managed database connections have their own credentials and infrastructure costs.

  • Supported JavaScript runtime
  • Supported SQL driver and database
  • Database connection credentials where required

Repository evidence

Stars: 36,354 · License: Apache-2.0

Last code push: 2026-11-20

Statistics retrieved: 2026-11-23T00:42:59+00:00

Counts are snapshots, not live rankings. Review the repository license and any hosted-service terms before adopting it.

Adding model calls?

Plan the tokens, retries, and fallback costs before connecting your tools.

Open the planner