Benchmarks - TypeScript SDK
Benchmarks - TypeScript SDK
Benchmarks method reference
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
Overview
Benchmarks endpoints
Available Operations
- getBenchmarks - List Benchmarks
getBenchmarks
Unified benchmark endpoint that aggregates scores from multiple benchmark sources (Artificial Analysis, Design Arena). Filter by source to reproduce the exact shapes from the legacy per-source endpoints, or use task_type to find models suited for specific workloads. Authenticate with any valid OpenRouter API key. Rate-limited to 30 requests/minute per key and 500 requests/day per account.
Example Usage
Standalone function
The standalone function version of this method:
Parameters
Response
Promise<models.UnifiedBenchmarksResponse>