Estimate Self-Hosting Break-Even
estimate-self-hosting-breakevenAPI or own capacity: the monthly volume at which renting GPU instances costs the same as paying a model's API per token. An API bill grows with every request, a rented instance costs the same whether it is busy or idle, so below the break-even the API is cheaper and above it the fleet is. Give a model, a workload and either an instance from the compute catalogue (instanceType) or an hourly rate of your own (hourlyRate). The answer costs the fleet at every rate the catalogue lists (on demand, spot, 1- and 3-year commitments) against the API at list price, at the optimized price with caching and batch, and at the cheapest host known, and compares them at your volume. Use it for 'at what volume does self-hosting Llama 3.3 70B on a g6e.12xlarge pay off' or 'is our 2M requests a month enough to rent our own GPUs'. It assumes neither a throughput nor an operations cost. Without outputTokensPerSecond each break-even states the output tokens per second the fleet would have to sustain around the clock; with it, the share of the fleet's capacity that volume uses, and whether it is out of reach. Without monthlyOperationsCost the fleet figures are hardware rent only: engineer time, storage, egress and failover are left out, and the text says so. It does not check that the instance can hold the model, and it reports whether the model's weights are published at all. Figures are final as returned and dated by provenance (API prices) and computeProvenance (instance rates).
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>"
},
"name": "estimate-self-hosting-breakeven"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model whose API price is the baseline, e.g. 'Llama 3.3 70B'. One name; the best match is used and other matches are reported. | |
| region | No | Pricing region of instanceType: us-east, us-west, europe, asia-pacific. Default: us-east | |
| provider | No | Cloud provider of instanceType, needed only when two providers use the same instance name: AWS, Azure, GCP, DigitalOcean, OCI, OVH, Alibaba. | |
| hourlyRate | No | USD per hour for ONE instance, for hardware the catalogue does not list: a GPU cloud, a quoted rate, owned hardware amortised per hour. Give this OR instanceType, not both. | |
| cacheHitRate | No | Share of input tokens served from the prompt cache, 0 to 1. Only valid with customInputTokens and customOutputTokens; the presets carry their own. | |
| instanceType | No | Instance the model would run on, exactly as the compute catalogue names it, e.g. 'g6e.12xlarge' or 'a2-highgpu-1g'. Find one with compare-compute-pricing (category 'GPU / Accelerated'). Give this OR hourlyRate, not both. | |
| batchEligible | No | Whether the workload is asynchronous and can go through the batch API. Only valid with customInputTokens and customOutputTokens; the presets carry their own. | |
| instanceCount | No | Instances in the fleet, each billed every hour of the month. Default: 1 | |
| monthlyVolume | No | Requests per month the two are compared at, any integer. Default: 100,000 | |
| useCasePreset | No | Workload shape, which sets tokens per request and the caching and batch assumptions: supportTicket (1.5k in / 500 out), knowledgeQA (2k / 800), meetingSummary (10k / 1.2k, batch-eligible), marketingContent (2.5k / 1.8k), codingTask (3k / 2k), invoiceProcessing (1.5k / 600, batch-eligible), callSummary (2k / 700, batch-eligible), agentWorkflow (6k / 3k). Default: supportTicket. Ignored when custom token counts are given. | |
| customInputTokens | No | Custom input tokens per request. Must be supplied TOGETHER with customOutputTokens. A custom shape assumes no caching and no batch unless cacheHitRate / batchEligible say otherwise. | |
| customOutputTokens | No | Custom output tokens per request. Must be supplied TOGETHER with customInputTokens. | |
| monthlyOperationsCost | No | USD per month for everything the hourly rate leaves out: the engineers who run the stack, storage, egress, failover capacity. Omitted means not included, not zero, and the answer says so. | |
| outputTokensPerSecond | No | MEASURED output tokens per second ONE instance generates at full load on this workload, all concurrent requests together. Omit it when it has not been measured: the tool then states the throughput each break-even requires instead of assuming one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api | Yes | ||
| error | No | ||
| fleet | Yes | ||
| model | Yes | ||
| source | Yes | ||
| eloAsOf | Yes | ||
| options | Yes | ||
| dataAsOf | No | ||
| workload | Yes | ||
| provenance | No | ||
| resolution | Yes | ||
| computeProvenance | No |