Two more provider guides beside DeepSeek, Kimi and GLM, at
/docs/{,zh/,ja/}{qwen,minimax}, linked from each agent guide's
"By provider" line, the sitemap and llms.txt.
Facts come from source: the six Qwen presets (qwen, qwen-cn,
qwen-token-plan, bailian-token-plan, qwencloud, qwencloud-token-plan)
and their endpoints and key kinds in presets.go, alibabaPlanModels,
dashScope()'s non-streaming rule in gateway.go, alwaysThinks and
effortInOutputConfig in anthropic.go, MiniMax's inline <think> in
chat.go, readMiniMaxPlan's windows in planquota.go, and the Qwen Code
and MiniMax Code agents in internal/agent.
Run: mote-run sh -c 'cd site && node --test worker.test.mjs
install.test.mjs': 69 pass, 0 fail. JSON-LD of the six pages parses.
Not tried: a real Qwen or MiniMax key through the pages' commands.
One page per provider, in English, Chinese and Japanese. Each covers adding
the provider (the presets and plan= on the CLI), the endpoints magpie uses
for each plan (from internal/provider/presets.go), how Claude Code, Codex,
Gemini CLI and OpenCode reach it (linking the agent guides), the provider's
thinking rules from internal/gateway (DeepSeek's thinking on tool turns,
low/high/max effort and one-hour key affinity; GLM-5.3 and Kimi Code
(China) K3.1 refusing thinking off; GLM's output_config.effort), the Zhipu
1113 retry on the Coding Plan endpoint, balances and plan windows
(balance.go, planquota.go), and an FAQ with FAQPage JSON-LD. The four agent
guides get a "By provider" line in each language; sitemap.xml and llms.txt
list the new pages.
Model ids are only ones in presets.go or catalog testdata. Generated by
provgen.py in the seo scratch folder, from claude-code-models' layout.
Run: mote-run node --test worker.test.mjs install.test.mjs, 69/69 pass.
Tag balance of each article checked by script. Not tried: a browser
render of the pages.
New docs page in three languages: a summary of each tool, a table
(agents, how it switches, protocol translation, subscription sign-ins,
routing and failover, GUI and CLI, platforms, license), which one fits,
and an FAQ with FAQPage JSON-LD. Linked after "Models in OpenCode" in
every docs page's nav and footer, in sitemap.xml and llms.txt.
CC Switch and CCR facts come only from their own READMEs (fetched raw,
Nov 2026); each column is dated. Cells their README doesn't cover say
"not stated": CCR subscription sign-ins, CCR macOS signing, CC Switch
CLI. magpie facts from its source and llms.txt.
Run: mote-run site tests (worker.test.mjs install.test.mjs), 69 of 69
pass. Generator: magpie-wt/seo-scratch/altgen.py.
New docs/opencode-models in English, Chinese and Japanese: DeepSeek, Kimi, GLM, Qwen and Claude/ChatGPT/Copilot sign-ins in OpenCode, what magpie writes in opencode.json (internal/agent/agents.go openCodeLike, magpieProviderJSONAt), small_model, reasoning variants, cost, magpie visible, magpie opencode default. Linked from every docs page's nav and footer, sitemap.xml and llms.txt.
Run: mote-run sh -c 'cd site && node --test worker.test.mjs install.test.mjs': 69 pass, 0 fail.
Not tried: a real OpenCode run against the page's steps.
/docs/local-models and its zh and ja pages: Ollama, LM Studio, oMLX and
MLX-Serve presets with their default addresses and the APIs magpie uses
for each, which agent goes through as is and which is translated,
another port or computer (Server address, the certificate switch),
vLLM and llama.cpp through Custom + Detect APIs, the context window and
masking. Linked from every docs page's nav and footer, the sitemap and
llms.txt.
Facts read from the provider presets, internal/cli/providers_cli.go's
help text and i18n.js labels. Left out for lack of evidence: detecting a
running Ollama, Ollama's default num_ctx, how well local models call
tools, default ports for llama.cpp and vLLM.
Run: mote-run sh -c 'cd site && node --test worker.test.mjs
install.test.mjs' at this tree: 69 pass, 0 fail.
New pages under /docs/ja/, translated from the English guides with the
same facts and nothing added, aimed at Japanese searches such as
"Claude Code DeepSeek 使い方", "Codex 他のモデル", "Gemini CLI Claude" and
"ChatGPT サブスク 他のツール":
- /docs/ja/claude-code-models
- /docs/ja/codex-models
- /docs/ja/gemini-cli-models
- /docs/ja/subscriptions
Each is built on docs/ja/start.html's head, nav, footer and CSS, with
TechArticle and FAQPage JSON-LD (inLanguage ja; the FAQ entries are the
page's own FAQ text), canonical, og tags and hreflang en/zh/ja/x-default.
UI labels stay in English, as in the other ja pages.
- The en and zh versions of the four guides get a hreflang ja alternate
and a 日本語 entry in their language menu, as docs/start.html has.
- Every ja page's nav and footer now link the ja URLs of the four guides
instead of the English ones.
- sitemap.xml lists the 4 ja URLs.
Run:
- node --test worker.test.mjs install.test.mjs on mote (mote-run, at
this tree): 69 tests, 69 pass, 0 fail. It includes the sitemap test
(every docs page listed, own canonical, x-default, every alternate a
listed page) and the contributors footer test.
- A Python check over every docs page: all 12 JSON-LD blocks parse, the
ja TechArticles carry inLanguage ja and their own URL, every canonical
is the page's URL, and every hreflang set is reciprocal (47 pages, 0
problems).
Not tried: rendering the pages in a browser before the deploy.
New pages, en and zh, built on the claude-code-models template (same
head, nav, footer, TechArticle + FAQPage JSON-LD, canonical, hreflang):
- /docs/gemini-cli-models: pointing Gemini CLI at the gateway's Gemini
API, the four keys magpie writes, going back to Google, subscription
models in Gemini CLI, routing.
- /docs/subscriptions: the built-in subscriptions and their model
prefixes, sign-in, using one in another agent, several accounts,
routing modes and fallback, other tools through the gateway.
Every docs page (en, zh, ja; ja links to the English URLs) gets the two
nav and footer links after the Codex guide, the 4 URLs go in
sitemap.xml and the 2 English ones in llms.txt, as 082ca55a3 did.
Facts come from:
- internal/agent/gemini.go: .env GOOGLE_GEMINI_BASE_URL and
GEMINI_API_KEY, settings.json security.auth.selectedType
(gemini-api-key) and model.name, the stash and restore on unroute,
the auth options (google, api-key with a Google Gemini provider's
key, vertex), detection by the gemini binary on PATH and not
~/.gemini (#230, #330), the auth warning, WSL distros.
- internal/gateway routes for /v1beta/models (generateContent,
streamGenerateContent, countTokens).
- CLI forms from the command parser: magpie gemini model <id>,
magpie gemini default|google, magpie accounts add <sub>,
accounts add copilot --host, accounts project gemini, accounts
discovery off.
- The existing docs (start, integrate, privacy, claude-code-models,
codex-models) for the subscription list and plans, Claude requests
running through the installed Claude Code, the routing modes,
auto/<model> groups, the compacting rule matching Gemini CLI, the
Connect section's base URLs, and "no magpie server in that path".
Left out as unverified: whether Gemini CLI's own /model picker lists
magpie's models.
Run:
- mote-run sh -c 'cd site && node --test worker.test.mjs
install.test.mjs': tests 69, pass 69, fail 0.
- A Python check that every site/public/docs HTML file's tags balance
(html.parser) and every ld+json block parses as JSON: 0 bad.
Google sends 6,140 clicks in 28 days, every one on "magpie" or a
misspelling of it: no one finds magpie by searching for what it does.
These two guides, in English and Chinese, answer the searches it should
win: "claude code deepseek", "Claude Code 接入国产模型", "codex kimi",
"Codex 使用第三方模型".
- docs/claude-code-models and docs/zh/claude-code-models: why Claude
Code needs a gateway, the setup in the app and the CLI, how the
opus/sonnet/haiku/fable tiers map, every settings.json key magpie
writes and how it is undone, GPT models from a ChatGPT or Copilot sign-in,
several keys, and an FAQ.
- docs/codex-models and docs/zh/codex-models: the same for Codex, with
/model's catalog, the two shapes of config.toml (signed in to ChatGPT
or not), going back, Claude in Codex.
- Each page has TechArticle and FAQPage JSON-LD, canonical, hreflang
(en, zh, x-default) and og tags. Both are in every docs page's nav and
footer, in the sitemap and in llms.txt.
Every claim is checked against internal/agent/claude.go, codex.go,
internal/codexcat, internal/provider/presets.go and the gateway, or taken
from docs/start.html (Copilot models in Claude Code). No ja pages yet;
the ja nav links the English ones, as it does for integrate.
Run: node --test worker.test.mjs install.test.mjs on mote, 69 pass.