OhMyCalc

Token Cost Calculator

Calculate the cost of using LLM APIs based on input/output tokens, pricing, and request volume.

How to Use the Token Cost Calculator

  1. Enter average input and output tokens per request.
  2. Set input and output token pricing per 1M tokens.
  3. Specify daily request volume.
  4. Click Calculate for cost projections.

Use Cases

Formula

Cost/Request = (Input×InputPrice + Output×OutputPrice) / 1M

Frequently Asked Questions

How accurate is this calculator?
Results are based on standard industry formulas and are suitable for preliminary estimates.
What units are used?
Standard IT units (requests/sec, ms, %, USD) are used unless otherwise noted.
Is it free?
Yes, all calculators are completely free.