VynarisEarly beta
Get my API key

Anthropic vs OpenAI vs Google: API Cost per Task Compared

Anthropic vs OpenAI vs Google: Gemini is cheapest per task at every tier, Claude and GPT tie on list price. Batch, caching and limits, verified 2026-11-22.

TL;DR: On list price, Google is the cheapest of the three at every tier, and Anthropic and OpenAI charge the same $2 / $10 per 1M tokens for their mid-tier models (Claude Sonnet 5.5 and gpt-6.2-sol). All three take 50% off for batch jobs; they differ on caching, rate limits and dated price rises. Vynaris puts all three vendors behind one OpenAI-compatible endpoint, so you can price the same task on each before you commit. Prices verified 2026-11-22.

Try it: point your OpenAI client at https://api.vynaris.com/v1, send one real prompt to a Claude, GPT and Gemini model, and read the cost of each request. Get a Vynaris API key.

Anthropic vs OpenAI vs Google, compared as API vendors: for a support-style task with 3,000 input and 500 output tokens, 1,000 tasks cost $11.00 on Claude Sonnet 5.5, $11.00 on gpt-6.2-sol and $4.13 on Gemini 3.8 Flash at today's intro price. At the budget tier, Claude Haiku 5.5 and gpt-6-luna both come to $0.55 per 1,000 tasks. At the top, Claude Fable 5.2 and gpt-6.2-astra both cost $44.00, while Gemini 4 Argon costs $11.00 until 2026-11-30 and $22.00 from 2026-12-01. Most pages ranking for this query still compare GPT-5.4, Claude Opus 4.6 and Haiku 4.5; those lineups and prices are gone.

Comparison table: Anthropic vs OpenAI vs Google API

Standard tier, text, USD per 1M tokens unless noted. Verified 2026-11-22 on each vendor's pricing page.

CriterionVynaris (one endpoint)AnthropicOpenAIGoogle (Gemini API)
Top model, input / outputprovider price + 3%Claude Fable 5.2 $8 / $40gpt-6.2-astra $8 / $40Gemini 4 Argon $2 / $10 (to 2026-11-30), $4 / $20 after
Mid model, input / outputprovider price + 3%Claude Sonnet 5.5 $2 / $10gpt-6.2-sol $2 / $10Gemini 3.8 Flash $0.75 / $3.75 (to 2026-12-31)
Budget model, input / outputprovider price + 3%Claude Haiku 5.5 $0.10 / $0.50gpt-6-luna $0.10 / $0.50Gemini 3.1 Flash-Lite $0.25 / $1.50
Batch discountpasses through provider price50% on input and output50% (gpt-6.2-sol $1 / $5)50% (3.1 Flash-Lite $0.125 / $0.75)
Cache read, mid modelprovider price + 3%$0.10 (0.05x)$0.10 (0.05x)$0.075 + storage per hour
Cache writeprovider price + 3%1.25x (5 min) or 2x (1 hour)$2.50 (30 min) or $5.00 (12 hours) on solstorage $0.50 per 1M tokens per hour on 3.8 Flash
Free tiernononoyes on Flash and Flash-Lite, not Argon
Entry limitsprepaid from $20, no overagesStart tier: 4,000 RPM per 5.5 model, $500/month cap$5 in credit purchases for the $500/month tierfree tier, then paid billing
Training on your datano training by Vynarisnot on API traffic by defaultnot on API traffic by defaultYes on free tier, No on paid tier

Sources: Anthropic pricing, OpenAI pricing, Gemini API pricing, Vynaris pricing, all read 2026-11-22. gpt-6-luna Standard price read 2026-11-16; today the page lists its Flex price of $0.05 / $0.25, which is half that.

What does Vynaris do for an Anthropic vs OpenAI vs Google decision?

