API Endpoints
Models
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/v1/models |
List all models with filtering and sorting |
| GET | /api/v1/models/{slug} |
Get a specific model by slug |
| GET | /api/v1/models/search?q={query} |
Search models by name |
Query Parameters (Models)
| Param | Type | Description |
|---|---|---|
sort |
string | Sort field: score, price, name, date |
order |
string | Sort direction: asc, desc |
limit |
integer | Results per page (default: 20, max: 100) |
page |
integer | Page number |
provider |
string | Filter by provider slug |
open_source |
boolean | Filter to open-weight models |
min_score |
float | Minimum average score |
max_price |
float | Maximum input price per 1M tokens |
category |
string | Filter: llm, multimodal, image |
Compare
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/v1/compare |
Compare two or more models |
Query Parameters (Compare)
| Param | Type | Description |
|---|---|---|
models |
string | Comma-separated model slugs |
Pricing
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/v1/pricing |
All models with current pricing |
| GET | /api/v1/pricing/{slug} |
Pricing for a specific model across all providers |
| GET | /api/v1/pricing/history/{slug} |
Price history for a model |
Benchmarks
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/v1/benchmarks |
List all benchmark suites |
| GET | /api/v1/benchmarks/{slug} |
Get benchmark details and top models |
Providers
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/v1/providers |
List all providers |
| GET | /api/v1/providers/{slug} |
Get provider details and models offered |
Agents
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/v1/agents |
List all agents with scores |
| GET | /api/v1/agents/{slug} |
Get agent details |
Related Pages
- Getting Started -- quick start guide
- Examples -- real-world usage patterns
- BenchGecko API Docs -- interactive documentation
- Model Rankings