Claude vs Gemini API
Of the 987 makers' products we know the LLM API of, 252 chose Claude (26%) and 99 Gemini API (10%); 37 use both. Among the 281 launched in 2026, Claude is in 19% and Gemini API in 11%, against 24% and 8% of those launched in 2024 or earlier. Gemini API is the more common pick among Astro products (6 vs 4). At our calculator's default usage, Claude comes to $10 a month and Gemini API $28, at list prices. On GitHub, 104 public pull requests moved projects from Claude to Gemini API, and 108 the other way.
Two model provider options for LLM API. When each fits, what it costs, who moves from one to the other, and what makers who chose it say.
ClaudeModel providerllms.txtIn Lovable, Replit
Gemini APIModel providerIn Lovable, ReplitWhich fits you
- You want the strongest general models and the widest ecosystem of examples and integrations
Use it whenYour feature is an agent that calls tools, writes code or works through long documents.
Trade-offNo image generation or embedding models of its own, so those need a second provider.
- You want the strongest general models and the widest ecosystem of examples and integrations
Use it whenYou feed in whole documents, video or audio, or want to start without paying.
Trade-offFree-tier prompts may be used to improve Google's products, so paid tier is the one for user data.
At a glance
| Used by | 252 makers' products · 345 open-source projects | 99 makers' products · 278 open-source projects |
|---|---|---|
| Cost at default usageinput tokens 50 million tokens, output tokens 10 million tokens | $10/mo Claude Haiku 5.5 | $28/mo Gemini 3.1 Flash-Lite |
| Moved to it on GitHubpull requests since Oct 2024 | 108+ from Gemini API | 104+ from Claude |
| Downloads | 38M/wk4.4× vs npm | 22.2M/wk4.9× vs npm |
| Pricing | Pay per token. · paid from Pay per token | Free tier with rate limits; pay per token. · paid from Pay per token |
| Free tier | No | Yes |
| Open source | No | No |
| Incidents, 90 daysfrom its status page | 36+ (17 major) | no public status feed |
Which makers on your framework pick
Makers' products built with each framework that chose either one, for LLM API.
| Framework | |||
|---|---|---|---|
| 123 | 40 | All 301 Next.js products' picks → | |
| 12 | 6 | All 38 React products' picks → | |
| 4 | 6 | All 27 Astro products' picks → |
New launches vs older products
A tool that came first has products from every year since, so its total runs ahead. Here is what products launched each year chose, as a share of those that made the LLM API decision (by the year they launched on Product Hunt).
| Launched | Products | ||
|---|---|---|---|
| 2022 or earlier | 18% 12 | 8% 5 | 66 |
| 2023 | 30% 11 | 8% 3 | 37 |
| 2024 | 24% 54 | 8% 18 | 222 |
| 2025 | 26% 71 | 14% 39 | 273 |
| 2026 | 19% 54 | 11% 30 | 281 |
Cost as you grow
At 1M tokens Claude costs less ($0.20 vs $0.55); and still does at 5B tokens ($1,000 vs $2,750).
The numbers, plan by plan
| Input tokens per month | Claude | Gemini API |
|---|---|---|
| 1 | $0.20 Claude Haiku 5.5 | $0.55 Gemini 3.1 Flash-Lite |
| 5 | $1.00 Claude Haiku 5.5 | $2.75 Gemini 3.1 Flash-Lite |
| 10 | $2.00 Claude Haiku 5.5 | $5.50 Gemini 3.1 Flash-Lite |
| 50 | $10 Claude Haiku 5.5 | $28 Gemini 3.1 Flash-Lite |
| 100 | $20 Claude Haiku 5.5 | $55 Gemini 3.1 Flash-Lite |
| 500 | $100 Claude Haiku 5.5 | $275 Gemini 3.1 Flash-Lite |
| 1,000 | $200 Claude Haiku 5.5 | $550 Gemini 3.1 Flash-Lite |
| 5,000 | $1,000 Claude Haiku 5.5 | $2,750 Gemini 3.1 Flash-Lite |
From each vendor's pricing page: Claude, Gemini API.
Who moves from one to the other
Public pull requests on GitHub since Oct 2024 whose title says "Claude to Gemini API" or the reverse — real code changes, by developers in general rather than makers only.
- fix(refine): session-end refine uses gemini first, falls back to claude on availability failuresJohnGavin/llm · 2026-10-01
- Add Gemini as an alternative AI research provider to ClaudeNikros07/Eye-of-Horus · 2026-10-01
- Bring Codex CLI, Gemini CLI and Grok Build up to Claude Code's featuresoddessentials/agent-guild · 2026-09-30
- docs: migrate governance reviews from Gemini to ClaudeKaancodm/GeniusNew · 2026-09-27
- Add Gemini as a free alternative to ClaudeHarshith017/maxxtempo · 2026-09-26
- Add Gemini MCP server exposing ask_gemini tool to Claudekeshav321-kg/fintech · 2026-09-25
- Switch summary generation from Gemini back to Claudevarunsagar20/module2-DB · 2026-09-23
- Switch `update-github-info` from unpriced Gemini pin to priced Copilot Claude modelnaveedausaf/skills-agentic-workflows-that-read-the-room · 2026-09-17
- Switch AI content generation from Gemini to the Anthropic Claude APIkniepertsebastian-spec/learning · 2026-09-17
- chore(ci): triage every new issue with Gemini, and hand approved ones to Claude with claude:gohectorcanaimero/orch · 2026-09-14
- Switch the chatbot from Claude to Gemini (free tier)anelisa-lab/AI-Budgeting · 2026-09-29
- Migrate AI agent from Claude to Google GeminiVaishnavi6267/social-media-engagement-agent · 2026-09-28
- Switch model provider from Claude to Google Geminidhruhisheth/rightsline · 2026-09-26
- Switch AI backend from Anthropic Claude to Google Geminimasasukexx-tech/en-marketing-lp · 2026-09-22
- feat(agentcc): route Claude Agent SDK requests to Vertex Geminifuture-agi/future-agi · 2026-09-21
- Switch the LLM goal compiler from Claude to Geminiabimundayat26/twin-bank · 2026-09-20
- Switch the AI engine from Anthropic Claude to Google Gemini (free tier)itzvxie/demo-site · 2026-09-20
- Member 1: Switch AI agent from Claude to Gemini (free tier)Dibyajyoti882/MetricMind · 2026-09-20
- Migrate voice assistant from Claude to Google Gemini APIfeyyazonkal33/iddaa-analiz-app · 2026-09-17
- Switch AI rule parsing from Claude to Geminiananyaprabhakarm/AI-Backtesting-Agent · 2026-09-14
What makers say
Makers on using it for LLM API, from Product Hunt and Starter Story interviews, each linked to the source. Products with a page of their own and fuller notes first.
Taskade Genesis works beautifully with Claude. It brings strong reasoning and long-range thinking to any Genesis app, helping systems plan, adapt, and make sense of complex inputs.
We're excited about Claude-3.5 Sonnet and the upcoming 3.5 Opus. We'll introduce Opus to AICamp users upon release. We use Sonnet for its superior pair programming capabilities.
Amazing at writing code, we use Claude 3.5 Sonnet + Haiku at Codebuff to generate code. We use OpenAI too, but for other functions. Claude's coding skills are really that great!
Powers all agent conversations on Konfide. Fast, cost-effective, handles unlimited concurrent chats. Every user message goes through Gemini. Chose it for speed and quality at scale.
Saturn uses Gemini for structured data extraction from Japanese government filings (EDINET, gBizINFO). Best cost-performance ratio for Japanese language processing at scale.
Gemini pairs naturally with Taskade Genesis. It excels at perception and structure, giving Genesis apps sharper understanding of documents, images, and real-world context.
Loved and watch-outs
Themes that recur in makers' words and Hacker News comments, each linked to what it summarises.
- Outages are frequent, with uptime below three nines across the API and apps. HNHN 2HN 3HN 4
- API pricing is a large multiple of subscription pricing, making heavy agent use expensive. HNHN 2HN 3
- Postmortems confirmed periods of degraded output, including a lowered default reasoning effort in Claude Code. HN
Who uses each
What makers pair each with
Neither quite right?
See the whole LLM API decision →Questions
Claude or Gemini API: which do makers choose?
Of the 987 makers' products we know the LLM API of, 252 chose Claude (26%) and 99 Gemini API (10%); 37 use both. Among the 281 launched in 2026, Claude is in 19% and Gemini API in 11%, against 24% and 8% of those launched in 2024 or earlier. Gemini API is the more common pick among Astro products (6 vs 4). At our calculator's default usage, Claude comes to $10 a month and Gemini API $28, at list prices. On GitHub, 104 public pull requests moved projects from Claude to Gemini API, and 108 the other way. Choose Claude if you want the strongest general models and the widest ecosystem of examples and integrations; choose Gemini API if you want the strongest general models and the widest ecosystem of examples and integrations.
Can you use Claude and Gemini API together?
37 makers' products we track use both, often one replacing the other or each for a different part of the product: Agentplace.io, AI Emaily, Blink.new, Built for Devs, Doraverse and others.
When should I pick Claude over Gemini API?
Pick Claude if: You want the strongest general models and the widest ecosystem of examples and integrations.
When should I pick Gemini API over Claude?
Pick Gemini API if: You want the strongest general models and the widest ecosystem of examples and integrations.
Which is cheaper, Claude or Gemini API?
At input tokens 50 million tokens, output tokens 10 million tokens: Claude $10/mo (Claude Haiku 5.5), Gemini API $28/mo (Gemini 3.1 Flash-Lite), at list prices.
How do Claude and Gemini API compare in cost as you grow?
At 1M tokens Claude costs less ($0.20 vs $0.55); and still does at 5B tokens ($1,000 vs $2,750). Cheapest usable plan at each scale, at list prices.
Are people switching from Claude to Gemini API?
Public GitHub pull requests since 2024-10-02: 104+ from Claude to Gemini API, 108+ from Gemini API to Claude.