Copilot Model Bridge runs a local OpenAI- and Ollama-compatible
API for the models in your GitHub Copilot subscription. Sign in with your
own Copilot account, point any client at localhost, and watch every
request from your menu bar.
macOS 27+ · Apple silicon · Free and open source · Unofficial
Server, sign-in, quota, and recent requests at a glance.
Your Copilot models, wherever you need them.
A small SwiftUI companion that runs the open-source
ghcp-sdk-oai-wrapper server on your Mac, so chat apps, scripts, and
launchers can use the models you already have.
OpenAI & Ollama API on localhost
Point any OpenAI- or Ollama-compatible client at
http://127.0.0.1:8080/v1. Streaming, tool calling,
vision, files, and reasoning effort all work. It listens on
127.0.0.1 only.
Live activity
See each request's client, model, latency, time to first token,
tool calls, tokens, and errors. The Activity window adds filters,
per-model p50/p95 latency, and health details.
Your Copilot sign-in & quota
No token to paste: it uses your own copilot login through
the bundled, unmodified Copilot CLI. Your account and premium-request
quota stay visible, with alerts for sign-out and low quota.
Private by design
Activity is request metadata, held in memory only. Prompts, responses,
and tool arguments are never recorded. An optional client API key is
stored in your Keychain.
Raycast, if you want it
Off by default. Turn it on to add a "GitHub Copilot (local)" provider
to Raycast with every model in your catalog. You see a diff first,
and only Copilot Model Bridge's own block is changed.
Always up to date
Sparkle checks for updates automatically. Every release is signed
with a Developer ID and notarized by Apple.
Every request, with the numbers that matter.Per-model latency, p50 and p95.
The Raycast integration is opt-in and shows you a diff before it writes.
Install Copilot Model Bridge
You need macOS 27 or later on Apple silicon and an active
GitHub Copilot subscription. Docker and API tokens
are not needed.
Homebrew asks you to trust a third-party tap once before installing from it.
Disk image
Download the DMG from the latest GitHub release, then drag
Copilot Model Bridge to Applications. Releases are signed
with a Developer ID and notarized by Apple.
If the menu shows Not signed in, click Sign In….
Terminal opens and runs the bundled copilot login; afterwards,
click Refresh.
Point any client at it
Use the base URL from the menu in any OpenAI-compatible
SDK, chat app, or tool. Switch to Ollama mode in Settings for Ollama clients.
from openai import OpenAI
client = OpenAI(
base_url="http://127.0.0.1:8080/v1",
api_key="unused", # or your client API key, if you set one
)
resp = client.chat.completions.create(
model="claude-sonnet-5.5",
messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)
GET /v1/models lists the models available to your
Copilot account.
Run the server anywhere
Copilot Model Bridge is built on ghcp-sdk-oai-wrapper, a small,
stateless Go server. Run it in Docker, on Kubernetes, or as a binary on Linux
and macOS, for example to share an endpoint with your team. On a server, it
authenticates with a GitHub token that has Copilot access.
Binaries for Linux and macOS (amd64 and arm64) are attached to every
release.
Prometheus metrics, health checks, and every setting are documented in the
README.
A few things to know
What leaves my Mac?
Only your requests to GitHub Copilot, sent with your own sign-in through the
bundled, unmodified official Copilot CLI, and Sparkle's update checks against
GitHub releases. The local API listens on 127.0.0.1, so other devices can't
reach it. Copilot Model Bridge adds no analytics of its own.
Is this an official GitHub product?
No. Copilot Model Bridge is an independent, open-source project. It is not
affiliated with or endorsed by GitHub. You need an active GitHub Copilot
subscription, and your use remains subject to its terms.
Do I need Raycast?
No. Any OpenAI- or Ollama-compatible client works. The Raycast integration is
optional and off by default; while it is off, the app never reads or writes
Raycast's files.
Does it run on Intel Macs?
No. The app requires Apple silicon and macOS 27 or later. On other machines,
run the server with Docker or a release binary.
Find settings, logs, and troubleshooting in the
README.