Paste your prompt or document. See how many tokens it uses and what one request costs on OpenAI, Claude and Gemini models. Everything runs in your browser. Your text is never sent anywhere.
0tokens (OpenAI count)
0words
0characters
Model
Input tokens
Per request
Total
No models match.
Where the numbers come from. Prices are in US dollars per 1 million tokens, copied by hand on from each provider's own pricing page: They change often, so check the provider before you budget. Standard pay-as-you-go rates only: no cached, batch, long-context or discount pricing.
Token counts. The OpenAI count is exact for the o200k_base encoding used by GPT-4o and later models. A newer model can differ slightly. Claude and Gemini do not publish a tokenizer to run offline, so their counts are estimates scaled from the OpenAI count (Claude about 1.15x, Gemini about 1.0x). The range shown under each estimated cost is the likely spread (Claude 1.0x to 1.35x, Gemini 0.85x to 1.15x). These factors are rules of thumb, not measurements. For an exact figure use the provider's own token counting.
Output cost uses the reply length you enter. Thinking tokens, if a model uses them, are billed as output and are not included unless you add them to the reply length.