Skip to content
| Marketplace
Sign in
Visual Studio Code>Machine Learning>Codex Bridge for Copilot ChatNew to Visual Studio Code? Get it now.
Codex Bridge for Copilot Chat

Codex Bridge for Copilot Chat

Griko Nibras

|
2,155 installs
| (2) | Free
Use OpenAI Codex models in GitHub Copilot Chat with your ChatGPT Plus or Pro subscription.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

OpenAI Codex and GitHub Copilot

Codex Bridge for Copilot Chat

Use OpenAI Codex models directly from the GitHub Copilot Chat model picker in Visual Studio Code with your ChatGPT Plus or Pro subscription.

Visual Studio Marketplace version Visual Studio Marketplace installs CI status MIT license

This native VS Code LanguageModelChatProvider handles OpenAI OAuth locally and streams ChatGPT Codex responses into Copilot Chat without a local proxy.

Highlights

  • ChatGPT OAuth with PKCE, automatic refresh, and VS Code Secret Storage
  • Multiple named Codex Bridge entries for separate ChatGPT accounts
  • Live Codex model discovery with six-hour persisted models.dev enrichment
  • Streaming text, reasoning summaries, images, and agent-mode tool calls
  • Per-model reasoning effort, summary, Speed Mode, Web Search, and Image Generation controls
  • Codex-aware context accounting and prompt-cache reuse
  • Status-bar quota and local inference-token tracking
  • Browser, manual-callback, and optional Codex CLI session sign-in paths
  • Connection testing and secret-safe diagnostics

Quick start

  1. Install Codex Bridge for Copilot Chat. You need VS Code 1.125 or newer, GitHub Copilot Chat, and a ChatGPT account with Codex access.
  2. Open Chat: Manage Language Models, select Add Models → Codex Bridge, and follow the prompts (group name and profile ID). Codex Bridge then offers to sign in with ChatGPT right away — or run Codex Bridge: Add Provider Entry (or Add ChatGPT Account) yourself; each creates the entry if missing and signs in only when needed. Use manual sign-in if local port 1455 is unavailable.
  3. Repeat those steps with another profile ID to keep work and personal ChatGPT accounts available side by side.

Choose Continue with ChatGPT when connecting an account to register a Codex Bridge app connection with your ChatGPT plan. Manage its weekly percentage cap in ChatGPT Settings → Usage. Existing connections and the Codex browser (legacy) option keep their Codex backend route.

Each connection discovers its available models from its authenticated catalog. Composer controls override workspace defaults; reasoning defaults to Low when advertised. Direct ChatGPT connections support Copilot tools and optional Web Search, while Image Generation remains available only on the legacy route. Click the Codex status-bar item for locally observed tokens and a link to app limits; legacy connections also show account quota and reset credits.

Documentation

  • Setup, commands, settings, and troubleshooting
  • OAuth and security
  • Models and pricing
  • Development and releases

Related projects

  • Grok for GitHub Copilot Chat
  • Ollama Cloud for GitHub Copilot Chat
  • OpenCode for Copilot Chat
  • Poolside for GitHub Copilot Chat

Unofficial project; not affiliated with OpenAI, GitHub, or Microsoft. The ChatGPT Codex backend is not a public compatibility API and can change. Licensed under MIT.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft