Skip to content

chore: add more known model prices to ChatModelAdminPanel - #27839

Merged
johnstcn merged 2 commits into
mainfrom
cj/more-known-models
Aug 4, 2026
Merged

chore: add more known model prices to ChatModelAdminPanel#27839
johnstcn merged 2 commits into
mainfrom
cj/more-known-models

Conversation

@johnstcn

@johnstcn johnstcn commented Aug 4, 2026

Copy link
Copy Markdown
Member

Depends on #27837

Expand curation.json to include more known models.
Also marked knownModelsGenerated.json as generated.

@johnstcn johnstcn self-assigned this Aug 4, 2026
Copilot AI review requested due to automatic review settings August 4, 2026 12:18
@johnstcn
johnstcn requested a review from ssncferreira August 4, 2026 12:18

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the ChatModelAdminPanel’s generated known-model catalog by expanding the curated input set for the price generator, and regenerating the frontend’s knownModelsGenerated.json so more providers/models have known token pricing metadata available.

Changes:

  • Expanded scripts/aibridgepricesgen/curation.json with additional curated models across more providers (Azure, Bedrock, Google, OpenRouter, Vercel).
  • Regenerated knownModelsGenerated.json to include the newly curated providers/models and updated some existing costs.
  • Attempted to mark knownModelsGenerated.json as generated in .gitattributes (currently missing the linguist-generated=true attribute).

Frontend Review (FE1-FE10)

FE1 PASS
FE2 PASS
FE3 PASS
FE4 PASS
FE5 PASS
FE6 PASS
FE7 PASS
FE8 PASS
FE9 PASS
FE10 PASS

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
site/src/pages/AgentsPage/components/ChatModelAdminPanel/knownModels/knownModelsGenerated.json Regenerated known-model metadata to include more providers/models and updated some price fields.
scripts/aibridgepricesgen/curation.json Expanded curated model list that drives the generated known-model pricing artifact.
.gitattributes Intended to mark the generated known-model artifact as generated for GitHub linguist.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .gitattributes Outdated
"cacheWriteCost": 3.75
}
],
"azure": [

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hum, so we have the same data stored in 2 files:

Would it make sense to merge them into one? We would probably need to adjust the units, though. Not now, but as a potential follow-up

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should definitely only have one source of truth for these. It doesn't make sense to have two

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW it's the same source of truth, but two different views.

Base automatically changed from cj/more-model-prices to main August 4, 2026 13:17
@johnstcn
johnstcn force-pushed the cj/more-known-models branch from a6c1998 to c542855 Compare August 4, 2026 13:22
@johnstcn

johnstcn commented Aug 4, 2026

Copy link
Copy Markdown
Member Author

AIGOV-571

@johnstcn
johnstcn merged commit b169066 into main Aug 4, 2026
26 checks passed
@johnstcn
johnstcn deleted the cj/more-known-models branch August 4, 2026 15:13
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 4, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants