diff --git a/site/public/docs/claude-code-models.html b/site/public/docs/claude-code-models.html index e027e6b23..d0fe2eb37 100644 --- a/site/public/docs/claude-code-models.html +++ b/site/public/docs/claude-code-models.html @@ -251,7 +251,7 @@ magpie claude codex/gpt-5.5

The routing modes are in Get started.

-

By provider: DeepSeek · Kimi and Kimi Code · GLM Coding Plan

+

By provider: DeepSeek · Kimi and Kimi Code · GLM Coding Plan · Qwen · MiniMax

FAQ

Do I set ANTHROPIC_BASE_URL myself?

diff --git a/site/public/docs/codex-models.html b/site/public/docs/codex-models.html index 794722163..c632c5cde 100644 --- a/site/public/docs/codex-models.html +++ b/site/public/docs/codex-models.html @@ -251,7 +251,7 @@ magpie codex claude/…

The routing modes are in Get started.

-

By provider: DeepSeek · Kimi and Kimi Code · GLM Coding Plan

+

By provider: DeepSeek · Kimi and Kimi Code · GLM Coding Plan · Qwen · MiniMax

FAQ

Do I write [model_providers] myself?

diff --git a/site/public/docs/gemini-cli-models.html b/site/public/docs/gemini-cli-models.html index 5d265628b..8d81234d4 100644 --- a/site/public/docs/gemini-cli-models.html +++ b/site/public/docs/gemini-cli-models.html @@ -235,7 +235,7 @@ magpie gemini model codex/gpt-5.5

The routing modes and rules are in Get started.

-

By provider: DeepSeek · Kimi and Kimi Code · GLM Coding Plan

+

By provider: DeepSeek · Kimi and Kimi Code · GLM Coding Plan · Qwen · MiniMax

FAQ

Can Gemini CLI use models that aren’t Gemini?

diff --git a/site/public/docs/ja/claude-code-models.html b/site/public/docs/ja/claude-code-models.html index b3f1f6d7d..ccd77a9cc 100644 --- a/site/public/docs/ja/claude-code-models.html +++ b/site/public/docs/ja/claude-code-models.html @@ -251,7 +251,7 @@ magpie claude codex/gpt-5.5

ルーティングモードははじめにで説明しています。

-

プロバイダ別:DeepSeek · Kimi と Kimi Code · GLM Coding Plan

+

プロバイダ別:DeepSeek · Kimi と Kimi Code · GLM Coding Plan · Qwen · MiniMax

よくある質問

ANTHROPIC_BASE_URL は自分で設定しますか?

diff --git a/site/public/docs/ja/codex-models.html b/site/public/docs/ja/codex-models.html index bd9f8dbf5..1488f1f01 100644 --- a/site/public/docs/ja/codex-models.html +++ b/site/public/docs/ja/codex-models.html @@ -251,7 +251,7 @@ magpie codex claude/…

ルーティングモードははじめにで説明しています。

-

プロバイダ別:DeepSeek · Kimi と Kimi Code · GLM Coding Plan

+

プロバイダ別:DeepSeek · Kimi と Kimi Code · GLM Coding Plan · Qwen · MiniMax

よくある質問

[model_providers] は自分で書きますか?

diff --git a/site/public/docs/ja/gemini-cli-models.html b/site/public/docs/ja/gemini-cli-models.html index 32cf29fc0..61f9daf32 100644 --- a/site/public/docs/ja/gemini-cli-models.html +++ b/site/public/docs/ja/gemini-cli-models.html @@ -235,7 +235,7 @@ magpie gemini model codex/gpt-5.5

ルーティングモードとルールははじめにで説明しています。

-

プロバイダ別:DeepSeek · Kimi と Kimi Code · GLM Coding Plan

+

プロバイダ別:DeepSeek · Kimi と Kimi Code · GLM Coding Plan · Qwen · MiniMax

よくある質問

Gemini CLI で Gemini 以外のモデルを使えますか?

diff --git a/site/public/docs/ja/minimax.html b/site/public/docs/ja/minimax.html new file mode 100644 index 000000000..e78fc8a99 --- /dev/null +++ b/site/public/docs/ja/minimax.html @@ -0,0 +1,287 @@ + + + + + +MiniMax と Coding Plan を Claude Code・Codex・Gemini CLI・OpenCode で使う · magpie + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+

ドキュメント · プロバイダ

+

MiniMax と Coding Plan を Claude Code・Codex・Gemini CLI・OpenCode で使う

+

MiniMax は OpenAI 互換の Chat API と Anthropic 互換の API を、国際版と中国版のサイトで、従量課金と Coding Plan のどちらのキーにも提供しています。キーを magpie に一度追加すれば、Claude Code・Codex・Gemini CLI・OpenCode などつないだすべてのツールが、magpie のゲートウェイ 127.0.0.1:3425 経由で MiniMax-M3 や MiniMax-M2.7 などのモデルを使えます。

+ +

MiniMax を追加する

+
    +
  1. キーを取得platform.minimax.io で作ります(中国版は platform.minimaxi.com)。Coding Plan のキーは sk-cp- で始まります。
  2. +
  3. プロバイダを追加magpie の プロバイダ で + プロバイダを追加 を押し、MiniMax か MiniMax (China) を選んでキーを貼り付け、保存します。従量課金のキーも Coding Plan のキーも同じ手順です。
  4. +
  5. ツールで選ぶエージェント タブで、ツールの行の MiniMax モデルを選びます。
  6. +
+
ターミナル
magpie provider add minimax sk-…        # platform.minimax.io
+magpie provider add minimax-cn sk-cp-…  # Coding Plan、platform.minimaxi.com
+ +

プランとエンドポイント

+
+ + + +
プリセットサイトChat CompletionsAnthropic Messages
MiniMax minimaxplatform.minimax.io(国際)https://api.minimax.io/v1https://api.minimax.io/anthropic
MiniMax (China) minimax-cnplatform.minimaxi.com(中国)https://api.minimaxi.com/v1https://api.minimaxi.com/anthropic
+

Coding Plan も従量課金と同じエンドポイントを使い、どちらで課金されるかはキーで決まります。国際版と中国版は別のアカウントなので、キーはそれぞれのサイトのプリセットに入れます。

+ +

ツールごとの使い方

+

エージェント タブで各ツールの行のモデルをクリックして選ぶか、ターミナルで選びます。各ガイドに、magpie がそのツールの設定に何を書くか、どう元に戻すかがあります。

+
ターミナル
magpie claude minimax/MiniMax-M3
+magpie codex minimax/MiniMax-M3
+magpie gemini model minimax/MiniMax-M2.7
+magpie opencode minimax/MiniMax-M3
+ +

MiniMax Code も magpie がつなぐエージェントの一つで、その行では MiniMax のモデルも他社のモデルも選べます。

+ +

思考と推論レベル

+ + +

Coding Plan のウィンドウと使用量

+ + +

よくある質問

+

Claude Code で MiniMax M2.7 や M3 を使うには?

+

magpie に MiniMax のキーを追加し(プロバイダ → プロバイダを追加 → MiniMax か MiniMax (China))、Claude Code の行で MiniMax-M3 などのモデルを選ぶか、magpie claude minimax/MiniMax-M3 を実行します。magpie が Claude Code の settings.json を書き、リクエストを MiniMax の Anthropic エンドポイント https://api.minimax.io/anthropic に渡します。

+

MiniMax Coding Plan はどう使いますか?

+

Coding Plan のキー(sk-cp-…)を、購入したサイトの MiniMax プリセットに従量課金のキーと同じように追加します。magpie は MiniMax がそのキーについて返す情報で両者を見分け、Coding Plan のキーの行に使用量ウィンドウを表示します。

+

Codex で MiniMax を使えますか?

+

使えます。MiniMax は Chat Completions と Anthropic Messages を提供し、Responses は提供していないので、magpie が Codex のリクエストと MiniMax の返答を変換します。Codex の行で選ぶか magpie codex minimax/MiniMax-M3 を実行すると、Codex の /model に並びます。

+

MiniMax Code で他のモデルを使えますか?

+

使えます。MiniMax Code は magpie がつなぐエージェントの一つなので、エージェント タブのその行で、追加したどのモデルでも選べます。

+

MiniMax の思考が本文に出るのはなぜ?

+

MiniMax の Chat API はモデルの思考を返答本文の <think> タグに入れて返します。magpie はそれを取り出して思考としてツールに渡し、次のターンからは MiniMax が求める位置に戻します。

+

MiniMax のキーを複数使えますか?

+

使えます。すべて MiniMax プロバイダに追加してそれぞれにチェックを入れます。magpie はリクエストを分散し、Coding Plan のキーはウィンドウで重みづけして、使い切ったキーはリセットまで休ませます。

+ +

ツールごとのガイド:Claude Code で他のモデル、Codex で他のモデル、Gemini CLI で他のモデル、OpenCode で他のモデル。困ったときは Discord で質問してください。

+
+
+ + + + + + + diff --git a/site/public/docs/ja/opencode-models.html b/site/public/docs/ja/opencode-models.html index c3da26e6a..c69f344d4 100644 --- a/site/public/docs/ja/opencode-models.html +++ b/site/public/docs/ja/opencode-models.html @@ -239,7 +239,7 @@ magpie visible opencode all # すべてに戻す
ターミナル
magpie opencode default

magpie を使う前の model と small_model が戻り、magpie プロバイダがファイルから取り除かれます。

-

プロバイダ別:DeepSeek · Kimi と Kimi Code · GLM Coding Plan

+

プロバイダ別:DeepSeek · Kimi と Kimi Code · GLM Coding Plan · Qwen · MiniMax

よくある質問

OpenCode で DeepSeek を使うには?

diff --git a/site/public/docs/ja/qwen.html b/site/public/docs/ja/qwen.html new file mode 100644 index 000000000..2b088d492 --- /dev/null +++ b/site/public/docs/ja/qwen.html @@ -0,0 +1,280 @@ + + + + + +Qwen を Claude Code・Codex・Gemini CLI・OpenCode で使う · magpie + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+

ドキュメント · プロバイダ

+

Qwen を Claude Code・Codex・Gemini CLI・OpenCode で使う

+

Alibaba は Qwen を DashScope で提供しています。Alibaba Cloud Model Studio、百炼、Qwen Cloud があり、従量課金と Token Plan があります。どれも OpenAI Chat Completions と Anthropic Messages を話します。キーを magpie に一度追加すれば、Claude Code・Codex・Gemini CLI・OpenCode などつないだすべてのツールが、magpie のゲートウェイ 127.0.0.1:3425 経由で Qwen を使えます。

+ +

Qwen を追加する

+
    +
  1. キーを取得従量課金は Model Studio(国際版)か 百炼(中国)で作ります。Token Plan のキーはそれぞれのプランのページで作ります。
  2. +
  3. プロバイダを追加magpie の プロバイダ で + プロバイダを追加 を押し、キーを作ったサイトの Qwen プリセット(下の表)を選んでキーを貼り付け、保存します。magpie がエンドポイントに提供モデルを問い合わせます。
  4. +
  5. ツールで選ぶエージェント タブで、ツールの行の qwen3.8-max などの Qwen モデルを選びます。
  6. +
+
ターミナル
magpie provider add qwen sk-…                     # Model Studio(国際版)
+magpie provider add qwen-cn sk-…                  # 百炼(中国)
+magpie provider add qwen-token-plan sk-sp-…       # Qwen Token Plan
+magpie provider add qwencloud sk-ws-… region=us-east-1
+
キーは自分のホストでしか使えません。Token Plan のキー(sk-sp-…)は従量課金のエンドポイントでも他の Token Plan でも断られ、Qwen Cloud のキーは自分のリージョンの外では断られます。401 が返ったら、キーを作ったサイトのプリセットに入れたか確かめてください。
+ +

