Credits
Get remaining credits
Get total credits purchased and used for the authenticated user. Management key required.
get/credits
Request
- Base URL: https://openrouter.ai/api/v1
- URL: https://openrouter.ai/api/v1/credits
- Auth: HTTP bearer
Response
Returns the total credits purchased and used
Example response
{
"data": {
"total_credits": 100.5,
"total_usage": 25.75
}
}Changes
No recorded changes to this operation across all 364 revisions of this API.