One API — AI skill for Claude Code
OpenRouter’s open‑source alternative.
How to install One API
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Anil-matcha/one-api and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What One API does
OpenRouter’s open‑source alternative. Multi-model/Multi-API-format/Multi-tenant LLM API aggregation platform.
Alternatives in AI
- WeKnora — Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, an 26.9k ★
- Open Pencil — AI-native design editor 8k ★
- Paca — AI-native, free, open-source alternative to Jira, Trello, ClickUp & Monday 1.8k ★
README
One API
Synopsis
Open‑source version of OpenRouter, managed through a unified gateway that handles all AI SaaS model calls. Core functions include:
- Aggregating chat, image, speech, TTS, embeddings, rerank and other capabilities.
- Aggregating multiple model providers such as OpenAI, Anthropic, Azure, Google Vertex, OpenRouter, DeepSeek, Replicate, AWS Bedrock, Groq, Grok/xAI, Fireworks, NVIDIA, Cerebras, Cloudflare, ZHIPU GLM, Z.ai, Cohere, etc.
- Aggregating various upstream API request formats like Chat Completion, Response, Claude Messages.
- Supporting different request formats; users can issue requests via Chat Completion, Response, or Claude Messages, which are automatically and transparently converted to the native request format of the upstream model. Even if the client sends a mismatched request format to wrong api endpoint, it will still be correctly processed.
- Supporting multi‑tenant management, allowing each tenant to set distinct quotas and permissions.
- Supporting generation of sub‑API Keys; each tenant can create multiple sub‑API Keys, each of which can be bound to different models and quotas.

Also welcome to register and use my deployed one-api gateway, which supports various mainstream models. For usage instructions, please refer to .
Try it at , login with `test` / `12345678`. 🚀
📖 **API reference** — see [docs/manuals/api_references.md](docs/manuals/api_references.md) for the complete HTTP API: authentication, conventions, errors, and every endpoint with `curl` examples, organized for both end-users (inference + API-key management) and administrators.
=== One-API Compatibility Matrix 2025-12-12T04:37:09Z ===
Request Format gpt-4o-mini gpt-5-mini claude-haiku-4-5 gemini-2.5-flash openai/gpt-oss-20b deepseek-chat grok-4-1-fast-non-reasoning azure-gpt-5-nano
C
Related Skills
DuDuClaw
Open-source AI Agent platform — 80+ MCP tools, 7 channels (Slack/Discord/LINE/Telegram), Rust + Python. Self-h
Kolkrabbi
Open-source model-agnostic AI coding agent for the terminal. A Claude Code & Codex CLI alternative: any OpenRo
Agent Plane
A multi-tenant platform for running AI agents in isolated Vercel Sandboxes, exposed via a REST API. Supports a
Browser Operator Core
Browser Operator - The AI browser with built in Multi-Agent platform! Open source alternative to ChatGPT Atlas
Abu Cowork
Open-source alternative to Claude Cowork — a local-first AI agent desktop app · multi-model · self-evolving sk
Open Managed Agents
Self-hostable, open-source alternative to Claude Managed Agents. Multi-LLM support (Anthropic, OpenAI, Ollama)
Related Agents
LLM Orchestrator
Use this agent for LLM integration work — prompt engineering, multi-provider abstraction (OpenRouter, Gemini,
Data Platform Architect
Makes multi-cloud/open-source data platform decisions — storage, compute, orchestration, batch-vs-streaming —
🦀 Claw CR
Der Open-Source-Coding-Agent, in Rust gebaut. Alternative zu ClaudeCode Status Language