ericc-ch

    ericc-ch/copilot-api

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

    api
    github-copilot
    openai-api
    openai-compatible-api
    reverse-engineering
    TypeScript
    MIT
    4.1K stars
    669 forks
    4.1K GitHub watchers
    Updated Oct 26, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    No releases in the last 90 days; the most recent was 386 days ago, with 14 contributors on GitHub.

    Gained 73% fewer stars in the last 90 days than in the 90 days before.

    Use Cases & Benefits

    • Exposes GitHub Copilot as an OpenAI and Anthropic compatible API server for seamless integration with various AI tools.
    • Enables use of GitHub Copilot with any OpenAI or Anthropic API-compatible client, including Claude Code, without native support.
    • Use for integrating GitHub Copilot into custom AI workflows requiring OpenAI-compatible chat completions or embeddings.
    • Use for powering Anthropic Claude Code with GitHub Copilot as a backend via simple configuration or command-line flags.
    • Use for monitoring and controlling Copilot API usage with a web dashboard, rate limiting, and manual request approval.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    MIT

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present

    Watch-outs

    • No commits in the last six months (last push Nov 2025).

    General guidance from repository metadata, not legal advice. How we score

    From the README

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

    A reverse-engineered proxy for the GitHub Copilot API that exposes it as an OpenAI and Anthropic compatible service. This allows you to use GitHub Copilot with any tool that supports the OpenAI Chat Completions API or the Anthropic Messages API, including to power Claude Code.

    Excerpt from the ericc-ch/copilot-api README on GitHub (MIT license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    669+16

    Open issues

    138+6

    Compared with peers in API

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    ericc-ch/copilot-api compared with API repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    vxcontrol/pentagi33.5K+7123831 days ago
    usebruno/bruno48.2K+2815914 days ago
    agentgateway/agentgateway6.0K+183609 days ago
    mudler/LocalAI50.2K+1765912 days ago
    sveltejs/svelte88.6K+77659 days ago
    ericc-ch/copilot-api4.1K—13386 days ago
    Category median48.2K+18359—

    Discover Repositories

    Search across tracked repositories by name or description