diff --git a/site/public/docs/claude-code-models.html b/site/public/docs/claude-code-models.html index d7cf7fe4e..6e45bd10b 100644 --- a/site/public/docs/claude-code-models.html +++ b/site/public/docs/claude-code-models.html @@ -142,6 +142,8 @@ Library Models in Claude Code Models in Codex + Models in Gemini CLI + Subscriptions in any agent Add to magpie Integrate Releases @@ -278,6 +280,8 @@ magpie claude codex/gpt-5.5 Library Models in Claude Code Models in Codex + Models in Gemini CLI + Subscriptions in any agent Add to magpie Integrate GitHub diff --git a/site/public/docs/codex-models.html b/site/public/docs/codex-models.html index 622435cff..91e759868 100644 --- a/site/public/docs/codex-models.html +++ b/site/public/docs/codex-models.html @@ -142,6 +142,8 @@ Library Models in Claude Code Models in Codex + Models in Gemini CLI + Subscriptions in any agent Add to magpie Integrate Releases @@ -278,6 +280,8 @@ magpie codex claude/… Library Models in Claude Code Models in Codex + Models in Gemini CLI + Subscriptions in any agent Add to magpie Integrate GitHub diff --git a/site/public/docs/contributors.html b/site/public/docs/contributors.html index 5b1982af3..b4120641a 100644 --- a/site/public/docs/contributors.html +++ b/site/public/docs/contributors.html @@ -57,6 +57,8 @@ Library Models in Claude Code Models in Codex + Models in Gemini CLI + Subscriptions in any agent Add to magpie Integrate Releases @@ -121,6 +123,8 @@ Library Models in Claude Code Models in Codex + Models in Gemini CLI + Subscriptions in any agent Add to magpie Integrate GitHub diff --git a/site/public/docs/docker.html b/site/public/docs/docker.html index 919f38fd3..8c5b87a3d 100644 --- a/site/public/docs/docker.html +++ b/site/public/docs/docker.html @@ -57,6 +57,8 @@ Library Models in Claude Code Models in Codex + Models in Gemini CLI + Subscriptions in any agent Add to magpie Integrate Releases @@ -241,6 +243,8 @@ docker logs magpie Library Models in Claude Code Models in Codex + Models in Gemini CLI + Subscriptions in any agent Add to magpie Integrate GitHub diff --git a/site/public/docs/gemini-cli-models.html b/site/public/docs/gemini-cli-models.html new file mode 100644 index 000000000..de809a106 --- /dev/null +++ b/site/public/docs/gemini-cli-models.html @@ -0,0 +1,297 @@ + + + + + +Use DeepSeek, Kimi, GLM, Claude or GPT in Gemini CLI · magpie + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+

Docs · Guide

+

Use DeepSeek, Kimi, GLM, Claude or GPT in Gemini CLI

+

Gemini CLI speaks only Google’s Gemini API. magpie puts a gateway on your computer that serves the Gemini API for every provider you add, and points Gemini CLI at it. You pick the model on Gemini CLI’s row in magpie.

+ +

The gateway runs at 127.0.0.1:3425. It serves the Gemini API’s generateContent, streamGenerateContent and countTokens calls and its model list, beside the OpenAI and Anthropic APIs. A request goes straight through when the provider speaks the Gemini API, and is translated when it doesn’t, as with DeepSeek, Kimi, Zhipu GLM or a Claude or ChatGPT subscription: the request and the reply, streaming, tool calls, images and reasoning included.

+ +
+

Chinese models

DeepSeek, Kimi and Kimi Code, Zhipu GLM (pay as you go or Coding Plan), Z.ai, MiniMax and Qwen.

+

Subscriptions

The models of a Claude, ChatGPT, Copilot or Antigravity account you sign in to in magpie.

+

Anything else

Any OpenAI- or Anthropic-compatible URL and key, Ollama and LM Studio.

+
+ +

Set it up

+
    +
  1. Add the providerIn magpie’s Providers tab, press + Add provider, pick DeepSeek, Kimi, Zhipu GLM, MiniMax or Qwen, paste your API key and save. magpie asks the vendor which models it serves.
  2. +
  3. Pick the model for Gemini CLIIn the Agents tab, click the model on the Gemini CLI row and choose one, such as deepseek/deepseek-v4-pro. magpie writes it into ~/.gemini/settings.json and the gateway’s address into ~/.gemini/.env.
  4. +
  5. Restart geminiGemini CLI reads its settings when it starts. A session already open keeps what it started with.
  6. +
+

The same from a terminal:

+
Terminal
magpie provider add deepseek sk-…
+magpie models                              # every model, as provider/model
+magpie gemini model deepseek/deepseek-v4-pro
+

Model ids are magpie’s, provider/model. The Gemini CLI row shows once the gemini command is on your PATH.

+
Zhipu GLM Coding Plan. When you add Zhipu GLM or Z.ai, pick the plan your key is for. A Coding Plan key has its own endpoints, and sent to the pay-as-you-go one it is told it has no balance.
+ +

What changes in ~/.gemini

+

Gemini CLI loads ~/.gemini/.env and reads ~/.gemini/settings.json. magpie changes four keys across the two:

+
+ + + + + +
FileKeySet to
.envGOOGLE_GEMINI_BASE_URLThe gateway’s address
.envGEMINI_API_KEYThe gateway’s key (not your vendor key; that stays in magpie)
settings.jsonsecurity.auth.selectedTypegemini-api-key, so Gemini CLI sends that key and not a Google sign-in
settings.jsonmodel.nameThe model, as provider/model
+

The first time, magpie keeps what those keys held before: your own base URL, API key, sign-in choice and model. If the sign-in choice is changed to anything but the API key while the model is one of magpie’s, Gemini CLI asks Google directly, and magpie’s Gemini CLI row says so.

+ +

Going back to Google

+

Pick one of Gemini CLI’s own Gemini models on its row, or run magpie gemini default. magpie takes GOOGLE_GEMINI_BASE_URL and GEMINI_API_KEY out of .env and puts back the base URL, key, sign-in choice and model you had. You don’t edit either file by hand.

+

The row’s auth setting chooses how Gemini CLI signs in on its own: Google (your Google account), API key or Vertex AI. With Google Gemini added as a provider in magpie, API key writes that key into .env for Gemini CLI.

+
Terminal
magpie gemini default   # magpie’s wiring out, what you had back
+magpie gemini google    # sign in with your Google account
+ +

Claude and GPT models from a subscription

+

Sign in to the subscription in magpie: + Add provider, then the Claude, ChatGPT or Copilot tile. magpie opens the vendor’s own sign-in page. The account’s models are then claude/…, codex/… or copilot/… on Gemini CLI’s row.

