LLM APIs · Comparison
Anthropic API (Claude) vs Google Gemini API vs OpenAI API
3 products compared side by side: what you pay for with each one first, then the five access facts, entry prices, recorded plan limits and the bottom line of each review. The evidence note under the table says how each product was checked.
Side by side
| Metric | Anthropic API (Claude) | Google Gemini API | OpenAI API |
|---|---|---|---|
| What you're paying for | Worth the priceClaude models from Haiku 5.5 at $0.10 / $0.50 per 1M tokens up to Fable 5.1, with no training on API data and a BAA you can sign in the console. | Easy to adoptGoogle's Gemini models by the token in US dollars, with an ongoing free tier to start and batch, flex and caching discounts to scale. | Saves engineering timeOne API key for OpenAI's GPT-6 models and hosted tools, priced per token with published batch, flex and caching discounts. |
| Overall score | 7.2Best | 5.3 | 7.1 |
| Free option | Free trial | Free plan | –Not measured |
| Card to start | –Not measured | No card needed | –Not measured |
| Getting access | Self-serve | Self-serve | Self-serve |
| Starter priceCheapest paid plan | $0.10/1M input tokens | $0.25/1M input tokens | $0.10/1M input tokens |
| Pricing model | Usage-based | Usage-based | Usage-based |
| Pricing page | Public prices | Public prices | Public prices |
| How you pay | Prepaid credits by card, expire after 1 year; invoicing through sales | Prepaid credits ($5 minimum), expire after 12 months | Prepaid credits ($5 minimum), expire after 1 year |
| Free option | One-time free credits for new users, amount not stated | Ongoing free tier on select models, no card; limits shown in AI Studio | No free allowance stated |
| Reference scenario (100M in + 20M out tokens/mo) | $20 on claude-haiku-5-5, computed | $55 on gemini-3.1-flash-lite, computed | $20 on gpt-6-luna, computed |
| Batch, cache and other discounts | Batch 50% off; cache hits 90% off on Haiku 5.5 | Batch and Flex (preview) 50% off; cached input 90% off | Batch and Flex 50% off; cached input 90% off |
| Trained on API data | No (Commercial Terms) | Paid: no. Free tier: may be used to improve Google products | No, unless you opt in |
| Default retention | Deleted within 30 days | Abuse logs for a "limited period", days not stated | Abuse logs up to 30 days |
| Zero data retention | By agreement, through sales | Not guaranteed: paid prompts are logged for abuse monitoring (docs point to Gemini Enterprise Agent Platform, formerly Vertex AI) | By approval, through sales |
| SOC 2 / ISO 27001 | Both, listed for the API | Not stated for this API | Both, covering the API |
| HIPAA BAA | Standard BAA signed in the Console, if eligible | Not stated for this API | Standard BAA accepted in the API Platform, if eligible |
| Data regions | US-only inference at 1.1x; otherwise global | No region choice stated | 10 storage regions by approval; processing in US, EU, UAE |
| Official SDKs | Python, TypeScript, C#, Go, Java, PHP, Ruby | Python, JavaScript/TypeScript, Go, Java, C# | Python, TypeScript/JavaScript, Java (beta), Go (beta), C#, Ruby |
| Console SSO | Through sales | Not stated (Google account sign-in) | Custom/Enterprise billing plan |
| Bottom line | From its public pages, the Anthropic API has a complete per-token price list, discounts that combine and strong data terms, with a self-serve HIPAA BAA. Region choice is US only, zero data retention and SSO go through sales, and a few pages disagree on billing details. | From its public pages, the Gemini API pairs an ongoing free tier on current models with a detailed USD price list and published batch, flex and caching discounts. Certifications, zero data retention and data regions sit with Google Cloud's Agent Platform, and a few billing pages disagree. | From its public pages, the OpenAI API has a complete per-token price list, published batch, flex and caching discounts, and audit reports that cover the API. Stricter data controls, residency and SSO go through sales, and a few docs pages lag behind the price list. |
Evidence: Anthropic API (Claude): facts checked 2026-10-15 from its public sign-up and pricing pages, no completed hands-on run; Google Gemini API: facts checked 2026-10-15 from its public sign-up and pricing pages, no completed hands-on run; OpenAI API: facts checked 2026-10-15 from its public sign-up and pricing pages, no completed hands-on run. Prices in USD as listed, excluding tax. "–" means not recorded.
When to pick each
In the words of each review, with the date its facts were checked.
From our Anthropic API (Claude) review
Checked Oct 15, 2026- Pick Anthropic API (Claude) when
- You want one-time free credits for new users and an official PHP SDK, at the same $20 scenario price on Claude Haiku 5.5.
- Pick OpenAI API when
- You want data residency outside the US (by approval) or a flex rate at half price on top of the batch discount.
From our Anthropic API (Claude) review
Checked Oct 15, 2026- Pick Anthropic API (Claude) when
- You need SOC 2 and ISO 27001 listed for the API, a stated 30-day retention and a HIPAA BAA path.
- Pick Google Gemini API when
- You want an ongoing free tier on current models with no card, and accept that free-tier prompts may be used to improve Google products.
From our Google Gemini API review
Checked Oct 15, 2026- Pick Google Gemini API when
- You want an ongoing free tier on current models with no card before you pay anything.
- Pick OpenAI API when
- You need SOC 2 and ISO 27001 reports that name the API, zero data retention by approval, data regions, or a $20 scenario on GPT-6 Luna.
From our Google Gemini API review
Checked Oct 15, 2026- Pick Google Gemini API when
- You want an ongoing free tier rather than one-time credits, and a flex rate at half price on top of the batch discount.
- Pick Anthropic API (Claude) when
- You need SOC 2, ISO 27001 and a self-serve HIPAA BAA for the API, a stated 30-day retention, or a $20 scenario on Claude Haiku 5.5.
From our OpenAI API review
Checked Oct 15, 2026- Pick OpenAI API when
- You want data residency outside the US (by approval), and a flex rate at half price on top of the batch discount.
- Pick Anthropic API (Claude) when
- You want one-time free credits for new users and an official PHP SDK, at the same $20 scenario price on Claude Haiku 5.5.
From our OpenAI API review
Checked Oct 15, 2026- Pick OpenAI API when
- You need SOC 2 and ISO 27001 reports that name the API, zero data retention by approval, or a data region.
- Pick Google Gemini API when
- You want an ongoing free tier on current models with no card, and accept that free-tier prompts may be used to improve Google products.
Entry price
Baseline: each product's cheapest paid plan, per month. Included usage differs, so read the line under each price.
- Anthropic API (Claude)Claude Haiku 5.5$0.10/1M input tokens$0.50 per 1M output tokens for prompts up to 100,000 tokens; $0.50 / $2.50 for longer prompts; cache hits $0.01
- 1M-token context window, 128K output
- Tool use and structured outputs
- Batch $0.05 / $0.25
- US-only inference at 1.1x
- Google Gemini APIGemini 3.1 Flash-Lite$0.25/1M input tokens$1.50 per 1M output tokens; audio input $0.50; cached input $0.025 plus $1.00 per 1M tokens per hour of storage
- 1,048,576 input and 65,536 output tokens
- Batch and Flex $0.125 / $0.75
- Priority $0.45 / $2.70 (preview)
- Function calling and structured outputs
- OpenAI APIGPT-6 Luna$0.10/1M input tokens$0.50 per 1M output tokens; cached input $0.01, cache writes $0.125; prompts over 272K input tokens cost 2x input and 1.5x output
- 1,050,000-token context window
- Batch and Flex at 50% of standard rates
- Fast mode at 2x
- EU data residency at +10%
Prices as listed on each pricing page, in USD per month, excluding tax. Observed: Anthropic API (Claude) 2026-10-15, Google Gemini API 2026-10-15, OpenAI API 2026-10-15.
Which one fits
- If you need to start today without a sales call
- Anthropic API (Claude)Self-serve sign-up; the highest score of the 3 self-serve products here (7.2/10).
- If you want to try it without entering a card
- Google Gemini APIFree plan, no card needed; scored 5.3/10.
- Highest overall score
- Anthropic API (Claude)7.2/10 (Good). The review shows the score breakdown and the run behind it.
Picked by fixed rules from the table above, not by hand. How we score
Full reviews
Add a product
Search by product name or by what it does, such as “email” or “feature flags”. 1 more fits in this comparison.