Comparison
@hey-api/openapi-ts vs openapi-typescript-codegen
Documentation toolingPackage data 25 Sept 2026
@hey-api/openapi-tsv0.99.0, 22 Jun 2026
🌀 OpenAPI to TypeScript code generator. Production-grade SDKs, Zod schemas, TanStack Query hooks, and 20+ plugins. Used by Vercel, OpenCode, and PayPal.
$ npm install @hey-api/openapi-tsopenapi-typescript-codegenv0.31.0, 20 Jun 2026
Library that generates Typescript clients based on the OpenAPI specification.
$ npm install openapi-typescript-codegen| Metric | @hey-api/openapi-ts | openapi-typescript-codegen | Difference |
|---|---|---|---|
| Weekly downloads | 3,373,199 | 346,049 | @hey-api/openapi-ts 9.7x higher |
| 12-month download growth | +473% | +54% | @hey-api/openapi-ts +419 pts |
| Gzip size | - | - | - |
| Minified size | - | - | - |
| Dependencies | 10 | 5 | @hey-api/openapi-ts 5 more |
| Unpacked size | 2.8 MB | 225 kB | openapi-typescript-codegen 12.7x smaller |
| Latest release | 0.99.0, 22 Jun 2026 | 0.31.0, 20 Jun 2026 | @hey-api/openapi-ts 1 day more recent |
| Releases, last 12 months | 67 | 2 | @hey-api/openapi-ts 65 more |
| First published | 22 Mar 2024 | 24 Nov 2019 | openapi-typescript-codegen 4.3 years earlier |
| GitHub stars | 5,438 | 3,369 | @hey-api/openapi-ts 1.6x higher |
| Open issues | 518 | 169 | @hey-api/openapi-ts 349 more |
| Open pull requests | 121 | 44 | @hey-api/openapi-ts 77 more |
| Contributors | - | - | - |
| Commits, last 52 weeks | 2,998 | 423 | @hey-api/openapi-ts 7.1x higher |
| TypeScript types | Bundled | Bundled | Same |
| Module format | ESM only | CommonJS | Differs |
| Runtimes | - | - | - |
| License | MIT | MIT | Same |
Green marks the smaller size or the more recent release. Bold marks the higher count, with no judgement implied. Sizes are for the whole package per Bundlephobia. Growth compares the average of the last 4 weeks with the first 4 weeks of the 52-week series.
@hey-api/openapi-ts3.4m latest weekopenapi-typescript-codegen346k latest week
Week of 23 Sept 2025Week of 15 Sept 2026
@hey-api/openapi-ts
Major versions
- 0.27.3722 Mar 2024
Last 5 releases
- 0.99.022 Jun 2026
- 0.98.28 Jun 2026
- 0.98.11 Jun 2026
- 0.98.01 Jun 2026
- 0.97.325 May 2026
271 releases in total, 67 in the last 12 months
openapi-typescript-codegen
Major versions
- 0.0.124 Nov 2019
Last 5 releases
- 0.31.020 Jun 2026
- 0.30.022 Dec 2025
- 0.29.07 Apr 2024
- 0.28.019 Mar 2024
- 0.27.015 Jan 2024
99 releases in total, 2 in the last 12 months
@hey-api/openapi-ts
-
openapi-typescript-codegen
-
@hey-api/openapi-ts
-
openapi-typescript-codegen
-
- Need both ESM and CommonJS entry pointsNeither (@hey-api/openapi-ts: ESM only; openapi-typescript-codegen: CommonJS)
- Need to load it with require()openapi-typescript-codegen
- Need TypeScript types in the package itselfBoth
- Node.js version requirement@hey-api/openapi-ts: >=22.18.0; openapi-typescript-codegen: none declared (engines field in package.json)
- Need the more recent release@hey-api/openapi-ts (0.99.0 on 22 Jun 2026 vs 0.31.0 on 20 Jun 2026)
- Higher weekly npm downloads@hey-api/openapi-ts (3.4m vs 346k)
Each line is generated from the data above.
- @hey-api/openapi-ts vs zod-openapiNo search data
- @hey-api/openapi-ts vs @asteasolutions/zod-to-openapiNo search data
- openapi-fetch vs @hey-api/openapi-tsNo search data
- openapi-typescript-codegen vs openapi-client-axiosNo search data
- openapi-fetch vs openapi-typescript-codegenNo search data
- zod-openapi vs openapi-typescript-codegenNo search data
- openapi-typescript-codegen vs @kubb/oasNo search data
- typedoc vs openapi-typescript-codegenNo search data
- openapi-types vs openapi-typescript-codegenNo search data
@hey-api/openapi-ts: @hey-api/openapi-ts npm registry, @hey-api/openapi-ts npm downloads, @hey-api/openapi-ts GitHub. Data fetched 25 Sept 2026.
openapi-typescript-codegen: openapi-typescript-codegen npm registry, openapi-typescript-codegen npm downloads, openapi-typescript-codegen GitHub. Data fetched 25 Sept 2026.
Indexability: Indexed.