GuidesCalculator

AI token and cost calculator for a single request

By the Banzai Labs teamUpdated on 2 min read

Your textTokensPer callPer monthThe calculation runs in your browser
Your text on one side, tokens and cost on the other.

The calculator

Input tokens (estimated)
—
Cost of one call
—
Cost per month
—

The starting prices are an example: replace them with your provider’s and your model’s.

How to read the result

  • Input tokens count everything the model reads: instructions, attached documents, question.
  • The cost of one call adds input and output, each at its own price.
  • The monthly cost multiplies by the volume. A conversation re-reads its history: see the cost of a conversation.

To understand tokens: AI tokens explained.

Frequently asked questions

Is the estimate exact?
It is an order of magnitude, at about four characters per token. The exact count depends on the model and the language; the API returns it with every call.
Where do I find the prices?
On your provider's pricing page, as a price per million input and output tokens.
Is my text sent anywhere?
No. The calculation runs in your browser and nothing is stored.

Read next

All guides