headscale vs new-api
headscale and new-api share 6 technologies: Postgres, github.com/glebarez/sqlite, gorm.io/gorm, github.com/coreos/go-oidc/v3, golang.org/x/oauth2, and Prometheus. Both are written in Go.
What they share and what sets them apart
headscale
An open source, self-hosted implementation of the Tailscale control server
Go45.4kRead on November 6, 2026, at commit 0bdc332What is headscale built with?Only in headscale
- chi
- HashiCorp
- SQLite
- github.com/tailscale/hujson
- github.com/rs/zerolog
- Docker
- github.com/prometheus/common
- github.com/libdns/cloudflare
- go.uber.org/zap
In common
- Postgres
- github.com/glebarez/sqlite
- gorm.io/gorm
github.com/coreos/go-oidc/v3
- golang.org/x/oauth2
- Prometheus
new-api
Open-source AI gateway. Self-hosted LLM gateway with OpenAI-, Claude- and Gemini-compatible APIs, model routing, access control, usage tracking and cost accounting.
Go51.4kRead on November 5, 2026, at commit 2de51a1What is new-api built with?Only in new-api
- Gin
- pgx
- Redis
- ClickHouse
- MySQL
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream
- Stripe
- Electron
- React
- TanStack
github.com/go-webauthn/webauthn
github.com/casbin/casbin/v2
github.com/golang-jwt/jwt/v5
github.com/aws/aws-sdk-go-v2/credentials
- github.com/Azure/go-ntlmssp
- github.com/pquerna/otp
- github.com/tiktoken-go/tokenizer
- golang.org/x/image
github.com/abema/go-mp4
github.com/go-playground/validator/v10
github.com/aws/aws-sdk-go-v2
- github.com/grafana/pyroscope-go
- Tailwind CSS
class-variance-authority
tailwind-merge
sonner
- React Hook Form
- @tanstack/react-table
- Base UI
motion
- xyflow
@visactor/vchart
- CodeMirror
react-day-picker
- @lezer/highlight
- cmdk
embla-carousel-react
input-otp
react-resizable-panels
- react-top-loading-bar
recharts
- use-stick-to-bottom
vaul
- Lucide
hugeicons
@lobehub/icons
react-icons
ai
tokenlens
- dompurify
marked
shiki
katex
- qrcode.react
yaml
- Zod
@hookform/resolvers
Side by side
Frequently asked questions
Which is bigger, headscale or new-api?
The proof: QuantumNous/new-api's code at commit 2de51a1
Which has more GitHub stars, headscale or new-api?
The proof: QuantumNous/new-api on GitHub
Which has more tests, headscale or new-api?
The proof: QuantumNous/new-api's code at commit 2de51a1
Which was updated more recently, headscale or new-api?
The proof: juanfont/headscale's commits on GitHub
Which has more commits signed by AI, headscale or new-api?
The proof: the commits each tool signed in QuantumNous/new-api
See inside your code, today.
Paste your repo and see it drawn, part by part: a medium one in under a minute.
Free, no account.

