Skip to content

Add missing GitHub Copilot AI models to configuration#78

Merged
rajbos merged 2 commits intomainfrom
copilot/update-copilot-supported-models
Dec 27, 2025
Merged

Add missing GitHub Copilot AI models to configuration#78
rajbos merged 2 commits intomainfrom
copilot/update-copilot-supported-models

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Dec 27, 2025

13 AI models listed in GitHub Copilot's documentation were missing from the extension's token estimator and pricing configuration files.

Changes

Added to tokenEstimators.json:

  • Claude 4.x series: claude-haiku-4.5, claude-opus-4.1, claude-opus-4.5, claude-sonnet-4.5 (0.24 ratio)
  • GPT-5 variants: gpt-5-codex, gpt-5-mini, gpt-5.1, gpt-5.1-codex, gpt-5.1-codex-max, gpt-5.1-codex-mini, gpt-5.2 (0.25 ratio)
  • Other: grok-code-fast-1, raptor-mini (0.25 ratio)

Added to modelPricing.json:

  • Same models with API pricing per million tokens (input/output):
    • Claude Haiku 4.5: $1/$5
    • Claude Opus 4.1: $15/$75
    • Claude Opus 4.5: $5/$25
    • Claude Sonnet 4.5: $3/$15
    • GPT-5 Codex variants: $1.25/$10 (standard), $1.75/$14 (max), $0.25/$2 (mini)
    • Grok Code Fast 1: $0.20/$1.50
    • Raptor Mini: $0.25/$2

Corrected:

  • gpt-5 pricing from $1.75/$14 to $1.25/$10 per OpenAI API documentation

Pricing sourced from Anthropic, OpenAI, and xAI official API documentation.

Original prompt

This section details on the original issue you should resolve

<issue_title>🤖 Action Required: Update Copilot Supported Models</issue_title>
<issue_description>### 🚨 Missing Models in tokenEstimators.json
The following models are listed in the GitHub Copilot documentation but are missing from src/tokenEstimators.json:

  • claude-haiku-4.5
  • claude-opus-4.1
  • claude-opus-4.5
  • claude-sonnet-4.5
  • gpt-5-codex
  • gpt-5-mini
  • gpt-5.1
  • gpt-5.1-codex
  • gpt-5.1-codex-max
  • gpt-5.1-codex-mini
  • gpt-5.2
  • grok-code-fast-1
  • raptor-mini

💰 Missing Models in modelPricing.json

The following models are listed in the GitHub Copilot documentation but are missing from src/modelPricing.json:

  • claude-haiku-4.5
  • claude-opus-4.1
  • claude-opus-4.5
  • claude-sonnet-4.5
  • gpt-5-codex
  • gpt-5.1
  • gpt-5.1-codex
  • gpt-5.1-codex-max
  • gpt-5.1-codex-mini
  • gpt-5.2
  • grok-code-fast-1
  • raptor-mini

Action Required:
Please update the JSON configuration files with the latest models.

Source: GitHub Copilot Supported Models</issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: rajbos <6085745+rajbos@users.noreply.github.com>
Copilot AI changed the title [WIP] Update tokenEstimators.json and modelPricing.json with missing models Add missing GitHub Copilot AI models to configuration Dec 27, 2025
Copilot AI requested a review from rajbos December 27, 2025 22:26
@rajbos rajbos marked this pull request as ready for review December 27, 2025 22:37
@rajbos rajbos merged commit 32e0bb1 into main Dec 27, 2025
13 checks passed
@rajbos rajbos deleted the copilot/update-copilot-supported-models branch December 27, 2025 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🤖 Action Required: Update Copilot Supported Models

2 participants