+
Terminal
magpie accounts add codex           # sign in to a ChatGPT account
+magpie gemini model codex/gpt-5.5
+

Gemini CLI still speaks the Gemini API; magpie translates each request for the model and the reply back. Requests on a Claude subscription run through the Claude Code installed on your computer, so keep it installed. More in Use your subscription in any agent.

+ +

Routing over several keys

+ +

The routing modes and rules are in Get started.

+ +

FAQ

+

Can Gemini CLI use models that aren’t Gemini?

+

Yes, through a gateway that serves the Gemini API. magpie runs one on your computer and points Gemini CLI at it, so any model of a provider you add works: DeepSeek, Kimi, GLM, Qwen, MiniMax, or a Claude, ChatGPT or Copilot subscription.

+

Do I set GOOGLE_GEMINI_BASE_URL myself?

+

No. magpie writes it and GEMINI_API_KEY into ~/.gemini/.env, and sets Gemini CLI to API-key auth in ~/.gemini/settings.json. What you had there before is kept and comes back when you switch away.

+

Why does Gemini CLI still send requests to Google?

+

Its sign-in choice is not the API key: with a Google sign-in or Vertex AI, Gemini CLI asks Google directly. Pick the model again in magpie, which sets it back to the API key; magpie’s Gemini CLI row tells you when this happens. Restart open gemini sessions after a change.

+

Can I use my ChatGPT or Claude subscription in Gemini CLI?

+

Yes. Sign in to it in magpie and pick a codex/… or claude/… model on Gemini CLI’s row. Requests on a Claude subscription run through the Claude Code installed on your computer.

+

Why doesn’t magpie show Gemini CLI?

+

magpie shows it when the gemini command is on your PATH. A ~/.gemini folder alone doesn’t count, because it stays after Gemini CLI is uninstalled and Antigravity keeps folders there too.

+

Does it work for Gemini CLI in WSL?

+

Yes. magpie sets up Gemini CLI inside a WSL distro the same way, writing the gateway’s address as that distro reaches it.

+

How do I switch Gemini CLI back to Google?

+

Pick one of Gemini CLI’s own models in magpie, or run magpie gemini default. What magpie wrote comes out, and your own key, sign-in choice and model come back.

+ +

Using Claude Code or Codex too? See Models in Claude Code and Models in Codex. Stuck? Ask on Discord.

