# Sequelize: 5.0 out of 10

Reasonable, with limits. 10th of 10 in [ORMs and query builders](https://elestia.ai/opensource/orms/index.md).

Sequelize is a long-running, feature-rich SQL ORM for Node.js. It supports more databases than most peers. The stable v6 line now gets only rare patch releases, v7 has been in alpha for years, and the maintainers are recruiting help. It is fine to keep where it already runs, but for a new project Prisma, Drizzle or Kysely is the better pick.

**Best for:** Teams that already run Sequelize v6, or that need a dialect such as DB2, Oracle or MSSQL that newer ORMs handle less well.

## Scores

- **Overall: 5.0** (likely 3.9 to 6.1)
  - Claude Opus 5.5 (4.0): Sequelize still works and has the broadest dialect support, but its type safety trails the modern peers. Its v7 rewrite has stalled in alpha, and the maintainers are short of people. Its download growth is the weakest in the category. Keep it where it runs, but start new work with Prisma, Drizzle or Kysely, unless you need a dialect they lack.
  - GPT-6.2 Sol (6.0): Sequelize remains a capable choice for teams that value broad SQL support or can reuse existing models. For most new TypeScript apps, Prisma and Drizzle offer stronger query typing and have gained ground faster. Infrequent stable updates and an uncertain v7 timeline lower the recommendation, and the value of its broader dialect coverage depends on the project's database.
- **Needed by many: 6.8** (likely 5.8 to 7.8)
  - Claude Opus 5.5 (7.0): Most backend JavaScript and TypeScript developers who use a relational database need an ORM or query builder. Sequelize covers a wide range of SQL dialects, which widens its audience. It is limited to Node-style server runtimes and SQL databases.
  - GPT-6.2 Sol (6.6): Relational data access is a common need for JavaScript and TypeScript backends, and Sequelize covers many widely used SQL engines without requiring a web framework. Its model-based Node.js approach serves a smaller group than the full category. The database survey measures database use across languages, so it gives only an indirect estimate of demand for this kind of ORM.
- **Helps a lot: 5.9** (likely 4.9 to 6.9)
  - Claude Opus 5.5 (5.0): The feature set is mature: associations, transactions, hooks, scopes, migrations and broad dialect support. Type safety in v6 lags clearly behind Prisma, Drizzle and Kysely, and the TypeScript-first v7 is still alpha. AI agents know v6 well, but they often mix up v6 and v7 APIs and tend to write loosely typed models.
  - GPT-6.2 Sol (6.8): Stable v6 has well-documented associations, transactions, and validation errors, and it performed well on individual queries in a PostgreSQL study. Its model types require manual declarations, and developers write migrations by hand. Query typing misses mistakes in selected fields and joins, which also limits the compiler feedback available to coding agents. Performance varies with the workload, and the available comparisons cover a limited set of queries and databases.
- **Holds up over time: 4.7** (likely 3.5 to 5.9)
  - Claude Opus 5.5 (4.0): The repository is active, but stable v6 got only one npm release in the last year. v7 has stayed in alpha (alpha.48 in February 2026) for years. The README asks for new maintainers to finish the next major version. Some paid funding exists through OpenCollective, but the ecosystem is moving toward Prisma, Drizzle and Kysely.
  - GPT-6.2 Sol (5.4): The repository recorded 339 commits in the past year and receives sponsorship, while the stable npm package shipped one update. A maintainer reported that two people do most of the work alongside full-time jobs, and the open issue and pull request backlog is large. V7 remains in alpha, changes the package and dialect setup, and lacks a ready migration CLI. The timing of that upgrade and the pace of future v6 fixes are uncertain.
- **Used widely: 6.4** (likely 5.4 to 7.4)
  - Claude Opus 5.5 (6.0): About 16.4M downloads in 4 weeks and about 193k dependent repositories show a large installed base, second only to Mongoose among peers on dependents. The year-over-year ratio of about 1.87 is well below the 4.1 median and the lowest in the category. It is losing ground fast, mostly to Prisma, Drizzle and Kysely.
  - GPT-6.2 Sol (6.7): Ecosyste.ms found 193,226 dependent repositories, more than for any listed SQL peer, although its coverage varies by package. Four-week installs rose from 8.81 million to 16.44 million, a 1.87× increase against the catalog median of 4.1× and well behind Prisma, Drizzle, and Kysely. CI and indirect installs inflate the totals, and sparse recent discussion leaves the share of new projects choosing Sequelize uncertain.
- **Vouched for: 5.1** (likely 4.0 to 6.7)
  - Claude Opus 5.5 (4.0): It has a long production history and very wide legacy use, but few current independent endorsements. The 2026 comparisons recommend Prisma or Drizzle and mention Sequelize mainly for legacy or stable setups. I found no current survey data that shows high satisfaction.
  - GPT-6.2 Sol (6.1): NestJS maintains an official integration, and HCL lists v6.37.8 among the components shipped with BigFix AEX v14. An independent PostgreSQL study found efficient single-query performance at low concurrency. The older State of Databases survey gave Sequelize 3.15 out of 5 from 134 ratings, and recent user reports are mixed, leaving current satisfaction hard to estimate.
- **Safe: 5.5** (likely 4.4 to 7.1)
  - Claude Opus 5.5 (5.0): It has 18 advisories in total, several of them critical SQL injections, and two in the last 24 months: a JSON cast-type injection fixed in 6.37.8 and an Oracle-only injection fixed in 6.37.4. The fixes did ship, but an ORM with repeated injection bugs is a real risk. The Scorecard is 6.9, with weak token permissions, no fuzzing and partial branch protection. It pulls in 16 dependencies and uses the permissive MIT licence.
  - GPT-6.2 Sol (6.0): The MIT-licensed stable release includes fixes for both SQL injection advisories listed in 2026, and both patches were published before public disclosure. The package has 16 direct dependencies, including a uuid version covered by a moderate advisory whose practical impact depends on how it is used. OpenSSF scored the project 6.9, with a strong security policy but weak workflow token permissions and branch protection. GitHub Actions handled the March release, and a later v6 publish attempt failed, leaving uncertainty about how quickly the next fix can ship.

## Good

- It supports many databases from one API: Postgres, MySQL, MariaDB, SQLite, MSSQL, Oracle, DB2 and Snowflake.
- It is mature, with associations, transactions, migrations, hooks and eager loading that have been tested for over a decade.
- It has a very large installed base, with about 193k dependent repositories and many tutorials, so AI agents write v6 code for it fluently.
- It is MIT licensed and the repository is still active, with 339 commits in the last year.

## Bad

- Type inference in v6 is weak next to Prisma, Drizzle and Kysely, and models need verbose generic declarations.
- v7, the TypeScript rewrite, is still an alpha after several years, and the README asks for new maintainers to finish it.
- It had several critical SQL-injection advisories, including a JSON cast-type injection fixed in March 2026.
- Its download growth is the slowest in the category, so its share of new projects is shrinking.

## The numbers

- Downloads, 4 weeks: 16M
- In a year: +87%
- GitHub stars: 30k
- Commits, 12 months: 339
- Last npm release: Mar 2026
- Advisories, 24 months: 2
- Licence: MIT
- GitHub: https://github.com/sequelize/sequelize
- npm: https://www.npmjs.com/package/sequelize

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 21 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
