get_llm_pricing
Search and retrieve live 2026 per-1M token pricing (input, output, cached read), context window, TTFT latency, throughput (tok/s), and cheapest inference host from TokenMargin.dev.
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": "get_llm_pricing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tier | No | Optional tier filter: frontier, reasoning, fast, open-weight | |
| limit | No | Max models to return (default 20, max 126) | |
| query | No | Optional model name, slug, or provider filter (e.g. "claude", "deepseek", "qwen", "gpt-6", "sage") |