Prompt Efficiently
API TOKEN CALCULATOR

API token cost scenarios

Calculate a price range from token counts and an output budget. This is not a prediction of how many tokens your task will use.

Include system instructions, history and tool definitions. Enter your own token count. Text tokenization is not included in this calculator.

Standard text-only API pricing in USD. This calculator supports up to 272,000 uncached input tokens for every model. Claude Haiku 5.5 uses higher input and output rates above 100,000 input tokens. No cached input, cache writes, images, audio, tools, search, taxes, regional premiums or subscription allowances. The output budget must include all billable output tokens, including reasoning where applicable.

Rates checked 23 November 2026. OpenAI pricing · Claude pricing · Model source

Sign up free to use the calculator. Calculations run locally and share your five free estimates a day. Each displayed scenario counts as one estimate. No API key or paid API request is needed. Rates may change; check the source before relying on a budget.