# Free Long-Context LLM APIs (128K to 1M+ Tokens)

> 8 providers · 46 free models · Last updated: 01 Nov 2026

## Quick Answer

46 free Long-Context LLM APIs (128K to 1M+ Tokens) models across 8 providers including OpenCode Zen, OpenRouter, and Google AI Studio. Verified rate limits, context windows, and OpenAI-compatible endpoints. Last updated: 01 Nov 2026.

Free LLM APIs supporting massive context windows from 128,000 to 1,000,000 tokens for large-codebase analysis and document synthesis.

## Quick Connect

1,000,000 token context window on Google AI Studio free tier.

- **Base URL:** `https://generativelanguage.googleapis.com/v1beta/openai/`
- **Model:** `gemini-2.5-flash`
- **Provider:** [Google AI Studio (Gemini API)](/providers/google-ai-studio--gemini-api/)

```python
from openai import OpenAI

client = OpenAI(
    base_url="https://generativelanguage.googleapis.com/v1beta/openai/",
    api_key="your-api-key",  # from Google AI Studio (Gemini API)
)

response = client.chat.completions.create(
    model="gemini-2.5-flash",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)
```

## Rate Limits & Model Inventory

| Model | Provider | Cost | Context | RPM | TPM | RPD | Day tokens | Verified |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| Big Pickle | [OpenCode Zen](/providers/opencode-zen/) | $0 (promo) | 256K - 1M | Not published | Not published | Not published | Not published | 2026-11-01 |
| MiMo-V2.6-Flash Free | [OpenCode Zen](/providers/opencode-zen/) | $0 (promo) | 256K - 1M | Not published | Not published | Not published | Not published | 2026-11-01 |
| Nemotron 3 Ultra Free | [OpenCode Zen](/providers/opencode-zen/) | $0 (promo) | 256K - 1M | Not published | Not published | Not published | Not published | 2026-11-01 |
| Nemotron 3.5 Lightning Free | [OpenCode Zen](/providers/opencode-zen/) | $0 (promo) | 256K - 1M | Not published | Not published | Not published | Not published | 2026-11-01 |
| Nemotron 3.5 Super VL Free | [OpenCode Zen](/providers/opencode-zen/) | $0 (promo) | 256K - 1M | Not published | Not published | Not published | Not published | 2026-11-01 |
| Jev 1.13 Free | [OpenCode Zen](/providers/opencode-zen/) | $0 (promo) | 256K - 1M | Not published | Not published | Not published | Not published | 2026-11-01 |
| cohere/north-mini-code:free | [OpenRouter](/providers/openrouter/) | $0 | 250K | 20 | Provider-dependent | 50 (below $10 credits) / 1,000 ($10+ credits) | Not published | 2026-11-01 |
| google/gemma-4-26b-a4b-it:free | [OpenRouter](/providers/openrouter/) | $0 | 256K | 20 | Provider-dependent | 50 (below $10 credits) / 1,000 ($10+ credits) | Not published | 2026-11-01 |
| google/gemma-4-31b-it:free | [OpenRouter](/providers/openrouter/) | $0 | 256K | 20 | Provider-dependent | 50 (below $10 credits) / 1,000 ($10+ credits) | Not published | 2026-11-01 |
| nvidia/nemotron-3-nano-omni-30b-a3b-reasoning:free | [OpenRouter](/providers/openrouter/) | $0 | 250K | 20 | Provider-dependent | 50 (below $10 credits) / 1,000 ($10+ credits) | Not published | 2026-11-01 |
| nvidia/nemotron-3-ultra-550b-a55b:free | [OpenRouter](/providers/openrouter/) | $0 | 1000000 | 20 | Provider-dependent | 50 (below $10 credits) / 1,000 ($10+ credits) | Not published | 2026-11-01 |
| nvidia/nemotron-3.5-lightning:free | [OpenRouter](/providers/openrouter/) | $0 | 1000000 | 20 | Provider-dependent | 50 (below $10 credits) / 1,000 ($10+ credits) | Not published | 2026-11-01 |
| nvidia/nemotron-3.5-super-vl:free | [OpenRouter](/providers/openrouter/) | $0 | 1000000 | 20 | Provider-dependent | 50 (below $10 credits) / 1,000 ($10+ credits) | Not published | 2026-11-01 |
| recursive/flint-v1.0:free | [OpenRouter](/providers/openrouter/) | $0 | 256K | 20 | Provider-dependent | 50 (below $10 credits) / 1,000 ($10+ credits) | Not published | 2026-11-01 |
| thinkingmachines/inkling-small:free | [OpenRouter](/providers/openrouter/) | $0 | 1024K | 20 | Provider-dependent | 50 (below $10 credits) / 1,000 ($10+ credits) | Not published | 2026-11-01 |
| thinkingmachines/inkling:free | [OpenRouter](/providers/openrouter/) | $0 | 1024K | 20 | Provider-dependent | 50 (below $10 credits) / 1,000 ($10+ credits) | Not published | 2026-11-01 |
| xingchen-agi/xing4.0-29b-a4b:free | [OpenRouter](/providers/openrouter/) | $0 | 256K | 20 | Provider-dependent | 50 (below $10 credits) / 1,000 ($10+ credits) | Not published | 2026-11-01 |
| meta/muse-spark-1.3-contributor:free | [OpenRouter](/providers/openrouter/) | $0 | 1000000 | 20 | Provider-dependent | 50 (below $10 credits) / 1,000 ($10+ credits) | Not published | 2026-11-01 |
| gemini-2.5-flash | [Google AI Studio (Gemini API)](/providers/google-ai-studio--gemini-api/) | $0 | 1024K | Varies by account | Varies by account | Varies by account | Not published | 2026-11-01 |
| gemini-2.5-flash-lite | [Google AI Studio (Gemini API)](/providers/google-ai-studio--gemini-api/) | $0 | 1024K | Varies by account | Varies by account | Varies by account | Not published | 2026-11-01 |
| gemini-3-flash-preview | [Google AI Studio (Gemini API)](/providers/google-ai-studio--gemini-api/) | $0 | 1024K | Varies by account | Varies by account | Varies by account | Not published | 2026-11-01 |
| gemini-3.1-flash-lite | [Google AI Studio (Gemini API)](/providers/google-ai-studio--gemini-api/) | $0 | 1024K | Varies by account | Varies by account | Varies by account | Not published | 2026-11-01 |
| gemini-3.1-flash-lite-preview | [Google AI Studio (Gemini API)](/providers/google-ai-studio--gemini-api/) | $0 | 1024K | Varies by account | Varies by account | Varies by account | Not published | 2026-11-01 |
| gemini-3.5-flash | [Google AI Studio (Gemini API)](/providers/google-ai-studio--gemini-api/) | $0 | 1024K | Varies by account | Varies by account | Varies by account | Not published | 2026-11-01 |
| gemini-3.5-flash-lite | [Google AI Studio (Gemini API)](/providers/google-ai-studio--gemini-api/) | $0 | 1024K | Varies by account | Varies by account | Varies by account | Not published | 2026-11-01 |
| gemini-3.6-flash | [Google AI Studio (Gemini API)](/providers/google-ai-studio--gemini-api/) | $0 | 1024K | Varies by account | Varies by account | Varies by account | Not published | 2026-11-01 |
| gemini-3.7-flash | [Google AI Studio (Gemini API)](/providers/google-ai-studio--gemini-api/) | $0 | 1024K | Varies by account | Varies by account | Varies by account | Not published | 2026-11-01 |
| gemini-3.8-flash | [Google AI Studio (Gemini API)](/providers/google-ai-studio--gemini-api/) | $0 | 1024K | Varies by account | Varies by account | Varies by account | Not published | 2026-11-01 |
| gemini-flash-latest | [Google AI Studio (Gemini API)](/providers/google-ai-studio--gemini-api/) | $0 | 1024K | Varies by account | Varies by account | Varies by account | Not published | 2026-11-01 |
| gemini-flash-lite-latest | [Google AI Studio (Gemini API)](/providers/google-ai-studio--gemini-api/) | $0 | 1024K | Varies by account | Varies by account | Varies by account | Not published | 2026-11-01 |
| gemma-4-26b-a4b-it | [Google AI Studio (Gemini API)](/providers/google-ai-studio--gemini-api/) | $0 | 256K | 15 | 1M | 1,500 | Not published | 2026-11-01 |
| gemma-4-31b-it | [Google AI Studio (Gemini API)](/providers/google-ai-studio--gemini-api/) | $0 | 256K | 15 | 1M | 1,500 | Not published | 2026-11-01 |
| GLM-5.1 | [Z.AI (Zhipu)](/providers/z-ai--zhipu/) | $0 | Up to 203K | 3 (burst) | Not published | 1,000 (1K RPD tier) | Not published | 2026-10-29 |
| GLM-4.5-Flash | [Z.AI (Zhipu)](/providers/z-ai--zhipu/) | $0 | Up to 203K | 3 (burst) | Not published | 1,000 | Not published | 2026-10-29 |
| GLM-4.7-Flash | [Z.AI (Zhipu)](/providers/z-ai--zhipu/) | $0 | Up to 203K | 3 (burst) | Not published | 1,000 | Not published | 2026-10-29 |
| GLM-4.6V-Flash (vision) | [Z.AI (Zhipu)](/providers/z-ai--zhipu/) | $0 | Up to 203K | 3 (burst) | Not published | 1,000 | Not published | 2026-10-29 |
| cohere/north-mini-code:free | [Kilo Gateway](/providers/kilo-gateway/) | $0 | 250K | 20 | Provider-dependent | 200/day | Not published | 2026-11-01 |
| poolside/laguna-s-2.1:free | [Kilo Gateway](/providers/kilo-gateway/) | $0 | 256K | 20 | Provider-dependent | 200/day | Not published | 2026-10-31 |
| poolside/laguna-xs-2.1:free | [Kilo Gateway](/providers/kilo-gateway/) | $0 | 256K | 20 | Provider-dependent | 200/day | Not published | 2026-10-31 |
| nvidia/nemotron-3.5-lightning:free | [Kilo Gateway](/providers/kilo-gateway/) | $0 | 1000000 | 20 | Provider-dependent | 200/day | Not published | 2026-11-01 |
| nvidia/nemotron-3.5-super-vl:free | [Kilo Gateway](/providers/kilo-gateway/) | $0 | 1000000 | 20 | Provider-dependent | 200/day | Not published | 2026-11-01 |
| poolside/laguna-s-2.1:free | [Nous Portal](/providers/nous-portal/) | $0 | 256K | 50 | 500K | Not published | Not published | 2026-10-31 |
| poolside/laguna-xs-2.1:free | [Nous Portal](/providers/nous-portal/) | $0 | 256K | 50 | 500K | Not published | Not published | 2026-10-31 |
| Command A | [Cohere](/providers/cohere/) | $0 | 256K | 20 | Not published | Not published | Not published | 2026-11-01 |
| google/gemma-4-31b-it | [Requesty](/providers/requesty/) | $0 | 256K | Not published | Not published | 200/day shared | Not published | 2026-11-01 |
| poolside/laguna-xs.2 | [Requesty](/providers/requesty/) | $0 | 256K | Not published | Not published | 200/day shared | Not published | 2026-11-01 |

Web page: https://freeinference.dev/free-long-context-api/
Machine-readable JSON: /data/providers.json
Agent summary: /llms.txt

Numbers cross-checked against official docs and live probes as of 2026-11-01. Limits change without notice — this is a map, not a contract.
