Break-even usage for a subscription price
subscription_break_evenHow many AI messages a month a subscriber can send before the model cost uses up what the plan earns, after the store or payment fee. Answers: does this plan price cover this model?
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"model": "<model>",
"monthlyPriceUsd": "<monthlyPriceUsd>"
},
"name": "subscription_break_even"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model id. | |
| feePercent | No | Store or payment fee. App stores take 15 to 30; Stripe about 3. | |
| inputTokens | No | Prompt tokens per message (system prompt and history). | |
| cachedTokens | No | How many of the prompt tokens are read from the prompt cache. | |
| outputTokens | No | Reply tokens per message. | |
| monthlyPriceUsd | Yes | The plan's price per month. | |
| messagesPerMonth | No | Optional: a user's expected messages a month, to get that user's margin. |