Files
coder/coderd/aibridge/prices/data
Yevhenii Shcherbina d57965ee7f chore: regenerate prices.json from models.dev (#27549)
Implements:
https://linear.app/codercom/issue/AIGOV-493/update-pricesjson-with-current-model-rates-before-cost-control-release

Run `make gen/aibridge-prices` to regenerate `prices.json` from
`models.dev`.

This update:
- adds support for the upstream `claude-opus-5` model;
- removes older `openai` models that have been removed upstream, keeping
us in sync with `models.dev`.
2026-07-27 23:45:22 +02:00
..

AI Bridge price seed

prices.json in this directory is generated by make gen/aibridge-prices and embedded into the Coder binary at build time. Do not edit it manually; the next regeneration will overwrite any changes.

The Make target fetches models.dev once into _gen/models-dev.json, applying the upstream corrections in scripts/aibridgepricesgen/overrides.jq. Both prices.json and the frontend known-models catalog at site/src/pages/AgentsPage/components/ChatModelAdminPanel/knownModels/knownModelsGenerated.json are generated from that single patched snapshot; the catalog is additionally joined with the editorial curation in scripts/aibridgepricesgen/curation.json.