100% Free AI Access • 8 Providers • 21 Models Indexed

Never hit an HTTP 429 rate limit again.

A unified router and drop-in OpenAI-compatible proxy for free LLMs. Auto-cascades across free providers, swaps rate-limited API keys, and tracks quota reset windows seamlessly.

$ pip install zerogateway
Launch Local Proxy
Ready for: Cursor Cline Continue.dev LibreChat Open WebUI

Zero-Downtime Cascading

How Zerogateway routes your request

1

Client Request

Cursor or Python client requests llama-3.3-70b

HTTP 429
2

Provider 1 Rate-Limited

Groq hits quota. Reset window parsed from headers.

Auto Swap
3

Instant Failover

Swaps to Key 2 or cascades to Cerebras / SambaNova.

✓

Success (HTTP 200)

Stream returned to IDE without interruption!

Engineered for Free Tier Resilience

Everything you need to run on free AI

Multi-Key Swapping

Provide comma-separated API keys for Google Gemini or other providers. If one key runs out of quota, it auto-swaps to the second key immediately.

Reset Window Tracking

Parses Retry-After headers and Gemini retryDelay error payloads to put keys on cooldown until their reset window expires.

OpenAI-Compatible Proxy

Drop-in endpoint at http://localhost:8080/v1. Supports streaming (SSE) and full tool/function calling formats.

Zero-Auth & BYOK

Start immediately without signing up using zero-auth endpoints (Pollinations), or supply your own free keys for Groq, Cerebras, and Gemini.

Configurable Swapping

Both intra-provider key swapping and inter-provider cascading are configurable options. Toggle via environment variables, code, or per-request headers.

Git-Synced Registry

Community curated YAML definitions with daily canary probing. Deprecated models and paid walls are detected and pruned automatically.

Provider Catalog

8 Active Free Providers

Cerebras 30 RPM

Ultra-fast wafer-scale engine inference.

llama3.3-70b llama3.1-8b
GroqCloud 30 RPM

LPU speed with 14,400 free requests per day.

llama-3.3-70b mixtral-8x7b
Google AI Studio 15 RPM

1M - 2M context windows with multi-modal support.

gemini-2.0-flash gemini-1.5-flash
SambaNova 20 RPM

Hosts full-precision 405B and 70B Llama models.

llama-3.3-70b llama-405b
OpenRouter Free 20 RPM

Free community variants including DeepSeek R1.

deepseek-r1:free llama-3.3-70b:free
Mistral AI 60 RPM

Official Codestral coding models and Mistral Small.

codestral-latest mistral-small
GitHub Models 15 RPM

Free Azure-backed GPT-4o mini via your GitHub PAT.

gpt-4o-mini llama-3.3-70b
Pollinations AI Zero Auth

Completely keyless access. No registration required.

openai mistral

Usage Modes

Two Minutes to Zero-Cost AI

# 1. Install
pip install zerogateway

# 2. Run with smart fallback
from zerogateway import ZeroGatewayClient

client = ZeroGatewayClient(enable_key_rotation=True)

response = client.chat.completions.create(
    model="llama-3.3-70b", # or "gemini-flash", "fast-smart", "auto"
    messages=[{"role": "user", "content": "Explain async in Python in 1 line."}]
)

print(response.choices[0].message.content)
print(f"Served by: {response.provider_id}")

Start Building Without Limits

Zero cost. Full cascading resilience. Open source and MIT licensed for all developers.