Skip to content

Set your own prices

Override or extend the model catalog’s prices — for example, when you negotiated different rates or a new model is missing from the built-in card. You need this when the displayed costs should reflect your actual rates.

  • The pi-mistral-native package installed
  1. Add a rate-card entry to your user config file — models.rateCard is not settable via /mistral set, so hand-edit the file:

    {
    "models": {
    "rateCard": [
    {
    "match": "mistral-large",
    "rates": { "input": 0.7, "output": 2.1, "cacheRead": 0.07, "cacheWrite": 0 }
    }
    ]
    }
    }

    Entries match model ids by substring — the first match wins, most-specific-first. A same-match entry shadows the built-in; a match of "" prices the entire catalog.

  2. Verify the price in a chat — the usage cost reflects your entry.

  3. Optional — control unpriced models:

    /mistral set models.fallThrough false

    false gives models without a matching entry a zero-cost placeholder instead of the catch-all rates (still flagged approximate).

See Built-in rate card · Models and cost estimates · Configuration keys