+
+
+ + + + + + + diff --git a/site/public/docs/import.html b/site/public/docs/import.html index 1b38fc47c..dabeade5b 100644 --- a/site/public/docs/import.html +++ b/site/public/docs/import.html @@ -57,6 +57,8 @@ Library Models in Claude Code Models in Codex + Models in Gemini CLI + Subscriptions in any agent Add to magpie Integrate Releases @@ -284,6 +286,8 @@ href = "https://usemagpie.ai/import#" + urlencode({ Library Models in Claude Code Models in Codex + Models in Gemini CLI + Subscriptions in any agent GitHub Discord Contributors diff --git a/site/public/docs/integrate.html b/site/public/docs/integrate.html index 3f6b47536..99b2b3ce6 100644 --- a/site/public/docs/integrate.html +++ b/site/public/docs/integrate.html @@ -56,6 +56,8 @@ Library Models in Claude Code Models in Codex + Models in Gemini CLI + Subscriptions in any agent Add to magpie Integrate Releases @@ -169,6 +171,8 @@ curl -s http://127.0.0.1:3425/v1/models -H "Authorization: Bearer magpie-acme"Library Models in Claude Code Models in Codex + Models in Gemini CLI + Subscriptions in any agent Add to magpie Integrate GitHub diff --git a/site/public/docs/intent.html b/site/public/docs/intent.html index 88c29b20c..48106e44c 100644 --- a/site/public/docs/intent.html +++ b/site/public/docs/intent.html @@ -57,6 +57,8 @@ Library Models in Claude Code Models in Codex + Models in Gemini CLI + Subscriptions in any agent Add to magpie Integrate Releases @@ -339,6 +341,8 @@ The number of its kind (0 for none): Library Models in Claude Code Models in Codex + Models in Gemini CLI + Subscriptions in any agent Add to magpie Integrate GitHub diff --git a/site/public/docs/ja/contributors.html b/site/public/docs/ja/contributors.html index 242496f57..cbda9cce9 100644 --- a/site/public/docs/ja/contributors.html +++ b/site/public/docs/ja/contributors.html @@ -57,6 +57,8 @@ ライブラリ Claude Code で他のモデル Codex で他のモデル + Gemini CLI で他のモデル + サブスクを任意のエージェントで magpie に追加 アプリ連携 リリース @@ -121,6 +123,8 @@ ライブラリ Claude Code で他のモデル Codex で他のモデル + Gemini CLI で他のモデル + サブスクを任意のエージェントで magpie に追加 アプリ連携 GitHub diff --git a/site/public/docs/ja/docker.html b/site/public/docs/ja/docker.html index 205f3f41a..7efd763fc 100644 --- a/site/public/docs/ja/docker.html +++ b/site/public/docs/ja/docker.html @@ -57,6 +57,8 @@ ライブラリ Claude Code で他のモデル Codex で他のモデル + Gemini CLI で他のモデル + サブスクを任意のエージェントで magpie に追加 アプリ連携 リリース @@ -241,6 +243,8 @@ docker logs magpie ライブラリ Claude Code で他のモデル Codex で他のモデル + Gemini CLI で他のモデル + サブスクを任意のエージェントで magpie に追加 アプリ連携 GitHub diff --git a/site/public/docs/ja/import.html b/site/public/docs/ja/import.html index 3378c543c..093fd3368 100644 --- a/site/public/docs/ja/import.html +++ b/site/public/docs/ja/import.html @@ -57,6 +57,8 @@ ライブラリ Claude Code で他のモデル Codex で他のモデル + Gemini CLI で他のモデル + サブスクを任意のエージェントで magpie に追加 アプリ連携 リリース @@ -284,6 +286,8 @@ href = "https://usemagpie.ai/import#" + urlencode({ ライブラリ Claude Code で他のモデル Codex で他のモデル + Gemini CLI で他のモデル + サブスクを任意のエージェントで GitHub Discord コントリビューター diff --git a/site/public/docs/ja/intent.html b/site/public/docs/ja/intent.html index d49ffa537..f96f6b285 100644 --- a/site/public/docs/ja/intent.html +++ b/site/public/docs/ja/intent.html @@ -57,6 +57,8 @@ ライブラリ Claude Code で他のモデル Codex で他のモデル + Gemini CLI で他のモデル + サブスクを任意のエージェントで magpie に追加 アプリ連携 リリース @@ -339,6 +341,8 @@ The number of its kind (0 for none): ライブラリ Claude Code で他のモデル Codex で他のモデル + Gemini CLI で他のモデル + サブスクを任意のエージェントで magpie に追加 アプリ連携 GitHub diff --git a/site/public/docs/ja/library.html b/site/public/docs/ja/library.html index 19575f00c..ff6dbeef1 100644 --- a/site/public/docs/ja/library.html +++ b/site/public/docs/ja/library.html @@ -57,6 +57,8 @@ ライブラリ Claude Code で他のモデル Codex で他のモデル + Gemini CLI で他のモデル + サブスクを任意のエージェントで magpie に追加 アプリ連携 リリース @@ -255,6 +257,8 @@ magpie library sync # エージェントに書き直す ライブラリ Claude Code で他のモデル Codex で他のモデル + Gemini CLI で他のモデル + サブスクを任意のエージェントで magpie に追加 アプリ連携 GitHub diff --git a/site/public/docs/ja/masking.html b/site/public/docs/ja/masking.html index 18c874f09..6c109fb23 100644 --- a/site/public/docs/ja/masking.html +++ b/site/public/docs/ja/masking.html @@ -57,6 +57,8 @@ ライブラリ Claude Code で他のモデル Codex で他のモデル + Gemini CLI で他のモデル + サブスクを任意のエージェントで magpie に追加 アプリ連携 リリース @@ -183,6 +185,8 @@ ライブラリ Claude Code で他のモデル Codex で他のモデル + Gemini CLI で他のモデル + サブスクを任意のエージェントで magpie に追加 アプリ連携 GitHub diff --git a/site/public/docs/ja/mcp-router.html b/site/public/docs/ja/mcp-router.html index 56c77f3e8..9b41e52f9 100644 --- a/site/public/docs/ja/mcp-router.html +++ b/site/public/docs/ja/mcp-router.html @@ -57,6 +57,8 @@ ライブラリ Claude Code で他のモデル Codex で他のモデル + Gemini CLI で他のモデル + サブスクを任意のエージェントで magpie に追加 アプリ連携 リリース @@ -146,6 +148,8 @@ magpie library mcp router off ライブラリ Claude Code で他のモデル Codex で他のモデル + Gemini CLI で他のモデル + サブスクを任意のエージェントで magpie に追加 アプリ連携 GitHub diff --git a/site/public/docs/ja/plugins.html b/site/public/docs/ja/plugins.html index 12cc43f8c..49bfad6c1 100644 --- a/site/public/docs/ja/plugins.html +++ b/site/public/docs/ja/plugins.html @@ -57,6 +57,8 @@ ライブラリ Claude Code で他のモデル Codex で他のモデル + Gemini CLI で他のモデル + サブスクを任意のエージェントで magpie に追加 アプリ連携 リリース @@ -1039,6 +1041,8 @@ document.getElementById("calls").textContent = `${s.calls ライブラリ Claude Code で他のモデル Codex で他のモデル + Gemini CLI で他のモデル + サブスクを任意のエージェントで magpie に追加 アプリ連携 GitHub diff --git a/site/public/docs/ja/privacy.html b/site/public/docs/ja/privacy.html index cc1f91fba..1f5bcafaa 100644 --- a/site/public/docs/ja/privacy.html +++ b/site/public/docs/ja/privacy.html @@ -57,6 +57,8 @@ ライブラリ Claude Code で他のモデル Codex で他のモデル + Gemini CLI で他のモデル + サブスクを任意のエージェントで magpie に追加 アプリ連携 リリース @@ -229,6 +231,8 @@ ライブラリ Claude Code で他のモデル Codex で他のモデル + Gemini CLI で他のモデル + サブスクを任意のエージェントで magpie に追加 アプリ連携 GitHub diff --git a/site/public/docs/ja/remote.html b/site/public/docs/ja/remote.html index 9d465226d..408cf4d79 100644 --- a/site/public/docs/ja/remote.html +++ b/site/public/docs/ja/remote.html @@ -57,6 +57,8 @@ ライブラリ Claude Code で他のモデル Codex で他のモデル + Gemini CLI で他のモデル + サブスクを任意のエージェントで magpie に追加 アプリ連携 リリース @@ -242,6 +244,8 @@ curl -s http://127.0.0.1:3425/v1/magpie/concurrency ライブラリ Claude Code で他のモデル Codex で他のモデル + Gemini CLI で他のモデル + サブスクを任意のエージェントで magpie に追加 アプリ連携 GitHub diff --git a/site/public/docs/ja/start.html b/site/public/docs/ja/start.html index b63a20e25..719f38e3c 100644 --- a/site/public/docs/ja/start.html +++ b/site/public/docs/ja/start.html @@ -57,6 +57,8 @@ ライブラリ Claude Code で他のモデル Codex で他のモデル + Gemini CLI で他のモデル + サブスクを任意のエージェントで magpie に追加 アプリ連携 リリース @@ -372,6 +374,8 @@ IP-CIDR6,::1/128,DIRECT,no-resolve ライブラリ Claude Code で他のモデル Codex で他のモデル + Gemini CLI で他のモデル + サブスクを任意のエージェントで magpie に追加 アプリ連携 GitHub diff --git a/site/public/docs/library.html b/site/public/docs/library.html index 3e2394b68..b10bd7bd2 100644 --- a/site/public/docs/library.html +++ b/site/public/docs/library.html @@ -57,6 +57,8 @@ Library Models in Claude Code Models in Codex + Models in Gemini CLI + Subscriptions in any agent Add to magpie Integrate Releases @@ -255,6 +257,8 @@ magpie library sync # write it into the agents again Library Models in Claude Code Models in Codex + Models in Gemini CLI + Subscriptions in any agent Add to magpie Integrate GitHub diff --git a/site/public/docs/masking.html b/site/public/docs/masking.html index 625e8be58..c45b84535 100644 --- a/site/public/docs/masking.html +++ b/site/public/docs/masking.html @@ -57,6 +57,8 @@ Library Models in Claude Code Models in Codex + Models in Gemini CLI + Subscriptions in any agent Add to magpie Integrate Releases @@ -183,6 +185,8 @@ Library Models in Claude Code Models in Codex + Models in Gemini CLI + Subscriptions in any agent Add to magpie Integrate GitHub diff --git a/site/public/docs/mcp-router.html b/site/public/docs/mcp-router.html index 18988aed6..438651035 100644 --- a/site/public/docs/mcp-router.html +++ b/site/public/docs/mcp-router.html @@ -57,6 +57,8 @@ Library Models in Claude Code Models in Codex + Models in Gemini CLI + Subscriptions in any agent Add to magpie Integrate Releases @@ -146,6 +148,8 @@ magpie library mcp router off Library Models in Claude Code Models in Codex + Models in Gemini CLI + Subscriptions in any agent Add to magpie Integrate GitHub diff --git a/site/public/docs/plugins.html b/site/public/docs/plugins.html index b5b5b64d0..998e6c004 100644 --- a/site/public/docs/plugins.html +++ b/site/public/docs/plugins.html @@ -57,6 +57,8 @@ Library Models in Claude Code Models in Codex + Models in Gemini CLI + Subscriptions in any agent Add to magpie Integrate Releases @@ -1039,6 +1041,8 @@ document.getElementById("calls").textContent = `${s.calls Library Models in Claude Code Models in Codex + Models in Gemini CLI + Subscriptions in any agent Add to magpie Integrate GitHub diff --git a/site/public/docs/privacy.html b/site/public/docs/privacy.html index f3f0f00be..11d87374a 100644 --- a/site/public/docs/privacy.html +++ b/site/public/docs/privacy.html @@ -57,6 +57,8 @@ Library Models in Claude Code Models in Codex + Models in Gemini CLI + Subscriptions in any agent Add to magpie Integrate Releases @@ -229,6 +231,8 @@ Library Models in Claude Code Models in Codex + Models in Gemini CLI + Subscriptions in any agent Add to magpie Integrate GitHub diff --git a/site/public/docs/remote.html b/site/public/docs/remote.html index b9958e106..a95696e7d 100644 --- a/site/public/docs/remote.html +++ b/site/public/docs/remote.html @@ -57,6 +57,8 @@ Library Models in Claude Code Models in Codex + Models in Gemini CLI + Subscriptions in any agent Add to magpie Integrate Releases @@ -242,6 +244,8 @@ curl -s http://127.0.0.1:3425/v1/magpie/concurrency Library Models in Claude Code Models in Codex + Models in Gemini CLI + Subscriptions in any agent Add to magpie Integrate GitHub diff --git a/site/public/docs/start.html b/site/public/docs/start.html index eed9fbed8..ba8a9b840 100644 --- a/site/public/docs/start.html +++ b/site/public/docs/start.html @@ -57,6 +57,8 @@ Library Models in Claude Code Models in Codex + Models in Gemini CLI + Subscriptions in any agent Add to magpie Integrate Releases @@ -372,6 +374,8 @@ IP-CIDR6,::1/128,DIRECT,no-resolve Library Models in Claude Code Models in Codex + Models in Gemini CLI + Subscriptions in any agent Add to magpie Integrate GitHub diff --git a/site/public/docs/subscriptions.html b/site/public/docs/subscriptions.html new file mode 100644 index 000000000..7342e715d --- /dev/null +++ b/site/public/docs/subscriptions.html @@ -0,0 +1,296 @@ + + + + + +Use your Claude, ChatGPT or GitHub Copilot subscription in any coding agent · magpie + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+

Docs · Guide

+

Use your Claude Pro/Max, ChatGPT Plus/Pro or GitHub Copilot subscription in any coding agent

+

Sign in to a subscription once, in magpie. Its models then show in every agent magpie sets up: GPT models from your ChatGPT plan in Claude Code, Claude models from your Claude plan in Codex or OpenCode, Copilot’s models in any of them. No API key.

+ +

magpie runs a gateway on your computer, at 127.0.0.1:3425. It speaks the OpenAI, Anthropic and Gemini APIs and translates between them, streaming and tool calls included, so an agent that speaks one API can use a model served in another. magpie writes the gateway’s address and key into each agent’s own config file.

+ +

Which subscriptions

+
+ + + + + + +
SubscriptionModels areSign in from a terminal
Claude (Pro, Max, Team)claude/…magpie accounts add claude
ChatGPT (Plus, Pro, Business)codex/…magpie accounts add codex
GitHub Copilotcopilot/…magpie accounts add copilot
Gemini (Code Assist)gemini/…magpie accounts add gemini
Antigravityantigravity/…magpie accounts add antigravity
+ +

Other subscriptions are added as plugins, from magpie’s Plugins page; see Plugins.

+ +

Sign in

+
    +
  1. Open Add providerIn magpie’s Providers tab, press + Add provider.
  2. +
  3. Click the subscription’s tilemagpie opens the vendor’s own sign-in page in your browser. The account shows up as soon as you finish.
  4. +
  5. Pick its model for an agentIn the Agents tab, click the model on the agent’s row and choose one of the subscription’s models.
  6. +
+

An agent you are already signed in to on this machine, such as Claude Code or Codex, shows up as a provider too, signed in as …. magpie accounts discovery off stops magpie reading those sign-ins.

+ +

Use it in another agent

+

A subscription’s models are in every agent’s picker in magpie. A few pairs people ask for:

+
+ + + + + +
AgentSubscriptionFrom a terminal
Claude CodeChatGPTmagpie claude codex/gpt-5.5
CodexClaudemagpie codex claude/claude-opus-5-5
Gemini CLIChatGPTmagpie gemini model codex/gpt-5.5
OpenCodeClaudePick a claude/… model on OpenCode’s row
+

magpie models lists every model you can pick, as provider/model. Each agent’s guide says what magpie changes in its config and how to undo it: Claude Code, Codex, Gemini CLI. magpie <agent> default takes magpie’s wiring out of an agent and puts back what it had.

+ +

Several accounts and failover

+ +

The routing modes are in Get started.

+ +

Other tools

+

Any tool with a base-URL setting can use a subscription through the gateway too. The Gateway tab’s Connect section has the address and key to copy. The base URL is http://127.0.0.1:3425/v1 for an OpenAI client and http://127.0.0.1:3425 for an Anthropic or Gemini one. See Integrate your app.

+ +

FAQ

+

Can I use my ChatGPT Plus or Pro subscription in Claude Code?

+

Yes. Sign in to ChatGPT in magpie and pick a codex/… model on Claude Code’s row, or run magpie claude codex/gpt-5.5. magpie translates Claude Code’s Anthropic requests for the GPT model and the replies back, tool calls included.

+

Can I use my Claude Pro or Max subscription in Codex or OpenCode?

+

Yes. Sign in to Claude in magpie and pick a claude/… model on the agent’s row. Requests on a Claude subscription run through the Claude Code installed on your computer, so keep it installed.

+

Can I use GitHub Copilot models outside VS Code?

+

Yes. Sign in to Copilot in magpie (GitHub gives you a code to enter), and its models are copilot/… in Claude Code, Codex, Gemini CLI, OpenCode and the other agents magpie sets up.

+

Do I need an API key to use a subscription in another agent?

+

No. magpie signs in on the vendor’s own page and the agent gets the gateway’s key. Your sign-in stays in magpie.

+

Can I use several Claude or ChatGPT accounts and switch when one hits its limit?

+

Yes. Add each account in magpie and tick them on the provider’s row. Smart routing, the default, uses an account with quota to spare, and moves on when one is out or rate limited. magpie accounts shows what each has left.

+

Do my requests go through a magpie server?

+

No. The gateway runs on your computer. Your prompts, replies, keys and accounts go only to the providers you use; magpie has no server of its own in that path.

+

Does each agent have to be signed in to the subscription?

+

No. Subscriptions are added in magpie, not by signing in inside another agent. One sign-in serves every agent you point at it.

+ +

Using a key instead? See Models in Claude Code and Models in Codex. Stuck? Ask on Discord.

+
+
+ + + + + + + diff --git a/site/public/docs/zh/claude-code-models.html b/site/public/docs/zh/claude-code-models.html index 532ae4007..4c467cb29 100644 --- a/site/public/docs/zh/claude-code-models.html +++ b/site/public/docs/zh/claude-code-models.html @@ -142,6 +142,8 @@ 资源库 Claude Code 接入其他模型 Codex 接入其他模型 + Gemini CLI 接入其他模型 + 订阅用于任意 Agent Add to magpie 接入应用 版本发布 @@ -278,6 +280,8 @@ magpie claude codex/gpt-5.5 资源库 Claude Code 接入其他模型 Codex 接入其他模型 + Gemini CLI 接入其他模型 + 订阅用于任意 Agent Add to magpie 接入应用 GitHub diff --git a/site/public/docs/zh/codex-models.html b/site/public/docs/zh/codex-models.html index 531b5de29..827e09fbb 100644 --- a/site/public/docs/zh/codex-models.html +++ b/site/public/docs/zh/codex-models.html @@ -142,6 +142,8 @@ 资源库 Claude Code 接入其他模型 Codex 接入其他模型 + Gemini CLI 接入其他模型 + 订阅用于任意 Agent Add to magpie 接入应用 版本发布 @@ -278,6 +280,8 @@ magpie codex claude/… 资源库 Claude Code 接入其他模型 Codex 接入其他模型 + Gemini CLI 接入其他模型 + 订阅用于任意 Agent Add to magpie 接入应用 GitHub diff --git a/site/public/docs/zh/contributors.html b/site/public/docs/zh/contributors.html index e94d352a8..3e039b410 100644 --- a/site/public/docs/zh/contributors.html +++ b/site/public/docs/zh/contributors.html @@ -57,6 +57,8 @@ 资源库 Claude Code 接入其他模型 Codex 接入其他模型 + Gemini CLI 接入其他模型 + 订阅用于任意 Agent Add to magpie 接入应用 版本发布 @@ -121,6 +123,8 @@ 资源库 Claude Code 接入其他模型 Codex 接入其他模型 + Gemini CLI 接入其他模型 + 订阅用于任意 Agent Add to magpie 接入应用 GitHub diff --git a/site/public/docs/zh/docker.html b/site/public/docs/zh/docker.html index 7eb8f8494..fb629c8a9 100644 --- a/site/public/docs/zh/docker.html +++ b/site/public/docs/zh/docker.html @@ -57,6 +57,8 @@ 资源库 Claude Code 接入其他模型 Codex 接入其他模型 + Gemini CLI 接入其他模型 + 订阅用于任意 Agent Add to magpie 接入应用 版本发布 @@ -241,6 +243,8 @@ docker logs magpie 资源库 Claude Code 接入其他模型 Codex 接入其他模型 + Gemini CLI 接入其他模型 + 订阅用于任意 Agent Add to magpie 接入应用 GitHub diff --git a/site/public/docs/zh/gemini-cli-models.html b/site/public/docs/zh/gemini-cli-models.html new file mode 100644 index 000000000..10cb3e257 --- /dev/null +++ b/site/public/docs/zh/gemini-cli-models.html @@ -0,0 +1,297 @@ + + + + + +Gemini CLI 接入 DeepSeek、Kimi、GLM、Claude 等第三方模型 · magpie + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+

文档 · 指南

+

Gemini CLI 接入 DeepSeek、Kimi、GLM、Claude 等第三方模型

+

Gemini CLI 只会说 Google 自己的 Gemini API。magpie 在你电脑上跑一个本地网关,替你添加的每个供应商提供 Gemini API,再把 Gemini CLI 指向它。模型在 magpie 里 Gemini CLI 那一行选。

+ +

网关地址是 127.0.0.1:3425,除了 OpenAI 和 Anthropic API,也提供 Gemini API 的 generateContent、streamGenerateContent、countTokens 和模型列表。供应商本身说 Gemini API 时请求原样转发;不说的,比如 DeepSeek、Kimi、智谱 GLM、Claude 或 ChatGPT 订阅,magpie 负责双向转换请求和回复,流式输出、工具调用、图片和推理都包括在内。

+ +
+

国产模型

DeepSeek、Kimi 与 Kimi Code、智谱 GLM(按量付费或 Coding Plan)、Z.ai、MiniMax、通义千问。

+

订阅

在 magpie 里登录的 Claude、ChatGPT、Copilot、Antigravity 账号,它们的模型都能用。

+

其他

任何 OpenAI 或 Anthropic 兼容的地址和 Key,以及 Ollama、LM Studio。

+
+ +

接入步骤

+
    +
  1. 添加供应商在 magpie 的 供应商 页点 + 添加供应商,选 DeepSeek、Kimi、智谱 GLM、MiniMax 或通义千问,粘贴 API Key 保存。magpie 会去问供应商有哪些模型。
  2. +
  3. 给 Gemini CLI 选模型在 Agent 页点 Gemini CLI 那一行的模型,选一个,比如 deepseek/deepseek-v4-pro。magpie 会把它写进 ~/.gemini/settings.json,把网关地址写进 ~/.gemini/.env。
  4. +
  5. 重启 geminiGemini CLI 启动时读取配置,已经打开的会话继续用原来的设置。
  6. +
+

命令行也一样:

+
终端
magpie provider add deepseek sk-…
+magpie models                              # 列出所有模型,格式为 provider/model
+magpie gemini model deepseek/deepseek-v4-pro
+

模型 ID 用的是 magpie 的格式 provider/model。gemini 命令在 PATH 里时,magpie 才会显示 Gemini CLI 这一行。

+
智谱 GLM Coding Plan。添加智谱 GLM 或 Z.ai 时,选你的 Key 对应的套餐。Coding Plan 的 Key 有自己的接口地址,发到按量付费的接口会提示余额不足。
+ +

~/.gemini 里改了什么

+

Gemini CLI 会加载 ~/.gemini/.env,并读取 ~/.gemini/settings.json。magpie 在这两个文件里一共改四个键:

+
+ + + + + +
文件键写入的值
.envGOOGLE_GEMINI_BASE_URL网关地址
.envGEMINI_API_KEY网关的 Key(不是你的供应商 Key,那个留在 magpie 里)
settings.jsonsecurity.auth.selectedTypegemini-api-key,让 Gemini CLI 用这个 Key,而不是 Google 登录
settings.jsonmodel.name模型,格式为 provider/model
+

第一次改动时,magpie 会记下这几个键原来的值:你自己的 base URL、API Key、登录方式和模型。模型是 magpie 的、登录方式却被改成 API Key 以外的方式时,Gemini CLI 会直接请求 Google,magpie 里 Gemini CLI 那一行会提示。

+ +

切回 Google

+

在 Gemini CLI 那一行选一个它自己的 Gemini 模型,或者运行 magpie gemini default。magpie 会从 .env 里删掉 GOOGLE_GEMINI_BASE_URL 和 GEMINI_API_KEY,再还原你原来的 base URL、Key、登录方式和模型。不用手动改文件。

+

这一行的 auth 设置决定 Gemini CLI 自己怎么登录:Google(你的 Google 账号)、API key 或 Vertex AI。在 magpie 里添加了 Google Gemini 供应商时,选 API key 会把那个 Key 写进 .env 给 Gemini CLI 用。

+
终端
magpie gemini default   # 去掉 magpie 的接入,还原原来的设置
+magpie gemini google    # 用 Google 账号登录
+ +

Claude、ChatGPT 订阅里的模型

+

在 magpie 里登录订阅:+ 添加供应商,选 Claude、ChatGPT 或 Copilot。magpie 会打开厂商自己的登录页。登录后,账号的模型以 claude/…、codex/… 或 copilot/… 出现在 Gemini CLI 那一行。

+
终端
magpie accounts add codex           # 登录一个 ChatGPT 账号
+magpie gemini model codex/gpt-5.5
+

Gemini CLI 说的仍然是 Gemini API,magpie 把每个请求转成模型需要的格式,再把回复转回来。Claude 订阅的请求通过你电脑上安装的 Claude Code 发出,所以要保留 Claude Code。详见 在任意 Agent 中使用订阅。

+ +

多个 Key 轮换

+ +

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

+ +

常见问题

+

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

+

能,需要一个提供 Gemini API 的网关。magpie 在你电脑上跑一个,并把 Gemini CLI 指向它,所以你添加的供应商的任何模型都能用:DeepSeek、Kimi、GLM、通义千问、MiniMax,或者 Claude、ChatGPT、Copilot 订阅。

+

需要自己设置 GOOGLE_GEMINI_BASE_URL 吗?

+

不需要。magpie 会把它和 GEMINI_API_KEY 写进 ~/.gemini/.env,并在 ~/.gemini/settings.json 里把 Gemini CLI 设为 API Key 认证。原来的值会被记下,切回时还原。

+

为什么 Gemini CLI 还是请求 Google?

+

它的登录方式不是 API Key:用 Google 登录或 Vertex AI 时,Gemini CLI 会直接请求 Google。在 magpie 里重新选一次模型,就会改回 API Key;出现这种情况时 magpie 里 Gemini CLI 那一行会提示。改完重启已经打开的 gemini 会话。

+

Gemini CLI 能用 ChatGPT 或 Claude 订阅吗?

+

能。在 magpie 里登录订阅,在 Gemini CLI 那一行选 codex/… 或 claude/… 模型即可。Claude 订阅的请求通过你电脑上安装的 Claude Code 发出。

+

为什么 magpie 里没有 Gemini CLI?

+

gemini 命令在 PATH 里时 magpie 才会显示它。只有 ~/.gemini 文件夹不算,因为卸载 Gemini CLI 后它还在,Antigravity 也会在里面放文件夹。

+

WSL 里的 Gemini CLI 能用吗?

+

能。magpie 用同样的方式配置 WSL 发行版里的 Gemini CLI,写入的是那个发行版访问网关用的地址。

+

怎么把 Gemini CLI 切回 Google?

+

在 magpie 里选一个 Gemini CLI 自己的模型,或者运行 magpie gemini default。magpie 写入的内容会被删掉,你原来的 Key、登录方式和模型会还原。

+ +

也在用 Claude Code 或 Codex?见 Claude Code 接入其他模型 和 Codex 接入其他模型。遇到问题可以到 Discord 提问。

+
+
+ + + + + + + diff --git a/site/public/docs/zh/import.html b/site/public/docs/zh/import.html index c99d5cf06..c6cd4ef9a 100644 --- a/site/public/docs/zh/import.html +++ b/site/public/docs/zh/import.html @@ -57,6 +57,8 @@ 资源库 Claude Code 接入其他模型 Codex 接入其他模型 + Gemini CLI 接入其他模型 + 订阅用于任意 Agent Add to magpie 接入应用 版本发布 @@ -284,6 +286,8 @@ href = "https://usemagpie.ai/import#" + urlencode({ 资源库 Claude Code 接入其他模型 Codex 接入其他模型 + Gemini CLI 接入其他模型 + 订阅用于任意 Agent GitHub Discord 贡献墙 diff --git a/site/public/docs/zh/integrate.html b/site/public/docs/zh/integrate.html index d09ee27ba..ebace0ec5 100644 --- a/site/public/docs/zh/integrate.html +++ b/site/public/docs/zh/integrate.html @@ -56,6 +56,8 @@ 资源库 Claude Code 接入其他模型 Codex 接入其他模型 + Gemini CLI 接入其他模型 + 订阅用于任意 Agent Add to magpie 接入应用 版本发布 @@ -169,6 +171,8 @@ curl -s http://127.0.0.1:3425/v1/models -H "Authorization: Bearer magpie-acme"资源库 Claude Code 接入其他模型 Codex 接入其他模型 + Gemini CLI 接入其他模型 + 订阅用于任意 Agent Add to magpie 接入应用 GitHub diff --git a/site/public/docs/zh/intent.html b/site/public/docs/zh/intent.html index c19a9e737..daec10bb9 100644 --- a/site/public/docs/zh/intent.html +++ b/site/public/docs/zh/intent.html @@ -57,6 +57,8 @@ 资源库 Claude Code 接入其他模型 Codex 接入其他模型 + Gemini CLI 接入其他模型 + 订阅用于任意 Agent Add to magpie 接入应用 版本发布 @@ -339,6 +341,8 @@ The number of its kind (0 for none): 资源库 Claude Code 接入其他模型 Codex 接入其他模型 + Gemini CLI 接入其他模型 + 订阅用于任意 Agent Add to magpie 接入应用 GitHub diff --git a/site/public/docs/zh/library.html b/site/public/docs/zh/library.html index 16609b625..1a788b7e8 100644 --- a/site/public/docs/zh/library.html +++ b/site/public/docs/zh/library.html @@ -57,6 +57,8 @@ 资源库 Claude Code 接入其他模型 Codex 接入其他模型 + Gemini CLI 接入其他模型 + 订阅用于任意 Agent Add to magpie 接入应用 版本发布 @@ -255,6 +257,8 @@ magpie library sync # 重新写进各个 Agent 资源库 Claude Code 接入其他模型 Codex 接入其他模型 + Gemini CLI 接入其他模型 + 订阅用于任意 Agent Add to magpie 接入应用 GitHub diff --git a/site/public/docs/zh/masking.html b/site/public/docs/zh/masking.html index d09f4551d..745d307b3 100644 --- a/site/public/docs/zh/masking.html +++ b/site/public/docs/zh/masking.html @@ -57,6 +57,8 @@ 资源库 Claude Code 接入其他模型 Codex 接入其他模型 + Gemini CLI 接入其他模型 + 订阅用于任意 Agent Add to magpie 接入应用 版本发布 @@ -183,6 +185,8 @@ 资源库 Claude Code 接入其他模型 Codex 接入其他模型 + Gemini CLI 接入其他模型 + 订阅用于任意 Agent Add to magpie 接入应用 GitHub diff --git a/site/public/docs/zh/mcp-router.html b/site/public/docs/zh/mcp-router.html index 84767269b..5c7aeabc1 100644 --- a/site/public/docs/zh/mcp-router.html +++ b/site/public/docs/zh/mcp-router.html @@ -57,6 +57,8 @@ 资源库 Claude Code 接入其他模型 Codex 接入其他模型 + Gemini CLI 接入其他模型 + 订阅用于任意 Agent Add to magpie 接入应用 版本发布 @@ -146,6 +148,8 @@ magpie library mcp router off 资源库 Claude Code 接入其他模型 Codex 接入其他模型 + Gemini CLI 接入其他模型 + 订阅用于任意 Agent Add to magpie 接入应用 GitHub diff --git a/site/public/docs/zh/plugins.html b/site/public/docs/zh/plugins.html index 227f37395..126a34bac 100644 --- a/site/public/docs/zh/plugins.html +++ b/site/public/docs/zh/plugins.html @@ -57,6 +57,8 @@ 资源库 Claude Code 接入其他模型 Codex 接入其他模型 + Gemini CLI 接入其他模型 + 订阅用于任意 Agent Add to magpie 接入应用 版本发布 @@ -1039,6 +1041,8 @@ document.getElementById("calls").textContent = `${s.calls 资源库 Claude Code 接入其他模型 Codex 接入其他模型 + Gemini CLI 接入其他模型 + 订阅用于任意 Agent Add to magpie 接入应用 GitHub diff --git a/site/public/docs/zh/privacy.html b/site/public/docs/zh/privacy.html index c66cd3091..79372659b 100644 --- a/site/public/docs/zh/privacy.html +++ b/site/public/docs/zh/privacy.html @@ -57,6 +57,8 @@ 资源库 Claude Code 接入其他模型 Codex 接入其他模型 + Gemini CLI 接入其他模型 + 订阅用于任意 Agent Add to magpie 接入应用 版本发布 @@ -229,6 +231,8 @@ 资源库 Claude Code 接入其他模型 Codex 接入其他模型 + Gemini CLI 接入其他模型 + 订阅用于任意 Agent Add to magpie 接入应用 GitHub diff --git a/site/public/docs/zh/remote.html b/site/public/docs/zh/remote.html index 22d5ecb4b..c2c94a168 100644 --- a/site/public/docs/zh/remote.html +++ b/site/public/docs/zh/remote.html @@ -57,6 +57,8 @@ 资源库 Claude Code 接入其他模型 Codex 接入其他模型 + Gemini CLI 接入其他模型 + 订阅用于任意 Agent Add to magpie 接入应用 版本发布 @@ -242,6 +244,8 @@ curl -s http://127.0.0.1:3425/v1/magpie/concurrency 资源库 Claude Code 接入其他模型 Codex 接入其他模型 + Gemini CLI 接入其他模型 + 订阅用于任意 Agent Add to magpie 接入应用 GitHub diff --git a/site/public/docs/zh/start.html b/site/public/docs/zh/start.html index be5ccd24a..3090635ef 100644 --- a/site/public/docs/zh/start.html +++ b/site/public/docs/zh/start.html @@ -57,6 +57,8 @@ 资源库 Claude Code 接入其他模型 Codex 接入其他模型 + Gemini CLI 接入其他模型 + 订阅用于任意 Agent Add to magpie 接入应用 版本发布 @@ -372,6 +374,8 @@ IP-CIDR6,::1/128,DIRECT,no-resolve 资源库 Claude Code 接入其他模型 Codex 接入其他模型 + Gemini CLI 接入其他模型 + 订阅用于任意 Agent Add to magpie 接入应用 GitHub diff --git a/site/public/docs/zh/subscriptions.html b/site/public/docs/zh/subscriptions.html new file mode 100644 index 000000000..830afc8db --- /dev/null +++ b/site/public/docs/zh/subscriptions.html @@ -0,0 +1,296 @@ + + + + + +在任意编程 Agent 中使用 Claude、ChatGPT、GitHub Copilot 订阅 · magpie + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+

文档 · 指南

+

在任意编程 Agent 中使用 Claude Pro/Max、ChatGPT Plus/Pro、GitHub Copilot 订阅

+

在 magpie 里登录一次订阅,它的模型就会出现在 magpie 配置的每个 Agent 里:Claude Code 用 ChatGPT 订阅里的 GPT 模型,Codex 或 OpenCode 用 Claude 订阅里的 Claude 模型,Copilot 的模型哪个 Agent 都能用。不需要 API Key。

+ +

magpie 在你电脑上跑一个网关,地址是 127.0.0.1:3425。它同时支持 OpenAI、Anthropic 和 Gemini 三种 API,并在它们之间互相转换,流式输出和工具调用都包括在内,所以只会说一种 API 的 Agent 也能用另一种 API 提供的模型。magpie 会把网关地址和 Key 写进每个 Agent 自己的配置文件。

+ +

支持哪些订阅

+
+ + + + + + +
订阅模型 ID命令行登录
Claude(Pro、Max、Team)claude/…magpie accounts add claude
ChatGPT(Plus、Pro、Business)codex/…magpie accounts add codex
GitHub Copilotcopilot/…magpie accounts add copilot
Gemini(Code Assist)gemini/…magpie accounts add gemini
Antigravityantigravity/…magpie accounts add antigravity
+ +

其他订阅以插件形式在 magpie 的 插件 页添加,见 插件。

+ +

登录

+
    +
  1. 打开添加供应商在 magpie 的 供应商 页点 + 添加供应商。
  2. +
  3. 点订阅的卡片magpie 会在浏览器里打开厂商自己的登录页,登录完成后账号立刻出现。
  4. +
  5. 给 Agent 选它的模型在 Agent 页点某个 Agent 那一行的模型,选订阅里的一个模型。
  6. +
+

本机上已经登录的 Agent,比如 Claude Code 或 Codex,也会作为供应商出现,显示为 已登录 …。运行 magpie accounts discovery off 后,magpie 不再读取这些登录信息。

+ +

在其他 Agent 里用

+

订阅的模型会出现在 magpie 里每个 Agent 的模型列表中。几种常见组合:

+
+ + + + + +
Agent订阅命令行
Claude CodeChatGPTmagpie claude codex/gpt-5.5
CodexClaudemagpie codex claude/claude-opus-5-5
Gemini CLIChatGPTmagpie gemini model codex/gpt-5.5
OpenCodeClaude在 OpenCode 那一行选一个 claude/… 模型
+

magpie models 列出所有可选模型,格式为 provider/model。各 Agent 的指南写了 magpie 改了它配置里的什么、怎么还原:Claude Code、Codex、Gemini CLI。magpie <agent> default 会去掉 magpie 的接入,还原 Agent 原来的设置。

+ +

多账号与自动切换

+ +

路由方式详见 快速上手。

+ +

其他工具

+

任何能设置 base URL 的工具,也能通过网关用订阅。网关 标签页的 接入 部分有地址和 Key 可以直接复制。OpenAI 客户端的 base URL 是 http://127.0.0.1:3425/v1,Anthropic 或 Gemini 客户端是 http://127.0.0.1:3425。见 接入你的应用。

+ +

常见问题

+

Claude Code 能用 ChatGPT Plus 或 Pro 订阅吗?

+

能。在 magpie 里登录 ChatGPT,在 Claude Code 那一行选一个 codex/… 模型,或者运行 magpie claude codex/gpt-5.5。magpie 把 Claude Code 的 Anthropic 请求转成 GPT 模型的格式,再把回复转回来,工具调用也包括在内。

+

Codex 或 OpenCode 能用 Claude Pro 或 Max 订阅吗?

+

能。在 magpie 里登录 Claude,在这个 Agent 那一行选一个 claude/… 模型。Claude 订阅的请求通过你电脑上安装的 Claude Code 发出,所以要保留 Claude Code。

+

GitHub Copilot 的模型能在 VS Code 以外用吗?

+

能。在 magpie 里登录 Copilot(GitHub 会给你一个验证码),它的模型以 copilot/… 出现在 Claude Code、Codex、Gemini CLI、OpenCode 以及 magpie 配置的其他 Agent 里。

+

在其他 Agent 里用订阅需要 API Key 吗?

+

不需要。magpie 在厂商自己的页面登录,Agent 拿到的是网关的 Key。你的登录信息留在 magpie 里。

+

能同时用多个 Claude 或 ChatGPT 账号、一个到限额就换下一个吗?

+

能。在 magpie 里添加每个账号,并在供应商那一行勾选。默认的智能路由会用还有额度的账号,一个用完或被限流就换下一个。magpie accounts 能看到每个账号还剩多少。

+

请求会经过 magpie 的服务器吗?

+

不会。网关跑在你自己的电脑上。你的提示词、回复、Key 和账号只会发给你使用的供应商,这条路径上没有 magpie 自己的服务器。

+

每个 Agent 都要登录一次订阅吗?

+

不用。订阅是在 magpie 里添加的,不需要在别的 Agent 里登录。登录一次,指向 magpie 的每个 Agent 都能用。

+ +

用的是 API Key?见 Claude Code 接入其他模型 和 Codex 接入其他模型。遇到问题可以到 Discord 提问。

+
+
+ + + + + + + diff --git a/site/public/llms.txt b/site/public/llms.txt index 72a6bd5bd..a77ed56f5 100644 --- a/site/public/llms.txt +++ b/site/public/llms.txt @@ -38,6 +38,8 @@ DeepSeek, Kimi (Moonshot), GLM (Zhipu), Qwen, MiniMax, Anthropic (Claude), OpenA - [Get started](https://usemagpie.ai/docs/start): how magpie fits together; add providers, pick a model for each agent, route one model over several accounts. - [Models in Claude Code](https://usemagpie.ai/docs/claude-code-models): run Claude Code on DeepSeek, Kimi, GLM, Qwen, MiniMax or a ChatGPT plan's GPT models; how the opus, sonnet and haiku tiers map and what changes in settings.json. - [Models in Codex](https://usemagpie.ai/docs/codex-models): run Codex on DeepSeek, Kimi, GLM, Qwen or a Claude subscription; the /model list with reasoning efforts and what changes in config.toml. +- [Models in Gemini CLI](https://usemagpie.ai/docs/gemini-cli-models): run Gemini CLI on DeepSeek, Kimi, GLM, Qwen or a Claude or ChatGPT subscription; what changes in ~/.gemini/.env and settings.json, and how to switch back. +- [Subscriptions in any agent](https://usemagpie.ai/docs/subscriptions): sign in to Claude, ChatGPT, GitHub Copilot, Gemini Code Assist or Antigravity in magpie and use its models in Claude Code, Codex, Gemini CLI or OpenCode, with several accounts and failover. - [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 cf49cf3f2..4cff122fc 100644 --- a/site/public/sitemap.xml +++ b/site/public/sitemap.xml @@ -8,6 +8,7 @@ https://usemagpie.ai/docs/codex-models https://usemagpie.ai/docs/contributors https://usemagpie.ai/docs/docker +https://usemagpie.ai/docs/gemini-cli-models https://usemagpie.ai/docs/import https://usemagpie.ai/docs/integrate https://usemagpie.ai/docs/intent @@ -18,10 +19,12 @@ https://usemagpie.ai/docs/privacy https://usemagpie.ai/docs/remote https://usemagpie.ai/docs/start +https://usemagpie.ai/docs/subscriptions https://usemagpie.ai/docs/zh/claude-code-models https://usemagpie.ai/docs/zh/codex-models https://usemagpie.ai/docs/zh/contributors https://usemagpie.ai/docs/zh/docker +https://usemagpie.ai/docs/zh/gemini-cli-models https://usemagpie.ai/docs/zh/import https://usemagpie.ai/docs/zh/integrate https://usemagpie.ai/docs/zh/intent @@ -32,6 +35,7 @@ https://usemagpie.ai/docs/zh/privacy https://usemagpie.ai/docs/zh/remote https://usemagpie.ai/docs/zh/start +https://usemagpie.ai/docs/zh/subscriptions https://usemagpie.ai/docs/ja/contributors https://usemagpie.ai/docs/ja/docker https://usemagpie.ai/docs/ja/import