LLM API Pricing Comparison
Compare API prices per million tokens across GPT, Claude and Gemini, sortable and searchable. Prices as of July 2026.
- Runs in your browser
- Nothing uploaded
- Free, no sign-up
Compare the API cost of the main GPT, Claude and Gemini models side by side, with a chart and a quick cost estimate. Prices are per 1M tokens as of July 2026.
Loading chart...
| Model | Provider | Input /1M | Output /1M | Context | Est. cost |
|---|
Prices per 1M tokens, USD, as of July 2026. Many providers offer batch pricing (about 50% off) and prompt caching. Always check the provider for the latest.
How to Use LLM API Pricing Comparison
- Scan the table. Every major GPT, Claude, and Gemini model is listed with its input and output price per million tokens and its context window.
- Sort to rank. Click any column heading to sort by input price, output price, context, or estimated cost.
- Search to filter. Type a model or provider name to narrow the list to what you care about.
- Estimate a job. Enter your input and output token counts and the last column shows the cost for each model.
Frequently Asked Questions
What do the prices mean?
They are the list prices in US dollars per one million tokens, shown separately for input and output, which is how the providers bill.
Which model is cheapest?
It depends on your mix of input and output. For raw price per token the small models like Gemini Flash-Lite and Claude Haiku are the lowest, while flagship models cost more.
Are these prices current?
They are accurate as of July 2026. Prices change often, so treat this as a guide and confirm on the provider site.
What does the context column mean?
It is the maximum number of tokens the model can consider at once, including your prompt and its reply.
Do providers offer discounts?
Yes. Many offer batch processing at around half price and prompt caching that cuts the cost of repeated context. Check each provider for details.
Is any data sent to a server?
No. The table and the estimate run entirely in your browser.
Related Tools
AI Token Counter →
Count the tokens in your text and estimate the API cost across GPT, Claude…
Android AssetLinks JSON Generator - App Links →
Android AssetLinks JSON Generator files for Android App Links. Configure package names and SHA-256…
Convert ASCII to Binary →
Convert ASCII to Binary tool. Convert text to binary and binary to text. 100%…
Base32 Encoder/Decoder →
Free Base32 encoder and decoder tool. Encode or decode Base32 strings online. 100% client-side,…
Base58 Encoder/Decoder →
Free Base58 encoder and decoder tool. Encode or decode Base58 strings like Bitcoin addresses.…
Base64 Encoder and Decoder →
Base64 Encoder and Decoder - Convert text strings into Base64 format or decode Base64…
BBCode to HTML Converter →
Generate standard semantic HTML arrays translating classic forum BBCode syntax cleanly explicitly mappings independently…
Convert Binary to Hex →
Convert Binary to Hex tool. Convert binary numbers to hex instantly. 100% client-side, instant,…
Convert BSON to JSON →
Convert MongoDB BSON hex dumps to readable JSON in your browser. Free, offline, client-side…
Chmod Calculator →
Chmod Calculator - Build Linux chmod permissions visually - read/write/execute for owner, group, public,…
Coin Flip →
Free Coin Flip Online streaks, batch 10 000 flips, and optional crypto-grade RNG. Full…
Convert Base64 String Encoder and Decoder →
Encode text to Base64 or decode Base64 back to readable text, with full UTF-8…