{"path":"/compare/kysely","dateChecked":"2026-10-18","tools":{"kysely":{"name":"Kysely","softwareVersion":"0.29.7","license":"https://opensource.org/licenses/MIT","codeRepository":"https://github.com/kysely-org/kysely","programmingLanguage":"TypeScript","url":"https://kysely.dev"},"prisma":{"name":"Prisma ORM","softwareVersion":"8","license":"https://www.apache.org/licenses/LICENSE-2.0","codeRepository":"https://github.com/prisma/prisma","programmingLanguage":"TypeScript","url":"https://www.prisma.io/docs/orm"}},"features":[{"feature":"Library price","kysely":{"value":"Free. MIT license.","source":"https://github.com/kysely-org/kysely/blob/master/LICENSE","dateChecked":"2026-10-18"},"prisma":{"value":"Free. Apache License 2.0.","source":"https://github.com/prisma/prisma/blob/main/LICENSE","dateChecked":"2026-10-18"}},{"feature":"Release status","kysely":{"value":"Version 0.29.7 on npm, so not yet a 1.0 release. The getting started guide requires TypeScript 5.4 or newer, and strict mode.","source":"https://www.npmjs.com/package/kysely","dateChecked":"2026-10-18"},"prisma":{"value":"Prisma ORM 8 is a release candidate, and it is what `npm install prisma` gives you. The final release is still to come.","source":"https://www.prisma.io/docs/orm","dateChecked":"2026-10-18"}},{"feature":"Data model","kysely":{"value":"TypeScript interfaces you provide. A dialect also needs its driver, such as `pg` for PostgreSQL.","source":"https://kysely.dev/docs/getting-started","dateChecked":"2026-10-18"},"prisma":{"value":"A contract file, `contract.prisma`. `contract emit` writes the types. `contract infer` writes a starter contract from PostgreSQL tables you already have. There is no `@prisma/client` package.","source":"https://www.prisma.io/docs/cli/contract-infer","dateChecked":"2026-10-18"}},{"feature":"Queries","kysely":{"value":"A fluent SQL builder: `selectFrom`, `where`, and the other clauses in the guide.","source":"https://kysely.dev/docs/getting-started","dateChecked":"2026-10-18"},"prisma":{"value":"An ORM client for model queries, a SQL query builder on PostgreSQL and SQLite, and raw SQL for a statement neither API expresses.","source":"https://www.prisma.io/docs/orm/reference/sql-query-builder","dateChecked":"2026-10-18"}},{"feature":"Migrations","kysely":{"value":"up and down functions you write. Pending migrations run in alphanumeric order, with an option for unordered migrations.","source":"https://kysely.dev/docs/migrations","dateChecked":"2026-10-18"},"prisma":{"value":"`migration plan` writes `migration.ts` from the contract. On PostgreSQL, `migration show` prints the SQL. `db migrate` runs `ops.json`, not the TypeScript file.","source":"https://www.prisma.io/docs/cli/migration-show","dateChecked":"2026-10-18"}},{"feature":"Databases","kysely":{"value":"Built-in dialects for PostgreSQL, MySQL, Microsoft SQL Server, SQLite, and PGlite. See [database support](#databases).","source":"https://kysely.dev/docs/dialects","dateChecked":"2026-10-18"},"prisma":{"value":"PostgreSQL, MongoDB, and SQLite in Prisma ORM 8. The rest stay on Prisma ORM 7. See [database support](#databases).","source":"https://www.prisma.io/docs/orm/supported-databases","dateChecked":"2026-10-18"}},{"feature":"Hosted database","kysely":{"value":"None. Kysely is a library.","source":"https://kysely.dev/docs/getting-started","dateChecked":"2026-10-18"},"prisma":{"value":"[Prisma Postgres](/docs/postgres) is a separate product. Any Postgres client works with it, so Prisma ORM is optional. [Prisma Compute](/docs/compute) is separate app hosting.","source":"https://www.prisma.io/docs/postgres","dateChecked":"2026-10-18"}}],"databases":[{"database":"PostgreSQL","kysely":{"value":"Built-in","source":"https://kysely.dev/docs/dialects","dateChecked":"2026-10-18"},"orm8":{"value":"Release candidate","source":"https://www.prisma.io/docs/orm/supported-databases","dateChecked":"2026-10-18"},"orm7":{"value":"Supported","source":"https://www.prisma.io/docs/orm/v7/reference/supported-databases","dateChecked":"2026-10-18"}},{"database":"MySQL","kysely":{"value":"Built-in","source":"https://kysely.dev/docs/dialects","dateChecked":"2026-10-18"},"orm8":{"value":"ORM 7 only","source":"https://www.prisma.io/docs/orm/supported-databases","dateChecked":"2026-10-18"},"orm7":{"value":"Supported","source":"https://www.prisma.io/docs/orm/v7/reference/supported-databases","dateChecked":"2026-10-18"}},{"database":"MariaDB","kysely":{"value":"Community dialect","source":"https://kysely.dev/docs/dialects","dateChecked":"2026-10-18"},"orm8":{"value":"ORM 7 only","source":"https://www.prisma.io/docs/orm/supported-databases","dateChecked":"2026-10-18"},"orm7":{"value":"Supported","source":"https://www.prisma.io/docs/orm/v7/reference/supported-databases","dateChecked":"2026-10-18"}},{"database":"Microsoft SQL Server","kysely":{"value":"Built-in","source":"https://kysely.dev/docs/dialects","dateChecked":"2026-10-18"},"orm8":{"value":"ORM 7 only","source":"https://www.prisma.io/docs/orm/supported-databases","dateChecked":"2026-10-18"},"orm7":{"value":"Supported","source":"https://www.prisma.io/docs/orm/v7/reference/supported-databases","dateChecked":"2026-10-18"}},{"database":"SQLite","kysely":{"value":"Built-in","source":"https://kysely.dev/docs/dialects","dateChecked":"2026-10-18"},"orm8":{"value":"Experimental","source":"https://www.prisma.io/docs/orm/supported-databases","dateChecked":"2026-10-18"},"orm7":{"value":"Supported","source":"https://www.prisma.io/docs/orm/v7/reference/supported-databases","dateChecked":"2026-10-18"}},{"database":"CockroachDB","kysely":{"value":"No","source":"https://kysely.dev/docs/dialects","dateChecked":"2026-10-18"},"orm8":{"value":"ORM 7 only","source":"https://www.prisma.io/docs/orm/supported-databases","dateChecked":"2026-10-18"},"orm7":{"value":"Supported","source":"https://www.prisma.io/docs/orm/v7/reference/supported-databases","dateChecked":"2026-10-18"}},{"database":"MongoDB","kysely":{"value":"No","source":"https://kysely.dev/docs/dialects","dateChecked":"2026-10-18"},"orm8":{"value":"Early access","source":"https://www.prisma.io/docs/orm/supported-databases","dateChecked":"2026-10-18"},"orm7":{"value":"Supported","source":"https://www.prisma.io/docs/orm/v7/reference/supported-databases","dateChecked":"2026-10-18"}},{"database":"PGlite","kysely":{"value":"Built-in","source":"https://kysely.dev/docs/dialects","dateChecked":"2026-10-18"},"orm8":{"value":"No","source":"https://www.prisma.io/docs/orm/supported-databases","dateChecked":"2026-10-18"},"orm7":{"value":"No","source":"https://www.prisma.io/docs/orm/v7/reference/supported-databases","dateChecked":"2026-10-18"}}],"pricing":[{"label":"Library license and cost","kysely":{"value":"Free, MIT","source":"https://github.com/kysely-org/kysely/blob/master/LICENSE","dateChecked":"2026-10-18"},"prisma":{"value":"Free, Apache 2.0","source":"https://github.com/prisma/prisma/blob/main/LICENSE","dateChecked":"2026-10-18"}},{"label":"Paid plans","kysely":{"value":"None","source":"https://kysely.dev/docs/getting-started","dateChecked":"2026-10-18"},"prisma":{"value":"None for the ORM","source":"https://www.prisma.io/docs/orm","dateChecked":"2026-10-18"}},{"label":"Hosted database","kysely":{"value":"None. You bring your own.","source":"https://kysely.dev/docs/getting-started","dateChecked":"2026-10-18"},"prisma":{"value":"[Prisma Postgres](/docs/postgres), optional. It works with any Postgres client, Kysely included.","source":"https://www.prisma.io/pricing","dateChecked":"2026-10-18"}}]}