プランとエンドポイント

+
+ + + + + + + +
プリセットプランとキーエンドポイント(Chat Completions、Anthropic Messages)
Qwen qwen従量課金、国際版(Model Studio)https://dashscope-intl.aliyuncs.com/compatible-mode/v1
https://dashscope-intl.aliyuncs.com/apps/anthropic
Qwen (China) qwen-cn従量課金、中国(百炼)https://dashscope.aliyuncs.com/compatible-mode/v1
https://dashscope.aliyuncs.com/apps/anthropic
Qwen Token Plan qwen-token-planサブスクリプション、sk-sp-https://token-plan.maas.qianwenaiapi.com/compatible-mode/v1
https://token-plan.maas.qianwenaiapi.com/apps/anthropic
Bailian Token Plan bailian-token-planサブスクリプション、sk-sp-https://token-plan.cn-beijing.maas.aliyuncs.com/compatible-mode/v1
https://token-plan.cn-beijing.maas.aliyuncs.com/apps/anthropic
Qwen Cloud qwencloud従量課金、sk-ws-、6 リージョン、既定はシンガポールhttps://{region}.maas.qwencloudapi.com/compatible-mode/v1
https://{region}.maas.qwencloudapi.com/apps/anthropic
Qwen Cloud Token Plan qwencloud-token-planサブスクリプション、sk-sp-、シンガポールのみhttps://token-plan.maas.qwencloudapi.com/compatible-mode/v1
https://token-plan.maas.qwencloudapi.com/apps/anthropic
+

Token Plan のホストがモデル一覧を返さないとき、magpie はプラン概要にあるテキストモデル(auto, qwen3.8-max, qwen3.8-flash, qwen3.7-max, qwen3.7-plus, qwen3.6-flash、それにプランに含まれる DeepSeek と GLM のモデル)を出します。百炼 Token Plan は、意図ルーティングでターンを振り分ける判定モデルも提供しています。

+ +

ツールごとの使い方

+

エージェント タブで各ツールの行のモデルをクリックして選ぶか、ターミナルで選びます。各ガイドに、magpie がそのツールの設定に何を書くか、どう元に戻すかがあります。

+
ターミナル
magpie claude qwen/qwen3.8-max
+magpie codex qwen/qwen3.8-max
+magpie gemini model qwen/qwen3.7-plus
+magpie opencode qwen/qwen3.8-max
+ +

Qwen Code も magpie がつなぐエージェントの一つで、その行では Qwen のモデルも他社のモデルも選べます。

+ +

思考と画像

+ + +

残高と使用量

+

magpie は Qwen の残高やプランのカードを表示しません。DashScope にはキーの残高を読む API がなく、どちらの Token Plan にもクレジットを読む API がないためです(クレジットは Alibaba のコンソールのサブスクリプションページにあります)。使用量 タブは、magpie を通った各ツールとモデルのトークン、キャッシュヒット、費用を数えます。

+ +

よくある質問

+

Claude Code で Qwen を使うには?

+

magpie にキーを追加し(プロバイダ → プロバイダを追加 → キーを作ったサイトの Qwen プリセット)、Claude Code の行で qwen3.8-max などの Qwen モデルを選ぶか、magpie claude qwen/qwen3.8-max を実行します。magpie が Claude Code の settings.json を書き、リクエストを DashScope の Anthropic エンドポイントに渡します。

+

Codex で Qwen(Qwen3 Coder も)を使えますか?

+

使えます。magpie は DashScope がそのキーに出すモデルを Coder モデルも含めて一覧にし、Codex はどれでも使えます。Codex の Responses リクエストを magpie が Chat Completions に変換し、返答も戻します。Codex の行で選ぶか magpie codex qwen/qwen3.8-max を実行すると、Codex の /model に並びます。

+

キーはどのプリセットに入れればいいですか?

+

キーを作ったサイトのプリセットです。Token Plan のキー(sk-sp-…)はそのプランのホストでしか使えず、Qwen Cloud の従量課金キー(sk-ws-…)は自分のリージョンでしか使えないので、別のプリセットに入れると 401 で断られます。

+

Qwen Code で他のモデルを使えますか?

+

使えます。Qwen Code は magpie がつなぐエージェントの一つなので、エージェント タブのその行で、追加したどのモデルでも選べます。

+

Token Plan の残りクレジットは表示されますか?

+

されません。どちらの Token Plan にもクレジットを読む API がなく、Alibaba のコンソールのサブスクリプションページに表示されます。magpie の使用量タブは、各ツールが使ったトークンを数えます。

+ +

ツールごとのガイド:Claude Code で他のモデル、Codex で他のモデル、Gemini CLI で他のモデル、OpenCode で他のモデル。困ったときは Discord で質問してください。

+
+
+ + + + + + + diff --git a/site/public/docs/minimax.html b/site/public/docs/minimax.html new file mode 100644 index 000000000..b230101b1 --- /dev/null +++ b/site/public/docs/minimax.html @@ -0,0 +1,287 @@ + + + + + +MiniMax and the MiniMax Coding Plan in Claude Code, Codex, Gemini CLI and OpenCode · magpie + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+

Docs · Provider

+

MiniMax and the MiniMax Coding Plan in Claude Code, Codex, Gemini CLI and OpenCode

+

MiniMax serves an OpenAI-compatible Chat API and an Anthropic-compatible one, on a global site and a China site, for pay-as-you-go keys and Coding Plan keys alike. Add your key to magpie once, and Claude Code, Codex, Gemini CLI, OpenCode and every other agent you connect can use models such as MiniMax-M3 and MiniMax-M2.7 through magpie’s gateway at 127.0.0.1:3425.

