Claude vs OpenAI API
Of the 987 makers' products we know the LLM API of, 736 chose OpenAI API (75%) and 252 Claude (26%); 155 use both. Among the 281 launched in 2026, Claude is in 19% and OpenAI API in 70%, against 24% and 82% of those launched in 2024 or earlier. On GitHub, 88 public pull requests moved projects from Claude to OpenAI API, and 127 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
OpenAI APIModel providerllms.txtIn Lovable, Replit, RorkWhich 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 want one account that covers text, images, speech and embeddings, with the most examples to copy from.
Trade-offFrequent model and API changes to keep up with, and no option to run its hosted models elsewhere.
At a glance
| Used by | 252 makers' products · 345 open-source projects | 736 makers' products · 596 open-source projects |
|---|---|---|
| Cost at default usageinput tokens 50 million tokens, output tokens 10 million tokens | $10/mo Claude Haiku 5.5 | $10/mo GPT-6 Luna |
| Moved to it on GitHubpull requests since Oct 2024 | 127 from OpenAI API | 88 from Claude |
| Downloads | 38M/wk4.4× vs npm | 37.4M/wk+60% vs npm |
| Pricing | Pay per token. · paid from Pay per token | Pay per token. · paid from Pay per token |
| Free tier | No | No |
| Open source | No | No |
| Incidents, 90 daysfrom its status page | 36+ (17 major) | 5+ |
Which makers on your framework pick
Makers' products built with each framework that chose either one, for LLM API.
| Framework | |||
|---|---|---|---|
| 123 | 222 | All 301 Next.js products' picks → | |
| 12 | 23 | All 38 React products' picks → | |
| 4 | 17 | 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 | 88% 58 | 66 |
| 2023 | 30% 11 | 78% 29 | 37 |
| 2024 | 24% 54 | 80% 178 | 222 |
| 2025 | 26% 71 | 70% 190 | 273 |
| 2026 | 19% 54 | 70% 197 | 281 |
Cost as you grow
They cost the same at every scale we price, up to 5B tokens.
The numbers, plan by plan
| Input tokens per month | Claude | OpenAI API |
|---|---|---|
| 1 | $0.20 Claude Haiku 5.5 | $0.20 GPT-6 Luna |
| 5 | $1.00 Claude Haiku 5.5 | $1.00 GPT-6 Luna |
| 10 | $2.00 Claude Haiku 5.5 | $2.00 GPT-6 Luna |
| 50 | $10 Claude Haiku 5.5 | $10 GPT-6 Luna |
| 100 | $20 Claude Haiku 5.5 | $20 GPT-6 Luna |
| 500 | $100 Claude Haiku 5.5 | $100 GPT-6 Luna |
| 1,000 | $200 Claude Haiku 5.5 | $200 GPT-6 Luna |
| 5,000 | $1,000 Claude Haiku 5.5 | $1,000 GPT-6 Luna |
From each vendor's pricing page: Claude, OpenAI API.
Who moves from one to the other
Public pull requests on GitHub since Oct 2024 whose title says "Claude to OpenAI API" or the reverse — real code changes, by developers in general rather than makers only.
- Migrate AI provider from OpenAI to Anthropic Claudesawthunaing/stn-job-hunting-dashboard-with-ai · 2026-10-01
- Preserve readable context when switching owned OpenAI to ClaudeJJLiebig/codex · 2026-10-01
- Add OpenAI Codex plugin marketplace to Claude Code project settingsbrandohermoso47-rgb/cliente-vault-web-app · 2026-10-01
- Switch Wardrobe from OpenAI to Claudenjarrar/wardrobe-najeeb · 2026-09-28
- Switch receipt extraction from OpenAI to Claudebelindahbl/receipt-telegram-bot · 2026-09-26
- Switch AI copy from OpenAI to Claude Haiku 4.5fareeha-s/shouldve-walked · 2026-09-26
- Phase 1: Switch AI provider from OpenAI to Anthropic Claudeanfaznil/tabletalk-ai · 2026-09-23
- fix(thinking): route OpenAI and level-based reasoning models to claude-adaptive on Claude endpointshkbulbul/polyrouter · 2026-09-23
- Switch FAQ replies from OpenAI to Anthropic Claudeimranaisolutions/Agentic-Ai · 2026-09-23
- Switch AI provider from OpenAI to Claude, and hand redirects to AJR Core (4.1.0)andrew-ajrwebdesign/ai-seo-assistant · 2026-09-22
- fix: round-trip Claude tool_use to OpenAI tool_callsks1686/peaproxy · 2026-09-27
- Switch receipt AI scan from Claude to OpenAIianselmi/cardmaster · 2026-09-26
- Migrate from Claude to OpenAI API for synthesis toolsarkhash0309/research-paper-intelligence-pipeline · 2026-09-25
- Switch Alora Chat from Claude to OpenAIvaniabhagania/Alora · 2026-09-24
- Migrate all Claude resume tailoring to OpenAIrfahamedansari/job-application-assistant · 2026-09-23
- feat(claude): map output_config.format to OpenAI response_formatrouter-for-me/CLIProxyAPI · 2026-09-23
- feat(claude-boxes): allow codex egress to the OpenAI auth and API hostsLanternfyre/home-lab · 2026-09-22
- [synthmind-bot] Security Researchers Use Anthropic Claude to Hack OpenAI — 2026-09-18administrakt0r/AIautonomousBlogMY · 2026-09-18
- Switch LLM provider from Anthropic Claude to OpenAI GPT-4o.sji-soumik/ai-assessment · 2026-09-11
- fix: clamp Claude Code egress to OpenAI and Gemini (RUN-1515)NeuralTrust/TrustGate · 2026-09-10
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!
We use GPT-5.6 to power the Basedash AI data analyst. It's incredibly intelligent and, with the right harness, allows us to rank #1 on BI Bench for solving real-world BI scenarios.
Quven writes subtitles from the audio of a film on the machine of the user. The Whisper models, run locally through whisper.cpp, can do it and the audio never leaves that machine.
We use variety of OpenAI models (o1, 4o, 4o-mini) and leverage their multi-modal and fine-tuning capabilities to enable multi-step categorization and other domain specific workflows.
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
- Its models are strong at code generation, reasoning and creative tasks, often chosen after testing alternatives. PHPH 2PH 3PH 4
- The API is reliable and well-priced as the foundation for production features. PHPH 2PH 3HN
- Good docs and a smooth developer experience make integration straightforward. PHPH 2PH 3PH 4
Who uses each
What makers pair each with
Neither quite right?
See the whole LLM API decision →Questions
Claude or OpenAI API: which do makers choose?
Of the 987 makers' products we know the LLM API of, 736 chose OpenAI API (75%) and 252 Claude (26%); 155 use both. Among the 281 launched in 2026, Claude is in 19% and OpenAI API in 70%, against 24% and 82% of those launched in 2024 or earlier. On GitHub, 88 public pull requests moved projects from Claude to OpenAI API, and 127 the other way. Choose Claude if you want the strongest general models and the widest ecosystem of examples and integrations; choose OpenAI API if you want the strongest general models and the widest ecosystem of examples and integrations.
Can you use Claude and OpenAI API together?
155 makers' products we track use both, often one replacing the other or each for a different part of the product: Agentplace.io, AgentX, AI Emaily, AICamp, Airial Travel and others.
When should I pick Claude over OpenAI API?
Pick Claude if: You want the strongest general models and the widest ecosystem of examples and integrations.
When should I pick OpenAI API over Claude?
Pick OpenAI API if: You want the strongest general models and the widest ecosystem of examples and integrations.
Which is cheaper, Claude or OpenAI API?
At input tokens 50 million tokens, output tokens 10 million tokens: Claude $10/mo (Claude Haiku 5.5), OpenAI API $10/mo (GPT-6 Luna), at list prices.
How do Claude and OpenAI API compare in cost as you grow?
They cost the same at every scale we price, up to 5B tokens. Cheapest usable plan at each scale, at list prices.
Are people switching from Claude to OpenAI API?
Public GitHub pull requests since 2024-10-02: 88 from Claude to OpenAI API, 127 from OpenAI API to Claude.