credits
Checks remaining prepaid balance or rate-limit quota across supported LLM providers via public APIs, omitting providers without an official endpoint.
Instructions
Read leftover credits or quota where a public API exists.
OpenRouter and Vercel AI Gateway: prepaid USD remaining. SiliconFlow: prepaid balance. Groq: remaining daily/minute rate limits (not dollars). Most other hosts have no credit API — those are omitted, not guessed.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "credits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |