AI Tools Strumento aggiornato 1 giorno fa

AI API Cost Calculator

Estimate the real cost of any AI API call before you build. Pricing data is pulled live from models.dev, so GPT, Claude, Gemini, DeepSeek, Llama and thousands of other models stay up to date automatically. Enter token usage, factor in cache and reasoning tokens, project monthly spend, and compare up to 4 models at once.

Sempre gratuito Facile da usare Risultati immediati Riservato e sicuro

Utilizzo AI API Cost Calculator

Pricing data is loading...

Model

Usage

per request

Quick Scenarios

Token Estimator

Estimated tokens: 0
Per request
$0.0000
Per 1M tokens
$0.00
Mensile
$0.00
Tokens / request
0

Cost Breakdown

Component Tokens Rate / 1M Costo
Select a model and enter usage to see the breakdown.
Breakdown, rates and warnings will appear here after calculation.

Models to Compare

Shared Usage (per request)

Comparison

Model Input / 1M Output / 1M Per request Mensile
Pick at least two models and enter shared usage, then click Compare.
Model Provider Context Input / 1M Output / 1M Cache read / 1M Stato Utilizzo
Type at least one character to search the full catalog.

Link agli strumenti

Copiato negli appunti.

Aiutaci a migliorare questo strumento

Leggi il contenuto

Scopri come funziona lo strumento e quando utilizzarlo.

How to Use This Tool

Pick a provider and model from the live models.dev catalog, enter your token usage (input, output, cache, reasoning, audio), and the cost breakdown updates instantly. Use the request-volume slider to project monthly spend, or pick a quick scenario chip to jump straight in.

Features

  • Live pricing - All rates are fetched from models.dev automatically and cached for 12 hours, so new models and price changes appear without manual updates.
  • Full token breakdown - Input, output, cache read, cache write, reasoning, and audio tokens each billed at their own rate, exactly like the provider invoices you.
  • Monthly projection - Set requests per month and see what your AI bill will look like.
  • Model comparison - Compare up to 4 models side by side with the same usage profile, including a monthly-cost bar chart.
  • Pricing browser - Search and sort the entire catalog by input, output, or cache-read price to find the cheapest model for your job.
  • Token estimator - Paste text for a rough token count (~4 characters per token, English).
  • Context warnings - The calculator flags when your input exceeds the context window or output exceeds the max-output limit.

Understanding the Numbers

Prices are shown in USD per 1 million tokens. When a provider does not publish a rate for a component (for example cache writes), the calculator falls back to the closest equivalent rate or hides that line item. Deprecated models are marked with a red badge so you can avoid pricing them into a new project.

Commenti (0)

Per discussioni tra utenti, casi limite e consigli aggiuntivi.
Lascia un commento
Il tuo commento sarà visibile a tutti una volta inviato.
Non ci sono ancora commenti. Lascia il primo commento!
Facci sapere!

Segnala un problema con questo strumento

Descrivi il problema che hai riscontrato, in modo che possiamo analizzarlo e migliorare lo strumento.

Ciò che aiuta di più
Includi i dati inseriti, il risultato atteso, il risultato effettivo, il browser/dispositivo utilizzato e, se utile, uno screenshot.
Il pulsante "Screenshot" acquisisce la pagina nel browser e allega l'immagine generata a questo modulo.
Screenshot a tutta pagina
Realizzato nel tuo browser con html2canvas.
Non è stato ancora acquisito alcun screenshot.
Strumento Relazione