AI Batch Cost Calculator

Scale average token usage into a batch budget using your rates and eligible discount assumption.

✓ Free to use✓ No signup✓ Clear calculations

Enter your details

Example values are prefilled. Change them to explore your scenario.

Calculations run locally in your browser. Estimates depend on the inputs and assumptions below.

How to use this calculator

  1. Enter the values in the units printed beside each field.
  2. Check the model assumptions, then press Calculate.
  3. Review the result, compare the worked example, and change one input at a time.

Formula and assumptions

Baseline cost = requests × (input tokens × input rate + output tokens × output rate) / 1,000,000. Discounted cost = baseline × (1 − discount / 100).

Worked example

1,000 requests using 1,000 input and 200 output tokens each cost $1.80 at example rates of $1 and $4 per million, before discount.

The prefilled scenario below uses these inputs:

  • Number of requests: 1000
  • Average input tokens per request: 1000
  • Average output tokens per request: 200
  • Input price ($ per million): 1
  • Output price ($ per million): 4
  • Your eligible batch discount (%): 0
Example outputResult
Estimated cost after entered discount$1.8
Baseline token cost$1.8
Total input/output tokens1,200,000

Read the result carefully

Use measured averages from a representative sample. A few unusually large outputs can change the batch budget significantly.

Limits and rounding

No provider discount is assumed automatically. Retries, failed jobs, variable lengths and other charge types are excluded.

Displayed values are rounded for readability; the calculation uses unrounded intermediate values where practical. Change one input at a time to understand how the model responds.

Common questions

What do the default inputs represent?

They are illustrative examples, not current offers, personal recommendations, or a prediction. Replace them with your own relevant values.

How should I check the answer?

Use the formula and worked example on this page. Keep time periods and units consistent and read the stated model limits.

Method and references

Prices and model limits are user inputs. Check the selected provider’s current official documentation before budgeting. This page does not maintain a live price feed or call an AI service.