Migrate from OpenAI API to Claude

127 public pull requests on GitHub since Oct 2024, in 119 repos, say they move a project from OpenAI API to Claude. 88 go the other way. Real code changes by developers in general, not only makers — read from the titles, so a PR is counted when its title says "OpenAI API to Claude".

When they moved

Pull requests a month. Most are recent: 120 in the last 13 months against 7 before. The busiest month was Mar 2026 (20).

Oct 2024Oct 2026 (so far)

What they move

The part of the app a pull request's title names — "migrate auth from OpenAI API to Claude". Many titles name none, so the shares don't add up to 100%.

  • API and functions28% 36 of 127
  • Models and prompts18% 23 of 127
  • Storage2% 3 of 127

The newest 20 pull requests

All matching pull requests on GitHub, both ways ↗

OpenAI API and Claude, side by side

Among makers' products we track for LLM API: OpenAI API 728, Claude 252.

At input tokens 50 million tokens, output tokens 10 million tokens, OpenAI API costs $10/mo (GPT-6 Luna) and Claude $10/mo (Claude Haiku 5.5), at list prices.

$0$20$100$500$1,0001510501005001k5k
ClaudeOpenAI APIx: input tokens per month (million tokens), other usage scaled with it · cheapest usable plan at each point, list prices · try your own numbers

Where else OpenAI API projects go

Where else Claude's newcomers come from

Questions

How many projects have moved from OpenAI API to Claude?

127 public pull requests on GitHub since Oct 2024, in 119 repos, have a title saying they move from OpenAI API to Claude.

Do projects move back from Claude to OpenAI API?

Yes: 88 pull requests over the same time go from Claude to OpenAI API, against 127 from OpenAI API to Claude.

What do people move first from OpenAI API to Claude?

Of the pull request titles, 28% name API and functions, 18% name models and prompts.

Is Claude cheaper than OpenAI API?

At input tokens 50 million tokens, output tokens 10 million tokens: OpenAI API $10/mo (GPT-6 Luna), Claude $10/mo (Claude Haiku 5.5), at list prices.

GitHub search, Oct 2026 (as of 2026-10-02).