yuchanns/copilot-openai-api
A FastAPI proxy server that seamlessly turns GitHub Copilot's chat completion/embeddings capabilities into OpenAI compatible API service.
This tool helps developers who want to use GitHub Copilot's AI capabilities within their applications but prefer to interact with a standard OpenAI-compatible API. It acts as a bridge, taking requests formatted for OpenAI's chat completion or embedding services and translating them to communicate with GitHub Copilot. The output is Copilot's AI-generated text or embeddings, ready for integration into your software projects.
Use this if you are a developer with an existing OpenAI API integration in your application and want to switch to using GitHub Copilot's language models without rewriting your code.
Not ideal if you do not have a GitHub Copilot subscription or are looking for a direct, non-API-based way to interact with GitHub Copilot.
Stars
41
Forks
4
Language
Python
License
Apache-2.0
Category
Last pushed
Mar 13, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/yuchanns/copilot-openai-api"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
theblixguy/xcode-copilot-server
GitHub Copilot proxy for Xcode with support for Claude Agent and Codex Agent.
CNSeniorious000/oai2ollama
OpenAI API -> Ollama API (original idea:...
shyamsridhar123/ClaudeCode-Copilot-Proxy
Proxy server enabling Claude Code to work seamlessly with GitHub Copilot. Bridges AI coding...
hankchiutw/copilot-proxy
A simple HTTP proxy that exposes your GitHub Copilot free quota as an OpenAI-compatible API
srikanth235/privy
An open-source alternative to GitHub copilot that runs locally.