# Hey API and Voxgig, compared

> The TypeScript ecosystem's generator. One language, done properly. MIT, TypeScript only, millions of weekly npm downloads. A plugin architecture that generates exactly what you ask for: types, a client, Zod schemas, TanStack Query hooks. On TypeScript specifically it is the more specialised tool. Published by Voxgig, which makes one of the two tools. Facts checked 7 September 2026.

## What it is

`@hey-api/openapi-ts` is an MIT-licensed OpenAPI to TypeScript generator with millions of weekly npm downloads, used by Vercel, PayPal and others. It is TypeScript only, on purpose.

Its architecture is a plugin pipeline. You choose what gets generated: types alone, or types plus an SDK, plus Zod schemas, plus TanStack Query hooks, plus whatever else the twenty or so plugins cover. Clients are available for fetch, axios, Angular, Next and Nuxt.

It is funded by sponsorship, with a Hey API Platform in beta. Pricing for the platform has not been announced, and the project says there will always be a free plan. The generator itself is free and open source.

## Facts

- Made by: Hey API
- Licence: MIT
- Source: github.com/hey-api/openapi-ts (https://github.com/hey-api/openapi-ts)
- Cost: Free. Platform in beta
- Language targets: TypeScript

## What Hey API does that Voxgig does not

### A plugin architecture at a genuinely useful grain

Nothing else in this comparison lets you choose the output at this resolution. Generate only types for a project that already has a client. Add a fetch client for one that does not. Add Zod validators where you take untrusted input, and TanStack Query hooks where you render it. Every other tool here, Voxgig included, generates a library shaped the way the generator thinks a library should be shaped.

### Generated TanStack Query hooks

This is the standout, and it is the clearest example of what specialising in one language buys you. For a React application talking to your API, generated query and mutation hooks with correct query keys per operation remove an entire hand-written layer that otherwise rots quietly every time the API changes. No multi-language generator will ever ship this, because the concept does not exist in Go, and that is exactly the point.

### Zod schemas from the same description

Runtime validation and static types from one source, in the shape the TypeScript ecosystem already uses, rather than a validation approach invented by the generator. Speakeasy does this too, in its own SDKs. Hey API gives it to you as a plugin you can point anywhere.

### Depth instead of breadth, chosen deliberately

One language means the output can follow that language's conventions exactly instead of the shape that survives translation into seven of them. A multi-language generator compromises somewhere by construction: Voxgig's TypeScript is written by a generator that also has to emit Go.

## Side by side

| | Hey API | Voxgig |
| --- | --- | --- |
| Licence | MIT | MIT |
| Cost | Free. Platform in beta, unpriced | Free |
| Language targets | TypeScript | 22 bundled language targets, more from packages |
| Frontend integration | TanStack Query hooks, Angular, Next, Nuxt clients | None. The SDK is framework neutral |
| Runtime validation | Zod, as a plugin | Not generated. Types only |
| Cross-cutting behaviour | Per plugin and per client | 18 generated features, same options in every target |
| MCP server, CLI, REPL | No | Yes |
| Output shape | Whatever you enable, plugin by plugin | A complete SDK, features opt-in at construction |

## Choose Hey API when

- TypeScript is the only client you need, now and in a year. If that is true, this is probably the right tool and the language count is not a real argument.
- You want generated TanStack Query hooks or Zod validators. Nothing else here gives you those.
- You want to generate types only, or a client only, and keep the rest of your data layer as it is.
- You want an MIT dependency with a very large user base and no account.

## Choose Voxgig when

- You need more than one language. That is the whole difference and it is a big one.
- You want retry, caching, idempotency, pagination and cost behaviour that means the same thing in Go and Python as it does in TypeScript, provable from one shared test corpus.
- You need the CLI, MCP server, REPL or Agent Skills surfaces over your API.
- You are the API provider shipping to customers whose language you do not get to choose.

## Limits of this comparison

- The language-count row compares a multi-language generator with a TypeScript-only one, and should not be read as a measure of either.
- On TypeScript output specifically, judged as TypeScript, Hey API is the more specialised tool and a React team may well be happier with it.
- The Hey API Platform is in beta and unpriced. Hey API is the source for its eventual commercial model.

Corrections go to info@voxgig.com. A correction changes the page and moves its checked date.

## First-party sources

- [heyapi.dev](https://heyapi.dev)
- [openapi-ts on GitHub](https://github.com/hey-api/openapi-ts)

## The other comparisons

- [All SDK generator comparisons](https://voxgig.com/sdk/comparisons): the index, the method, and the wider field.
- [OpenAPI Generator](https://voxgig.com/sdk/comparisons/openapi-generator): The community generator most APIs have shipped an SDK from at least once.
- [Speakeasy](https://voxgig.com/sdk/comparisons/speakeasy): Commercial SDK generation with the widest non-SDK output in this comparison.
- [Fern](https://voxgig.com/sdk/comparisons/fern): SDKs and a documentation site from one definition. Part of Postman since January 2026.
- [Stainless](https://voxgig.com/sdk/comparisons/stainless): The generator behind many of the best-known AI SDKs. Its hosted product is winding down.
- [APIMatic](https://voxgig.com/sdk/comparisons/apimatic): The longest-running commercial generator here, and the only one that converts between description formats.
- [liblab](https://voxgig.com/sdk/comparisons/liblab): SDK generation shaped as a release pipeline. Part of Postman since November 2025.
- [Kiota](https://voxgig.com/sdk/comparisons/kiota): Microsoft's client generator, built so you do not need a separate SDK per API.
- [Voxgig SDK Generator](https://voxgig.com/sdk)
