Credits
Get remaining credits
Changed onGet total credits purchased and used for the authenticated user. Management key required.
get/credits
Request
- Base URLhttps://openrouter.ai/api/v1
- AuthHTTP bearer
Response
Returns the total credits purchased and used
object required
Total credits purchased and used
data, object required
Example response
{
"data": {
"total_credits": 100.5,
"total_usage": 25.75
}
}Changes
- info
added the optional property
openrouter_metadatato the response with the status - info
added the optional property
openrouter_metadatato the response with the status - info
added the optional property
openrouter_metadatato the response with the status
- info