+ +

Add MiniMax

+
    +
  1. Get a keyCreate one at platform.minimax.io, or platform.minimaxi.com for the China site. A Coding Plan key starts with sk-cp-.
  2. +
  3. Add the providerIn magpie’s Providers tab, press + Add provider, pick MiniMax or MiniMax (China), paste the key and save. A pay-as-you-go key and a Coding Plan key go in the same way.
  4. +
  5. Pick it for an agentIn the Agents tab, click the model on the agent’s row and choose a MiniMax model.
  6. +
+
Terminal
magpie provider add minimax sk-…        # platform.minimax.io
+magpie provider add minimax-cn sk-cp-…  # Coding Plan, platform.minimaxi.com
+ +

Plans and endpoints

+
+ + + +
PresetSiteChat CompletionsAnthropic Messages
MiniMax minimaxplatform.minimax.iohttps://api.minimax.io/v1https://api.minimax.io/anthropic
MiniMax (China) minimax-cnplatform.minimaxi.comhttps://api.minimaxi.com/v1https://api.minimaxi.com/anthropic
+

The Coding Plan uses the same endpoints as pay as you go; the key decides which one a request is billed to. A global key and a China key are different accounts, so each goes under its own site’s preset.

+ +

In each agent

+

Pick the model on an agent’s row in the Agents tab, or from a terminal. Each guide says what magpie writes in that agent’s config and how to switch back.

+
Terminal
magpie claude minimax/MiniMax-M3
+magpie codex minimax/MiniMax-M3
+magpie gemini model minimax/MiniMax-M2.7
+magpie opencode minimax/MiniMax-M3
+ +

MiniMax Code is one of the agents magpie connects too: its row takes MiniMax’s models or any other vendor’s.

+ +

Thinking and effort

+ + +

Coding Plan windows and usage

+ + +

FAQ

+

How do I use MiniMax M2.7 or M3 in Claude Code?

+

Add your MiniMax key in magpie (Providers, Add provider, MiniMax or MiniMax (China)), then pick a model such as MiniMax-M3 on Claude Code’s row, or run magpie claude minimax/MiniMax-M3. magpie writes Claude Code’s settings.json and passes its requests to MiniMax’s Anthropic endpoint, https://api.minimax.io/anthropic.

+

How do I use the MiniMax Coding Plan?

+

Add the Coding Plan key (sk-cp-…) to the MiniMax preset of the site you bought it on, the same as a pay-as-you-go key. magpie tells the two apart by what MiniMax says about the key, and shows a Coding Plan key’s usage windows on its row.

+

Can Codex use MiniMax?

+

Yes. MiniMax serves Chat Completions and Anthropic Messages but not Responses, so magpie translates Codex’s requests and MiniMax’s replies. Pick the model on Codex’s row or run magpie codex minimax/MiniMax-M3; it shows in Codex’s /model list.

+

Can MiniMax Code use other models?

+

Yes. MiniMax Code is one of the agents magpie connects, so its row in the Agents tab takes any model you have added, MiniMax’s or another vendor’s.

+

Why does MiniMax’s thinking show up in the text?

+

MiniMax’s Chat API puts a model’s thinking in the reply text between <think> tags. magpie takes it out and gives it to the agent as thinking, then puts it back on the next turns, where MiniMax wants it.

+

Can I use several MiniMax keys?

+

Yes. Add them all to the MiniMax provider and tick each one. magpie spreads requests over them, and weighs and rests Coding Plan keys by their windows, so a key that has used up its window sits out until it resets.

+ +

Every agent: Models in Claude Code, Models in Codex, Models in Gemini CLI, Models in OpenCode. Ask on Discord if you get stuck.

+
+
+ + + + + + + diff --git a/site/public/docs/opencode-models.html b/site/public/docs/opencode-models.html index 7cd953987..f95a1b76a 100644 --- a/site/public/docs/opencode-models.html +++ b/site/public/docs/opencode-models.html @@ -239,7 +239,7 @@ magpie visible opencode all # every model again
Terminal
magpie opencode default

It puts back the model and small_model OpenCode had before magpie, and takes the magpie provider out of the file.

-

By provider: DeepSeek · Kimi and Kimi Code · GLM Coding Plan

+

By provider: DeepSeek · Kimi and Kimi Code · GLM Coding Plan · Qwen · MiniMax

FAQ

How do I use DeepSeek in OpenCode?

diff --git a/site/public/docs/qwen.html b/site/public/docs/qwen.html new file mode 100644 index 000000000..7ac8fdd6e --- /dev/null +++ b/site/public/docs/qwen.html @@ -0,0 +1,290 @@ + + + + + +Qwen in Claude Code, Codex, Gemini CLI and OpenCode · magpie + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+

Docs · Provider

+

Qwen in Claude Code, Codex, Gemini CLI and OpenCode

+

Alibaba serves Qwen through DashScope, on Alibaba Cloud Model Studio, Bailian and Qwen Cloud, pay as you go or on a Token Plan. Every one of them speaks OpenAI Chat Completions and Anthropic Messages. Add your key to magpie once, and Claude Code, Codex, Gemini CLI, OpenCode and every other agent you connect can use Qwen through magpie’s gateway at 127.0.0.1:3425.

+ +

Add Qwen

+
    +
  1. Get a keyPay as you go: Model Studio (international) or Bailian (China). A Token Plan’s key comes from its own plan page.
  2. +
  3. Add the providerIn magpie’s Providers tab, press + Add provider, pick the Qwen preset your key is from (the table below), paste the key and save. magpie asks the endpoint which models it serves.
  4. +
  5. Pick it for an agentIn the Agents tab, click the model on the agent’s row and choose a Qwen model such as qwen3.8-max.
  6. +
