LLM Self-Host vs API Cost Calculator
llm_self_host_vs_api_calculatorLLM Self-Host vs API Cost Calculator — Find the monthly token volume where self-hosting an LLM on rented GPUs beats paying per token for an API. Compare costs, GPUs needed, and breakeven point.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gpuId | Yes | ||
| apiModelId | Yes | ||
| gpuHourlyUsd | Yes | ||
| utilizationPct | Yes | ||
| monthlyInputTokensM | Yes | ||
| monthlyOutputTokensM | Yes | ||
| throughputTokensPerSec | Yes |