Count tokens and estimate cost for GPT-5, Claude, Gemini and more. See if your prompt fits the context window. Free, private, and it runs entirely in your browser.
In agent mode all four fields roll up into one total and are budgeted against the model context window.
| Model | Tokens | Context | In $/1M | Out $/1M | Total cost |
|---|
Prices last updated: . These change often, so treat them as approximate. Values live in the MODELS config object in this file and are easy to edit. Prices are USD per 1M tokens.
OpenAI counts are exact (computed with the real GPT tokenizer in your browser). Claude, Gemini, DeepSeek and Llama counts are estimates marked with ≈: no public browser-side tokenizer exists for those, so Gauge takes an OpenAI count and applies a per-model calibration multiplier. Expect roughly +/- 10 to 15% for English prose, and wider for dense code or non-Latin scripts.