Skip to main content

AI Cost Calculator

New

Estimate LLM API costs from input/output token counts across popular models.

aillmcostpricingbudget
Read the guide
Shortcuts:⌘ KSearch

Estimate LLM API costs

Pick a model, enter input/output token counts, and see the estimated cost. Pricing is a static reference table (per 1M tokens) — always confirm current rates on the provider's pricing page before budgeting.

Prices last updated manually in this tool's source — check the provider's official pricing page for live rates before relying on this for billing decisions.

Continue with:

Frequently Asked Questions

Is the pricing table live/current?

No. It is a static reference table embedded in the tool, updated manually. Providers change prices often, so always check the official pricing page before making a budget decision.

How is the total cost calculated?

Input tokens times the model's input rate per 1,000,000 tokens, plus output tokens times the output rate, both divided by 1,000,000. Input and output are priced separately because most providers charge more for output tokens.

What does the monthly projection assume?

It multiplies the per-request cost by the requests-per-day figure you enter, then by 30, as a rough monthly estimate. It only appears once you enter a non-zero requests-per-day value.

Can I get an exact token count to plug in here?

Use the LLM Token Counter tool on this site first to estimate input/output tokens, then paste those numbers into this calculator.

Does this cover fine-tuning or embedding costs?

No. It only estimates standard chat/completion input and output token pricing for the listed models.

Related Tools