惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

IT之家
IT之家
Recent Announcements
Recent Announcements
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
The GitHub Blog
The GitHub Blog
MyScale Blog
MyScale Blog
爱范儿
爱范儿
GbyAI
GbyAI
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
美团技术团队
Y
Y Combinator Blog
博客园 - 叶小钗
Apple Machine Learning Research
Apple Machine Learning Research
Martin Fowler
Martin Fowler
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
罗磊的独立博客
M
MIT News - Artificial intelligence
博客园 - Franky
V
Visual Studio Blog
I
InfoQ
V
V2EX
Hugging Face - Blog
Hugging Face - Blog
腾讯CDC
博客园 - 司徒正美
L
LangChain Blog

Hacker News - Newest: "AI"

AI can't read an investor deck AI as an attorney? Student uses ChatGPT, Gemini to sue UW over alleged racial discrimination Hacking MCP Servers in AI Systems – The Rug Pull: Tool Changes After Approval GitHub - MeepCastana/KubeezCut: Free Web based video editor Can AI judge journalism? A Thiel-backed startup says yes, even if it risks chilling whistleblowers Coming soon: 10 Things That Matter in AI Right Now DARPA built an AI to fact-check enemy weapons claims What explains heterogeneity in AI adoption? When AI Meets Muscle: Context-Aware Electrical Stimulation Promises a New Way to Guide Human Movements - Department of Computer Science AI Changed How We Build. It Did Not Change What Matters. Linux rules on using AI-generated code - Copilot is OK, but humans must take 'full responsibility for the… Meta spins up AI version of Mark Zuckerberg to engage with employees Code Mode: Let Your AI Write Programs, Not Just Call Tools | TanStack Blog GitHub - Delavalom/graft: Go framework for building AI agents. Type-safe tools, multi-provider (OpenAI, Anthropic, Gemini, Bedrock), zero vendor SDKs. India's TCS tops estimates, says new AI models did not dent services demand Gen Z's fading AI hype Strong feeling: we are in a folded AI reality GitHub - machinarii/total-recall-catalog: A reference catalog of latest knowledge retrieval, memory & RAG systems GitHub - mensfeld/code-on-incus: Give each AI agent its own isolated machine with root, Docker, and systemd. Active defense detects and stops threats automatically.. Quantization, LoRA, and the 8% Problem: Benchmarking Local LLMs for Production AI Iran war: We spoke to the man making Lego-style AI videos that experts say are powerful propaganda Powell, Bessent discussed Anthropic's Mythos AI cyber threat with major U.S. banks GitHub - immartian/bellamem: Persistent belief-graph memory for AI agents. Retrieves decisive context by importance — not recency, not RAG, not /compact. recursive-mode: The Repo-Native Operating System for AI Engineering After the attack on Sam Altman's home, will AI CEO's go on the offensive? The biggest advance in AI since the LLM Opus 4.6 vs GPT 5.4 One Prompt Unity World Generation Test “AI polls” are fake polls Client Challenge Can AI be a 'child of God'? Inside Anthropic's meeting with Christian leaders
Models and pricing for GitHub Copilot - GitHub Docs
julia-kafars · 2026-04-28 · via Hacker News - Newest: "AI"

See per-token pricing for the models available in GitHub Copilot and reference rates for additional usage across plans.

How model pricing works

