Native macOS menu bar app

GitHub Copilot models.
In every app on your Mac.

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

Copilot Model Bridge popover with the running server, the signed-in Copilot account, premium-request quota, the base URL, and recent requests
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.

Activity window listing recent requests with client, model, latency, time to first token, tool calls, and tokens
Every request, with the numbers that matter.
Activity window comparing models by request count and p50 and p95 latency
Per-model latency, p50 and p95.
Integrations settings with the optional Raycast integration, which is off by default
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

brew trust olohmann/tap
brew install --cask olohmann/tap/copilot-model-bridge

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.

Download latest release

Latest version: v1.1.0. See all releases and release notes.

First run

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.

Docker

docker run --rm -p 8080:8080 \
  -e GITHUB_TOKEN=ghp_your_copilot_token \
  -e API_KEY=my-secret \
  ghcr.io/olohmann/ghcp-sdk-oai-wrapper:latest

The multi-arch image (linux/amd64, linux/arm64) is distroless and signed with cosign.

Kubernetes / Helm

helm install copilot-proxy \
  oci://ghcr.io/olohmann/ghcp-sdk-oai-wrapper/charts/ghcp-sdk-oai-wrapper \
  --set secrets.githubToken=ghp_... \
  --set secrets.apiKey=my-secret

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.