33rd of 15 in Gateways

new-api

Gateway that unifies LLM providers behind OpenAI, Anthropic and Gemini APIs

Stars
50.1k
License
AGPL-3.0
Last commit
Oct 2026
Last release
Oct 2026
Language
Go
Stars, last 29 weeks+27,252
27 Mar 2026: 22,842 stars3 Apr 2026: 24,134 stars10 Apr 2026: 25,465 stars17 Apr 2026: 26,803 stars24 Apr 2026: 28,180 stars1 May 2026: 29,544 stars8 May 2026: 31,247 stars15 May 2026: 33,027 stars22 May 2026: 34,366 stars29 May 2026: 35,580 stars5 Jun 2026: 36,685 stars12 Jun 2026: 38,026 stars19 Jun 2026: 38,874 stars26 Jun 2026: 39,747 stars3 Jul 2026: 40,547 stars10 Jul 2026: 41,362 stars17 Jul 2026: 42,156 stars24 Jul 2026: 42,910 stars31 Jul 2026: 43,603 stars7 Aug 2026: 44,248 stars14 Aug 2026: 44,824 stars21 Aug 2026: 45,558 stars28 Aug 2026: 46,419 stars4 Sept 2026: 47,082 stars11 Sept 2026: 47,727 stars18 Sept 2026: 48,253 stars25 Sept 2026: 48,772 stars2 Oct 2026: 49,123 stars9 Oct 2026: 49,536 stars16 Oct 2026: 50,094 stars

22,842 on 27 Mar 202650,094 on 16 Oct 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

New API is a Go and Gin gateway that connects upstream providers such as OpenAI, Anthropic, Gemini, Azure OpenAI, AWS Bedrock, Vertex AI, DeepSeek and Qwen. It exposes them through OpenAI Chat/Responses, Anthropic Messages and Gemini endpoints. A web console handles channel routing, users, quotas, pricing and usage logs. It runs on SQLite by default, or on MySQL or PostgreSQL with optional Redis.

Who it is for: Teams and operators sharing and metering access to multiple LLM providers

Ranked among open-source alternatives to OpenRouter (#3 of 10).

Strengths

  • Converts between OpenAI, Anthropic Messages and Gemini request formats via RelayKit
  • Channel priorities, weights, retries and multiple upstream keys per channel
  • Per-user quotas, subscriptions, usage logs and expression-based pricing
  • Starts on SQLite with one container; Compose file adds PostgreSQL and Redis

Weaknesses

  • AGPL-3.0 with extra terms requiring attribution and a visible project link in modified UIs
  • Protocol conversion is not exact; tools and fields may not map across protocols
  • Multi-node setups need shared database, secrets and Redis, or rate limits count per node
  • Public or resale use brings filing and compliance duties the README leaves to the operator

What it needs

  • no GPU
  • Docker + Compose
  • Needs SQLite, MySQL >= 5.7.8 or PostgreSQL >= 9.6, Redis (optional), ClickHouse (optional, log database)
  • Models: OpenAI, Anthropic, Google Gemini, Azure OpenAI, AWS Bedrock
  • port 3000

Head to head

Also in Gateways

See all 15
Also in Gateways
RankProjectScore
1LiteLLMOpenAI-format gateway and Python SDK for calling 100+ LLM providers61.4k starscustom license89 out of 100
2OmniRouteLLM gateway routing one OpenAI-compatible endpoint across 372 providers77.4k starsMIT87 out of 100
#4freellmapiOpenAI-compatible router that pools free LLM provider tiers behind one endpoint36.2k starsMIT77 out of 100
#5ContextForge MCP GatewayRegistry and proxy federating MCP, A2A, REST and gRPC behind one endpoint4.6k starsApache-2.068 out of 100
#6GoModelGo AI gateway with OpenAI and Anthropic APIs, caching and budgets Live demo ↗ (opens in a new tab)1.2k starsMIT64 out of 100