New API connects upstream LLM providers behind one consistent API and web console. Teams manage routing, keys, quotas, and costs without reconfiguring every client.
Overview
New API is a self-hosted gateway for applications, agents, and teams that need shared access to many upstream model services. It exposes OpenAI-, Anthropic-, and Gemini-style endpoints, routes traffic through configured channels, and centralizes authentication, usage logs, and billing-style accounting.
Upstream integrations include OpenAI, Anthropic, Google Gemini, Azure OpenAI, AWS Bedrock, Vertex AI, DeepSeek, Qwen, and other compatible providers. RelayKit converts requests and responses between the major text protocols, including streaming and WebSocket paths where the channel and model support them. The console lets administrators configure channels and models, review usage and audit logs, and try models in a playground.
Routing features include model mappings, channel priorities and weights, retries, channel affinity, and multiple upstream keys. Usage controls cover quotas, subscriptions, usage logs, cache accounting, and tiered pricing expressions. Access management supports users, groups, fine-grained permissions, API key limits, OAuth/OIDC, passkeys, two-factor authentication, and session handling. JavaScript task plugins can extend asynchronous image, video, and other task APIs.
Typical deployment uses Docker on Linux amd64 or arm64, with SQLite, MySQL, or PostgreSQL for the main database, optional Redis for shared caching and rate limits, and optional separate log storage including ClickHouse. A Compose stack can run the application with PostgreSQL and Redis. Local trials can start a single container bound to localhost with SQLite and a setup wizard for the first admin account.
Key features
- OpenAI, Anthropic, and Gemini compatible endpoints
- Weighted channel routing with retries
- Quotas, subscriptions, and usage logging
- OAuth, OIDC, passkeys, and API key controls
- Web console with model playground
- JavaScript plugins for async media tasks
- Docker and Compose deployment options
- Multi-language console localization
Use cases
- Team-wide shared model access
- Switching providers without client changes
- Private multi-model API service
- Organization-level usage and cost tracking
- Unified gateway for agents and apps
Does the same job as
New API doesn't name these products itself, but its own description shows it does the same job.