SMALL TOOLS FOR SOFTWARE DECISIONS

Make the units explicit.

Developer calculators and practical guides for estimating AI API usage, keeping input and output costs separate, and documenting a reproducible budget.

AI token cost calculator →

How the estimate is built

Input streamrequests × input tokens × input price ÷ 1,000,000
Output streamrequests × output tokens × output price ÷ 1,000,000

= Total monthly cost

Visible formulas & assumptionsInputs stay in your browserNo sign-up required

Make the next decision clearer.

Begin with your own evidence

Estimate inference charges using token counts and prices you enter. The calculator includes no built-in provider pricing, so it cannot silently rely on an outdated rate.

Cost = requests × (input tokens × input price + output tokens × output price) ÷ 1,000,000. The illustrative starting values produce $20 input cost and $25 output cost, totaling $45.

Example prices are invented, not provider quotes. Cached tokens, reasoning tokens, tool calls, images, audio, retries, storage, taxes and batch discounts are excluded. Token counts vary by model and content; use measured usage for a better estimate.

How we prepare these resources →

Quick AI token cost estimate

Use your own provider rates and measured token counts. The starting prices below are invented examples, not current quotes.

No provider rates are built in. Need a reference? jetai.live publishes dated monthly tables — bring back the numbers that match your billing tier.

Your estimate

Example prices are invented, not provider quotes
Requests per month
10,000
Input tokens / request
2,000
Input price / 1M
$0.50
Output tokens / request
500
Output price / 1M
$2.00
Input stream10,000 × 2,000 × $0.50 ÷ 1,000,000$10.00
Output stream10,000 × 500 × $2.00 ÷ 1,000,000$10.00
Monthly total
$20.00
Per request
$0.0020
Per year (monthly × 12, constant volume)
$240.00

Cost = requests × (input tokens × input price + output tokens × output price) ÷ 1,000,000

Not included in this estimate

  • Cached tokens
  • Reasoning tokens
  • Tool calls
  • Images
  • Audio
  • Retries
  • Storage
  • Taxes
  • Batch discounts

Estimate only. It excludes caching, reasoning, tools, media, retries, storage, taxes, and discounts. Compare with your provider's billing records.

Open the full calculator →

New tools are rare. Get told.

Announcements of new MyDev Codes tools and guides only. No schedule, no marketing mail, and your address is never shared. Removal is one email — see the privacy notice.

More developer guides