Perplexity Models
perplexity_modelsList available Perplexity models for your configured key with live prices, and view documented Agent API presets, optionally filtered by provider or refreshed.
Instructions
List the models available to the configured key with their prices (live data), plus the documented Agent API presets as a separate section.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refresh | No | Bypass the cache and fetch the list now | |
| provider | No | Only models from this provider (case-insensitive), e.g. anthropic |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stale | Yes | True when the live request failed and a cached list is shown | |
| models | Yes | Live models (after the provider filter) | |
| presets | Yes | Documented Agent API presets; not live data | |
| routing | Yes | Active routing; configuration, not live data | |
| providers | Yes | Every provider in the live list, ignoring the filter | |
| age_seconds | Yes | Seconds since the list was fetched live |