What spare API credit could earn
estimate_earningsAnswers "what is my unused, leftover or expiring API credit worth?" for one provider or plan. Pass a plan (claude_max, chatgpt_pro_200) or a provider with monthlyCreditUsd. Returns a plain summary and an upper bound per month from the last 24 hours of Surplus sales; the lower bound is always $0 and nothing is guaranteed. Relay the summary and its caveats, not just the number. Never pass an API key.
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": "estimate_earnings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | No | Subscription plan, e.g. claude_max, chatgpt_pro_200. | |
| models | No | Exact model ids to restrict to. | |
| provider | No | Provider the key belongs to. Optional when plan is given. | |
| monthlyCreditUsd | No | Spare list-price API credit per month, in USD. Overrides the plan's included credit. |