Docs
Models Playground Search Pricing Dashboard Sign In Get Started

139+ AI Models. One unified API.

Access 139+ models from 22+ providers through a single endpoint. Ship in seconds.

139+
Models
22+
Providers
4
API Formats
99.9%
Uptime

Built for developers who
demand more.

One API key. Every major model. Zero configuration.

OpenAI, Google, Anthropic

Drop-in compatible with all three major API formats. No code changes needed.

Flagship Performance

GPT-4o, Claude Sonnet 4, Gemini 2.5 Pro — state-of-the-art reasoning.

139+ Models

From lightweight fast models to advanced vision — all in one place.

Vision & Multimodal

12+ vision models for image analysis, documents, and visual Q&A.

Code & Specialized

Domain models for code, math, medical, legal, and financial tasks.

Streaming & Batch

SSE streaming for real-time chat. Batch processing for high throughput.

APIs for every need.

Chat, search, generate — all behind one API key.

GET /api/v1/models Models

List all available models with pricing, context length, and capabilities.

curl "https://www.grexlabs.in/api/v1/models" \ -H "Authorization: Bearer sk-gl-<your-key>"
POST /api/v1/chat/completions OpenAI

Drop-in replacement for OpenAI's chat completions. Use "auto" to auto-select the best model.

# OpenAI-compatible request curl https://www.grexlabs.in/api/v1/chat/completions \ -H "Authorization: Bearer sk-gl-<your-key>" \ -H "Content-Type: application/json" \ -d '{ "model": "hy3-free", "messages": [ {"role": "user", "content": "Hello!"} ], "temperature": 0.7 }'
POST /api/v1/generateContent Google

Google Generative AI compatible format with contents array and parts.

curl https://www.grexlabs.in/api/v1/generateContent?model=hy3-free \ -H "Authorization: Bearer sk-gl-<your-key>" \ -H "Content-Type: application/json" \ -d '{ "contents": [ {"parts": [{"text": "Hello!"}]} ] }'
POST /api/v1/messages Anthropic

Anthropic Messages API format. Supports system prompts and messages array.

curl https://www.grexlabs.in/api/v1/messages \ -H "Authorization: Bearer sk-gl-<your-key>" \ -H "Content-Type: application/json" \ -H "anthropic-version: 2023-06-01" \ -d '{ "model": "hy3-free", "system": "You are a helpful assistant.", "messages": [ {"role": "user", "content": "Hello!"} ], "max_tokens": 1024 }'
GET /api/v1/search Search

Privacy-first web search. Returns JSON with title, URL, domain, favicon, snippet.

curl "https://www.grexlabs.in/api/v1/search?q=artificial+intelligence&max_results=5"
POST /api/v1/search Search

Same search API via POST. Send query and options in the request body.

# POST search request curl -X POST https://www.grexlabs.in/api/v1/search \ -H "Content-Type: application/json" \ -d '{ "q": "artificial intelligence", "max_results": 5 }'
POST /api/search Search

Legacy search endpoint. Returns JSON with title, URL, domain, favicon, snippet.

# Legacy search endpoint curl -X POST https://www.grexlabs.in/api/search \ -H "Content-Type: application/json" \ -d '{ "q": "artificial intelligence", "max_results": 5 }'

Every model, every tier.

139+ models organized by capability.

Ship in under a minute.

Works with any HTTP client.

# cURL curl https://www.grexlabs.in/api/v1/chat/completions \ -H "Authorization: Bearer sk-gl-<key>" \ -H "Content-Type: application/json" \ -d '{"model":"hy3-free", "messages":[{"role":"user", "content":"Hello!"}]}'
# Python import requests r = requests.post( "https://www.grexlabs.in/api/v1/chat/completions", headers={"Authorization": "Bearer sk-gl-<key>"}, json={"model":"hy3-free", "messages":[{"role":"user", "content":"Hello!"}]} ) print(r.json()["choices"][0] ["message"]["content"])
# JavaScript const r = await fetch( "https://www.grexlabs.in/api/v1/chat/completions", {method:"POST", headers:{"Authorization": "Bearer sk-gl-<key>", "Content-Type":"application/json"}, body:JSON.stringify({ model:"hy3-free", messages:[{role:"user",content:"Hello!"}] })}); const d = await r.json(); console.log(d.choices[0].message.content);
# Go body := `{"model":"hy3-free", "messages":[{"role":"user", "content":"Hello!"}]}` req, _ := http.NewRequest("POST", "https://www.grexlabs.in/api/v1/chat/completions", bytes.NewBuffer([]byte(body))) req.Header.Set("Authorization", "Bearer sk-gl-<key>") resp, _ := http.DefaultClient.Do(req)

Start free, scale infinitely.

No hidden fees. No surprise bills.

Free
$0
For testing and small projects
  • 1,000 requests/day
  • Standard & Lightweight
  • 2 API keys
  • All 3 API formats
Get Started
Premium
$99 /mo
For high-volume enterprise
  • 10,000 requests/day
  • All 139+ models
  • Custom fine-tuning
  • Unlimited API keys
Contact Sales

Ready to build?

Start with 1,000 free requests per day. No credit card required.

Create Free Account