{"version":"2.1.227","anchor":"proxy-config-accepts-pricing-multipliers-and-per-model-rate-","canonical_anchor":"proxy-config-accepts-pricing-multipliers-and-per-model-rate-","heading":"Proxy config accepts pricing multipliers and per-model rate overrides","tier":"use","area":"Proxy","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.227\/e\/proxy-config-accepts-pricing-multipliers-and-per-model-rate-","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.227","markdown":"### Proxy config accepts pricing multipliers and per-model rate overrides\n\nProxy config takes an optional pricing block with a multiplier and per-model rate overrides.\n\n**What**\n\nThe proxy configuration file now takes an optional `pricing` block. It holds a `multiplier` that must be greater than 0 and at most 1, defaulting to 1, plus a list of per-upstream, per-model overrides for `input`, `output`, `cache_read` and `cache_write` rates. The block is absent by default, so pricing is unchanged unless you add it.\n\n**Details**\n\n- The multiplier is coerced to a number, so a string value in the config file is accepted.\n\n**Evidence**\n\n`multiplier: Ne.coerce.number().gt(0).lte(1).default(1)`\n\n- Area: Proxy\n- Names: `pricing`, `multiplier`\n- Tier: Use it now\n- Useful: 2\/5\n- Signal: 3\/5"}