+
Terminal
magpie provider add qwen sk-…                     # Model Studio, international
+magpie provider add qwen-cn sk-…                  # Bailian, China
+magpie provider add bailian-token-plan sk-sp-…    # Bailian Token Plan
+magpie provider add qwencloud sk-ws-… region=us-east-1
+
Each key works on its own host only. A Token Plan key (sk-sp-…) is refused by pay-as-you-go endpoints and by the other Token Plans, and a Qwen Cloud key is refused outside its region. If a request comes back 401, check that the key sits under the preset it was made for.
+ +

Plans and endpoints

+
+ + + + + + + +
PresetPlan and keyEndpoints (Chat Completions, Anthropic Messages)
Qwen qwenpay as you go, international (Model Studio)https://dashscope-intl.aliyuncs.com/compatible-mode/v1
https://dashscope-intl.aliyuncs.com/apps/anthropic
Qwen (China) qwen-cnpay as you go, China (Bailian)https://dashscope.aliyuncs.com/compatible-mode/v1
https://dashscope.aliyuncs.com/apps/anthropic
Qwen Token Plan qwen-token-plansubscription, sk-sp-https://token-plan.maas.qianwenaiapi.com/compatible-mode/v1
https://token-plan.maas.qianwenaiapi.com/apps/anthropic
Bailian Token Plan bailian-token-plansubscription, sk-sp-https://token-plan.cn-beijing.maas.aliyuncs.com/compatible-mode/v1
https://token-plan.cn-beijing.maas.aliyuncs.com/apps/anthropic
Qwen Cloud qwencloudpay as you go, sk-ws-, six regions, Singapore the defaulthttps://{region}.maas.qwencloudapi.com/compatible-mode/v1
https://{region}.maas.qwencloudapi.com/apps/anthropic
Qwen Cloud Token Plan qwencloud-token-plansubscription, sk-sp-, Singaporehttps://token-plan.maas.qwencloudapi.com/compatible-mode/v1
https://token-plan.maas.qwencloudapi.com/apps/anthropic
+

When a Token Plan’s host gives no model list, magpie offers the plan’s text models as its overview lists them: auto, qwen3.8-max, qwen3.8-flash, qwen3.7-max, qwen3.7-plus, qwen3.6-flash, and the DeepSeek and GLM models the plan includes. The Bailian Token Plan also serves a decision model that can classify turns for intent routing.

+ +

In each agent

+

Pick the model on an agent’s row in the Agents tab, or from a terminal. Each guide says what magpie writes in that agent’s config and how to switch back.

+
Terminal
magpie claude qwen/qwen3.8-max
+magpie codex qwen/qwen3.8-max
+magpie gemini model qwen/qwen3.7-plus
+magpie opencode qwen/qwen3.8-max
+ +

Qwen Code is one of the agents magpie connects too: its row takes Qwen’s models or any other vendor’s.

+ +

Thinking and images

+ + +

Balance and usage

+

magpie shows no balance or plan card for Qwen: DashScope has no API for a key’s balance, and neither Token Plan has one for its credits, which the plan’s subscription page in Alibaba’s console shows. The Usage tab counts tokens, cache hits and cost for each agent and model that went through magpie.

+ +

FAQ

+

How do I use Qwen in Claude Code?

+

Add your key in magpie (Providers, Add provider, then the Qwen preset your key is from), then pick a Qwen model such as qwen3.8-max on Claude Code’s row, or run magpie claude qwen/qwen3.8-max. magpie writes Claude Code’s settings.json and passes its requests to DashScope’s Anthropic endpoint.

+

Can Codex use Qwen, Qwen3 Coder included?

+

Yes. magpie lists the models DashScope gives your key, coder models included, and Codex can use any of them: magpie translates Codex’s Responses requests to Chat Completions and the replies back. Pick the model on Codex’s row or run magpie codex qwen/qwen3.8-max; it shows in Codex’s /model list.

+

Which preset do I pick for my key?

+

The one whose site the key is from. A Token Plan key (sk-sp-…) works only on its own plan’s host, and a Qwen Cloud pay-as-you-go key (sk-ws-…) only in its own region, so a key added to another preset is turned away with 401.

+

Can Qwen Code use other models?

+

Yes. Qwen Code is one of the agents magpie connects, so its row in the Agents tab takes any model you have added, Qwen’s or another vendor’s.

+

Why does a Qwen request without streaming work in magpie?

+

DashScope turns away a thinking Qwen model asked for one whole reply (enable_thinking must be false for non-streaming calls). magpie asks for it streamed and hands the agent the whole reply, thinking included.

+

Does magpie show my Token Plan credits?

+

No. Neither Token Plan has an API for its credits; the plan’s subscription page in Alibaba’s console shows them. magpie’s Usage tab still counts the tokens each agent spent.

+ +

Every agent: Models in Claude Code, Models in Codex, Models in Gemini CLI, Models in OpenCode. Ask on Discord if you get stuck.

+
+
+ + + + + + + diff --git a/site/public/docs/zh/claude-code-models.html b/site/public/docs/zh/claude-code-models.html index 9aff86b4b..7b2cc03b5 100644 --- a/site/public/docs/zh/claude-code-models.html +++ b/site/public/docs/zh/claude-code-models.html @@ -251,7 +251,7 @@ magpie claude codex/gpt-5.5

各种路由方式见 快速上手。

-

按供应商:DeepSeek · Kimi 与 Kimi Code · GLM 编程套餐

+

按供应商:DeepSeek · Kimi 与 Kimi Code · GLM 编程套餐 · 通义千问 · MiniMax

常见问题

需要自己设置 ANTHROPIC_BASE_URL 吗?

diff --git a/site/public/docs/zh/codex-models.html b/site/public/docs/zh/codex-models.html index 10ea8c5ed..364c11b89 100644 --- a/site/public/docs/zh/codex-models.html +++ b/site/public/docs/zh/codex-models.html @@ -251,7 +251,7 @@ magpie codex claude/…

