http://localhost:4141 and your requests go to GitHub Copilot instead.
Base URL
--port.
Authentication
When you have API keys configured inauth.apiKeys, pass one of the following headers with every request:
| Header | Format |
|---|---|
x-api-key | x-api-key: <key> |
Authorization | Authorization: Bearer <key> |
auth.apiKeys is empty, the server accepts requests without authentication.
POST /v1/chat/completions
Creates a model response for a chat conversation in OpenAI Chat Completions format. Compatible with any tool that uses the OpenAI SDK or calls the OpenAI API directly.POST /v1/responses
OpenAI’s most advanced interface for generating model responses (Responses API). Used by Claude Code and OpenCode for complex agent workflows, including multi-turn tool use and session continuations. WhenuseResponsesApiWebSearch is enabled in your config.json (the default), requests that include a web_search tool are forwarded upstream with the tool intact. Set useResponsesApiWebSearch: false to strip web search tools before sending.
GET /v1/models
Lists all models available from your Copilot account in OpenAI format.Actual model availability depends on your GitHub Copilot subscription tier. The list returned reflects what your account can access at the time of the request.