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

Anthropic API (Claude) vs Google Gemini API vs OpenAI API: value, access facts, plan limits and bottom lines
MetricAnthropic API (Claude)Google Gemini APIOpenAI API
What you're paying forWorth 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 score7.2Best5.37.1
Free optionFree trialFree plan–Not measured
Card to start–Not measuredNo card needed–Not measured
Getting accessSelf-serveSelf-serveSelf-serve
Starter priceCheapest paid plan$0.10/1M input tokens$0.25/1M input tokens$0.10/1M input tokens
Pricing modelUsage-basedUsage-basedUsage-based
Pricing pagePublic pricesPublic pricesPublic prices
How you payPrepaid credits by card, expire after 1 year; invoicing through salesPrepaid credits ($5 minimum), expire after 12 monthsPrepaid credits ($5 minimum), expire after 1 year
Free optionOne-time free credits for new users, amount not statedOngoing free tier on select models, no card; limits shown in AI StudioNo 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 discountsBatch 50% off; cache hits 90% off on Haiku 5.5Batch and Flex (preview) 50% off; cached input 90% offBatch and Flex 50% off; cached input 90% off
Trained on API dataNo (Commercial Terms)Paid: no. Free tier: may be used to improve Google productsNo, unless you opt in
Default retentionDeleted within 30 daysAbuse logs for a "limited period", days not statedAbuse logs up to 30 days
Zero data retentionBy agreement, through salesNot 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 27001Both, listed for the APINot stated for this APIBoth, covering the API
HIPAA BAAStandard BAA signed in the Console, if eligibleNot stated for this APIStandard BAA accepted in the API Platform, if eligible
Data regionsUS-only inference at 1.1x; otherwise globalNo region choice stated10 storage regions by approval; processing in US, EU, UAE
Official SDKsPython, TypeScript, C#, Go, Java, PHP, RubyPython, JavaScript/TypeScript, Go, Java, C#Python, TypeScript/JavaScript, Java (beta), Go (beta), C#, Ruby
Console SSOThrough salesNot stated (Google account sign-in)Custom/Enterprise billing plan
Bottom lineFrom 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.

  • 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.
  • 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.
  • 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.
  • 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 API
    Gemini 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 API
    GPT-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.