各种路由方式见 快速上手。

-

按供应商:DeepSeek · Kimi 与 Kimi Code · GLM 编程套餐

+

按供应商:DeepSeek · Kimi 与 Kimi Code · GLM 编程套餐 · 通义千问 · MiniMax

常见问题

需要自己写 [model_providers] 吗?

diff --git a/site/public/docs/zh/gemini-cli-models.html b/site/public/docs/zh/gemini-cli-models.html index 0de388868..b2b3de051 100644 --- a/site/public/docs/zh/gemini-cli-models.html +++ b/site/public/docs/zh/gemini-cli-models.html @@ -235,7 +235,7 @@ magpie gemini model codex/gpt-5.5

路由方式和规则详见 快速上手。

-

按供应商:DeepSeek · Kimi 与 Kimi Code · GLM 编程套餐

+

按供应商:DeepSeek · Kimi 与 Kimi Code · GLM 编程套餐 · 通义千问 · MiniMax

常见问题

Gemini CLI 能用 Gemini 以外的模型吗?

diff --git a/site/public/docs/zh/minimax.html b/site/public/docs/zh/minimax.html new file mode 100644 index 000000000..1fdb77c8d --- /dev/null +++ b/site/public/docs/zh/minimax.html @@ -0,0 +1,287 @@ + + + + + +MiniMax 与编程套餐接入 Claude Code、Codex、Gemini CLI 和 OpenCode · magpie + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+

文档 · 供应商

+

MiniMax 与编程套餐接入 Claude Code、Codex、Gemini CLI 和 OpenCode

+

MiniMax 提供兼容 OpenAI 的 Chat API 和兼容 Anthropic 的接口,有国际站和国内站,按量付费和编程套餐的 Key 都能用。在 magpie 里添加一次 Key,Claude Code、Codex、Gemini CLI、OpenCode 以及你接入的其他工具都能通过 magpie 的本地网关 127.0.0.1:3425 用上 MiniMax-M3、MiniMax-M2.7 等模型。

+ +

添加 MiniMax

+
    +
  1. 拿到 Key国内在 platform.minimaxi.com 创建,国际站在 platform.minimax.io。编程套餐的 Key 以 sk-cp- 开头。
  2. +
  3. 添加供应商在 magpie 的 供应商 页点 + 添加供应商,选 MiniMax (China) 或 MiniMax,粘贴 Key 并保存。按量付费和编程套餐的 Key 都这样添加。
  4. +
  5. 给工具选上在 Agent 页点工具那一行的模型,选一个 MiniMax 模型。
  6. +
+
终端
magpie provider add minimax-cn sk-cp-…  # 编程套餐,platform.minimaxi.com
+magpie provider add minimax sk-…        # 国际站,platform.minimax.io
+ +

套餐与接口地址

+
+ + + +
预设平台Chat CompletionsAnthropic Messages
MiniMax minimaxplatform.minimax.io(国际)https://api.minimax.io/v1https://api.minimax.io/anthropic
MiniMax (China) minimax-cnplatform.minimaxi.com(国内)https://api.minimaxi.com/v1https://api.minimaxi.com/anthropic
+

编程套餐和按量付费用的是同一组接口地址,请求按哪种计费由 Key 决定。国际站和国内站是不同的账号,各自的 Key 放在各自站点的预设下。

+ +

在各个工具里用

+

在 Agent 页里点某个工具那一行的模型来选,或者在终端里选。每篇指南都写了 magpie 在那个工具的配置里改了什么、怎么换回去。

+
终端
magpie claude minimax-cn/MiniMax-M3
+magpie codex minimax-cn/MiniMax-M3
+magpie gemini model minimax-cn/MiniMax-M2.7
+magpie opencode minimax-cn/MiniMax-M3
+ +

MiniMax Code 也是 magpie 支持的工具:它那一行可以选 MiniMax 的模型,也可以选其他厂商的。

+ +

思考与推理强度

+ + +

编程套餐窗口与用量

+ + +

常见问题

+

MiniMax 怎么接入 Claude Code?

+

在 magpie 里添加 MiniMax 的 Key(供应商 → 添加供应商 → MiniMax (China) 或 MiniMax),然后在 Claude Code 那一行选一个模型,比如 MiniMax-M3,或者运行 magpie claude minimax-cn/MiniMax-M3。magpie 会写好 Claude Code 的 settings.json,把请求转给 MiniMax 的 Anthropic 接口 https://api.minimaxi.com/anthropic。

+

MiniMax 编程套餐怎么用?

+

把编程套餐的 Key(sk-cp- 开头)添加到你购买套餐那个站点的 MiniMax 预设下,和按量付费的 Key 一样。magpie 根据 MiniMax 对这个 Key 的答复区分两者,并在编程套餐 Key 那一行显示用量窗口。

+

Codex 能用 MiniMax 吗?

+

能。MiniMax 提供 Chat Completions 和 Anthropic Messages,不提供 Responses,所以 magpie 会转换 Codex 的请求和 MiniMax 的回复。在 Codex 那一行选模型,或运行 magpie codex minimax-cn/MiniMax-M3,模型会出现在 Codex 的 /model 里。

+

MiniMax Code 能用其他模型吗?

+

能。MiniMax Code 是 magpie 支持的工具之一,在 Agent 页它那一行可以选你添加的任何模型,MiniMax 的或其他厂商的都行。

+

为什么 MiniMax 的思考出现在正文里?

+

MiniMax 的 Chat API 把模型的思考放在回复正文的 <think> 标签里。magpie 把它取出来作为思考交给工具,在之后的轮次再按 MiniMax 要求的方式放回去。

+

能用多个 MiniMax Key 吗?

+

