LLM API · for React

LLM API for React

Among 31 makers' products we track that are built with React, here's what they chose for LLM API — each counted from a live-product source.

Which provider, and whether to go through a gateway. Going direct to a provider gets its newest models and features first and the lowest latency; a gateway gives you one key and one bill for hundreds of models, with fallbacks when a provider is down, for a small markup or a proxy you run. The code that calls the model — an AI SDK or agent framework — is its own decision.

What makers on React chose

Counts are live products with a source, not market share; a product using two options counts in both.

OpenAI APIModel provider
llms.txtIn Lovable, Replit

Best forThe broadest model lineup — text, images, speech, embeddings — and the largest ecosystem.

Trade-offFrequent model and API changes to keep up with, and no option to run its hosted models elsewhere.

19 of the 31 React products here

ClaudeModel provider
llms.txtIn Lovable, Replit

Best forCoding, long documents and agent-style tool use.

Trade-offNo image generation or embedding models of its own, so those need a second provider.

8 of the 31 React products here

Gemini APIModel provider
In Lovable, Replit

Best forVery long context and multimodal input, with a free tier to start.

Trade-offFree-tier prompts may be used to improve Google's products, so paid tier is the one for user data.

5 of the 31 React products here · free tier

GroqOpen models, hosted

Best forVery low-latency inference on open models, for real-time features.

Trade-offOnly the open models it chooses to host, and no frontier closed models.

3 of the 31 React products here · free tier

Azure OpenAIThrough your cloud
MCP

Best forOpenAI models inside an Azure account, with regional and EU/US data-zone deployments.

Trade-offMore setup than the OpenAI API (Azure resources, deployments per model), and new models can arrive later.

2 of the 31 React products here

Mistral AIModel provider
llms.txtIn Replit

Best forA European provider whose API covers chat, coding, OCR and speech models.

Trade-offA smaller ecosystem of third-party integrations than the largest providers.

1 of the 31 React products here · free tier

OpenRouterGateway (many providers, one API)
llms.txtIn Replit

Best forTrying many models from many providers with one API key and one bill, without opening an account at each.

Trade-offA fee on top of provider prices, and your traffic and data pass through a third party.

1 of the 31 React products here · free tier

LiteLLMGateway (many providers, one API)
llms.txtMCP

Best forRunning your own OpenAI-compatible proxy in front of your own provider keys, with retries, routing and per-key budgets.

Trade-offYou deploy, monitor and upgrade it yourself; SSO and audit logs are in the paid enterprise tier.

1 of the 31 React products here · free tier · open source

PortkeyGateway (many providers, one API)
llms.txtCLI

Best forA gateway that also handles guardrails, prompt management and request logs in one dashboard.

Trade-offThe free tier caps logged requests; the full control layer is a paid hosted product.

1 of the 31 React products here · free tier · open source

Also real options for LLM API, not seen among these React products yet: DeepSeek.