Source: https://seerepo.com/compare/QuantumNous/new-api/vs/TencentCloud/CubeSandbox
Markdown source: https://seerepo.com/compare/QuantumNous/new-api/vs/TencentCloud/CubeSandbox.md
Description: new-api and CubeSandbox share 16 technologies: Gin, pgx, Redis, MySQL, Postgres, github.com/glebarez/sqlite, React, gorm.io/gorm, github.com/golang-jwt/jwt/v5, golang.org/x/oauth2, Prometheus, Tailwind CSS, class-variance-authority, tailwind-merge, cmdk, and Lucide. Both are written in Go.

# new-api vs CubeSandbox

new-api and CubeSandbox share 16 technologies: Gin, pgx, Redis, MySQL, Postgres, github.com/glebarez/sqlite, React, gorm.io/gorm, github.com/golang-jwt/jwt/v5, golang.org/x/oauth2, Prometheus, Tailwind CSS, class-variance-authority, tailwind-merge, cmdk, and Lucide. Both are written in Go.

- [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.
- [TencentCloud/CubeSandbox](https://seerepo.com/r/TencentCloud/CubeSandbox): Instant, Concurrent, Secure & Lightweight Sandbox for AI Agents.

## What they share and what sets them apart

- In common: Gin, pgx, Redis, MySQL, Postgres, github.com/glebarez/sqlite, React, gorm.io/gorm, github.com/golang-jwt/jwt/v5, golang.org/x/oauth2, Prometheus, Tailwind CSS, class-variance-authority, tailwind-merge, cmdk, Lucide
- Only in new-api: github.com/samber/hot, ClickHouse, github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream, github.com/glebarez/go-sqlite, Stripe, github.com/gin-contrib/static, Electron, TanStack, gorm.io/driver/clickhouse, github.com/go-webauthn/webauthn, github.com/casbin/casbin/v2, github.com/aws/aws-sdk-go-v2/credentials, github.com/Azure/go-ntlmssp, github.com/coreos/go-oidc/v3, github.com/pquerna/otp, 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/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, sonner, React Hook Form, @tanstack/react-table, Base UI, motion, visactor, xyflow, CodeMirror, react-day-picker, @lezer/highlight, yace, auto-skeleton-react, embla-carousel-react, input-otp, react-resizable-panels, react-top-loading-bar, recharts, use-stick-to-bottom, vaul, hugeicons, @lobehub/icons, react-icons, ai, tokenlens, stream-markdown-parser, dompurify, marked, shiki, katex, qrcode.react, yaml, Zod, @hookform/resolvers
- Only in CubeSandbox: net/http, axum, go-redis, redigo, etcd, github.com/pressly/goose/v3, github.com/patrickmn/go-cache, MinIO, axum-extra, Tokio, micro_http, github.com/charmbracelet/bubbletea, tower, Vite, react-router-dom, github.com/charmbracelet/lipgloss, github.com/charmbracelet/bubbles, github.com/containerd/console, termion, oci-spec, validator, github.com/invopop/jsonschema, containerd, log, slog, tracing, github.com/containerd/log, github.com/sirupsen/logrus, go.uber.org/zap, cgroups-rs, slog-scope, github.com/docker/go-metrics, env_logger, github.com/prometheus/client_model, github.com/rcrowley/go-metrics, k8s.io/klog/v2, k8s.io/kubelet, opentelemetry, tracing-subscriber, k8s.io/cloud-provider, slog-async, tracing-opentelemetry, github.com/containerd/containerd, github.com/containerd/go-cni, github.com/coreos/go-systemd/v22, github.com/go-logr/logr, github.com/Microsoft/hcsshim, Kubernetes, slog-json, slog-stdlog, slog-term, syslog, tracing-appender, fontsource-variable, Radix UI

## Side by side

| | new-api | CubeSandbox |
|---|---|---|
| Size | 574,385 lines written, 1,977 code files | 694,668 lines written, 1,457 code files |
| Who writes it | 0.7% of its commits signed by AI. With Claude Code, CodeRabbit, Codex, Jules, and Cursor | 7.1% of its commits signed by AI. With Cursor and Claude Code |
| Activity | Last push November 9, 2026, 5,433 commits, 51,683 stars | Last push November 10, 2026, 1,190 commits, 13,209 stars |
| Tests | 515 test files. 39.5% of its code files have a test that imports them | 854 test files. 50.9% 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, new-api or CubeSandbox?

CubeSandbox, with 694,668 lines written; new-api has 574,385.

The proof: [TencentCloud/CubeSandbox's code at commit 0ad605c](https://github.com/TencentCloud/CubeSandbox/tree/0ad605c4672b9c49cbe24c8a7fedd0ab582d26d1)

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

new-api, with 51,683 stars; CubeSandbox has 13,209.

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

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

CubeSandbox, with 854 test files; new-api has 515.

The proof: [TencentCloud/CubeSandbox's code at commit 0ad605c](https://github.com/TencentCloud/CubeSandbox/tree/0ad605c4672b9c49cbe24c8a7fedd0ab582d26d1)

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

CubeSandbox: its last push was on November 10, 2026, and new-api's on November 9, 2026.

The proof: [TencentCloud/CubeSandbox's commits on GitHub](https://github.com/TencentCloud/CubeSandbox/commits)

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

CubeSandbox: an AI signed 7.1% of its commits, with Cursor and Claude Code; in new-api, 0.7%.

The proof: [the commits each tool signed in TencentCloud/CubeSandbox](https://seerepo.com/r/TencentCloud/CubeSandbox/ai)

## Sources

- QuantumNous/new-api: Read on November 10, 2026, at commit bd6bb53 (https://github.com/QuantumNous/new-api/tree/bd6bb53019fb7e21804b31ab7365c9b2097f4b6c)
- TencentCloud/CubeSandbox: Read on November 10, 2026, at commit 0ad605c (https://github.com/TencentCloud/CubeSandbox/tree/0ad605c4672b9c49cbe24c8a7fedd0ab582d26d1)

## 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.
