
OpenRouter API
openrouter.ai
One endpoint for hundreds of language models.
What it does
Unified chat-completions API across model providers; pass-through pricing with a fee above free allowances, BYOK and credit limits.
In its API docs
Pricing
What OpenRouter publishes for buying direct, as listed on its own pages.
Buying direct from OpenRouter
- StandardModel list price; 5% fee after $25,000/mo
Free tier: Free models, 50 requests/day. OpenRouter pricing, checked Sep 29, 2026
Docs
OpenRouter's own pages, linked as published.
- API referenceopenrouter.ai/docs/api-reference/limits
- OpenAPI specopenrouter.ai/openapi.json
- Pricingopenrouter.ai/pricing
- Websiteopenrouter.ai
Its OpenAPI document: 141 operations and rate limits
| Method | Path | Summary | Params | Source |
|---|---|---|---|---|
| GET | /activity | Get user activity grouped by endpoint | 5 | Spec |
| GET | /analytics/meta | Get available analytics metrics and dimensions | 0 | Spec |
| POST | /analytics/query | Query analytics data | 0 | Spec |
| POST | /api/alpha/decisions | Submit a Decisions request | 0 | Spec |
| POST | /audio/speech | Create speech | 0 | Spec |
| POST | /audio/transcriptions | Create transcription | 0 | Spec |
| POST | /auth/keys | Exchange authorization code for API key | 0 | Spec |
| POST | /auth/keys/code | Create authorization code | 0 | Spec |
| GET | /batches | List batches | 5 | Spec |
| POST | /batches | Create a batch | 0 | Spec |
| GET | /batches/{id} | Get a batch | 1 | Spec |
| DELETE | /batches/{id} | Delete a batch | 1 | Spec |
| GET | /benchmarks | List Benchmarks | 9 | Spec |
| GET | /byok | List BYOK provider credentials | 4 | Spec |
| POST | /byok | Create a BYOK provider credential | 0 | Spec |
| GET | /byok/{id} | Get a BYOK provider credential | 1 | Spec |
| PATCH | /byok/{id} | Update a BYOK provider credential | 1 | Spec |
| DELETE | /byok/{id} | Delete a BYOK provider credential | 1 | Spec |
| POST | /chat/completions | Create a chat completion | 1 | Spec |
| GET | /classifications/task | Task classification market share | 1 | Spec |
| GET | /containers/{container_id}/files | List container files | 3 | Spec |
| GET | /containers/{container_id}/files/{file_id} | Retrieve a container file | 2 | Spec |
| GET | /containers/{container_id}/files/{file_id}/content | Download container file content | 2 | Spec |
| POST | /containers/{container_id}/files/{file_id}/promote | Promote a container file into workspace documents | 2 | Spec |
| GET | /credits | Get remaining credits | 0 | Spec |
| POST | /credits/coinbase | Deprecated Coinbase Commerce charge endpoint | 0 | Spec |
| GET | /datasets/app-rankings | Top apps by token usage | 7 | Spec |
| GET | /datasets/rankings-daily | Daily token totals for top 50 models | 7 | Spec |
| GET | /datasets/session-cost | Cost per session by harness and model | 5 | Spec |
| POST | /embeddings | Submit an embedding request | 0 | Spec |
| GET | /embeddings/models | List all embeddings models | 2 | Spec |
| GET | /endpoints/zdr | Preview the impact of ZDR on the available endpoints | 0 | Spec |
| GET | /files | List files | 8 | Spec |
| POST | /files | Upload a file | 2 | Spec |
| GET | /files/{file_id} | Get file metadata | 3 | Spec |
| DELETE | /files/{file_id} | Delete a file | 3 | Spec |
| GET | /files/{file_id}/content | Download file content | 3 | Spec |
| GET | /generation | Get request & usage metadata for a generation | 1 | Spec |
| GET | /generation/content | Get stored prompt, completion, and error content for a generation | 1 | Spec |
| POST | /generation/feedback | Submit feedback for a generation | 0 | Spec |
Showing 40 of 141 operations; the full list is in the spec.
Rate limits
Free: 50 requests/day; paid: passthrough from providers Without a published limit GridRouter paces conservatively (1 call per second).
Sources for this page (3)
- OpenRouter pricingchecked Sep 29, 2026
- OpenRouter limitschecked Sep 29, 2026
- Wikidata: headquarters and inceptionchecked Sep 29, 2026