能。把它们都添加到 MiniMax 供应商下并逐个勾选。magpie 会把请求分摊到这些 Key 上,并按编程套餐 Key 的窗口来分配和让它休息:用完窗口的 Key 会等到重置后再用。

+ +

各个工具的指南:Claude Code 接入其他模型、Codex 接入其他模型、Gemini CLI 接入其他模型、OpenCode 接入其他模型。遇到问题可以在 Discord 提问。

+
+
+ + + + + + + diff --git a/site/public/docs/zh/opencode-models.html b/site/public/docs/zh/opencode-models.html index a34b8c7e9..65144574f 100644 --- a/site/public/docs/zh/opencode-models.html +++ b/site/public/docs/zh/opencode-models.html @@ -239,7 +239,7 @@ magpie visible opencode all # 恢复显示全部
终端
magpie opencode default

它会恢复接入 magpie 之前的 model 和 small_model,并把 magpie 供应商从文件里删掉。

-

按供应商:DeepSeek · Kimi 与 Kimi Code · GLM 编程套餐

+

按供应商:DeepSeek · Kimi 与 Kimi Code · GLM 编程套餐 · 通义千问 · MiniMax

常见问题

OpenCode 怎么用 DeepSeek?

diff --git a/site/public/docs/zh/qwen.html b/site/public/docs/zh/qwen.html new file mode 100644 index 000000000..e14e631f8 --- /dev/null +++ b/site/public/docs/zh/qwen.html @@ -0,0 +1,290 @@ + + + + + +通义千问 Qwen 接入 Claude Code、Codex、Gemini CLI 和 OpenCode · magpie + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+

文档 · 供应商

+

通义千问 Qwen 接入 Claude Code、Codex、Gemini CLI 和 OpenCode

+

阿里通过 DashScope 提供通义千问,有阿里云百炼、Model Studio 国际站和 Qwen Cloud,按量付费或 Token Plan 套餐。它们都提供 OpenAI Chat Completions 和 Anthropic Messages 接口。在 magpie 里添加一次 Key,Claude Code、Codex、Gemini CLI、OpenCode 以及你接入的其他工具都能通过 magpie 的本地网关 127.0.0.1:3425 用上千问。

+ +

添加千问

+
    +
  1. 拿到 Key按量付费:国内在 百炼控制台,国际站在 Model Studio。Token Plan 的 Key 在各自套餐页里创建。
  2. +
  3. 添加供应商在 magpie 的 供应商 页点 + 添加供应商,选 Key 所属的 Qwen 预设(见下表),粘贴 Key 并保存。magpie 会向接口查询它提供哪些模型。
  4. +
  5. 给工具选上在 Agent 页点工具那一行的模型,选一个千问模型,比如 qwen3.8-max。
  6. +
+
终端
magpie provider add qwen-cn sk-…                  # 百炼,国内
+magpie provider add bailian-token-plan sk-sp-…    # 百炼 Token Plan
+magpie provider add qwen-token-plan sk-sp-…       # 千问 AI 开放平台 Token Plan
+magpie provider add qwencloud sk-ws-… region=us-east-1
+
每种 Key 只能用在自己的地址。Token Plan 的 Key(sk-sp-…)在按量付费接口和别的 Token Plan 上都会被拒绝,Qwen Cloud 的 Key 出了自己的地域也会被拒绝。请求返回 401 时,先看看 Key 是不是放在了它所属的预设下。
+ +

套餐与接口地址

+
+ + + + + + + +
预设套餐与 Key接口地址(Chat Completions、Anthropic Messages)
Qwen qwen按量付费,国际站(Model Studio)https://dashscope-intl.aliyuncs.com/compatible-mode/v1
https://dashscope-intl.aliyuncs.com/apps/anthropic
Qwen (China) qwen-cn按量付费,国内(百炼)https://dashscope.aliyuncs.com/compatible-mode/v1
https://dashscope.aliyuncs.com/apps/anthropic
Qwen Token Plan qwen-token-plan订阅套餐,sk-sp-https://token-plan.maas.qianwenaiapi.com/compatible-mode/v1
https://token-plan.maas.qianwenaiapi.com/apps/anthropic
Bailian Token Plan bailian-token-plan订阅套餐,sk-sp-https://token-plan.cn-beijing.maas.aliyuncs.com/compatible-mode/v1
https://token-plan.cn-beijing.maas.aliyuncs.com/apps/anthropic
Qwen Cloud qwencloud按量付费,sk-ws-,六个地域,默认新加坡https://{region}.maas.qwencloudapi.com/compatible-mode/v1
https://{region}.maas.qwencloudapi.com/apps/anthropic
Qwen Cloud Token Plan qwencloud-token-plan订阅套餐,sk-sp-,仅新加坡https://token-plan.maas.qwencloudapi.com/compatible-mode/v1
https://token-plan.maas.qwencloudapi.com/apps/anthropic
+

Token Plan 的地址不给模型列表时,magpie 会按套餐概览列出它的文本模型:auto, qwen3.8-max, qwen3.8-flash, qwen3.7-max, qwen3.7-plus, qwen3.6-flash,以及套餐里的 DeepSeek 和 GLM 模型。百炼 Token Plan 还提供一个决策模型,可以给意图路由判断每一轮该去哪。

+ +

在各个工具里用

+

在 Agent 页里点某个工具那一行的模型来选,或者在终端里选。每篇指南都写了 magpie 在那个工具的配置里改了什么、怎么换回去。

+
终端
magpie claude qwen-cn/qwen3.8-max
+magpie codex qwen-cn/qwen3.8-max
+magpie gemini model qwen-cn/qwen3.7-plus
+magpie opencode qwen-cn/qwen3.8-max
+ +

Qwen Code 也是 magpie 支持的工具:它那一行可以选千问的模型,也可以选其他厂商的。

+ +

思考与图片

