A free local API wrapper for Windows Copilot’s GPT-4o
An unofficial tool turns the free GPT-4o access inside Windows Copilot into a local API that follows the OpenAI format. It signs in to a Microsoft account once, saves the session, and runs a local server at http://localhost:8000/v1.
Pointing the OpenAI SDK to that local address lets existing code work with little or no change. It supports streaming and , so it can be used for automation, side projects, and light workloads where paid GPT-4o credits would be wasteful.
A spare Windows laptop or Windows server with a separate Microsoft account could act as a free AI endpoint for personal tools and agents. The project is unofficial, not connected to Microsoft, and automates consumer Copilot, so account limits, reliability, and risk are real concerns.
Key points
- The tool exposes Windows Copilot’s GPT-4o access as an .
- It runs a local server after signing in to a Microsoft account once.
- Existing code can point the OpenAI SDK at localhost instead of OpenAI’s servers.
- It supports streaming and for lightweight .
- The biggest risks are account bans, service changes, and issues.