[model-inventory] Fix pricing for gpt-5.6-luna, gpt-5.6-terra, and grok-4.5 - #49449
Merged
Conversation
…models.json Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update model alias inventory for 2026-08-01
[model-inventory] Fix pricing for gpt-5.6-luna, gpt-5.6-terra, and grok-4.5
Aug 1, 2026
pelikhan
marked this pull request as ready for review
August 1, 2026 02:11
Contributor
There was a problem hiding this comment.
Pull request overview
Corrects Copilot token pricing for three models across both runtime catalogs.
Changes:
- Updates input and output prices for GPT-5.6 Luna, GPT-5.6 Terra, and Grok 4.5.
- Keeps the CLI and setup-action catalogs synchronized.
- Cached-input prices still require correction.
Show a summary per file
| File | Description |
|---|---|
pkg/cli/data/models.json |
Updates CLI model pricing. |
actions/setup/js/models.json |
Mirrors pricing for the setup action. |
Review details
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Suppressed comments (4)
pkg/cli/data/models.json:536
- Grok's cached-input rate was not updated with the other prices. The linked inventory run reports
cacheReadPrice: 50($0.50/M), while this retains $0.05/M, undercounting cached-token AIC by 10×.
"input": "2e-06",
"output": "6e-06",
actions/setup/js/models.json:500
- The mirrored Terra entry retains the stale $0.25/M cached-input rate. The inventory source reports $0.20/M, so this action-side catalog would still overstate cache-hit costs.
"input": "2e-06",
"output": "1.2e-05",
actions/setup/js/models.json:536
- The mirrored Grok entry still uses the old $0.05/M cached-input rate. The linked inventory run reports $0.50/M, so cached-token AIC from the setup action remains 10× too low.
"input": "2e-06",
"output": "6e-06",
pkg/cli/data/models.json:500
- Terra's cached-input price is still the old $0.25/M value. The inventory data used for this update reports $0.20/M, so cache-hit costs remain overstated unless
cache_readis corrected too.
"input": "2e-06",
"output": "1.2e-05",
- Files reviewed: 2/2 changed files
- Comments generated: 2
- Review effort level: Balanced
Comment on lines
+481
to
483
| "input": "2e-07", | ||
| "output": "1.2e-06", | ||
| "cache_read": "1e-07" |
Comment on lines
+481
to
483
| "input": "2e-07", | ||
| "output": "1.2e-06", | ||
| "cache_read": "1e-07" |
Contributor
|
🎉 This pull request is included in a new release. Release: |
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.
Three models in
models.jsonhad stale pricing that diverged from the Copilot docs pricing table and reflect API.Corrections
gpt-5.6-lunagpt-5.6-terragrok-4.5Applied to both
pkg/cli/data/models.jsonandactions/setup/js/models.json(kept identical). No alias, routing, or other metadata changes needed.