Skip to content
OSSsoftware

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.

Open sourceSelf-hostableThriving · 100/10052k GitHub stars

new-api is an open-source project in the AI category written in Go, released under the AGPL-3.0 license. It has 52,478 GitHub stars and its last commit was today.

GitHub activity

Stars
52,478
Forks
12,832
Open issues
795
Last commit
today
Latest release
v1.0.0-rc.51 · 11 days ago
Created
2023

#claude#gemini#openai#rerank#ai-gateway#deepseek#newapi#api-management#llm-gateway#model-routing#self-hosted

new-api at a glance

Website
newapi.ai
Open source
Yes
License
AGPL-3.0
Language
Go
Pricing
Free
Self-hosted
Yes
Categories
AIGo (Golang)

new-api vs similar projects

new-api compared with similar open-source projects
ProjectStarsLicenseLanguageLast commitHealth
new-apiOpen-source AI gateway. Self-hosted LLM gateway with OpenAI-, Claude- and Gemini-compatible APIs, model routin52k GitHub starsAGPL-3.0GotodayThriving
OpenCodeOpen-source AI coding agent that works with any model provider from the terminal.229k GitHub starsMITTypeScripttodayThriving
n8nSecure, AI-native workflow automation.212k GitHub starsOtherTypeScripttodayThriving
OllamaOpen-source platform for running large language models locally on macOS, Windows and Linux.188k GitHub starsMITGotodayThriving
Open WebUISelf-hosted AI interface for local and cloud language models with RAG and tool support.159k GitHub starsOtherSveltetodayThriving
ComfyUIOpen-source node-based interface and backend for advanced AI image generation workflows.148k GitHub starsGPL-3.0PythontodayThriving
ImmichOpen-source self-hosted photo and video management platform with AI-powered search and recognition.120k GitHub starsAGPL-3.0TypeScripttodayThriving

new-api FAQ

What is 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.

Is new-api open source?

Yes. new-api's source code is public on GitHub (QuantumNous/new-api) under the AGPL-3.0 license.

Is new-api still maintained?

new-api's last commit was on 2026-11-24 (today), latest release v1.0.0-rc.51 on 2026-11-13. Health score: 100/100.

Is new-api free?

new-api is free to use and can be self-hosted; some projects also sell an optional hosted plan.

What are the best alternatives to new-api?

Similar projects include OpenCode (★ 229k), n8n (★ 212k), Ollama (★ 188k), Open WebUI (★ 159k), ComfyUI (★ 148k).

Share:XLinkedIn

Maintain new-api? Add the badge to your README

Shows your project's health score and links back to this page.

new-api on OSS Software
[![new-api on OSS Software](https://osssoftware.org/badge/new-api.svg)](https://osssoftware.org/tools/new-api/)