What
Two new validators drop bad values and say so, naming the settings file and the path within it. A modelPicker that is not an object with an options array is dropped whole, a non-boolean replaceBuiltInOptions is dropped, and individual malformed option rows are dropped while the remaining rows still apply.
Details
modelPricingis dropped if it is not an object, ifmultiplieris not a number in the range (0, 1], or per-modeloverridesrows are malformed.- Keys named
constructoror__proto__inoverridesare refused. - Validation results are memoised per settings file, so the warnings do not repeat on every read.
- Runs on settings load; nothing gates it.
Evidence
"multiplier" must be a number in (0, 1]. It was ignored.
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Added since
A small documentation edit on Manage costs effectively touched a line naming modelPricing after this was published.
Set `multiplier` below 1 for a flat discount or above 1 for a markup, list each model's four per-token rates under `overrides`, or do both. A markup requires Claude Code v2.1.271 or later. The [`modelPricing` entry](/docs/en/settings-refer…costs see the edit
Confirmed since
Anthropic's documentation has since written up modelPicker, on All settings.
| Read from the highest-priority source only | Reads the key only from the highest-priority source that carries a policy key, so a lower source's value is ignored even when the highest source sets none | [`apiKeyHelper`](#apikeyhelper), [`…settings-reference see the edit
Confirmed since
Anthropic's documentation has since written up modelPricing, on Claude apps gateway configuration.
With v2.1.268 or later on the gateway server, the gateway also puts the rates from `pricing` into the [`managed`](#managed) policies it serves, as the [`modelPricing`](/docs/en/settings-reference#modelpricing) managed setting. Developers m…claude-apps-gateway-config see the edit
Two sources agreeTwo things we can check say the same as this entry.
Anthropic's documentation agrees
Anthropic's documentation has since written up modelPricing, on Claude apps gateway configuration.
The name it cites is new in this build
New in this build: modelPicker