get_fastest
Retrieves the top N AI models with the lowest latency by pinging configured providers. Supports filtering by tier, provider, count, free only, and verification.
Instructions
Get the N fastest available models right now. Use when the user wants recommendations or "best/fastest/free" models.
Pings configured providers and returns top N by latency. Use model_id from results as the code name when inserting or configuring (e.g. run(prompt, model_id=..., provider=...)). Example: get_fastest(free_only=True, min_tier="A", count=5) for "5 free A-or-better models".
When verified=True, also sends a real prompt to each model to confirm it produces non-empty output. Models that ping as UP but return empty content are excluded.
Args: min_tier: Minimum quality tier (default "A" — shows S+, S, A+, A) provider: Limit to specific provider count: How many results (default 5) free_only: If true, only return models marked as free verified: If true, verify models produce non-empty output (default false)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| min_tier | No | A | |
| provider | No | ||
| verified | No | ||
| free_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |