Zerogateway 🚀
A centralized Git-synced registry and unified client router for 100% free API access to Large Language Models.
Never let rate limits (HTTP 429) or expired promotional offers disrupt your workflow again. Zerogateway tracks active free tiers, aggregates quotas, and cascades across multiple free providers behind a single OpenAI-compatible endpoint.
🌟 Key Features
- 📑 Centralized Git Registry: Community-curated YAML catalog of free LLM tiers, promotional credits, and zero-auth APIs.
- 🔄 Smart Fallback & Cascading: Seamlessly routes to alternate providers hosting the same model family when rate limits (HTTP 429) are encountered.
- ⚡ Local OpenAI-Compatible Proxy: Drop-in gateway (
http://localhost:8080/v1) for Cursor, Cline, Continue.dev, LibreChat, and Open WebUI. - 🤖 Automated Canary Probing: Scheduled CI runners test endpoints daily to detect deprecated models, revoked free tiers, or payment walls.
- 🔑 Flexible BYOK & Zero-Auth: Use your own free API keys or start immediately with zero-auth public endpoints.
📊 Tracked Free Providers
Currently indexing 8 providers and 21 models:
| Provider | Access Model | Card Required? | Env Variable | Free Rate Limits | Supported Models |
|---|---|---|---|---|---|
| Cerebras Inference | Permanent Free | ❌ No | CEREBRAS_API_KEY |
30 RPM / 14400 RPD | llama3.3-70b, llama3.1-8b |
| GitHub Models (Marketplace Free Tier) | Permanent Free | ❌ No | GITHUB_TOKEN |
15 RPM / 150 RPD | gpt-4o-mini, Meta-Llama-3.3-70B-Instruct |
| Google AI Studio (Gemini Free Tier) | Permanent Free | ❌ No | GEMINI_API_KEY |
15 RPM / 1500 RPD | gemini-2.5-flash, gemini-2.0-flash, gemini-1.5-flash |
| GroqCloud | Permanent Free | ❌ No | GROQ_API_KEY |
30 RPM / 14400 RPD | llama-3.3-70b-versatile, llama-3.1-8b-instant, mixtral-8x7b-32768 |
| Mistral AI (Free Experimentation Tier) | Permanent Free | ❌ No | MISTRAL_API_KEY |
60 RPM / Uncapped | codestral-latest, mistral-small-latest, open-mistral-nemo |
| OpenRouter Free Models | Permanent Free | ❌ No | OPENROUTER_API_KEY |
20 RPM / 200 RPD | meta-llama/llama-3.3-70b-instruct:free, deepseek/deepseek-r1:free, mistralai/mistral-7b-instruct:free |
| Pollinations AI | No Key Required | ❌ No | None (Zero Auth) | 10 RPM / 500 RPD | openai, mistral |
| SambaNova Cloud | Permanent Free | ❌ No | SAMBANOVA_API_KEY |
20 RPM / 1000 RPD | Meta-Llama-3.3-70B-Instruct, Meta-Llama-3.1-8B-Instruct, Meta-Llama-3.1-405B-Instruct |
🚀 Quickstart
1. Installation
# Clone the repository
git clone https://github.com/zerogateway/zero-gateway.git
cd zero-gateway
# Set up virtual environment
python3 -m venv .venv
source .venv/bin/activate
pip install -e ./sdk/python
2. Configure Your Free API Keys
Copy the example environment configuration:
cp .env.example .env
Add whatever free keys you have acquired (none are mandatory; providers without keys will be skipped or run via zero-auth):
GROQ_API_KEY="gsk_..."
CEREBRAS_API_KEY="csk-..."
SAMBANOVA_API_KEY="..."
GEMINI_API_KEY="AIzaSy..."
OPENROUTER_API_KEY="sk-or-..."
MISTRAL_API_KEY="..."
GITHUB_TOKEN="ghp_..."
🛠️ Usage Modes
Mode A: Python SDK
from zerogateway import ZeroGatewayClient
client = ZeroGatewayClient()
# Request using model alias or exact model ID
# The router automatically selects an active free provider with available quota
response = client.chat.completions.create(
model="llama-3.3-70b", # or aliases: "fast-smart", "gemini-flash"
messages=[{"role": "user", "content": "Explain async/await in Python in 2 lines."}]
)
print(response.choices[0].message.content)
print(f"Served by: {response.provider_id}")
Mode B: Local Gateway Proxy (For Cursor, Cline, LibreChat)
Launch the OpenAI-compatible proxy server:
zerogateway serve --port 8080
Now point your favorite tool to http://localhost:8080/v1:
- Base URL:
http://localhost:8080/v1 - API Key:
zerogateway - Model:
llama-3.3-70b(orgpt-4o-mini,gemini-flash,auto)
If Groq hits a rate limit, the proxy automatically falls back to Cerebras, SambaNova, or OpenRouter with zero interruption to your editing session!
🤝 Contributing New Offers & Providers
Found a new free LLM promotion or accelerator tier? Submit a PR!
- Create a new YAML file under
registry/providers/<provider_id>.yaml - Follow the JSON Schema
- Run
python scripts/compile_registry.pyto validate - Submit your Pull Request. Our CI pipeline will automatically verify the schema and run a canary test.
📜 License
MIT License. Free and open source for all developers.
Metadata
Release files for zerogateway 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| zerogateway-0.1.0.tar.gz | 20.8 kB | With provenance | Details for zerogateway-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| zerogateway-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for zerogateway-0.1.0-py3-none-any.whl |
Total release size: 41.6 kB
Release files / zerogateway-0.1.0.tar.gz
| Download URL | zerogateway-0.1.0.tar.gz |
|---|---|
| Size | 20.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
baeb7916dfa5b0eb9ef906f4e14696f02705f5423153bcce60fa1cdaad63363d
|
|
BLAKE2b-256 checksum How to use checksums |
1811e1674312e0dc0def64e1e34554c39344221961a76b40b253d3a7e2793d3e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.
Transparency logRelease files / zerogateway-0.1.0-py3-none-any.whl
| Download URL | zerogateway-0.1.0-py3-none-any.whl |
|---|---|
| Size | 20.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4664126efa882c81baaf6e11b688a0cd2dd6253ce5c836474f36fba675097171
|
|
BLAKE2b-256 checksum How to use checksums |
f5f68b002a4c00e09294bc001e9ad7b157e199ebc18e6aac41d551b09058f7d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.
Transparency logSecurity for zerogateway 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for zerogateway-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.