Back to Extension Docs

AI Providers

Every AI backend you can use with MR Multi Model AI Coder, how to set each one up, and what it costs. Switch provider or model mid-conversation — the chat keeps running.

ProviderAuthCostBest For
ClaudeAPI keyPaidHard problems, long contexts
MR CoderOAuth connectWith subscriptionAPI key managed for you
Kilo CodeCLI OAuthFreeZero-config free tier
QwenAPI key or CLIFree tier -> paidAlibaba ecosystem
OpenRouterAPI keyFree tierBroadest free selection
OllamaNoneFree foreverOffline / private code
OpenAI CodexAPI key or CLIPaid (free trial)OpenAI ecosystem, reasoning
Google GeminiAPI key or CLIFree tier -> paid1M context, multimodal
HuggingFaceHF tokenFree tier -> ProOpen-weight agentic coders
Custom MCP (OpenAI)API key (Bearer)Depends on endpointAny /chat/completions gateway
Custom MCP (Anthropic)API key (x-api-key)Depends on endpointAny /v1/messages gateway

1. Claude (Anthropic API)

Anthropic's Agent SDK under the hood — full agentic loop, MCP servers, native checkpoints, prompt caching, extended thinking.

Model IDDisplay NameContextNotes
claude-opus-4-8Claude Opus 4.8200KLatest & most capable
claude-opus-4-7Claude Opus 4.7200KPrevious Opus
claude-sonnet-4-6Claude Sonnet 4.6200KRecommended default
claude-haiku-5-5Claude Haiku 5.51MFastest / cheapest

Setup

1

Get an API key from console.anthropic.com.

2

Ctrl+Shift+P -> "MR Multi coder: Set Claude API Key" -> paste.

3

(Optional) "Validate Claude API Key" to confirm.

4

Pick Claude in the provider chip of any chat.

Alternative auth: Set CLAUDE_CODE_USE_BEDROCK=1 for Amazon Bedrock, or CLAUDE_CODE_USE_VERTEX=1 for Google Vertex AI.

2. MR Coder (Router)

Claude models via the managed mr-coder.io service. No raw API key needed — connect your mr-coder.io account and the extension handles authentication automatically via OAuth.

Model IDDisplay NameContextNotes
claude-opus-4-8Claude Opus 4.8200KLatest & most capable
claude-opus-4-7Claude Opus 4.7200KPrevious Opus
claude-sonnet-4-6Claude Sonnet 4.6200KRecommended default
claude-haiku-5-5Claude Haiku 5.51MFastest / cheapest

Setup

1

Ctrl+Shift+P -> "MR Multi coder: Connect Account" to link your mr-coder.io account.

2

Approve the connection in your browser when prompted.

3

Pick MR Coder (Router) in the provider chip of any chat.

4

Models and rate limits are managed by your mr-coder.io subscription plan.

Full setup guide: MR Coder OAuth Connect

3. Kilo Code (CLI)

A single CLI install gives you access to 9 free models routed through Kilo's infrastructure. No API key, no per-model signups, no rate-limit dashboard.

Model IDDisplay NameContext
kilo/kilo-auto/freeKilo Auto (Free)128K
kilo/x-ai/grok-code-fast-1:optimized:freeGrok Code Fast256K
kilo/nvidia/nemotron-3-super-120b-a12b:freeNemotron 3 Super 120B128K
kilo/stepfun/step-3.5-flash:freeStep 3.5 Flash262K
kilo/bytedance-seed/dola-seed-2.0-pro:freeDola Seed 2.0 Pro128K

Setup

Bash
npm install -g @kilocode/cli
1

Install the CLI with npm install -g @kilocode/cli.

2

Ctrl+Shift+P -> "Sign In to CLI Provider" -> pick Kilo Code.

3

Follow the kilo login prompt — Ctrl-click the URL to complete auth.

4

Pick Kilo Code in the provider chip.

4. Qwen (DashScope API or CLI)

Alibaba's hosted API (DashScope) and ModelScope OAuth CLI.

Model IDDisplay NameContext
qwen3-coder-plusQwen3 Coder Plus131K
qwen3-coder-flashQwen3 Coder Flash131K
qwen-maxQwen Max32K
qwen-plusQwen Plus131K
qwen-turboQwen Turbo128K

Setup — API mode

1

Get a DashScope key from dashscope.console.aliyun.com.

2

Ctrl+Shift+P -> "Set Qwen API Key" -> paste.

3

Pick Qwen in the provider chip.

Setup — CLI mode

Bash
npm install -g @qwen-code/qwen-code
1

Install the CLI with npm install -g @qwen-code/qwen-code.

2

Ctrl+Shift+P -> "Sign In to CLI Provider" -> pick Qwen.

3

Set mrMultiCoder.qwen.authMode to "cli" in settings.

5. OpenRouter

