Claude vs Grok API
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, 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.
- Grok models with built-in web and X search, plus image, video and voice APIs.
Use it whenYour feature needs live posts from X or current web results in the model's answers.
Trade-offReal-time data only arrives when you enable the search tools, which are billed as tool calls.
At a glance
| Used by | 251 makers' products · 285 open-source projects | 6 makers' products · 33 open-source projects |
|---|---|---|
| Cost at default usageinput tokens 50 million tokens, output tokens 10 million tokens | $10/mo Claude Haiku 5.5 | — |
| Downloads | 31.6M/wk4.1× vs npm | 2.3M/wk4.8× vs npm |
| Pricing | Pay per token. · paid from Pay per token | Pay per token; image, video and voice priced per unit. · paid from Pay per token |
| Free tier | No | No |
| Open source | No | No |
| Incidents, 90 daysfrom its status page | 50+ (21 major) | no public status feed |
Cost as you grow
At 1M tokens Claude costs less ($0.20 vs $1.75); and still does at 5B tokens ($1,000 vs $8,750).
The numbers, plan by plan
| Input tokens per month | Claude | Grok API |
|---|---|---|
| 1 | $0.20 Claude Haiku 5.5 | $1.75 Grok 4.3 |
| 5 | $1.00 Claude Haiku 5.5 | $8.75 Grok 4.3 |
| 10 | $2.00 Claude Haiku 5.5 | $18 Grok 4.3 |
| 50 | $10 Claude Haiku 5.5 | $88 Grok 4.3 |
| 100 | $20 Claude Haiku 5.5 | $175 Grok 4.3 |
| 500 | $100 Claude Haiku 5.5 | $875 Grok 4.3 |
| 1,000 | $200 Claude Haiku 5.5 | $1,750 Grok 4.3 |
| 5,000 | $1,000 Claude Haiku 5.5 | $8,750 Grok 4.3 |
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.
Huge shoutout to the Anthropic team — their Claude models are the backbone of some of our agents. Fast, reliable, and beautifully open‑source. Exactly what the AI world needs more of.
Grok pairs real-time knowledge with strong reasoning in a way that makes it genuinely useful for live, in-the-moment automations. We chose it because it doesn't just know a lot, it knows what's happening right now.
Fast models for real-time reasoning Grok adds fast, context-aware reasoning that helps expand the range of workflows our agents can handle.
very helpful for enabling us to make the best router possible!
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
