# copilot-api

Turn GitHub Copilot into OpenAI/Anthropic API compatible server. Usable with Claude Code\!

Canonical page: https://www.reposhelf.co.uk/projects/github/ericc-ch/copilot-api.html

- Project ID: ericc-ch/copilot-api
- Source: GitHub
- Original project: https://github.com/ericc-ch/copilot-api
- Description attribution: project author metadata
- Categories: Developer tools
- Technologies: Not recorded
- Licence: MIT
- Repository availability checked: 2026-11-04T07:43:11.780Z
- Demo page loaded: 2026-11-20T18:47:24.593Z

Generally permits modification and commercial use, subject to the licence’s notices and conditions.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> This is a reverse-engineered proxy of GitHub Copilot API. It is not supported by GitHub, and may break unexpectedly. Use at your own risk.

> GitHub Security Notice: Excessive automated or scripted use of Copilot \(including rapid or bulk requests, such as via automated tools\) may trigger GitHub's abuse-detection systems. You may receive a warning from GitHub Security, and further anomalous activity could result in temporary suspension of your Copilot access. GitHub prohibits use of their servers for excessive automated bulk activity or any activity that places undue burden on their infrastructure. Please review: - GitHub Acceptable Use Policies - GitHub Copilot Terms Use this proxy responsibly to avoid account restrictions.

> Note: If you are using opencode, you do not need this project. Opencode supports GitHub Copilot provider out of the box.

- OpenAI &amp; Anthropic Compatibility: Exposes GitHub Copilot as an OpenAI-compatible \(/v1/chat/completions, /v1/models, /v1/embeddings\) and Anthropic-compatible \(/v1/messages\) API.
- Claude Code Integration: Easily configure and launch Claude Code to use Copilot as its backend with a simple command-line flag \(--claude-code\).
- Usage Dashboard: A web-based dashboard to monitor your Copilot API usage, view quotas, and see detailed statistics.
- Rate Limit Control: Manage API usage with rate-limiting options \(--rate-limit\) and a waiting mechanism \(--wait\) to prevent errors from rapid requests.
- Manual Request Approval: Manually approve or deny each API request for fine-grained control over usage \(--manual\).

## Author-documented requirements and audience

> This is a reverse-engineered proxy of GitHub Copilot API. It is not supported by GitHub, and may break unexpectedly. Use at your own risk.





Not recorded: Account, External API key, Paid service, Self-hosting. Missing information does not mean there are no requirements.

Source: https://github.com/ericc-ch/copilot-api/blob/master/README.md

Extraction checked: 2026-10-31T02:39:57.926Z

Last recorded source update: 2025-11-10T08:56:46.000Z

Saved release: v0.7.0 — 2025-10-05T03:49:44.000Z. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=ericc-ch%2Fcopilot-api). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
