Fix model pricing: correct $0 prices for GPT-5.4 and Claude Sonnet 4.6#531
Merged
Fix model pricing: correct $0 prices for GPT-5.4 and Claude Sonnet 4.6#531
Conversation
Critical fixes: - GPT-5.4: .00/.00 -> .50/.00 (was released after last update) - Claude Sonnet 4.6: .00/.00 -> .00/.00 (was released after last update) - o3-mini: .00/.00 -> .10/.40 (was 3.6x too high) - o4-mini: .00/.00 -> .10/.40 (was 3.6x too high) New models added: - gpt-5.4-mini (.25/.00) - gemini-3.1-flash-lite (.25/.50) New pricing sources added: - xAI Grok API (https://x.ai/api) - GitHub Copilot Premium Requests docs (multiplier validation) - OpenRouter (cross-provider pricing verification) - Anthropic platform.claude.com docs Updated all source retrieval dates to 2026-03-30. Updated README and refresh-json-data skill with new source URLs. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Cost estimates were significantly underreporting because two of the most heavily-used models had
$0.00pricing, and two reasoning models were overpriced by 3.6×. The pricing data sources hadn't been refreshed since January 16, 2026.Critical Fixes
New Models Added
New Pricing Sources
Added 3 new sources for better accuracy and verification going forward:
Also added the official Anthropic platform docs URL alongside the marketing page.
Files Changed
vscode-extension/src/modelPricing.json— pricing corrections, new models, new sourcesvscode-extension/src/tokenEstimators.json— token ratios for new modelsvscode-extension/src/README.md— updated source URLs and Gemini pricing section.github/skills/refresh-json-data/SKILL.md— updated source listVerification
npm run compilepasses (extension)npm run buildpasses (CLI)