One unified API for the AI ecosystem.
Run all your AI workloads on one neutral platform, with the best model at the best intelligence per dollar. One OpenAI-compatible endpoint, keyless free models, and every price shown before you call.
One API for every model
Type a prompt, pick a model, hit run. Chat, code, reasoning, search, images and vision — 304 models behind one endpoint.
304 models. 25 labs.
The roster is a live feed, so a new model shows up the moment its lab ships it. Discover models by modality, price and benchmark.
21 keyless :free models plus auto:free — zero authentication.
Better, faster, cheaper. Get all three.
GrexLabs picks the model and provider for each request using live data from across the marketplace, so your responses come back faster, fail less, and only cost what the task needs.
Auto: free
One model id, zero cost, no key. The router picks whichever :free model is healthy right now.
Multi-provider failover
Requests race across healthy upstreams with a 12-second per-attempt budget — slow providers never hold your app hostage.
Usage, models, spend
Every request, model and dollar shows up in one dashboard. Bring your own keys and keep the deals you've already negotiated.
Pay per token. See the price first.
Start with $10 in free credit and spend it on any model. Every response shows its usage before you're billed, free models never touch your balance, and credit never expires.
21 keyless :free models, free search API and unlimited requests — no card, no signup.
- 21
:freemodels + auto:free - Zero authentication
- Free search API
- Streaming SSE
Starter balance the moment you verify your email — enough for hundreds of flagship calls.
- All 304 models
- Flagship access
- Usage dashboard
- Credit never expires
Every flagship model, higher rate limits and usage analytics for production apps.
- Priority routing
- Higher rate limits
- Usage analytics
- Email support
High-volume enterprise limits, priority routing and transparent top-ups.
- Enterprise limits
- Priority support
- Custom top-ups
- SLA options
Every model's price lives on pricing and the model catalog, cheapest first. Top-up credit never expires.
Built for shipping, not waiting.
Keyless free tier
Pick a :free model id, call the endpoint — zero authentication. Great for prototypes, hacks and demos.
Streaming without cutout
15-second SSE heartbeats, a 60-second stall watchdog and a guaranteed data: [DONE] — long answers arrive intact.
Three wire formats, one key
OpenAI chat completions, Anthropic messages and Gemini generateContent route the same catalog — official SDKs work unchanged.
One balance, honest prices
Paid per token in USD with the price visible before you run, usage recorded per request, and free models that never touch your credit.
Tool calling & agents
OpenAI-style function calling with strict schemas — multi-step tool loops that plan, call, observe, repeat until the job is done.
Your data, your policies
Choose which providers can see your prompts, whether they can keep them, and which region processes them. Enforced on every request.
One API key, 304 models.
Send your first request in a few minutes. Pay as you go, no subscriptions. Drop-in OpenAI SDK compatibility — point base_url at GrexLabs.
# free model — no key at all curl https://api.grexlabs.in/v1/chat/completions \ -H 'Content-Type: application/json' \ -d '{"model":"auto:free","messages":[ {"role":"user","content":"hello"}]}' # flagship model — one sk-gl- key curl https://api.grexlabs.in/v1/chat/completions \ -H "Authorization: Bearer $GREXLABS_API_KEY" \ -d '{"model":"openai/gpt-6.2-astra", "messages":[{"role":"user","content":"hi"}]}'
Questions, answered.
Is the GrexLabs AI API really free with no API key?
Yes. Every model id ending in :free plus auto:free can be called with zero API key — no signup, no credit card, unlimited requests. Free search endpoints are also fully keyless.
Do I need an API key for flagship models?
Every model except the free :free models requires a valid GrexLabs API key (sk-gl-...). Get a free key at the dashboard — new accounts also get $10 starter credit.
Is GrexLabs compatible with the OpenAI API?
Yes — 100% OpenAI-compatible. POST /v1/chat/completions accepts model, messages, stream, temperature, max_tokens, tools and returns identical chat.completion objects. Streaming uses standard SSE ending with data: [DONE].
How do I pay, and is there a subscription?
No subscription needed. Start with $10 free credit, then top up a USD balance whenever you like. Monthly plans (Pro $29, Premium $99) are optional. See pricing.
Which formats does the API speak?
Three, on one endpoint: OpenAI chat completions, Anthropic messages and Google Gemini generateContent — official SDKs work unchanged. Details on the API page.
Is there a truly unlimited free AI API with no key?
Yes. Every :free model and auto:free can be called without an API key — no monthly quota, no request counter, $0 forever. Read the unlimited free AI API guide for curl examples and fair-use notes.
Is GrexLabs a free anonymous AI API — no signup at all?
Yes — keyless :free models accept requests with zero authentication: no signup, no email, no credit card. Prompts are processed transiently and never stored as content. Details in the free anonymous AI API guide.
Which AI API provider should I use from India?
GrexLabs is India-first: 304 models on one OpenAI-compatible endpoint, India-optimized search (region=IN), edge delivery, $10 free credit and DPDP-aware privacy. See the India AI API provider guide.
One API key, 304 models.
Send your first request in a few minutes. Pay as you go, no subscriptions.