Find an LLM (model, provider) by price & capability
find_modelFree. Ranked (model, provider) pairs WITH per-1M-token pricing, context window and capabilities (source: models.dev, provider-declared prices). Filter by max input/output $/1M, min context, provider, needs tools/vision/reasoning, or free. Cheapest effective cost first. Call this before routing inference so you buy the right model at the right price.
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": "find_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| free | No | only $0 in & out | |
| kind | No | what it PRODUCES: text (LLM), image/video/audio generators | |
| paid | No | exclude fully-free models (cheapest PAID) | |
| limit | No | ||
| provider | No | e.g. anthropic | openai | google | |
| min_context | No | minimum context window (tokens) | |
| needs_tools | No | ||
| needs_vision | No | image INPUT (vision) | |
| needs_reasoning | No | ||
| max_input_per_mtok | No | max USD per 1M input tokens | |
| max_output_per_mtok | No | max USD per 1M output tokens | |
| workload_input_tokens | No | with workload_output_tokens: rank by the cost of YOUR workload | |
| workload_output_tokens | No |