Contenox

Use your GitHub Copilot subscription in other coding agents

Updated

GitHub Copilot subscription

You can use your GitHub Copilot subscription outside of VS Code. OpenCode signs in with your GitHub account and runs on your Copilot plan, OpenAI’s Codex extension offers “Sign in with Copilot” on the higher plans, and Contenox Harness offers the same sign-in once you turn on Allow unofficial sign-ins in its settings. GitHub has not approved Contenox Harness for Copilot, so GitHub may block that sign-in or limit your account. Usage draws on your plan’s AI Credits, like Copilot chat does.

Use your Copilot subscription with your agent#

Agent Supported? How Note
Claude GitHub-hosted agent Choose the Claude coding agent for a task on GitHub if your plan and policies allow it. GitHub supplies the hosted agent through the Claude Agent SDK. Standalone Claude Code has its own sign-in.
Codex GitHub-hosted agent or VS Code extension Choose Codex for a task on GitHub, or Sign in with Copilot in the Codex VS Code extension. The extension sign-in requires Copilot Pro+ or Max. GitHub’s hosted agent has its own eligibility and policy controls.
OpenCode Yes /connect → GitHub Copilot, then authorize the device code Account needs Copilot Chat access.
Contenox Harness Yes, after enabling unofficial sign-ins Settings → Allow unofficial sign-ins, then Backends → Providers → GitHub Copilot Not approved by GitHub; use at your own risk.

OpenCode#

In the OpenCode terminal, enter /connect, select GitHub Copilot, and choose GitHub.com or your GitHub Enterprise deployment. Open the verification URL shown, enter the device code, and authorize the connection. Use /models to see the models available to that account. You need Copilot Chat access. OpenCode’s Copilot instructions

Codex#

In the Codex extension for VS Code, choose Sign in with Copilot. GitHub’s docs limit this to Copilot Pro+ and Max subscribers, and say all usage is subject to GitHub’s rate limits and billing. The Codex CLI signs in with ChatGPT or an API key instead; see ChatGPT subscription.

How is it billed?#

Since 1 June 2026, Copilot chat and agent use is billed in AI Credits, counted by the tokens a model processes. Expect use from another agent to count the same way: tokens against your included credits, and when they are gone, you pay for more within a budget you set, or wait for the monthly reset. There is no fallback to a cheaper model.

Agent sessions use far more tokens than chat, so they use credits quickly. See AI coding costs for why, and check your usage in your GitHub billing settings during the first days.

Code completions in your editor are not billed in credits.

GitHub’s own agents on your plan#

Your Copilot subscription also pays for agents that run on GitHub itself, not on your computer: Copilot’s cloud agent, and in public preview the Claude and Codex coding agents. They work from an issue and come back with a pull request. These sessions use GitHub Actions minutes as well as AI credits.

Common problems#

  • A model is missing or refused: it needs a higher plan, often Pro+.
  • Your organization’s plan doesn’t work outside VS Code: on Business and Enterprise, organization policies decide which agents and models are allowed. Ask your admin.
  • Requests stop mid-month: your AI Credits are used up. Set a budget in your billing settings, or wait for the reset.

Contenox Harness#

Contenox Harness can sign in with your GitHub account and list Copilot’s models in the Model chip next to any other provider you connected. The sign-in is off by default, because GitHub has not approved Contenox Harness for Copilot: the app labels it Unofficial · your Copilot plan, and GitHub may block it or limit your account.

  1. Open Settings, find Unofficial sign-ins and turn on Allow unofficial sign-ins.

    Settings, Unofficial sign-ins: the Use at your own risk notice and the Allow unofficial sign-ins switch

  2. Open Backends → Providers and choose GitHub Copilot.

  3. Sign in with GitHub in your browser and approve access.

  4. Pick a Copilot model in the Model chip on the message box.