Windows-Copilot-API exposes GPT-4 and GPT-5 via reverse-engineered OpenAI-compatible endpoint
Open-source tool converts copilot.microsoft.com into an OpenAI-compatible API, offering free access to GPT-4 and GPT-5 models via local server or Python library. Microsoft account required.

Windows-Copilot-API is a reverse-engineering project that transforms Microsoft's Copilot web interface into a free API endpoint compatible with OpenAI's format. The tool routes requests through copilot.microsoft.com, bypassing the need for API keys or direct payment while providing access to GPT-4 and GPT-5 models.
The implementation runs as either a local server or a Python library. Users need an active Microsoft Copilot account to authenticate requests, but the tool eliminates direct API costs by piggybacking on the consumer web interface.
What stands out
- 01Models accessible: GPT-4 and GPT-5 through Microsoft's Copilot interface without a direct OpenAI subscription.
- 02Deployment flexibility: Runs as a standalone local server or integrates as a Python library into existing codebases.
- 03Authentication requirement: A valid Microsoft Copilot account is mandatory—the tool converts the chat interface into programmatic access but doesn't bypass login.
- 04OpenAI-compatible output: API responses match OpenAI's format, making it a drop-in replacement for scripts and tools expecting OpenAI endpoints.
- 05Maintenance risk: Microsoft could patch the underlying interface at any time, breaking the tool until maintainers update the implementation.



