subscription_vs_api
Is a chat subscription (e.g. Claude Pro) cheaper than the same use through the API? Messages a day and tokens per message priced at the cheapest real-time seller of a model and at the maker's own API, a month of 30 days, against the subscription's price, with the break-even messages a day. USD. preset claude-pro / mistral-pro takes the plan price from our plan tables; otherwise pass price.
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": "subscription_vs_api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | model id; default the preset's model (claude-pro: anthropic/claude-sonnet-5-5) | |
| price | No | subscription USD a month, when no preset | |
| preset | No | a plan we collect the price of | |
| input_tokens | No | per message incl. the resent chat, default 3000 | |
| output_tokens | No | per message, default 600 | |
| messages_per_day | No | default 40 |