lookup_extended_model_pricing
Search an extended LLM pricing catalog by model, provider, or source to compare direct-provider rates with OpenRouter-routed rates and identify lower-cost hosting options.
Instructions
Search the extended LLM catalog (~2300 model/provider combinations auto-ingested weekly from two upstreams: LiteLLM's public JSON (direct-provider retail prices for Together AI, Fireworks, Replicate, Groq, Cerebras, Perplexity, regional Bedrock/Azure variants, etc.) and OpenRouter's /api/v1/models (routed prices including OpenRouter's margin). Every row tagged source='litellm' or source='openrouter' so callers can compare direct vs routed pricing for the same model. Complements compare_token_pricing (hand-curated, 19 vetted models). Use this when the user asks about: (a) a model or provider compare_token_pricing doesn't know — 'cheapest place to host Llama 3.1 405B', 'Together AI pricing', 'what Groq charges for Mixtral' — or (b) whether OpenRouter routing is cheaper or more expensive than going direct to Bedrock/Anthropic/OpenAI ('does OpenRouter add margin for Claude 3 Haiku?').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Mode filter. Default: any (catalog already excludes embedding/image/audio). | |
| limit | No | ||
| query | No | Case-insensitive substring matched against the model ID. E.g. 'llama-3.1-70b' matches every Llama 3.1 70B variant on every host. | |
| source | No | Filter to one upstream source. 'litellm' = direct-provider retail prices. 'openrouter' = OpenRouter routed prices (includes their margin). Default: both — useful for cross-source comparison. | |
| provider | No | Filter to one provider: 'bedrock', 'fireworks_ai', 'together_ai', 'groq', 'perplexity', 'replicate', 'openrouter' (for routed prices), etc. | |
| max_context_tokens | No | Skip models with smaller context. Useful for 'cheapest models that support 200K+ context'. | |
| monthly_input_tokens | No | ||
| monthly_output_tokens | No |