Calcolatore di costi API LLM
Stima quanto costerĂ una funzione di IA prima di rilasciarla. Scegli un modello, imposta i tuoi token di input/output per richiesta e il tuo volume giornaliero e ottieni la bolletta per richiesta, mensile e annuale. I prezzi sono valori indicativi modificabili - verificali sulla pagina dei prezzi di ciascun fornitore. Tutto viene eseguito nel tuo browser; niente viene inviato ai nostri server.
Indicative price (USD / 1M tokens) - editable. Verify on the provider's pricing page.
60.0M input → $150 · 15.0M output → $150 per month
Tip: output tokens usually dominate the bill - they cost several times more than input on most models.
Come funziona il prezzo delle API LLM
La maggior parte delle API LLM fattura per token, separando l'input (il tuo prompt + contesto) e l'output (la risposta del modello), con prezzo distinto per milione di token. I token di output costano quasi sempre diverse volte più dell'input, quindi le risposte prolisse dominano la bolletta. Il costo mensile è circa (token di input × prezzo input + token di output × prezzo output) × richieste. La dimensione del contesto, i retry e i system prompt aggiungono token di input, perciò ridurre il contesto e limitare la lunghezza dell'output sono le leve principali per tagliare i costi. Questo strumento rende visibili questi compromessi prima di impegnarti su un modello.
FAQ
- How do I estimate LLM API costs?
- Multiply your input tokens per request by the model's input price (per million tokens), add output tokens times the output price, then multiply by your number of requests. This calculator does it for you and shows per-request, monthly, and yearly totals - adjust the editable prices to match the provider's current rates.
- Why are output tokens more expensive than input?
- Generating tokens is more compute-intensive than reading them, so most providers price output several times higher than input (often 3–5×). That means long, verbose responses drive your bill more than large prompts - capping max output length is one of the most effective cost controls.
- Are the prices in this calculator accurate?
- They are indicative defaults as of June 2026 and are fully editable. API pricing changes frequently, so always confirm the current input and output price on the provider's official pricing page and update the fields accordingly.
- How can I reduce my LLM API bill?
- Trim context and system prompts (fewer input tokens), cap output length, use a smaller/cheaper model where quality allows, cache repeated context, and batch where possible. For privacy-sensitive or high-volume workloads, running a local LLM can remove per-token cost entirely.
Questo strumento viene eseguito interamente nel tuo browser; nessun dato viene trasmesso o memorizzato. I prezzi sono valori indicativi modificabili (giugno 2026) - conferma sempre il prezzo attuale con il fornitore. Il link a Proton è un link di affiliazione, dichiarato e contrassegnato con rel="sponsored".