Skip to content

Token Cost Calculator

Calculate the cost of a single LLM API call from input and output token counts and the model’s per-million-token prices, with input and output billed separately.

Inputs

Tokens

Pricing

$
$

Results

Enter a value to see results.

$

Details

$
$

Embed this calculator

Preview

Paste this code into your page to show the calculator.

Share this calculation

Anyone who opens this link sees your values already filled in.

200+ calculators · 10 languages · 100% free

Was this calculator helpful?

No

How can we improve this calculator?