OpenRouter Credits and Usage
Read credits, generation metadata, and generation content to verify provider, usage.cost, cost_details, and terminal task billing.
endpoint list
Choose an endpoint to open its standalone reference page. Desktop pages include parameters, curl examples, and response examples.
| Method | Endpoint | Description |
|---|---|---|
GET | /api/v1/credits | Query credits and usage for the current tenant. |
GET | /api/v1/generation | query generation metadata。 |
GET | /api/v1/generation/content | Read content associated with a generation. |