Models and prices
modelsReturns the models Leanfare can send work to now: each one's id, name, provider, price per 1M input and output tokens (or free) and Arena rating, plus ticked models that cannot take work now with the reason (retired, no credit, free…
Instructions
Returns the models Leanfare can send work to now: each one's id, name, provider, price per 1M input and output tokens (or free) and Arena rating, plus ticked models that cannot take work now with the reason (retired, no credit, free allowance used). Use it to name a model in ask or estimate, or to tell the user what Leanfare can use. Not needed for plan or delegate, which pick models themselves; for models on this computer and downloads, use local_model. Read only: calls no model and changes nothing (the user ticks models in Leanfare's Settings).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "models"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | No | Only this provider's models, by its id: for example openai, anthropic, google, deepseek, openrouter, ollama. Leave it out for every provider. |