A single key gets you 16 curated free models plus access to every paid model OpenRouter hosts. No credit card required for the free tier.

Featured Free Models (fully agentic)

Model IDDisplay NameContext
nvidia/nemotron-3-super-120b-a12b:freeNemotron 3 Super 120B262K
openai/gpt-oss-120b:freeGPT-OSS 120B131K
openai/gpt-oss-20b:freeGPT-OSS 20B131K
minimax/minimax-m2.5:freeMiniMax M2.5196K
arcee-ai/trinity-large-preview:freeTrinity Large Preview131K

Other Free Agentic Models

Model IDDisplay NameContext
qwen/qwen3-coder:freeQwen3 Coder 480B262K
google/gemma-4-31b-it:freeGemma 4 31B262K
meta-llama/llama-3.3-70b-instruct:freeLlama 3.3 70B65K

Free Tier Limits

  • - 20 requests/minute per model per key
  • - 50 requests/day without credits loaded
  • - 1000 requests/day after a one-time $10 load (never expires)

Setup

1

Sign up at openrouter.ai (no credit card required).

2

Generate a key at openrouter.ai/keys.

3

Ctrl+Shift+P -> "Set OpenRouter API Key" -> paste the sk-or-v1-... key.

4

Pick OpenRouter in the provider chip -> pick a model.

6. Ollama (Local)

Run models entirely on your own machine. No account, no API key, no rate limits, no internet required after download. Perfect for private codebases, offline work, and unlimited free iterations.

Model IDDisplay NameDiskContext
qwen3.6Qwen 3.6 35B~24 GB256K
qwen3.6:27bQwen 3.6 27B~17 GB256K
qwen3-coder-nextQwen 3 Coder Next 80B~52 GB256K
qwen2.5-coder:7bQwen 2.5 Coder 7B (default)~4.7 GB32K
qwen2.5-coder:3bQwen 2.5 Coder 3B~1.9 GB32K
llama3.3:70bLlama 3.3 70B~40 GB131K
gemma3:27bGemma 3 27B~17 GB131K
deepseek-r1:32bDeepSeek R1 32B~20 GB131K
phi4:14bPhi 4 14B~9 GB16K

RAM Guide

System RAMRecommendedRuns Well
8 GBqwen2.5-coder:3bQuick edits, chat
16 GBqwen2.5-coder:7bMost day-to-day coding
32 GBqwen3.6:27bLonger tasks, 256K context
64 GBqwen3.6Flagship local models
128 GB+ or GPUqwen3-coder-nextHeavy lifting

Install Ollama

Windows

Bash
# winget (built into Windows 10+)
winget install Ollama.Ollama

# Or download from https://ollama.com/download

macOS

Bash
brew install ollama

Linux

Bash
curl -fsSL https://ollama.com/install.sh | sh

Pull a Model & Use

Bash
# Pull the recommended model for 16 GB machines
ollama pull qwen2.5-coder:7b

# Or for 32 GB+
ollama pull qwen3.6:27b
1

Reload VS Code after installing the extension.

2

Open a chat -> click the provider chip -> pick Ollama (Local).

3

Pick a model you've pulled from the model chip.

4

Send a message.

Troubleshooting

SymptomFix
Ollama chip greyed outollama serve not running. Start it or check the tray icon.
"model not found"Run ollama pull <tag> for the model you want.
First turn takes 30-60sModel loading into RAM/VRAM. Subsequent turns are fast.
Out-of-memory crashPick a smaller tag (32b -> 14b -> 7b -> 3b).
Very slow on CPUNormal for 7B+ models. Use :3b variants or add a GPU.

7. OpenAI Codex

OpenAI's models — GPT-4.1, o3, o4-mini, and codex-mini-latest — through either a direct API key or the official Codex CLI with OAuth.

Model IDDisplay NameContext
o4-minio4-mini (default)200K
o3o3200K
gpt-4.1GPT-4.11M
gpt-4.1-miniGPT-4.1 Mini1M
gpt-4.1-nanoGPT-4.1 Nano1M
codex-mini-latestCodex Mini (Latest)200K

Setup — API mode

1

Get an API key from platform.openai.com/api-keys.

2

Ctrl+Shift+P -> "Set OpenAI Codex API Key" -> paste.

3

Pick OpenAI Codex in the provider chip.

Setup — CLI mode

Bash
npm install -g @openai/codex
1

Install the Codex CLI with npm install -g @openai/codex.

2

Ctrl+Shift+P -> "Log in with Codex CLI".

3

The extension auto-switches to CLI auth mode.

8. Google Gemini

Google's Gemini models with up to 1M token context windows. Generous free tier — no credit card required.

Model IDDisplay NameContextNotes
gemini-2.5-proGemini 2.5 Pro1MMost capable, deep reasoning
gemini-2.5-flashGemini 2.5 Flash1MRecommended default
gemini-2.0-flashGemini 2.0 Flash1MFastest production model

