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.
Prerequisites
Section titled “Prerequisites”- The
pi-mistral-nativepackage installed
-
Add a rate-card entry to your user config file —
models.rateCardis 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-
matchentry shadows the built-in; amatchof""prices the entire catalog. -
Verify the price in a chat — the usage cost reflects your entry.
-
Optional — control unpriced models:
/mistral set models.fallThrough falsefalsegives 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