yuchanns/copilot-openai-api
A FastAPI proxy server that seamlessly turns GitHub Copilot's chat completion/embeddings capabilities into OpenAI compatible API service.
Leverages GitHub Copilot's native configuration (OAuth tokens from VS Code, JetBrains, Vim, etc.) to extract credentials, then proxies `/v1/chat/completions`, `/v1/embeddings`, and `/v1/responses` endpoints with real-time streaming support and automatic token refresh. Supports cross-platform deployment via Docker or local FastAPI server with configurable worker processes and bearer-token authentication middleware.
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.
Compare
Higher-rated alternatives
CNSeniorious000/oai2ollama
OpenAI API -> Ollama API (original idea:...
theblixguy/xcode-copilot-server
GitHub Copilot proxy for Xcode with support for Claude Agent and Codex Agent.
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.
shyamsridhar123/ClaudeCode-Copilot-Proxy
Proxy server enabling Claude Code to work seamlessly with GitHub Copilot. Bridges AI coding...