Repository navigation
feat(ai): a setting holds the price of a reference model - #4258
Conversation
|
Test results and decisions for #4242. Precedence. The file Settings model. What the live ConfigMap must hold. Apply the key at the same time as the new image or after it, never before. A new image works with no key (the default is an empty map). Under price_overrides:
qwen3.8:27b:
prompt_usd_per_million: 0.035
completion_usd_per_million: 1.50
qwen/qwen3-embedding-8b:
prompt_usd_per_million: 0.01
completion_usd_per_million: 0.0Nothing was applied to the cluster. The hand file on the Service volume holds the same prices, so the reports do not change at the roll. Also fixed. fail-to-pass ( Full CI ( Premise. genai-prices 0.1.13 |
Pull request was closed
🤖 I have created a release *beep* *boop* --- ## [0.103.0](v0.102.0...v0.103.0) (2026-11-09) ### Features * **ai:** a setting holds the price of a reference model ([#4258](#4258)) ([d31717d](d31717d)) * **ai:** add --since, --until, and --by to cost report and roi ([#4264](#4264)) ([fe59c14](fe59c14)) * **ai:** integrate Jev 1.14 and agent configurations ([#4275](#4275)) ([28356ed](28356ed)) ### Bug Fixes * **openspec:** check the archive result on disk, plan the dry run ([#4273](#4273)) ([cefc184](cefc184)) * **roadmap:** build the trace facts from every plan run ([#4267](#4267)) ([b46506d](b46506d)) * **roadmap:** keep refused stage replies, stop placeholder replies ([#4260](#4260)) ([aea5adc](aea5adc)) * **roadmap:** match a security trigger word as a word ([#4261](#4261)) ([ec96082](ec96082)) * **roadmap:** name schema violations in the log ([#4276](#4276)) ([c816e8f](c816e8f)) * **roadmap:** read a quoted tuple as an MCP key in context ([#4265](#4265)) ([2cef137](2cef137)) ### Code Refactoring * **ui:** delete kubernetes and logs dashboard tabs ([#4263](#4263)) ([2d8b693](2d8b693)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Add the setting ai.price_overrides: a map of model name to prompt and completion USD per million tokens. PricingRegistry reads it, so the ConfigMap template owns the prices of qwen3.8:27b and qwen/qwen3-embedding-8b, and a new data volume needs no hand step. A price in pricing_overrides.json wins over the setting for the same model; devops ai cost set-price never copies a price of the setting into the file. The key walk of the settings now checks the fields of each price.
Closes #4242
Change:
openspec/changes/archive/2026-11-09-4242-a-setting-holds-the-price-of/