When you use Copilot, the interaction consumes tokens: input tokens (what's sent to the model), output tokens (what the model generates), and cached tokens (context the model reuses or stores). Each token is priced based on the model used, and the total is converted into AI credits, where 1 AI credit = $0.01 USD.

The cost of an interaction depends on two things: the model and the number of tokens consumed.

How Copilot usage is tracked and billed depends on your plan type:

When usage exceeds the included allowances for any Copilot plan, additional usage is billed in GitHub AI Credits at the per-token rates shown in the pricing tables below (1 AI credit = $0.01 USD).

Note

The option to purchase additional AI credits is not available if you subscribe, or have subscribed, to a Copilot plan through GitHub Mobile on iOS or Android.

Pricing tables

All prices are per 1 million tokens.

OpenAI

ModelRelease statusCategoryInputCached inputOutput
GPT-4.11GAVersatile$2.00$0.50$8.00
GPT-5 mini1GALightweight$0.25$0.025$2.00
GPT-5.2GAVersatile$1.75$0.175$14.00
GPT-5.2-CodexGAPowerful$1.75$0.175$14.00
GPT-5.3-CodexGAPowerful$1.75$0.175$14.00
GPT-5.42GAVersatile$2.50$0.25$15.00
GPT-5.4 miniGALightweight$0.75$0.075$4.50
GPT-5.4 nanoGALightweight$0.20$0.02$1.25
GPT-5.5GAPowerful$5.00$0.50$30.00

Anthropic

Anthropic models include a cache write cost in addition to cached input.

ModelRelease statusCategoryInputCached inputCache writeOutput
Claude Haiku 4.5GAVersatile$1.00$0.10$1.25$5.00
Claude Sonnet 4GAVersatile$3.00$0.30$3.75$15.00
Claude Sonnet 4.5GAVersatile$3.00$0.30$3.75$15.00
Claude Sonnet 4.6GAVersatile$3.00$0.30$3.75$15.00
Claude Opus 4.5GAPowerful$5.00$0.50$6.25$25.00
Claude Opus 4.6GAPowerful$5.00$0.50$6.25$25.00
Claude Opus 4.7GAPowerful$5.00$0.50$6.25$25.00

Google

ModelRelease statusCategoryInputCached inputOutput
Gemini 2.5 Pro3GAPowerful$1.25$0.125$10.00
Gemini 3 Flash4Public previewLightweight$0.50$0.05$3.00
Gemini 3.1 Pro3Public previewPowerful$2.00$0.20$12.00

xAI

ModelRelease statusCategoryInputCached inputOutput
Grok Code Fast 1GALightweight$0.20$0.02$1.50

Fine-tuned (GitHub)

ModelRelease statusCategoryInputCached inputOutput
Raptor mini5Public previewVersatile$0.25$0.025$2.00
Goldeneye6Public previewPowerful$1.25$0.125$10.00

Code completions

Code completions and next edit suggestions are not billed in AI credits. They remain unlimited for all paid Copilot plans and continue to use their existing counting mechanism.

Pricing and usage cost considerations for Copilot code review

For most Copilot features, the model used for each interaction is visible to you, so you can reference the pricing tables above to estimate costs. Copilot code review is an exception—the model is selected automatically and is not disclosed, so per-token costs may vary between reviews.

Each code review is billed in two ways: token consumption is billed in AI credits, and the agentic infrastructure that powers the review consumes GitHub Actions minutes.

Starting June 1, 2026, Copilot code review runs will consume GitHub Actions minutes on GitHub-hosted runners. Self-hosted runners do not consume GitHub Actions minutes. Larger runners are billed at different rates than standard GitHub-hosted runners. For more information on runner options, see Configuring runners for GitHub Copilot code review.

You can view your current GitHub Actions usage for Copilot code review in the following ways:

  • GitHub Actions metrics: Filter by the copilot-pull-request-reviewer workflow. See Viewing GitHub Actions metrics for your organization.
  • Billing usage report: Filter by workflow_path. Before June 1, 2026, the value is dynamic/copilot-pull-request-reviewer/copilot-pull-request-reviewer. Starting June 1, 2026, the value changes to dynamic/agents/copilot-pull-request-reviewer. See Billing reports reference.

Model multipliers for annual Copilot Pro and Copilot Pro+ subscribers

Starting June 1, 2026, Copilot Pro and Copilot Pro+ subscribers on existing annual billing plans will experience changes to model multipliers. The table below shows how the multipliers for each model will adjust.

Model multipliers and costs are subject to change.

For information about your options as an annual subscriber, see Usage-based billing for individuals.

ModelCurrent multiplierNew multiplier
Claude Haiku 4.50.330.33
Claude Opus 4.5315
Claude Opus 4.6327
Claude Opus 4.77.527
Claude Sonnet 411
Claude Sonnet 4.516
Claude Sonnet 4.619
Gemini 2.5 Pro11
Gemini 3 Flash0.330.33
Gemini 3 Pro16
Gemini 3.1 Pro16
GPT-4o00.33
GPT-4o mini00.33
GPT-4.101
GPT-5.113
GPT-5.1-Codex13
GPT-5.1-Codex-Mini0.330.33
GPT-5.1-Codex-Max13
GPT-5.213
GPT-5.2-Codex13
GPT-5.3-Codex16
GPT-5.416
GPT-5.4 mini0.336
GPT-5 mini00.33
Grok Code Fast 10.250.33
Raptor mini00.33

Footnotes

  1. GPT-4.1 and GPT-5 mini are included models. 2

  2. GPT-5.4 pricing applies to prompts with ≤272K tokens.

  3. Gemini 2.5 Pro and Gemini 3.1 Pro pricing applies to prompts with ≤200K tokens. 2

  4. Gemini 3 Flash has no long-context surcharge.

  5. Raptor mini uses GPT-5 mini pricing.

  6. Goldeneye uses GPT-5.1-Codex pricing.