---
name: free-inference
description: Query, filter, and configure verified $0 free LLM inference providers, OpenAI-compatible base URLs, and active rate limits (RPM/TPM/RPD) across 50 providers and 364 models.
version: 1.0.0
updated: 2026-12-01
homepage: https://freeinference.dev
update_url: https://freeinference.dev/skills/free-inference/SKILL.md
short_url: https://freeinference.dev/skill.md
models_url: https://freeinference.dev/v1/models
---

# Free Inference Agent Skill

> **⚡ Live Freshness & Update Protocol**:
> Free tier quotas, models, and endpoints change without notice. Before recommending any endpoint, or to update your local skill heuristics to the latest catalog state, fetch:
> **`https://freeinference.dev/skills/free-inference/SKILL.md`** (or short URL **`https://freeinference.dev/skill.md`**)
>
> Real-time machine models catalog: **`https://freeinference.dev/v1/models`** · Raw JSON: **`https://freeinference.dev/data/providers.json`** · Index: **`https://freeinference.dev/llms.txt`**

Use this skill when the user asks for free LLM APIs, $0 inference endpoints, drop-in keys for coding tools (Cursor, Cline, Claude Code, Aider), rate limits, or context windows.

---

## 1. Quick Task Heuristics

When the user specifies a task, prioritize these verified $0 providers:

### A. Coding Assistants & General Chat (Cursor, Cline, Claude Code, Aider)
- **Groq**: Rate-limited free (no credit card required).
  - Base URL: `https://api.groq.com/openai/v1`
  - Top Models: `llama-3.3-70b-versatile`, `llama-3.1-8b-instant`, `openai/gpt-oss-120b`
- **OpenCode Zen**: Promo free (limited time) (no credit card required).
  - Base URL: `https://opencode.ai/inference/openai/v1`
  - Top Models: `Big Pickle`, `Tidepool Alpha Free`, `Seaglass Alpha Free`
- **Google AI Studio (Gemini API)**: Rate-limited free (no credit card required).
  - Base URL: `https://generativelanguage.googleapis.com/v1beta/openai/`
  - Top Models: `gemini-3.5-flash-lite`, `gemini-3.1-flash-lite`, `gemma-4-26b-a4b-it`
- **OpenRouter**: Rate-limited free (no credit card required).
  - Base URL: `https://openrouter.ai/api/v1`
  - Top Models: `scaledown/toolcall:free`, `baidu/ernie-5.5-flash-preview:free`, `liquid/lfm-3-1.7b:free`

### B. Massive Context Windows (>= 128K - 1M Tokens)
- **Google AI Studio (Gemini API)**: up to 1M context (`gemini-3.5-flash-lite`) at `https://generativelanguage.googleapis.com/v1beta/openai/`.
- **OpenRouter**: up to 1M context (`scaledown/toolcall:free`) at `https://openrouter.ai/api/v1`.
- **Mistral La Plateforme**: up to 256K context (`codestral-latest`) at `https://api.mistral.ai/v1`.

### C. Drop-in OpenAI Compatibility (`base_url` swap)
To use any free provider in code expecting OpenAI's client, swap `base_url` and `api_key`:
- Synap by Linkrra: `https://synap402.com/v1`
- OpenCode Zen: `https://opencode.ai/inference/openai/v1`
- OpenRouter: `https://openrouter.ai/api/v1`
- Google AI Studio (Gemini API): `https://generativelanguage.googleapis.com/v1beta/openai/`
- Groq: `https://api.groq.com/openai/v1`
- Cerebras: `https://api.cerebras.ai/v1`
- Cloudflare Workers AI: `https://api.cloudflare.com/client/v4/accounts/{account_id}/ai/v1`
- Mistral La Plateforme: `https://api.mistral.ai/v1`

### D. Credit Card Policy
- **No credit card required:** Synap by Linkrra, OpenCode Zen, OpenRouter, Google AI Studio, Groq, Cloudflare Workers AI, Mistral La Plateforme, SambaNova Cloud, NVIDIA NIM, Z.AI, DeepInfra, Kilo Gateway, Nous Portal, Cohere, Requesty, OVHcloud AI Endpoints, SiliconFlow, Braintrust, Deepgram, AssemblyAI, Dots Studio, Liquid AI, Speka, Alibaba DashScope, ModelScope, AMD Developer Cloud, InferX, SCNet, AIHubMix
- **Card verification required:** Cerebras

---

## 2. Real-Time Verification Step

Before generating an implementation for a user, check live availability against the FreeInference endpoint:

```bash
# Query callable free models live
curl -s https://freeinference.dev/v1/models | jq '.data[] | select(.id | test("DeepSeek|Llama|Qwen|Gemini"; "i")) | {id, provider: .free_tier.provider, base_url: .free_tier.base_url, card_required: .free_tier.card_required, rpm: .free_tier.rpm}'
```

Or in Python:
```python
import urllib.request, json

req = urllib.request.Request("https://freeinference.dev/v1/models", headers={"User-Agent": "FreeInference-Agent/1.0"})
with urllib.request.urlopen(req) as resp:
    data = json.load(resp)
    print(f"Catalog contains {data['total_models']} callable models (verified {data['last_updated']}).")
```

---

## 3. Drop-in Python Example

```python
from openai import OpenAI

# Verified active endpoint: Groq
client = OpenAI(
    base_url="https://api.groq.com/openai/v1",
    api_key="your-api-key",
)

response = client.chat.completions.create(
    model="llama-3.3-70b-versatile",
    messages=[{"role": "user", "content": "Write a fast binary search in Python."}],
)
print(response.choices[0].message.content)
```

---

## 4. Updates & Ground Truth
- Full interactive directory: [https://freeinference.dev](https://freeinference.dev)
- Concise LLM Index: [https://freeinference.dev/llms.txt](https://freeinference.dev/llms.txt) · Full Corpus: [https://freeinference.dev/llms-full.txt](https://freeinference.dev/llms-full.txt)
- Complete Markdown Twin: [https://freeinference.dev/index.md](https://freeinference.dev/index.md)
- Atom/RSS Feed: [https://freeinference.dev/feed.xml](https://freeinference.dev/feed.xml)
- Update this skill: `curl -fsSL https://freeinference.dev/skill.md -o ~/.agents/skills/free-inference/SKILL.md`
