model_price_set
MCP tools › Window and UI driver
Set or remove a price row: provider, model (or * for every model of the provider; an exact model wins), currency (three capital letters, default USD), input_per_mtok and output_per_mtok (decimal numbers as text, at most 6 decimal places, 0 to 1000000, per million tokens), or remove. Prices are the user's configuration; Ferris IDEA never invents one, and a booking without a matching row keeps its cost unknown. dry_run defaults to true; dry_run=false needs the user-granted settings right.
| Capability | ui.model_price_set |
|---|---|
| Area | Window and UI driver |
| Access | changes settings |
| Reaches | — |
| Rights | settings |
| Dry run | dry_run, on unless the call turns it off |
Arguments
| Argument | Type | Description |
|---|---|---|
providerrequired | string | The provider id. |
modelrequired | string | The model, or * for every model of the provider. |
currency | string | Three capital letters (default USD). |
input_per_mtok | string | Price of a million input tokens, a decimal number as text (e.g. "2.50"). Needed unless
remove. |
output_per_mtok | string | Price of a million output tokens. Needed unless remove. |
remove | boolean | Remove the price row.default false |
dry_run | boolean | Only show what would be written (default true); false needs the settings right. |
Call it from a shell
ferris-idea call runs one tool with the rights and safe mode of ferris-idea mcp. Replace the folder and the placeholder values.
ferris-idea call ~/my-project model_price_set '{"provider":"<string>","model":"<string>"}'Input schema as JSON
{ "properties": { "provider": { "description": "The provider id.", "type": "string" }, "model": { "description": "The model, or `*` for every model of the provider.", "type": "string" }, "currency": { "description": "Three capital letters (default USD).", "type": [ "string", "null" ] }, "input_per_mtok": { "description": "Price of a million input tokens, a decimal number as text (e.g. \"2.50\"). Needed unless\n`remove`.", "type": [ "string", "null" ] }, "output_per_mtok": { "description": "Price of a million output tokens. Needed unless `remove`.", "type": [ "string", "null" ] }, "remove": { "description": "Remove the price row.", "type": "boolean", "default": false }, "dry_run": { "description": "Only show what would be written (default true); false needs the `settings` right.", "type": [ "boolean", "null" ] } }, "required": [ "provider", "model" ], "additionalProperties": false, "type": "object"}