Search models
search_modelsSearch model offers across all gateways. Each row is one model at one gateway with its input/output price in USD per 1M tokens. Filter by free=true to list only free offers. Returns canonicalSlug for use with compare_model_prices and estimate_cost.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Substring match on model id, name, or canonical slug, e.g. 'gpt-4o', 'llama' | |
| free | No | true = only free offers, false = only paid | |
| page | No | ||
| sort | No | price_asc | |
| vendor | No | Model maker, lowercase: anthropic, openai, google, meta, deepseek, mistral, qwen, xai, ... | |
| perPage | No | ||
| modality | No | Required modality, e.g. 'text', 'image', 'audio' | |
| provider | No | Gateway slug (see list_gateways) | |
| minContext | No | Minimum context window in tokens | |
| maxInputPrice | No | Maximum input price, USD per 1M tokens |