feat(web): edit usage prices across selected environments (#9861)

This commit is contained in:
Julius Marminge authored and GitHub committed 2026-09-04 19:45:14 -07:00
1 parent 7ee52b0773
commit 84b99f3fb7
7 files changed
+1027 -286

No files matched your search

+14 -5
View File
@@ -18,15 +18,24 @@ update model pricing.
## Set custom model prices
On web or desktop, open **Usage → Model prices** to add, edit, or remove a model's estimated
price. Choose the environment whose history you want to price, then enter the exact model ID and
USD rates per million input and output tokens. You can enter any model ID, including models
On web or desktop, open the environment dropdown on **Usage**, then choose **Model prices** to add,
edit, or reset a model's estimated price. **Apply to** starts with your current Usage filter;
choose all environments or select individual destinations. Enter the exact model ID and USD
rates per million input and output tokens. You can enter any model ID, including models
without public pricing.
Cache read and cache write rates are optional and use the input rate when blank. Enter `0` for
tokens that are free. Saved prices replace automatic pricing for all of that environment's
history and are shared with clients connected to it. Set prices on each environment that needs
them. Removing a price restores automatic pricing.
history and are shared with clients connected to it. When environments have different prices,
cells show **Mixed**. Edit rates directly in the table, then choose **Save changes** to apply all
edited rows. Untouched cells keep each environment's rate. Select one environment to inspect its
prices. **Reset to automatic** marks a model's override for removal when you save; you can undo
it before saving.
Each destination reports whether the change saved. Offline or unavailable environments are
marked **Not saved**. Reconnect them and choose **Retry failed saves** to finish the same change
without writing again to environments that already saved. Changes are not queued after you close
the dialog.
## Track subscription limits