Stubs and the Buf Schema Registry
Stubs is a Protobuf schema registry that works with the buf CLI and the buf.yaml you already have. If you use the Buf Schema Registry today, this is what stays the same, what it costs, and how to try Stubs with one module.
Price
At least 25% less per type*
Both are priced by the types in your private repositories, not by the number of people who use them. Stubs's free plan holds more, and Pro starts lower. Prices are in USD a month.
* The Buf Schema Registry's prices as published at buf.build/pricing, compared on 28 November 2026. Buf may have changed them since. Prices exclude tax; a month's cost is the price per type times the types, and never less than Pro's minimum. Stubs's prices in other currencies are on the pricing page.
Compatible
What stays the same
- 01
The buf CLI works
Sign buf in to stubs.dev, then push, update dependencies and generate as you do now. We test it with buf itself on every change.
- 02
Your config files
buf.yaml and buf.gen.yaml are read as they are, so there's nothing to rewrite to try it.
- 03
The same checks
Lint and breaking-change rules, ignore comments and command options are the same. The stubs CLI is built from buf's own open-source engine.
- 04
Remote plugins
protobuf-es, connect-go, grpc-java and the rest, at the same versions, under new names that stubs config migrate fills in.
- 05
Your other dependencies
Dependencies on modules that stay on buf.build keep resolving, so you can move one module at a time.
On Stubs
What you get on Stubs
- 01
Prices in pounds, euros and dollars
Free for open source and one private repository. Teams is priced per type, billed in your currency by a UK company.
- 02
Generated SDKs
For TypeScript, Go, Java, Kotlin and Python, versioned with every commit and installed with npm, go get, Gradle or Maven, and pip.
- 03
Governance on Teams
Breaking-change and lint policies checked on every push, with an approval queue before a label moves.
- 04
Its own CLI, if you want it
stubs is buf's engine with the registry's name and defaults. Use it, or keep using buf: both work.
Moving
Try it with one module
Keep using buf and sign it in to stubs.dev, or switch a project to the stubs CLI: it converts your buf files and leaves them in place.
- 01
Sign in
Create an API token on Stubs, then sign the CLI in with it. The buf CLI signs in the same way.
$ stubs login stubs.dev --token-stdin - 02
Convert your config
Writes stubs.yaml and stubs.gen.yaml from your buf files, with the plugins renamed. Then stubs dep update pins your dependencies.
$ stubs config migrate - 03
Push
Creates the module on the first push. Its docs and search are ready at once, and each SDK is built the first time it's installed.
$ stubs push --create
What Stubs doesn't do yet
- SDKs for languages beyond TypeScript and JavaScript, Go, Java, Kotlin and Python (no Swift, Rust or C# yet).
- The stubs CLI signs in and pushes only to Stubs. Keep using buf to push to another registry.
- Custom plugins are hosted only on Pro, which runs on a private instance.
Try Stubs with your own schemas
Create an account, push a module and install your first generated SDK in a few minutes.