Skip to content

Affaires

Instantané, privé et gratuit

Calculatrice de Coût de Jetons IA.

Estimez les tarifs API des modèles LLM populaires comme GPT-4o, Claude 3.5 Sonnet et DeepSeek, avec prise en charge des appels par lots et des boucles d'agents.

Cette calculatrice n'est pas encore entièrement traduite ; une partie du texte s'affiche en anglais.

Calcul sur l'appareilSans inscription
01

Saisissez vos valeurs

Les résultats se mettent à jour pendant la saisie.

Estimateur de texte

Résultats

Coût par exécution

$0.0210

Coût par période

$2.10

Jetons totaux par exécution

Input:2,000
Output:1,000
Total:3,000

Coût quotidien

$0.07

10,000 tokens/day

Coût mensuel

$2.10

300,000 tokens/mo

Coût annuel

$25.55

3,650,000 tokens/yr

Longévité

Exécutions autorisées

4,761 runs

Jours restants 47.6 Mois

Comparaison

Llama 3.1 8BMeta
$0.05/1M prompt • $0.08/1M completion
$0.00018
$0.02/mo
Gemini 1.5 FlashGoogle
$0.075/1M prompt • $0.3/1M completion
$0.00045
$0.04/mo
DeepSeek-V3DeepSeek
$0.14/1M prompt • $0.28/1M completion
$0.00056
$0.06/mo
GPT-4o miniOpenAI
$0.15/1M prompt • $0.6/1M completion
$0.00090
$0.09/mo
Llama 3.1 70BMeta
$0.59/1M prompt • $0.79/1M completion
$0.00197
$0.20/mo
DeepSeek-R1DeepSeek
$0.55/1M prompt • $2.19/1M completion
$0.00329
$0.33/mo
Claude 3.5 HaikuAnthropic
$0.8/1M prompt • $4/1M completion
$0.00560
$0.56/mo
Gemini 1.5 ProGoogle
$1.25/1M prompt • $5/1M completion
$0.00750
$0.75/mo
Llama 3.1 405BMeta
$2.66/1M prompt • $2.66/1M completion
$0.00798
$0.80/mo
GPT-4oOpenAI
$2.5/1M prompt • $10/1M completion
$0.01500
$1.50/mo
Claude 3.5 SonnetAnthropic
$3/1M prompt • $15/1M completion
$0.02100
$2.10/mo
Claude 3 OpusAnthropic
$15/1M prompt • $75/1M completion
$0.10500
$10.50/mo

Cite this calculator

Canonical URL: https://mathify.one/fr/business/ai-pricing

Cite as: Mathify. (2026). Calculatrice de Coût de Jetons IA. https://mathify.one/fr/business/ai-pricing

Use Cases

Estimate per-request API costs

For a single API call, enter the model's pricing and your token usage to see the cost of one request. Useful for budgeting individual features or comparing models.

Example: Input: 5,000 tokens, Output: 1,000 tokens, Input price $3/M, Output price $15/M → cost $0.03

Simulate AI agent loop expenses

Model an agent that makes multiple turns, each adding tokens to the context. The calculator simulates context expansion and estimates total tokens and cost for the entire loop.

Example: Initial prompt 2,000 tokens, 10 turns, +500 tokens/turn, output 200 tokens/turn → see total cost

Frequently Asked Questions

How does the AI Token Cost Calculator estimate API costs?
You input the input and output prices per 1M tokens, along with token counts for prompt and completion. The calculator multiplies these to give a per-request cost. For agent loops, it uses initial prompt tokens, tokens added per turn, and output tokens per turn to simulate context expansion and compute total token usage.
Can I use this calculator for custom AI models?
Yes. The calculator includes a 'Custom Model' option where you can manually enter the input and output prices per 1M tokens, allowing you to estimate costs for any LLM API.
What is the purpose of the 'Monthly Budget' field?
The Monthly Budget field lets you set a spending limit. The calculator can compare your estimated monthly expenses against this budget, helping you see if your projected usage stays within your planned spending.

Tips & Common Mistakes

Tips

  • Check your model's current pricing page for accurate input and output prices per 1M tokens, as they can change.
  • For agent loops, estimate the average tokens added per turn based on your use case (e.g., tool results, memory).
  • Use the Monthly Budget field to set a cap and adjust your request volume or frequency to stay within budget.
  • Remember that some models have different pricing for cached input tokens; this calculator uses standard rates.

Common Mistakes to Avoid

  • Forgetting to convert prices to per 1M tokens: if your price is per 1K tokens, multiply by 1000 before entering.
  • Not accounting for the context expansion in agent loops: the calculator uses the 'Tokens Added per Turn' to simulate growth, so leaving it at 0 will underestimate costs.
  • Confusing input and output token counts: ensure you enter the correct numbers for prompt and completion to get an accurate cost.

Last updated: August 13, 2026