100% Browser-OnlyZero Data Uploaded
LLM Token Counter & API Cost Estimator
Paste any prompt, CJK text, or source code to estimate OpenAI, Claude, and Gemini tokens plus 1x and 10,000x API cost.
OpenAI (o200k_base)
103
GPT-4o / o3-mini / DeepSeek
Anthropic Claude
108
Claude 3.7 Sonnet / 3.5 Haiku
Google Gemini
101
Gemini 2.5 Pro / 2.5 Flash
Characters: 323Words / CJK: 43Lines: 5UTF-8 Bytes: 323 B
Instant API Cost Estimate (Input + Estimated Output)
Expected Output Length:
| Model | Est. Input Tokens | 1 Call Cost | 10,000 Calls Cost |
|---|---|---|---|
| GPT-4oOpenAI | 103 in + 52 out | $0.00078 | $7.77 |
| GPT-4o-miniOpenAI | 103 in + 52 out | $0.000047 | $0.4665 |
| Claude 3.7 SonnetAnthropic | 108 in + 54 out | $0.00113 | $11.34 |
| Claude 3.5 HaikuAnthropic | 108 in + 54 out | $0.00030 | $3.02 |
| Gemini 2.5 ProGoogle | 101 in + 51 out | $0.00064 | $6.36 |
| Gemini 2.5 FlashGoogle | 101 in + 51 out | $0.000046 | $0.4575 |
| DeepSeek V3 (Chat)DeepSeek | 103 in + 52 out | $0.000085 | $0.8501 |
| DeepSeek R1 (Reasoner)DeepSeek | 103 in + 52 out | $0.00017 | $1.71 |
Advertisement
Zero-Ops Deploy · Ship APIs in 60s$5/mo usage
Railway Instant Cloud & Backend Hosting
Push from GitHub to deploy Node, Python, Postgres, and Redis microservices with usage-based pricing and zero DevOps pain.
Partner LinkDeploy on Railway
Related SaaS Comparisons
Claude 3.7 Sonnet API vs GPT-4o / 4o-mini API
Claude 3.7 Sonnet wins on software engineering, natural non-robotic copywriting, and 90% prompt caching ($0.30/1M cached input). GPT-4o wins on raw uncached output pricing ($10 vs $15/1M) and ultra-cheap GPT-4o-mini ($0.15/1M) routing. Smart teams pair both via Make.com or a lightweight API gateway.