ERNIE 4.5 300B A47B Token Counter & Cost Calculator
Count tokens for ERNIE 4.5 300B A47B and estimate the exact API cost — $0.28
per 1M input tokens, $1.10 per 1M output tokens — using a real
o200k_base BPE tokenizer. Everything runs in your browser; nothing is uploaded.
Counts are exact for OpenAI models (o200k_base is GPT-4o/4.1/5's tokenizer). For Claude, Gemini and other vendors — whose tokenizers are not public — treat the count as a close estimate (typically within ±15%).
Model price data failed to load — cost estimates are unavailable right now. Token counts above still work; try reloading the page.
Cost of this text across popular models
| Model | Input $/1M | Output $/1M | This text (input) | +500 output tokens |
|---|
Close estimate (±15%): Baidu does not publish its tokenizer, so this count uses OpenAI's o200k_base as an approximation.
Cost lookup — ERNIE 4.5 300B A47B
| Tokens | Cost on ERNIE 4.5 300B A47B |
|---|---|
| 1K input tokens | 0.028¢ |
| 10K input tokens | 0.28¢ |
| 100K input tokens | $0.0280 |
| 1M input tokens | $0.2800 |
| 1K output tokens | 0.11¢ |
| 10K output tokens | $0.0110 |
FAQ
How accurate is the ERNIE 4.5 300B A47B token count?
Close estimate (±15%): Baidu does not publish its tokenizer, so this count uses OpenAI's o200k_base as an approximation. Paste your own text above to see the exact number for your prompt.
How is ERNIE 4.5 300B A47B API cost calculated?
Cost = (input tokens ÷ 1,000,000) × $0.28 + (output tokens ÷ 1,000,000) × $1.10 — ERNIE 4.5 300B A47B's official per-1M-token prices from Artificial Analysis.
See full ERNIE 4.5 300B A47B pricing & benchmarks, or the main token counter for every model.