copilot-api is a local gateway and desktop app that lets coding agents such as Claude Code, Codex and OpenCode talk to several AI providers through one endpoint. It accepts requests in the OpenAI, Anthropic and Gemini API formats and forwards them to GitHub Copilot, Codex, xAI, Gemini and third-party services. It is aimed at developers who already pay for one or more of these services and want their agent tools to use them.
The project is open source under the MIT license and runs on Mac, Windows and Linux. It includes a desktop app alongside the gateway. Its source tags also mention Antigravity support and OpenAI Responses compatibility. The facts do not state a pricing model beyond the open source license.
Alternatives to copilot-api
Products that do a similar job in AI Tools.
magpie
Pools several AI coding subscriptions and fails over to the next when one runs out
9router
Gateway that routes AI coding assistants to many model providers
cc-switch
Desktop switcher for Claude Code, Codex and other AI coding assistants
OmniRoute
OpenAI-compatible gateway for routing requests across many AI providers
new-api
Self-hosted gateway that routes LLM API calls across providers
Open WebUI
Self-hosted web interface for chatting with local and remote language models
Jan
Offline desktop chat app for running language models locally
Claude DevTools
Viewer for analysing Claude Code session runs