Source: https://seerepo.com/compare/dexidp/dex/vs/QuantumNous/new-api
Markdown source: https://seerepo.com/compare/dexidp/dex/vs/QuantumNous/new-api.md
Description: dex and new-api share 7 technologies: MySQL, Postgres, golang.org/x/oauth2, github.com/coreos/go-oidc/v3, github.com/go-webauthn/webauthn, github.com/pquerna/otp, and Prometheus. Both are written in Go.

# dex vs new-api

dex and new-api share 7 technologies: MySQL, Postgres, golang.org/x/oauth2, github.com/coreos/go-oidc/v3, github.com/go-webauthn/webauthn, github.com/pquerna/otp, and Prometheus. Both are written in Go.

- [dexidp/dex](https://seerepo.com/r/dexidp/dex): OpenID Connect (OIDC) identity and OAuth 2.0 provider with pluggable connectors
- [QuantumNous/new-api](https://seerepo.com/r/QuantumNous/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.

## What they share and what sets them apart

- In common: MySQL, Postgres, golang.org/x/oauth2, github.com/coreos/go-oidc/v3, github.com/go-webauthn/webauthn, github.com/pquerna/otp, Prometheus
- Only in dex: net/http, Gorilla, go-sqlite3, pq, SQLite, etcd, OpenBao, entgo.io/ent, github.com/go-jose/go-jose/v4, github.com/go-ldap/ldap/v3, github.com/jcmturner/gokrb5/v8, github.com/russellhaering/goxmldsig, github.com/beevik/etree, github.com/mattermost/xml-roundtrip-validator, cloud.google.com/go/compute/metadata, github.com/grpc-ecosystem/go-grpc-prometheus
- Only in new-api: Gin, pgx, Redis, github.com/samber/hot, ClickHouse, github.com/glebarez/go-sqlite, github.com/glebarez/sqlite, Stripe, github.com/MoeForge/moejs, github.com/gin-contrib/static, Electron, React, tanstack, gorm.io/gorm, gorm.io/driver/clickhouse, github.com/casbin/casbin/v2, github.com/golang-jwt/jwt/v5, github.com/aws/aws-sdk-go-v2/credentials, github.com/Azure/go-ntlmssp, openai-go, relaykit, tokenkit, github.com/aws/aws-sdk-go-v2/service/bedrockruntime, github.com/tiktoken-go/tokenizer, golang.org/x/image, github.com/abema/go-mp4, github.com/go-audio/aiff, github.com/go-audio/wav, github.com/jfreymuth/oggvorbis, github.com/ledongthuc/pdf, github.com/mewkiz/flac, github.com/tcolgate/mp3, github.com/yapingcat/gomedia, 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, visactor, xyflow, CodeMirror, react-day-picker, @lezer/highlight, yace, auto-skeleton-react, 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, stream-markdown-parser, marked, dompurify, shiki, katex, qrcode.react, yaml, Zod, @hookform/resolvers

## Side by side

| | dex | new-api |
|---|---|---|
| Size | 78,450 lines written, 216 code files | 639,527 lines written, 2,070 code files |
| Who writes it | 0.4% of its commits signed by AI. With GitHub Copilot, Claude Code, and Codex | 0.7% of its commits signed by AI. With Claude Code, CodeRabbit, Codex, Jules, and Cursor |
| Activity | Last push November 12, 2026, 2,846 commits, 11,252 stars | Last push November 13, 2026, 5,444 commits, 51,856 stars |
| Tests | 106 test files. 52.8% of its code files have a test that imports them | 571 test files. 41.4% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, dex or new-api?

new-api, with 639,527 lines written; dex has 78,450.

The proof: [QuantumNous/new-api's code at commit b20e056](https://github.com/QuantumNous/new-api/tree/b20e0566b235716383da42450c6c536689de9b43)

### Which has more GitHub stars, dex or new-api?

new-api, with 51,856 stars; dex has 11,252.

The proof: [QuantumNous/new-api on GitHub](https://github.com/QuantumNous/new-api)

### Which has more tests, dex or new-api?

new-api, with 571 test files; dex has 106.

The proof: [QuantumNous/new-api's code at commit b20e056](https://github.com/QuantumNous/new-api/tree/b20e0566b235716383da42450c6c536689de9b43)

### Which was updated more recently, dex or new-api?

new-api: its last push was on November 13, 2026, and dex's on November 12, 2026.

The proof: [QuantumNous/new-api's commits on GitHub](https://github.com/QuantumNous/new-api/commits)

### Which has more commits signed by AI, dex or new-api?

new-api: an AI signed 0.7% of its commits, with Claude Code, CodeRabbit, Codex, Jules, and Cursor; in dex, 0.4%.

The proof: [the commits each tool signed in QuantumNous/new-api](https://seerepo.com/r/QuantumNous/new-api/ai)

## Sources

- dexidp/dex: Read on November 12, 2026, at commit 80ef16f (https://github.com/dexidp/dex/tree/80ef16f4492407dd8c6928f284bddf5a22a9ddff)
- QuantumNous/new-api: Read on November 13, 2026, at commit b20e056 (https://github.com/QuantumNous/new-api/tree/b20e0566b235716383da42450c6c536689de9b43)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
