Back to Full LeaderboardVerified 32m ago

Best Free Long-Context LLMs (128K–1M+ Tokens)

Free LLM APIs with 128K+ to 1M+ token context windows for whole-repo and document workflows.

Current #1 Free Pick — Long Context
Context: 1.0MComposite: 71.0Coding: —BFCL: —Context: 1.0M
Quick-Connect Snippets & Agent Configs
Get Free API Key
gemini-4-hydrogen
Google AI Studio · 5-15 RPM · 100-500+ RPD (per model)
0% 7d127ms TTFT
Agents:SDKs:
{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "google": {
      "options": {
        "apiKey": "{env:GOOGLE_AI_API_KEY}"
      }
    }
  },
  "model": "google/gemini-4-hydrogen"
}

What is the best free long-context LLM right now?

Filtered to models offering at least 128,000 tokens of context window on active free tiers. Based on our latest 6-hour sync, Gemini 4 Hydrogen ranks #1 for Long Context.