Vynaris is an OpenAI-compatible gateway at https://api.vynaris.com/v1 that serves models from Anthropic, OpenAI and Google, among others, through one API key and one prepaid balance. For this decision it does three concrete things:

  1. One client for all three. You keep the OpenAI SDK, change the base URL, and switch vendors by changing the model ID. No second SDK for Claude or Gemini.
  2. A receipt per request. From the Vynaris pricing page: "The response headers and exportable ledger show the model, provider cost, Vynaris fee, and final charge." That is the per-task number this article computes by hand, measured on your own prompts.
  3. Known fee, no surprise bill. "Provider list price + 3% / 1%": 3% until your monthly usage reaches $500, then 1%. Top-ups start at $20 and requests stop when the balance reaches zero.

What it does not do: it does not lower a vendor's list price, and the fee is a cost on top. If you already know which single vendor you want, a direct account is cheaper by that 3%.

from openai import OpenAI

client = OpenAI(base_url="https://api.vynaris.com/v1", api_key="VYNARIS_KEY")
prompt = [{"role": "user", "content": "Summarise this ticket in two lines: ..."}]

# Check exact model IDs on https://vynaris.com/models before running
for model in ["claude-sonnet-5.5", "gpt-6.2-sol", "gemini-3.8-flash"]:
    r = client.chat.completions.create(model=model, messages=prompt)
    print(model, r.usage.prompt_tokens, r.usage.completion_tokens)

Which is cheapest per task: Anthropic, OpenAI or Google?

Google is cheapest per task at every tier on list price, and Anthropic and OpenAI tie. The task below is one support reply: 3,000 input tokens (system prompt, ticket, history) and 500 output tokens. 1,000 tasks = 3M input and 0.5M output tokens.

TierModelInput costOutput costPer 1,000 tasksVia Vynaris (+3%)
TopClaude Fable 5.23 x $8 = $24.000.5 x $40 = $20.00$44.00$45.32
Topgpt-6.2-astra3 x $8 = $24.000.5 x $40 = $20.00$44.00$45.32
TopGemini 4 Argon (from 2026-12-01)3 x $4 = $12.000.5 x $20 = $10.00$22.00$22.66
MidClaude Sonnet 5.53 x $2 = $6.000.5 x $10 = $5.00$11.00$11.33
Midgpt-6.2-sol3 x $2 = $6.000.5 x $10 = $5.00$11.00$11.33
MidGemini 3.8 Flash (to 2026-12-31)3 x $0.75 = $2.250.5 x $3.75 = $1.875$4.13$4.25
BudgetClaude Haiku 5.53 x $0.10 = $0.300.5 x $0.50 = $0.25$0.55$0.57
Budgetgpt-6-luna3 x $0.10 = $0.300.5 x $0.50 = $0.25$0.55$0.57
BudgetGemini 3.1 Flash-Lite3 x $0.25 = $0.750.5 x $1.50 = $0.75$1.50$1.55
Per 1,000 support tasks, Gemini 3.8 Flash costs $4.13 while Claude Sonnet 5.5 and gpt-6.2-sol cost $11.00
Standard tier list prices verified 2026-11-22.

Three things change these numbers in practice:

Put your own token counts in the LLM cost calculator to see where your workload lands.

How do batch and prompt caching discounts differ between the three?

Batch is the same everywhere: 50% off input and output for asynchronous jobs. Caching is where the three differ.

Batch. Anthropic's Batch API gives "a 50 percent discount on both input and output tokens". OpenAI lists Batch at half of Standard (gpt-6.2-sol $1 / $5). Google lists Batch at half too (Gemini 3.1 Flash-Lite $0.125 / $0.75, Gemini 3.8 Flash $0.375 input). Our support task on Batch drops to $5.50 per 1,000 on Sonnet 5.5 or gpt-6.2-sol. OpenAI also still sells Flex, a cheaper slow lane, but it is in beta, being wound down and won't be added to new models. Our guide to the OpenAI Batch API has the setup.

Caching. Say 2,500 of the 3,000 input tokens are a fixed system prompt that is cached:

ModelUncached inputCached inputOutputPer 1,000 tasks
Claude Sonnet 5.50.5 x $2 = $1.002.5 x $0.10 = $0.25$5.00$6.25 + writes
gpt-6.2-sol0.5 x $2 = $1.002.5 x $0.10 = $0.25$5.00$6.25 + writes
Gemini 3.8 Flash0.5 x $0.75 = $0.3752.5 x $0.075 = $0.1875$1.875$2.44 + storage

The write side is the difference:

Anthropic  cache write = 1.25x input (5-minute TTL) or 2x input (1-hour TTL); read 0.05x on Sonnet 5.5 and Opus 5.5
OpenAI     cache write = $2.50 (30-minute) or $5.00 (12-hour) per 1M on gpt-6.2-sol; read $0.10
Google     cache read  = $0.075 per 1M on 3.8 Flash, plus storage $0.50 per 1M tokens per hour
Google     Gemini 4 Argon = implicit caching only, explicit caching not supported

A 2,500-token prompt kept in Google's cache for 24 hours costs 0.0025 x $0.50 x 24 = $0.03 in storage, so storage only matters for very large cached contexts. Anthropic says a 5-minute cache pays for itself after one read and a 1-hour cache after two. For agents, where cache reads dominate, see cache reads dominate agent costs.

Which vendor has the most generous rate limits for a new account?

Anthropic publishes the clearest numbers for a new paid account; Google is the only one with a free tier.

Our OpenAI API pricing, Claude API pricing and Gemini API pricing references list every model.

Data terms and regional pricing

All three charge more to pin where inference runs. Anthropic bills US-only inference (inference_geo) at 1.1x on Claude 4.6 and later. OpenAI adds 10% for regional data-residency endpoints on models released on or after 2026-03-05. On Google's Vertex AI, non-global endpoints cost 10% more than global. If you need data to stay in one region, add that 10% to every number above.

When should a team use more than one of them?

Use one vendor when one model passes your quality bar at a price you accept. A gateway fee adds cost there and gives nothing back.

Use more than one when:

  1. Tasks differ in difficulty. Send classification to a $0.55-per-1,000 model and hard reasoning to a $11.00 one, instead of everything to the expensive one.
  2. A dated price rise hits. Argon's 2026-12-01 doubling and 3.8 Flash's 2027-01-01 doubling are reasons to have a second vendor tested before the date.
  3. You need a fallback. A 429 at Anthropic's spend cap or an outage stops a single-vendor app. A second vendor keeps it answering.

See when not to use an LLM router for the break-even math.

Which one should you pick?

Pick a vendor by testing the same prompt on all three, then routing by task difficulty
Re-run before 2026-12-01 and 2027-01-01, when Google prices double.

FAQ

Is Claude more expensive than GPT?

Not on list price at the same tier. Claude Sonnet 5.5 and gpt-6.2-sol both cost $2 / $10 per 1M tokens, and Claude Haiku 5.5 and gpt-6-luna both cost $0.10 / $0.50. Claude's newer tokenizer produces about 30% more tokens for the same text, so per task it can cost more.

Is Gemini cheaper than Claude and GPT?

Yes, per task at every tier on today's list prices. Our 1,000-task support workload costs $4.13 on Gemini 3.8 Flash against $11.00 on Sonnet 5.5 or gpt-6.2-sol. That rises to $8.25 when 3.8 Flash's intro price ends on 2027-01-01.

Do all three offer a batch discount?

Yes. Anthropic, OpenAI and Google all take 50% off input and output for batch jobs that can wait.

Which API has a free tier?

Only Google's, on Gemini 3.8 Flash and Gemini 3.1 Flash-Lite. Google uses free-tier data to improve its products; paid-tier data is not used.

Can I use Claude and Gemini with the OpenAI SDK?

Yes, through a gateway. With Vynaris you set base_url to https://api.vynaris.com/v1 and change the model name; see our list of OpenAI-compatible API providers.

Price your own task on all three

The table above is one workload shape. Yours has different prompt and output lengths, and those decide the winner. Send your real prompts to Claude, GPT and Gemini through one endpoint and read the provider cost on every response. Get your Vynaris API key.