+ + +

余额与用量

+

magpie 不显示千问的余额或套餐卡片:DashScope 没有查 Key 余额的 API,两个 Token Plan 也没有查额度的 API,额度在阿里云控制台的套餐订阅页里看。用量 页会统计经过 magpie 的每个工具和模型的 token、缓存命中和费用。

+ +

常见问题

+

通义千问怎么接入 Claude Code?

+

在 magpie 里添加 Key(供应商 → 添加供应商 → Key 所属的 Qwen 预设),然后在 Claude Code 那一行选一个千问模型,比如 qwen3.8-max,或者运行 magpie claude qwen-cn/qwen3.8-max。magpie 会写好 Claude Code 的 settings.json,把请求转给 DashScope 的 Anthropic 接口。

+

百炼的编程套餐怎么接入?

+

百炼的订阅套餐在 magpie 里是 Bailian Token Plan 预设:添加供应商时选它,填 sk-sp- 开头的套餐 Key。千问 AI 开放平台的套餐选 Qwen Token Plan,Qwen Cloud 的套餐选 Qwen Cloud Token Plan。

+

Codex 能用千问吗?Qwen3 Coder 也行吗?

+

能。magpie 会列出 DashScope 给这个 Key 的所有模型,包括 Coder 模型,Codex 都能用:magpie 把 Codex 的 Responses 请求转成 Chat Completions,再把回复转回去。在 Codex 那一行选模型,或运行 magpie codex qwen-cn/qwen3.8-max,模型会出现在 Codex 的 /model 里。

+

我的 Key 该选哪个预设?

+

Key 是在哪个平台创建的就选哪个。Token Plan 的 Key(sk-sp- 开头)只能用在自己套餐的地址,Qwen Cloud 按量付费的 Key(sk-ws- 开头)只能用在自己的地域,放到别的预设下会被 401 拒绝。

+

Qwen Code 能用其他模型吗?

+

能。Qwen Code 是 magpie 支持的工具之一,在 Agent 页它那一行可以选你添加的任何模型,千问的或其他厂商的都行。

+

magpie 能显示 Token Plan 的额度吗?

+

不能。两个 Token Plan 都没有查额度的 API,额度在阿里云控制台的套餐订阅页里看。magpie 的用量页仍会统计每个工具用掉的 token。

+ +

各个工具的指南:Claude Code 接入其他模型、Codex 接入其他模型、Gemini CLI 接入其他模型、OpenCode 接入其他模型。遇到问题可以在 Discord 提问。

+
+
+ + + + + + + diff --git a/site/public/llms.txt b/site/public/llms.txt index 766a9b281..b6f60b7c5 100644 --- a/site/public/llms.txt +++ b/site/public/llms.txt @@ -46,6 +46,8 @@ DeepSeek, Kimi (Moonshot), GLM (Zhipu), Qwen, MiniMax, Anthropic (Claude), OpenA - [DeepSeek in every agent](https://usemagpie.ai/docs/deepseek): use DeepSeek V4 in Claude Code, Codex, Gemini CLI and OpenCode; the API key, endpoints, thinking on tool turns, reasoning effort, prompt cache and balance. - [Kimi K2 and Kimi Code in every agent](https://usemagpie.ai/docs/kimi): Kimi API or Kimi Code membership keys, global and China endpoints, in Claude Code, Codex, Gemini CLI and OpenCode; usage windows and web search. - [GLM Coding Plan in every agent](https://usemagpie.ai/docs/glm): Zhipu GLM and Z.ai, pay as you go or Coding Plan, each plan's endpoints, the 1113 "insufficient balance" fix, thinking and plan windows. +- [Qwen in every agent](https://usemagpie.ai/docs/qwen): Alibaba Cloud Model Studio (DashScope), Bailian, the Qwen and Bailian Token Plans and Qwen Cloud in Claude Code, Codex, Gemini CLI and OpenCode; which endpoint each key works on, thinking and images. +- [MiniMax and the Coding Plan in every agent](https://usemagpie.ai/docs/minimax): MiniMax M3 and M2.7, pay as you go or Coding Plan keys, global and China endpoints, interleaved thinking, effort and the plan's usage windows. - [Intent routing](https://usemagpie.ai/docs/intent): how a turn is routed by what the user asks for. - [Privacy masking](https://usemagpie.ai/docs/masking): what is masked before a request leaves the computer and how values come back. - [Library](https://usemagpie.ai/docs/library): instructions, MCP servers, skills, hooks and subagents for each agent. diff --git a/site/public/sitemap.xml b/site/public/sitemap.xml index 7bff4fc56..31dee4449 100644 --- a/site/public/sitemap.xml +++ b/site/public/sitemap.xml @@ -26,6 +26,8 @@ https://usemagpie.ai/docs/deepseek https://usemagpie.ai/docs/kimi https://usemagpie.ai/docs/glm +https://usemagpie.ai/docs/qwen +https://usemagpie.ai/docs/minimax https://usemagpie.ai/docs/zh/claude-code-models https://usemagpie.ai/docs/zh/codex-models https://usemagpie.ai/docs/zh/contributors @@ -48,6 +50,8 @@ https://usemagpie.ai/docs/zh/deepseek https://usemagpie.ai/docs/zh/kimi https://usemagpie.ai/docs/zh/glm +https://usemagpie.ai/docs/zh/qwen +https://usemagpie.ai/docs/zh/minimax https://usemagpie.ai/docs/ja/claude-code-models https://usemagpie.ai/docs/ja/codex-models https://usemagpie.ai/docs/ja/contributors @@ -69,4 +73,6 @@ https://usemagpie.ai/docs/ja/deepseek https://usemagpie.ai/docs/ja/kimi https://usemagpie.ai/docs/ja/glm +https://usemagpie.ai/docs/ja/qwen +https://usemagpie.ai/docs/ja/minimax