Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.227 Home All releases olderv2.1.226 v2.1.228newer
Claude Code v2.1.227

Gateway config accepts per-upstream pricing overrides

Use it now
Useful2 Signal3
Gateway Notable

Gateway config takes a pricing block with a multiplier and per-model rate overrides.

pricingmultiplieroverrides
What

Gateway configuration gains a pricing block with a multiplier (greater than 0, at most 1) and an overrides array of {upstream, model, input, output, cache_read, cache_write}, applied by the spend meter.

Details
  • Validation warns when pricing is set without an admin: block, since only the spend meter reads pricing and it only runs when admin is configured.
  • It also warns when an override names an unknown upstream, duplicates an earlier override, or can never apply to any model that could be requested.
Evidence

only the spend meter reads pricing, and it only runs when admin is configured

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.227 →