Add GPT-6 Astra model inventory support - #59711
Merged
Merged
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update model alias inventory for gpt-6-astra
Add GPT-6 Astra model inventory support
Sep 9, 2026
pelikhan
marked this pull request as ready for review
September 9, 2026 12:09
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
GPT-6 Astra long-context usage would be materially undercounted until tiered pricing is implemented and synchronized.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
Adds GPT-6 Astra alias resolution and pricing support across workflow and runtime catalogs.
Changes:
- Adds GPT-6 aliases and fallback ordering.
- Adds synchronized Copilot/OpenAI pricing metadata.
- Adds regression tests for alias and pricing lookup.
File summaries
| File | Review |
|---|---|
pkg/workflow/model_aliases_test.go |
Tests GPT-6 alias patterns and ordering. |
pkg/workflow/data/model_aliases.json |
Adds GPT-6 aliases and fallbacks; API documentation must be updated to match. |
pkg/cli/model_costs_test.go |
Tests default GPT-6 Astra pricing lookup. |
pkg/cli/data/models.json |
Adds CLI pricing, but lacks the >272k-token tier and threshold-aware accounting. A patch changeset is also missing. |
actions/setup/js/models.json |
Mirrors action pricing, but lacks the >272k-token tier and corresponding threshold-aware calculation. |
Review details
Suppressed comments (2)
pkg/cli/data/models.json:518
- This user-visible inventory update has no
.changesetentry, so its GPT-6 alias and pricing support will be omitted from the generated release notes. Recent model-inventory updates consistently add a patch changeset (for example,.changeset/patch-model-inventory-2026-08-27.md:1-5,.changeset/patch-model-inventory-2026-08-16.md:1-5, and.changeset/patch-model-inventory-2026-07-27.md:1-5). Please add a 2026-09-09 patch changeset describing both the alias and catalog additions.
"gpt-6-astra": {
pkg/workflow/data/model_aliases.json:42
- Adding GPT-6 to this public built-in chain leaves
BuiltinModelAliases' documentation stale:pkg/workflow/model_aliases.go:119-139still omits thegpt-6vendor alias and documentslargewithout this entry. Update that API comment with the data change so callers are not given an obsolete resolution order.
"large": ["sonnet", "gpt-6", "gpt-5-pro", "gpt-5", "gemini-pro"],
- Files reviewed: 5/5 changed files
- Comments generated: 2
- Review effort level: Balanced
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
+520
to
+521
| "input": "0.001", | ||
| "output": "0.005", |
Comment on lines
+520
to
+521
| "input": "0.001", | ||
| "output": "0.005", |
Contributor
|
🎉 This pull request is included in a new release. Release: |
pelikhan
pushed a commit
that referenced
this pull request
Sep 14, 2026
Spotlights the Daily Model Inventory Checker workflow, which cross-checks OpenAI, Anthropic, Gemini, and Copilot model catalogs nightly and files sourced alias-update issues (e.g. #59709, merged via #59711 and #59703). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> 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.
gpt-6-astrais live in Copilot and OpenAI inventories but was absent from model aliases and pricing metadata. This adds it to flagship fallback selection and cost accounting.Alias inventory
gpt-6provider patterns.largeandagentresolution chains.Pricing catalog
gpt-6-astracosts to GitHub Copilot and OpenAI catalogs.actions/setup/js/models.jsonsynchronized with the CLI catalog.Regression coverage