Free Tier

  • - Gemini 2.5 Flash: 500 RPD, 15 RPM
  • - Gemini 2.5 Pro: 25 RPD, 5 RPM
  • - Gemini 2.0 Flash: 1500 RPD, 15 RPM

Setup — API mode

1

Get an API key from aistudio.google.com/apikeys (free, no credit card).

2

Ctrl+Shift+P -> "Set Gemini API Key" -> paste.

3

Pick Google Gemini in the provider chip.

Setup — CLI mode

Bash
npm install -g @google/gemini-cli
1

Install the CLI with npm install -g @google/gemini-cli.

2

Ctrl+Shift+P -> "Log in with Gemini CLI".

3

The extension auto-switches to CLI auth mode.

9. HuggingFace

22 curated open-weight agentic coding models via HuggingFace's OpenAI-compatible Inference API. Qwen, DeepSeek, Llama, Mistral, and more — all with a single HuggingFace token.

Model IDDisplay NameContext
Qwen/Qwen3-235B-A22BQwen3 235B A22B131K
Qwen/Qwen2.5-Coder-32B-InstructQwen2.5 Coder 32B (default)131K
deepseek-ai/DeepSeek-V3-0324DeepSeek V3131K
deepseek-ai/DeepSeek-R1-0528DeepSeek R1131K
meta-llama/Llama-4-Scout-17B-16E-InstructLlama 4 Scout 17B131K
meta-llama/Llama-3.3-70B-InstructLlama 3.3 70B131K
mistralai/Mistral-Small-24B-Instruct-2501Mistral Small 24B32K
microsoft/Phi-4-mini-instructPhi-4 Mini131K
google/gemma-3-27b-itGemma 3 27B131K

Free Tier

  • - Anonymous: ~1 request/minute
  • - Free token: ~5 requests/minute
  • - Pro ($9/mo): Higher limits + priority routing
  • - Inference Endpoints: Dedicated GPU, no rate limits

Setup

1

Get a token at huggingface.co/settings/tokens (free). Enable "Make calls to the serverless Inference API".

2

Ctrl+Shift+P -> "Set HuggingFace API Token" -> paste.

3

Pick HuggingFace in the provider chip.

10. Custom MCP Chat Endpoints

Connect any endpoint that speaks one of two standard wire formats — it becomes a first-class provider in the chat, listed in the provider chip beside the built-ins.

Wire FormatAuth HeaderExamples
OpenAI /chat/completionsAuthorization: BearerOllama, vLLM, LM Studio, LiteLLM, corporate gateways
Anthropic /v1/messagesx-api-keyAnthropic API, Bedrock/Vertex gateways, LiteLLM (Anthropic mode)

Setup via /mcp (recommended)

1

Open a chat and type /mcp -> Enter.

2

Pick OpenAI Compatible Endpoint or Anthropic Compatible Endpoint.

3

Enter the endpoint URL (just the base, e.g. https://api.anthropic.com).

4

Enter the API key — stored in SecretStorage, never in settings.json.

5

Enter the model id the endpoint serves (e.g. claude-sonnet-4-6, gpt-4o).

6

The provider appears in the chip immediately — no reload needed.

Setup via MCP modal

1

Click the MCP button in the chat toolbar.

2

Pick a preset: OpenAI Compatible or Anthropic Compatible.

3

Fill in URL, API key, and model id -> Save.

Troubleshooting

SymptomFix
401 / 403 on first messageAPI key is wrong or expired. Run /mcp to reconnect.
404 on first messageWrong model id. Run /mcp and enter an id the endpoint serves.
Provider not in chip after saveUpgrade to v0.7.6+ (fixed: pushState now fires after save).

Mix & Match — Switch Mid-Chat

Every provider chip is live. Click a different one at any time — the session tears down, a fresh one spawns, and prior messages replay automatically.

Claude for design, Ollama for implementation — sketch the approach on Claude, switch to Ollama for free iterations.

OpenRouter when Claude is rate-limited — flip the chip when you hit Claude's daily limit.

Kilo for edits, Qwen for refactors — the Kilo auto-router handles small patches; swap to Qwen for thinking-heavy rewrites.

FAQ

Do I need a credit card?

No. Claude and OpenAI Codex require paid credit, but Kilo, OpenRouter, Ollama, Gemini, and HuggingFace all have free tiers with no card required.

Which is the "always works" option?

Ollama. It's on your own machine — no rate limits, no account flagging, no API outages.

Which free model stays responsive?

For quick work: Nemotron 3 Super 120B or GPT-OSS on OpenRouter. For heavy tasks: Ollama local.

Where are my keys stored?

In your OS secure keychain (Keychain on macOS, Credential Manager on Windows, libsecret on Linux). Never in settings.json.