GreyScript AI

Multi-Model Token Cost Calculator

Paste a prompt below to see its estimated token count and per-request cost across major model providers, side by side. Everything runs in your browser; nothing is sent anywhere.

Your prompt
Estimated input tokens: 0 (rough estimate: ~4 characters per token)
Model
Input $/1M
Cost / request
Cost / 1,000
Cost / day
Claude Sonnet
Anthropic
$3.00
Claude Opus
Anthropic
$15.00
GPT-4o
OpenAI
$2.50
GPT-4o mini
OpenAI
$0.15
Gemini 2.5 Pro
Google
$1.25
Gemini 2.5 Flash
Google
$0.075
Token counts here use a rough character-based approximation, not a real tokenizer, so treat this as a planning estimate rather than an exact figure. Pricing reflects list prices per 1M tokens at time of writing and changes frequently; check each provider's current pricing page before finalizing a budget. This tool doesn't account for prompt caching, batch discounts, or volume pricing, all of which can meaningfully reduce real-world cost.

This calculator covers a single request. A real agentic workflow usually makes several model calls per user action, which is the main reason naive cost estimates run low. We wrote up the full model for that in our blog.

Read: how to estimate AI agent cost →

Need a full project estimate, not just per-request token cost? Use our scoping calculator to get a cost and timeline range for the whole build.

Try the AI project cost estimator →