Sonic by bytedance

A blazingly fast JSON serializing & deserializing library

high-performancejsonjitsimd
Verdict 67/100 health $4.13/mo cheapest, hetzner 2/5 setup difficulty Last release 10 days ago

Self-host Sonic on hetzner CAX11 for $4.13/mo.

Health score
67 /100
6-dim composite
Self-hosts from
$4.13 /mo
hetzner · CAX11
Difficulty
2 /5
Docker + read README
GitHub stars
9.4k
443 forks

About Sonic

From the project's README at github.com/bytedance/sonic. Lightly cleaned for readability; for the full source see the upstream repo.

A blazingly fast JSON serializing deserializing library, accelerated by JIT (just-in-time compiling) and SIMD (single-instruction-multiple-data). Requirement Go: 1.18~1.26 Notice: Go1.24.0 is not supported due to the issue; please use a higher Go version or pass the build flag . OS: Linux / MacOS / Windows CPU: AMD64 / (ARM64, need go1.20 above) Features Runtime object binding without code generation Complete APIs for JSON value manipulation Fast, fast, fast! APIs

For all sizes of json and all scenarios of usage, Sonic performs best. Medium (13KB, 300+ key, 6 layers)

```powershell goversion: 1.17.1 goos: darwin goarch: amd64 cpu: Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz BenchmarkEncoderGenericSonic-16 32393 ns/op 402.40 MB/s 11965 B/op 4 allocs/op BenchmarkEncoderGenericSonicFast-16 21668 ns/op 601.57 MB/s 10940 B/op 4 allocs/op BenchmarkEncoderGenericJsonIter-16 42168 ns/op 309.12 MB/s 14345 B/op 115 allocs/op BenchmarkEncoderGeneric_GoJson-16 65189 ns/op 199.96 MB/s 23261 B/op 16 allocs/op

Health score breakdown

6-dimension composite. See methodology for formula and weights.

activity
53
maturity
100
community
90
security
70
sustainability
65
adoption
34

Adoption signals

Real-world usage data, pulled from each registry. The bigger the numbers, the more battle-tested the project.

SignalValueSource
GitHub stars 9.4k github.com/bytedance/sonic
GitHub forks 443 github.com/bytedance/sonic

Release & maintenance

Is this project actively maintained, or about to die? Check the recency of last commit and last release.

Project age5.0 yearssince May 2021
Last commit10 days agoApr 27, 2026
Releases shipped79last: 10 days ago

Self-hosting cost across providers

Detected requirements: 4GB RAM, 40GB disk minimum. Cheapest plan per provider that meets the requirement.

ProviderPlanSpecsMonthly
hetzner CAX11 2c · 4GB · 40GB $4.13 USD Deploy →
vultr VC2 1c · 1GB · 25GB $5 USD Deploy →
linode Nanode 1GB 1c · 1GB · 25GB $5.12 USD Deploy →
digitalocean Basic Regular 1GB 1c · 1GB · 25GB $6 USD Deploy →

What people say on Hacker News

Ready to self-host Sonic?

Spin up a hetzner CAX11 (4GB RAM, 40GB disk) for $4.13/mo and follow the project's official install docs.

Data last refreshed May 7, 2026.

Similar open-source projects

Projects in our directory that replace the same SaaS or share topics with Sonic.

Frequently asked questions

Last verified . Data refreshes every 30 minutes.