AIToday
Large Language ModelsAI Business & IndustryGitHub Copilot BlogPublished: Jul 23, 2026, 04:01 JST

Copilot vs. raw API: GitHub explains what you're actually paying for

Copilot vs. raw API: GitHub explains what you're actually paying for

3 Key Points

  1. What happened

    GitHub clarified the difference between paying for GitHub Copilot (which includes AI Credits for chat and agentic work, while code completions remain included) versus calling models directly through an API. The company also highlighted that Copilot's billing now separates resource-intensive chat and agentic work, making the distinction between the two approaches clearer.

  2. Why it matters

    Copilot connects to the full development workflow—editor, repository, pull requests, issues, terminal, and organization policies—whereas raw API access gives you control over custom prompts, retrieval, routing, and security but requires you to build and maintain all those integrations yourself. The choice depends on whether you're building a product feature with your own system (use API) or moving through software development work within tools your team already uses (use Copilot). For organizations with existing provider contracts, Copilot's Bring Your Own Key feature (in public preview) lets teams use their own model subscriptions while keeping the integrated workflow.

  3. What to watch

    Copilot's Bring Your Own Key is currently in public preview; supported providers include Anthropic, AWS Bedrock, Google AI Studio, Microsoft Foundry, OpenAI, OpenAI-compatible providers, and xAI. Organization and enterprise admins can set budgets and track usage in the billing dashboard, and admins choose which of Copilot's supported 20+ models are enabled for their teams.

Not sure about something? Ask the AI

Summaries like this, in your inbox every morning.

Context & Analysis

GitHub's post addresses a persistent developer question: why pay for Copilot when the same underlying models are available through direct API calls? The answer hinges on the distinction between model access and development workflow integration. Copilot operates as a layer above raw API access, bundling model calls with the infrastructure developers use daily—GitHub's editor integrations, repository context, pull request and issue management, terminal access, and organization-level controls. The recent billing change, which separated code completions (still included) from more resource-intensive chat and agentic work (now billed via AI Credits), makes this layering explicit.

For teams building internal products or custom automation, raw API access remains the correct choice because it grants full control over system design decisions: which files to retrieve, how to handle retries, where to store audit records, and which credentials to permit. These decisions require ownership by the development team. However, for teams focused on shipping software through their existing GitHub workflow, Copilot's integration advantage compounds—it reduces the tokens spent by providing rich repository and issue context automatically, eliminates the need to wire up organization policies separately, and makes usage visible through centralized billing dashboards rather than scattered API keys.

The Bring Your Own Key feature (in public preview) adds a third option: teams can maintain existing commercial relationships with model providers while accessing Copilot's integrated workflow. This flexibility suggests GitHub is positioning Copilot not as a replacement for API access but as a workflow layer for development teams, leaving raw APIs for builders of custom systems.

FAQ
What models can I use with Copilot's Bring Your Own Key feature?
Supported providers include Anthropic, AWS Bedrock, Google AI Studio, Microsoft Foundry, OpenAI, OpenAI-compatible providers, and xAI. Copilot CLI also supports local and external BYOK models, including Azure OpenAI and local Ollama models. The feature is currently in public preview.
What's included in paid Copilot plans?
Code completions and Next Edit Suggestions remain included in paid plans. AI Credits apply to more resource-intensive chat and agentic work, with metered usage calculated from input, output, and cached tokens at the listed rate for the selected model.
When should I choose raw API access instead of Copilot?
Choose raw API access when building a system that requires custom behavior, integrations, and controls—such as an internal agent platform, evaluation harness, or automation pipeline where you control the prompts, retrieval, routing, retries, logs, security model, and billing.
GitHub Copilot BlogRead Original Article

Get the latest Large Language Models news every morning

For example, today's edition would include:

  • Salesforce bets on Headless 360 beyond its own UISiliconANGLE AI · 1h ago
  • Google's Gemini hacked three firms, Google only confirms after WSJTechCrunch AI · 1h ago
  • Lossy self-improvement, not RSI: Anthropic sees no dramatic accelerationInterconnects (Nathan Lambert) · 4h ago

AI-summarized, only the topics you pick — one digest a day via Email, Slack, or Discord.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. Q&As are published on this page for other readers too.

Related Articles

Next articleCopilot vs. API: GitHub explains what you're paying for