#### Mark prices up
The whole hunk
from line 26, old and new numbered
/
lines
from line 26
2626
2727* [`admin`](#admin): Admin API auth and retention for spend limits
2828* [`enforcement`](#enforcement): spend-limit fail-open or fail-closed behavior
29* [`pricing`](#pricing): contracted rates and a discount multiplier for the spend meter and for the cost figures developers see
29* [`pricing`](#pricing): contracted rates and a multiplier for the spend meter and for the cost figures developers see
3030* [`models`](#models) and `auto_include_builtin_models`: admin-curated model list and per-upstream IDs
3131* [`managed`](#managed): managed settings policies by IdP group
3232* [`telemetry`](#telemetry): OTLP forwarding to your observability stack
from line 449
449449 cache_write: 4.125
450450```
451451
452| Field | Required | Description |
453| ------------ | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
454| `multiplier` | No | Default `1`. The meter multiplies every metered amount by this, whether list-priced or overridden, so `0.85` bills 85% of the price. Must be greater than 0 and at most 1. |
455| `overrides` | No | Rows of `{upstream, model, input, output, cache_read, cache_write}` in USD per million tokens. All four rates are required. Each must be greater than 0 and at most 10000. |
452| Field | Required | Description |
453| ------------ | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
454| `multiplier` | No | Default `1`. The meter multiplies every metered amount by this, whether list-priced or overridden, so `0.85` bills 85% of the price. Must be greater than 0 and at most 10, and a value above 1 is a [markup](#mark-prices-up). |
455| `overrides` | No | Rows of `{upstream, model, input, output, cache_read, cache_write}` in USD per million tokens. All four rates are required. Each must be greater than 0 and at most 10000. |
456456
457457How the meter matches an override row:
458458
from line 464
464464
465465For per-region rates, give each region its own named upstream and one row per upstream.
466466
467#### Mark prices up
468
469With v2.1.271 or later on the gateway server, you can set `multiplier` above 1, up to 10, to meter more than the provider charges, for example an internal chargeback rate. This example meters every request at 120% of the price:
470
471```yaml theme={null}
472pricing:
473 multiplier: 1.2
474```
475
476With an [`admin:`](#admin) block, the markup also applies to spend limits. The meter counts 120% of the price, so developers reach their caps sooner. The gateway logs a warning at boot that says so.
477
478The multiplier doesn't change what the upstream provider charges for the requests.
479
480If the gateway also [sends the rates to signed-in clients](#send-the-rates-to-signed-in-clients), developers need Claude Code v2.1.271 or later to see the markup. Earlier clients ignore a `multiplier` above 1 and show costs without it.
481
482A gateway server earlier than v2.1.271 refuses to start if you set a `multiplier` above 1.
483
467484#### Send the rates to signed-in clients
468485
469486With 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 matched by a policy then see the `pricing` rates for the first upstream that serves each model ID in `/usage`, the status line, and OpenTelemetry. A developer who matches no policy receives no managed settings, so their figures stay at list price. Clients apply the setting in Claude Code v2.1.242 or later.
from line 907
890907# enforcement:
891908# fail_closed_on_error: false
892909
893# Meter at contracted rates instead of USD list price. Requires admin:.
894# With managed:, the same rates also go to signed-in clients.
910# Meter at contracted rates instead of USD list price. Requires admin: or a
911# managed: policy. With managed:, the same rates also go to signed-in clients.
895912# Rates below are placeholders, not real contract prices.
896913# pricing:
897914# multiplier: 0.85