Skip to content

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.

Capabilityui.model_price_set
AreaWindow and UI driver
Accesschanges settings
Reaches—
Rightssettings
Dry rundry_run, on unless the call turns it off

Arguments

ArgumentTypeDescription
providerrequiredstringThe provider id.
modelrequiredstringThe model, or * for every model of the provider.
currencystringThree capital letters (default USD).
input_per_mtokstringPrice of a million input tokens, a decimal number as text (e.g. "2.50"). Needed unless remove.
output_per_mtokstringPrice of a million output tokens. Needed unless remove.
removebooleanRemove the price row.default false
dry_runbooleanOnly 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.

Terminal window
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"
}