Gemini API vs Claude API
Gemini APIby GooglePaid fromNot statedAccessHTTP, SDKAgentsNot agent-friendlyAPI QA score[SCORE]View API
Claude APIby AnthropicPaid fromNot statedAccessHTTP, SDK, CLIAgentsNot agent-friendlyAPI QA score[SCORE]View API
Fact by fact
12 different1 stated by only one3 the same on both
The basics
What it isGemini API: Gemini models by API key: text, vision, audio in; tools for Search and Maps grounding, code execution, file search; batchClaude API: Claude models by API: messages, batches, files, server tools (web search, code execution) and Managed Agents sessions
AccessGemini API: HTTP, SDKClaude API: HTTP, SDK, CLI
Still on saleGemini API: YesClaude API: Yes
What they work on
Price
PricesGemini API: Claude API:
- Grounding with Google Search (Gemini 3 and newer)$14 per 1,000 requests
- Web search tool$10 USD per 1,000 searches
Buying and paying
Agent gets a key aloneGemini API: Nokey created in AI StudioClaude API: Nodocs send you to sign up and create the key in the console
Agent can payGemini API: NoClaude API: Noa person adds a card in the Console
Payment railsGemini API: credits, otherprepaid and pay-as-you-go via Google billingClaude API: card, invoice, creditsstates "Major credit cards"; invoicing for enterprise; prepaid credits; also AWS and Azure Marketplace in CCUs
Payment protocolsGemini API: noneno protocol named in the batch paymentRails cellClaude API: noneno protocol named in the batch paymentRails cell
Subscription requiredGemini API: Noprepaid or pay as you goClaude API: Nousage billed monthly or prepaid credits
Pay per callGemini API: Yesper token, per grounded requestClaude API: Yesper token
Reading and signing up
Public pricesGemini API: Yesper model, per 1M tokens, on aistudio.google.com/docs/pricingClaude API: Yesper-model token prices on platform.claude.com/docs pricing
Self-serve sign-upGemini API: YesGoogle account and AI StudioClaude API: Yesconsole sign-up
Free useGemini API: YesFree tier with free tokens on some modelsClaude API: Yesstates "New users receive free credits to test the API"; amount not stated
Docs without loginGemini API: YesClaude API: Yes
llms.txtGemini API: Not statedClaude API: Yesdocs.claude.com/llms.txt and platform.claude.com/llms.txt; www.anthropic.com/llms.txt is 404
Jobs both do
Open a job to see every API that does it.

