You can access the model data and our suggestion algorithms programmatically using our REST API.
All API requests require authentication using an API key. You can provide the API key in one of three ways:
x-api-key: YOUR_API_KEYAuthorization: Bearer YOUR_API_KEY?apiKey=YOUR_API_KEY| Parameter | Type | Description |
|---|---|---|
| search | string | Filter models by name or provider (case-insensitive). |
| min_speed | number | Minimum required speed in output tokens per second. |
| max_price | number | Maximum allowed blended price per 1M tokens. |
| suggest | enum | Apply weighted ranking based on use case. Options: general, coding, value, smart. |
| limit | number | Maximum number of models to return (default: 10). |
| expanded | boolean | If true, returns full model object. If false (default), returns only name, slug, and customScore. |
# Full search endpoint curl -X GET "http://localhost:3000/api/models?search=llama&limit=3" \ -H "x-api-key: your_secret_key" # Shortcut endpoint for coding tools curl -X GET "http://localhost:3000/api/coding?limit=3&min_speed=50" \ -H "x-api-key: your_secret_key"{
"data": [
{
"name": "Model Name",
"slug": "model-slug",
"customScore": 85.4
}
],
"total": 3,
"timestamp": "2026-04-12T12:00:00.000Z"
}