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.
استعمال کریں AI API Cost Calculator
ماڈل
استعمال
برائے درخواستفوری منظرنامے
ٹوکن تخمینہ کار
لاگت کی تفصیل
| جز | ٹوکنز | ریٹ / 1M | لاگت |
|---|---|---|---|
| ماڈل منتخب کریں اور استعمال درج کریں تاکہ تفصیلی خاکہ دیکھا جا سکے۔ | |||
موازنہ کے لیے ماڈلز
مشترکہ استعمال (فی درخواست)
موازنہ
| ماڈل | ان پٹ / 1M | آؤٹ پٹ / 1M | برائے درخواست | ماہانہ |
|---|
| ماڈل | فراہم کنندہ | سیاق و سباق | ان پٹ / 1M | آؤٹ پٹ / 1M | کیچ ریڈ / 1M | حالت | استعمال کریں |
|---|---|---|---|---|---|---|---|
| پورے کیٹلاگ میں تلاش کرنے کے لیے کم از کم ایک حرف ٹائپ کریں۔ | |||||||
مواد پڑھیں
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.
تبصرے (0)
براہ کرم آپ کو درپیش مسئلے کی وضاحت کریں تاکہ ہم اس کی تحقیقات کر سکیں اور ٹول کو بہتر بنا سکیں۔