Skip to content
All use cases

Free coding agent

Pin MiniMax M3.1 Flash free in Claude Code

minimax/minimax-m3.1-flash:free has a 1M-token context window and function calling, and costs $0. Pin it when you want one known model instead of the anyrouter/free chain.

What this is for

anyrouter/free picks a different free model each time, so behavior shifts between runs. A long agent session on a repo needs one model with a large context and working tool calls.

Steps, then copy

  1. 1.Install the anyr CLI and sign in. Any plan works, including Free.
  2. 2.Run: anyr claude --model minimax/minimax-m3.1-flash:free
  3. 3.A pinned model also sets Claude Code's haiku, sonnet, opus and subagent models.
  4. 4.Check the model page for the current price and limits.
anyr CLI
bash
curl -fsSL https://anyrouter.dev/setup.sh | bash
anyr claude --model minimax/minimax-m3.1-flash:free

Limits

  • If every route for a :free model fails, anyrouter/free answers instead and the response says so in x-anyrouter-fallback.
  • Free requests allow 2400 a minute per API key and have no daily cap.

Ready to try it

The guide has the full walkthrough. Sign up if you still need a key.