Real-time AI pricing.
One API.
Free REST API for real-time pricing across text, image, video, avatar, TTS, and STT AI providers. Open source. Self-hostable.
npm install pricetokenpip install pricetoken| Provider | Model | Input/MTok ↑ | Output/MTok | Context | Freshness | Launched |
|---|---|---|---|---|---|---|
| openai | GPT-5 Nano | $0.050 | $0.400 | 400K | 19h ago | Aug 2025 |
| Gemini 2.5 Flash-Lite | $0.100 | $0.400 | 1049K | 19h ago | Jul 2025 | |
| openai | GPT-4.1 Nanounverified | $0.100 | $0.400 | 1000K | 11d ago | Apr 2025 |
| openai | GPT-4o Miniunverified | $0.150 | $0.600 | 128K | 11d ago | Jul 2024 |
| openai | GPT-5.4 Nano | $0.200 | $1.25 | 400K | 19h ago | Mar 2026 |
| xai | Grok 4.1 Fast | $0.200 | $0.500 | 2000K | 19h ago | Mar 2026 |
| xai | Grok Code Fast 1 | $0.200 | $1.50 | 256K | 19h ago | Jan 2026 |
| ai21 | Jamba Mini | $0.200 | $0.400 | 256K | 19h ago | Jun 2025 |
| qwen | QwQ-Plus | $0.222 | $0.556 | 131K | 19h ago | Mar 2025 |
| Gemini 3.1 Flash-Lite Previewpreview | $0.250 | $1.50 | 1049K | 19h ago | Mar 2026 | |
| openai | GPT-5 Mini | $0.250 | $2.00 | 400K | 19h ago | Aug 2025 |
| deepseek | DeepSeek Chat (V3.2) | $0.280 | $0.420 | 128K | 19h ago | Dec 2025 |
| deepseek | DeepSeek Reasoner (V3.2 Thinking Mode) | $0.280 | $0.420 | 128K | 19h ago | Dec 2025 |
| Gemini 2.5 Flash | $0.300 | $2.50 | 1000K | 19h ago | Jun 2025 | |
| xai | Grok 3 Mini | $0.300 | $0.500 | 131K | 19h ago | Apr 2025 |
| qwen | Qwen3-Max | $0.347 | $1.39 | 262K | 19h ago | Jan 2026 |
| openai | GPT-4.1 Miniunverified | $0.400 | $1.60 | 1000K | 11d ago | Apr 2025 |
| Gemini 3 Flash Previewpreview | $0.500 | $3.00 | 1049K | 19h ago | Dec 2025 | |
| openai | GPT-5.4 Mini | $0.750 | $4.50 | 400K | 19h ago | Mar 2026 |
| anthropic | Claude Haiku 4.5 | $1.00 | $5.00 | 200K | 19h ago | Oct 2025 |
| openai | o3 Mini | $1.10 | $4.40 | 200K | 19h ago | Jan 2025 |
| openai | o4 Miniunverified | $1.10 | $4.40 | 200K | 11d ago | Apr 2025 |
| Gemini 2.5 Pro | $1.25 | $10.00 | 1049K | 19h ago | Jun 2025 | |
| openai | GPT-5 Chat (Latest) | $1.25 | $10.00 | 400K | 19h ago | Aug 2025 |
| openai | GPT-5.1 Chat (Latest) | $1.25 | $10.00 | 400K | 19h ago | Nov 2025 |
| openai | GPT-5.2 Chat (Latest) | $1.75 | $14.00 | 400K | 19h ago | Dec 2025 |
| openai | GPT-5.3 Chat Latest | $1.75 | $14.00 | 128K | 19h ago | Mar 2026 |
| openai | GPT-5.3 Codex | $1.75 | $14.00 | 400K | 19h ago | Feb 2026 |
| Gemini 3.1 Pro Previewpreview | $2.00 | $12.00 | 1049K | 19h ago | Feb 2026 | |
| openai | GPT-4.1unverified | $2.00 | $8.00 | 1000K | 11d ago | Apr 2025 |
| xai | Grok 4.20 | $2.00 | $6.00 | 2000K | 19h ago | Mar 2026 |
| ai21 | Jamba Large | $2.00 | $8.00 | 256K | 19h ago | Aug 2025 |
| openai | o3unverified | $2.00 | $8.00 | 200K | 11d ago | Apr 2025 |
| openai | GPT-4ounverified | $2.50 | $10.00 | 128K | 11d ago | May 2024 |
| openai | GPT-5.4 | $2.50 | $15.00 | 1050K | 19h ago | Mar 2026 |
| anthropic | Claude Sonnet 4.6 | $3.00 | $15.00 | 1000K | 19h ago | Feb 2026 |
| xai | Grok 3 | $3.00 | $15.00 | 131K | 19h ago | Apr 2025 |
| xai | Grok 4 | $3.00 | $15.00 | 256K | 19h ago | Jul 2025 |
| anthropic | Claude Opus 4.6 | $5.00 | $25.00 | 1000K | 19h ago | Feb 2026 |
| openai | o3 Pro | $20.00 | $80.00 | 200K | 19h ago | Jun 2025 |
| openai | GPT-5.4 Pro | $30.00 | $180.00 | 1050K | 19h ago | Mar 2026 |
How We Get Our Data
Puppeteer fetches each provider's official pricing page daily, extracting the raw text content.
An AI agent parses the raw text into structured pricing data — model IDs, prices, and context windows.
Three independent AI agents from different providers cross-check every data point. A model is only accepted when at least two agents agree and the price is consistent with historical data.
Verified models are saved as timestamped snapshots in PostgreSQL, so you can track price changes over time.
Each model gets a Bayesian confidence score (0–100). We start with a prior based on data source (verified scrape = 0.90, manual seed = 0.55, stale carry-forward = 0.25), then update with evidence: agent consensus, data age, and price stability. The result is a principled, interpretable score that decays naturally as data ages.
While our multi-agent verification catches the vast majority of errors, prices may occasionally be inaccurate. Always verify against the official pricing page before making purchasing decisions.
Missing a provider or found a wrong price? Open an issue or submit a PR.
3D / World Models
We're tracking the emerging world model space. Once providers converge on a standard pricing unit, we'll add full comparisons.
Free REST API
30 requests/hour free. No signup required. JSON responses with CORS enabled.
npm & PyPI Packages
Typed clients for JS/TS and Python. Offline cost calculator and static pricing data. Zero runtime deps.
Open Source
MIT licensed. Self-host on your own infrastructure. Fork and extend.
Trusted by