Description
Copilot API Gateway is a free and open source VS Code extension that runs a local HTTP API on your machine. It exposes your signed-in GitHub Copilot session as an OpenAI-compatible endpoint, so tools that accept an OpenAI base URL can send requests through your existing Copilot subscription instead of a separate API key. The site shows an example with the OpenAI Python client pointed at a localhost address, and says that tools such as LangChain, Cursor and Aider can use it. It lists access to models from OpenAI, Anthropic, Google and Meta through one endpoint. It also includes built-in workflows such as a Playwright generator, a Jira integration and a SQL builder. The extension installs from Open VSX, and the code is on GitHub.…
Highlights
- Local HTTP API server for your Copilot session
- OpenAI-compatible endpoint for SDKs and tools
- Works with LangChain, Cursor and Aider, per the site
- Built-in workflows: Playwright generator, Jira, SQL builder
- Free and open source VS Code extension
Ratings & Reviews
No ratings yet
Be the first to rate Github Copilot API Vscode.
People also visit
Github Copilot API Vscode FAQ
What is Copilot API Gateway?
A VS Code extension that exposes your authenticated GitHub Copilot session as a local HTTP API server, so tools that speak the OpenAI API can use it.
Do I need a Copilot subscription?
Yes. The gateway uses the Copilot session of your own GitHub account, so the subscription you already have is what it runs on.
Is it free?
The extension is free and open source. The site says you do not need separate API keys for the models it lists.
How do I start it?
Install the extension from Open VSX using the site's install button, start the server, then point your OpenAI client at http://127.0.0.1:3030/v1 as the examples show.
Does it need API keys or tokens?
The site says there are no API keys to manage and no tokens to refresh, because the gateway uses your signed-in Copilot session.
What are the best Github Copilot API Vscode alternatives?
Popular alternatives to Github Copilot API Vscode include System Prompts And Models Of AI Tools, Agentrove and Vscode Unify Chat Provider. See all Github Copilot API Vscode alternatives
