Skip to content
Docs
Request access

Override a price

By default, a model call with no known price is blocked. The cost would be a guess, and a guess breaks a hard budget.

If you need to run such a model anyway, add a price override to the configuration. It is a provisional price that lets budgets still reserve and stop.

  • A team folder with a nuramesh.yaml (Write a team configuration).
  • The provider and model name exactly as the role’s default_model writes them (provider/model).
  • A person’s id for set_by and a reason you are willing to have in the ledger.
  1. Add a price_overrides entry to nuramesh.yaml:

    price_overrides:
    - provider: acme
    model: tiny-1
    input_per_million: "1.00"
    output_per_million: "4.00"
    set_by: human:you
    set_at: "2026-10-25T12:00:00Z"
    reason: "Trying the model before its price is published"
  2. Validate the file:

    Terminal window
    nuramesh validate my-team/nuramesh.yaml
  • Both rates are required. Amounts are decimal text, never numbers.
  • set_by must be a person (human:<id>), and reason explains why.
  • Each use of the override is a ledger event naming who set it and when. Costs computed with it are recorded as provisional.
  • Prefer a real, sourced entry in prices as soon as you have one. A price has an effective date and a source.

See the field list in the Configuration reference. Money rules: Budgets.

nuramesh validate prints my-team/nuramesh.yaml: valid. On the next run, a call to that model is no longer blocked for its unknown price, and its cost is recorded as provisional.

You see Do this
validate names a path under $.price_overrides A field is missing or has the wrong form. Both rates are needed, as text in quotes ("1.00"), and set_by must be human:<id>
The call is still blocked for an unknown price The provider and model of the override do not match the model the role uses. Compare them with the role’s default_model
Costs are marked provisional That is the override at work. Replace it with a sourced entry in prices to end it

Was this page helpful?