6,598 open-source and SaaS tools, with GitHub stats refreshed every day.

New API

Open source

A self-hosted AI gateway that connects many upstream model services and exposes one consistent API, with routing, access control, usage tracking and a web console.

Open-source alternative to

newapi.ai
New API homepage screenshot
GitHub stars
49k
Last commit
yesterday
Repository age
2 years
Version
v1.0.0-rc.41
Licence
AGPL-3.0
Self-hosted
Yes

About New API

New API is an AI gateway you host yourself, built for apps, agents and teams. It lets you plug in upstream model services, present one consistent API to clients, and handle routing, access, usage and cost management centrally. It is written in Go and released under the AGPL-3.0 license.

It can convert between formats so that various LLMs are reachable through OpenAI-compatible, Claude-compatible or Gemini-compatible interfaces. Supported upstreams range from OpenAI, Anthropic and Gemini to Azure OpenAI, AWS Bedrock, Vertex AI, DeepSeek and Qwen, plus other compatible services, and a web console is used for administration.

Typical uses are sharing authorized model access across a team, switching providers without reconfiguring every client, and operating a private multi-model service. The README stresses lawful, authorized use: users must obtain upstream keys legitimately, follow upstream terms, and meet any regulatory obligations if they offer AI services to the public. It suits teams and organizations that need centralized model management.

Key features

  • Unified gateway for multiple upstream model services
  • OpenAI, Claude and Gemini compatible formats
  • Routing, access control and usage tracking
  • Cost accounting and usage analytics
  • Web console for administration
  • Self-hosted private deployment

Good fit for

  • →Sharing model access across a team
  • →Switching providers without changing clients
  • →Private multi-model service
Built with
Go
Tags
ai-gateway
llm
openai-compatible
api-management
golang
self-hosted
model-routing
usage-analytics

Open-source alternatives to New API

See all

SaaS alternatives to New API

See all