# Hey API: 7.1 out of 10

A strong pick. 4th of 9 in [OpenAPI tools](https://elestia.ai/opensource/openapi/index.md).

Hey API (@hey-api/openapi-ts) turns OpenAPI specs into a typed TypeScript SDK, with plugins for TanStack Query, Zod, Valibot and more. It is growing faster than any peer in the bundle and does the job well. But it is still at 0.x and breaks code often. No stable release has shipped since June 2026, and that release crashes under TypeScript 7.

**Best for:** Teams that want generated SDK functions from operationIds, plus query and validator plugins, and that will pin versions and track releases.

## Scores

- **Overall: 7.1** (likely 6.0 to 8.1)
  - Claude Opus 5.5 (6.5): For SDK-style clients, it is the fastest-growing generator in the bundle and probably the best designed. But no stable release has shipped in five months, the stable version fails with TypeScript 7, and 0.x upgrades break code often. These problems put it below a clear 7–8 for now. openapi-typescript is the safer pick if you only need types, and Orval if you want a stable SDK with mocks.
  - GPT-6.2 Sol (7.6): Hey API is a strong pick for teams that want typed operation functions, configurable HTTP clients, and optional validation in one generator. Orval is a stronger fit when generated mocks matter, and openapi-typescript is simpler when the project only needs types. The stable release gap and TypeScript 7 workaround lower the recommendation for greenfield projects. Growing adoption and credible SDK users support the score, with future release cadence the main uncertainty.
- **Needed by many: 5.4** (likely 4.3 to 6.5)
  - Claude Opus 5.5 (5.0): Many developers who call HTTP APIs from TypeScript can use a generated client. Hey API covers only the client and types side of the category, not docs or linting. That makes it a large group but not most developers.
  - GPT-6.2 Sol (5.8): Typed clients are useful across frontend and server projects that consume HTTP APIs with an OpenAPI contract. Hey API supports several frameworks and HTTP clients, and teams publishing interactive API docs still need a renderer. The surveys cover API and documentation professionals, so the share of all JavaScript and TypeScript developers who need this workflow is an estimate.
- **Helps a lot: 7.5** (likely 6.4 to 8.5)
  - Claude Opus 5.5 (7.0): It has a rich plugin system, clean SDK output, interceptors and a result-style error model. An independent comparison picked it over openapi-typescript, Orval and Kubb. Against that, it generates code several times slower than openapi-typescript, has some schema edge cases, and the stable release crashes under TypeScript 7.
  - GPT-6.2 Sol (8.0): Version 0.99.0 offers well-typed operation functions, interceptors, and optional runtime validation. A hands-on comparison favored its compact SDK and error handling, with generation speed varying by tool and configuration. Users report a TypeScript 7 startup failure and a Fetch header-merging bug, and tests by Kubb's maintainers found gaps in OpenAPI 3.2 support. Typed configuration and readable docs help coding agents get started, though their accuracy has little direct evidence.
- **Holds up over time: 5.5** (likely 4.1 to 7.3)
  - Claude Opus 5.5 (5.0): It had 2,430 commits and 69 releases last year, from 208 contributors. Yet no stable release has shipped since June 22, 2026, while TypeScript 7 users wait for a fix. In October, PRs were locked and users asked about the project's status. It remains 0.x with frequent breaking changes, and releases depend mostly on one lead maintainer with modest sponsorship. The range is wide because the @next rewrite may ship soon, or may keep slipping.
  - GPT-6.2 Sol (6.0): The repository recorded 2,430 commits over the past year and a push in November, but the TypeScript package's latest stable release is still June 22. Orval and Kubb both shipped in November, while Hey API users are still working around TypeScript 7 compatibility. The project reports one maintainer and funding from the maintainer and sponsors, and 0.99.0 documented four breaking changes. A working TypeScript 7 snapshot shows progress, with the timing of a stable release still unclear.
- **Used widely: 7.0** (likely 5.5 to 8.2)
  - Claude Opus 5.5 (7.0): It has about 29.8M downloads in 4 weeks, up from 3.0M a year before. That ratio of about 9.9x is more than twice the 4.1x median and the best among the codegen peers. Some downloads come from SDKs that bundle it, and ecosyste.ms has no dependents count, so the number of projects that choose it directly is less certain.
  - GPT-6.2 Sol (6.9): Four-week npm downloads rose from 3.0 million to 29.8 million, nearly 10 times last year's count against a 4.1 times catalog baseline. That growth outpaced openapi-typescript, Orval, and Kubb, and current downloads trail openapi-typescript while exceeding Orval and Kubb. CI installs can inflate the totals, and the 5,598 GitHub stars cover the whole Hey API repository. The missing GitHub and npm dependent count and sparse social discussion leave a wide range for direct adoption.
- **Vouched for: 7.0** (likely 6.0 to 8.1)
  - Claude Opus 5.5 (6.0): The repository says Vercel, OpenCode, PayPal and AWS use it. The old openapi-typescript-codegen project points its users to Hey API. Independent write-ups recommend it for SDK generation, but there is no survey data and little community discussion on HN or Bluesky.
  - GPT-6.2 Sol (8.0): Vercel uses Hey API to generate its v0 SDK, OpenCode uses it for its JavaScript SDK, and Apache Airflow upgraded its auth UI generator to 0.99.0. PostHog documents it as a client generation option, and a separate hands-on comparison favored its SDK ergonomics. These are concrete endorsements, while broad satisfaction data and independent benchmarks of the current stable version are sparse.
- **Safe: 7.4** (likely 6.3 to 8.4)
  - Claude Opus 5.5 (7.0): It has one moderate advisory, a prototype-chain issue in generated runtime code. The fix shipped in 0.97.3 before the advisory went public. It is MIT-licensed, has 10 dependencies and runs mostly as a dev-time tool. There is no Scorecard, few people publish releases, and generated helpers are copied into apps, so users must regenerate code to get fixes.
  - GPT-6.2 Sol (7.7): The generator has a permissive MIT license and ten direct dependencies, five from Hey API's own scope. The sole listed moderate advisory affected generated clients, and the current stable release includes the fix. The GitHub Actions release workflow enables npm provenance. The project reports one maintainer, and the missing OpenSSF Scorecard leaves some publishing and repository controls unverified.

## Good

- It generates one SDK function per operationId, with a consistent { query, path, body } argument shape and a { data, error } result.
- One config covers many outputs through 20+ plugins, such as TanStack Query, Zod, Valibot and several HTTP clients.
- Its output stays far smaller than Orval's or Kubb's for the same large spec.
- Downloads grew about 10x in a year, well above the 4.1x median.

## Bad

- It is still at 0.x, and minor releases break code often: 0.97.0 alone listed 15 breaking changes.
- The latest stable release (0.99.0, June 2026) crashes under TypeScript 7. The fix exists only in @next pre-release builds.
- Releases depend mostly on one lead maintainer. Users asked about the project's status in October, when PRs were locked.
- Code generation is slower than openapi-typescript and Orval on large specs.

## The numbers

- Downloads, 4 weeks: 30M
- In a year: ×9.9
- GitHub stars: 5.6k
- Commits, 12 months: 2.4k
- Last npm release: Jun 2026
- Advisories, 24 months: 1
- Licence: MIT
- GitHub: https://github.com/hey-api/hey-api
- npm: https://www.npmjs.com/package/@hey-api/openapi-ts

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 22 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.
