A 1M-context model for $0 per token: Baidu's ERNIE 5.5 Flash Preview is free on OpenRouter, and you can point Claude Code at it
Baidu's ERNIE 5.5 Flash Preview went up on OpenRouter on November 10, 2026 with a free variant priced at $0 for input and output. OpenRouter describes it as a 280-billion-parameter model that uses 14 billion per token, with a 1 million-token context and generation speeds above 200 tokens per second, improved for coding, agent tasks and research. Because OpenRouter publishes a Claude Code setup guide, you can route Claude Code's requests to it and try a free model on side projects.
Why it matters
It's a no-cost way to experiment with a big-context model for agent runs and code reading without touching your paid limits.
Who it's for
Developers and tinkerers who want a free model for experiments, scripts or a second opinion, and are fine with daily caps.
How to try it
- Create an OpenRouter account and an API key.
- Test it with a normal chat call using the model ID baidu/ernie-5.5-flash-preview:free.
- For Claude Code, follow OpenRouter's Claude Code guide (set ANTHROPIC_BASE_URL to https://openrouter.ai/api and use your OpenRouter key), then pick the ERNIE model.
- Keep it to non-sensitive side projects and watch the 50-requests-a-day cap.
Plan & availability: Free variant on OpenRouter (model ID baidu/ernie-5.5-flash-preview:free), released November 10, 2026; no end date posted, and preview pricing can change. Free-model limits: 20 requests a minute and 50 a day, or 1,000 a day once you've bought at least 10 credits. Not available through EU in-region routing. How well it handles Claude Code's tool calls is untested by us. Checked on openrouter.ai on November 12, 2026.
Source: @OpenRouter on openrouter.ai
Written by James Whitfield from the original post. Checked Nov 12, 2026. Features, plans and availability can change, so confirm on the source before you rely on it.
freeopenrouterernieclaude-code1m-context
More Claude tricks
- One URL and one key for all your MCP servers: ngrok's MCP Gateway is live · Dec 2
- OpenCode 2.4.2 cuts about 700 tokens per request and tunes GPT-6.2 · Nov 26
- OpenCode 2.4 gives your coding agent a browser, automations, and video generation · Nov 24
- Claude Code 2.1.330 draws your charts with easel and lets scheduled tasks run 30 days · Nov 21