diff --git a/site/public/docs/free-models.html b/site/public/docs/free-models.html new file mode 100644 index 000000000..a5b00b511 --- /dev/null +++ b/site/public/docs/free-models.html @@ -0,0 +1,266 @@ + + + + + +Free models in Claude Code, Codex and other agents: OpenCode Zen, Kilo, NVIDIA NIM · magpie + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+

Docs · Guide

+

Free models in Claude Code, Codex and other agents

+

Some providers serve models free, some with no key at all. magpie lists them in the same picker as every other model, an agent asks for provider/model, and free ones are marked.

+

Free models with no key

+
    +
  1. OpenCode Zen.Its free models (ids ending in -free, and big-pickle) need no key. Zen serves its free tier to OpenCode alone, and magpie asks for them as OpenCode does.
  2. +
  3. Kilo Gateway.Its free models (marked free, ids ending in :free) need no key. With none, a caller counts as anonymous, by IP, at 200 requests an hour.
  4. +
+
Terminal
magpie provider add opencode-zen
+magpie provider add kilo
+magpie models
+

Once added, the free models are in every agent's picker:

+
Terminal
magpie claude opencode-zen/big-pickle
+magpie codex kilo/:free
+

For their paid models, add a key; the free ones keep working:

+
Terminal
magpie provider key opencode-zen 
+magpie provider key kilo 
+

The free mark in pickers

+

A model a provider prices at 0 on all four counts (input, output, cache read, cache write) is marked free beside it in the pickers: OpenRouter's :free models, OpenCode Zen's -free ones, NVIDIA NIM's free models.

+ +
Terminal
magpie model price relay-a/some-model 0,0,0,0
+

Free models first, paid as fallback

+

Free models are often rate-limited. Put a free model and a paid one in a routing group, the free one first: when it is limited or fails, the group's next member answers. See Round robin and failover across accounts, keys and providers.

+

Notes

+ + +

FAQ

+

Are there free models I can use in Claude Code with no key?

+

Yes. OpenCode Zen's free models (ending in -free, and big-pickle) and Kilo Gateway's free models (ending in :free) need no key: add them with magpie provider add opencode-zen or magpie provider add kilo.

+

What is the limit on Kilo Gateway with no key?

+

With no key, a caller counts as anonymous, by IP, at 200 requests an hour. A Kilo key reaches its paid models too.

+

Where does the free mark in the pickers come from?

+

A provider pricing a model at 0 on all four counts. It is that provider's price alone; a model its maker gives away, or a plan's $0 price list, doesn't count.

+

What if a free model is rate-limited?

+

Put it in a routing group with a paid model, the free one first. When it is limited or fails, the group's next member answers.

+ +

Related: NVIDIA NIM in Claude Code, Codex and other agents, OpenRouter in Claude Code, Codex, Gemini CLI and OpenCode. If something fails, see Fixing common errors: 401, 429, 502, 504 and more or ask on Discord.

+
+
+ + + + + + + diff --git a/site/public/docs/ja/free-models.html b/site/public/docs/ja/free-models.html new file mode 100644 index 000000000..0c719a394 --- /dev/null +++ b/site/public/docs/ja/free-models.html @@ -0,0 +1,266 @@ + + + + + +無料モデルを Claude Code・Codex などで使う:OpenCode Zen・Kilo・NVIDIA NIM · magpie + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+

ドキュメント · ガイド

+

無料モデルを Claude Code・Codex などのエージェントで使う

+

無料のモデルを出すプロバイダーがあり、キーさえ要らないものもあります。magpie はそれらをほかのモデルと同じ選択欄に並べ、エージェントは プロバイダー/モデル で使えます。無料のものには印が付きます。

+

キー不要の無料モデル

+
    +
  1. OpenCode Zen。無料モデル(ID が -free で終わるものと big-pickle)はキー不要です。Zen の無料枠は OpenCode 専用なので、magpie は OpenCode と同じ形でリクエストします。
  2. +
  3. Kilo Gateway。無料モデル(無料と表示され、ID が :free で終わるもの)はキー不要です。キーなしでは匿名として IP ごとに 1 時間 200 リクエストまでです。
  4. +
+
ターミナル
magpie provider add opencode-zen
+magpie provider add kilo
+magpie models
+

追加すると、無料モデルがすべてのエージェントの選択欄に出ます。

+
ターミナル
magpie claude opencode-zen/big-pickle
+magpie codex kilo/:free
+

有料モデルも使うならキーを加えます。無料モデルはそのまま使えます。

+
ターミナル
magpie provider key opencode-zen 
+magpie provider key kilo 
+

選択欄の無料表示

+

あるプロバイダーで 4 つの価格(入力・出力・キャッシュ読み込み・書き込み)がすべて 0 のモデルには、選択欄で 無料 と表示されます。OpenRouter の :free モデル、OpenCode Zen の -free モデル、NVIDIA NIM の無料モデルなどです。

+ +
ターミナル
magpie model price relay-a/some-model 0,0,0,0
+

無料モデルを先に、有料を予備に

+

無料モデルにはよくレート制限があります。無料モデルと有料モデルを同じルーティンググループに入れ、無料を先にしておけば、制限やエラーのときに次のメンバーが答えます。アカウント・キー・プロバイダーのローテーションとフェイルオーバー を参照してください。

+

補足

+ + +

よくある質問

+

キーなしで Claude Code に使える無料モデルはありますか?

+

あります。OpenCode Zen の無料モデル(-free で終わるものと big-pickle)と Kilo Gateway の無料モデル(:free で終わるもの)はキー不要で、magpie provider add opencode-zen か magpie provider add kilo で追加します。

+

キーなしの Kilo Gateway の制限は?

+

キーなしでは匿名として IP ごとに 1 時間 200 リクエストまでです。Kilo のキーを加えれば有料モデルも使えます。

+

選択欄の無料表示はどう決まりますか?

+

あるプロバイダーがモデルの 4 つの価格をすべて 0 にしていると表示されます。そのプロバイダーの価格だけで、提供元の無料提供やプランの価格表の 0 は数えません。

+

無料モデルがレート制限されたら?

+

有料モデルと同じルーティンググループに入れ、無料を先にします。制限やエラーのときは次のメンバーが答えます。

+ +

関連ページ:NVIDIA NIM を Claude Code・Codex などのエージェントで使う、OpenRouter を Claude Code・Codex・Gemini CLI・OpenCode で使う。エラーが出たら よくあるエラーの直し方:401・429・502・504 など を見るか、Discord で質問してください。

+
+
+ + + + + + + diff --git a/site/public/docs/ja/nvidia.html b/site/public/docs/ja/nvidia.html index 9075e9ff6..d229b4b3d 100644 --- a/site/public/docs/ja/nvidia.html +++ b/site/public/docs/ja/nvidia.html @@ -200,6 +200,8 @@ magpie codex nvidia/

補足

+

無料モデルを Claude Code・Codex などのエージェントで使う

+

よくある質問

magpie は NVIDIA NIM に対応していますか?

対応しています。nvidia プリセットに build.nvidia.com の API キーを入れると、integrate.api.nvidia.com/v1 の Chat Completions を使います。モデル ID は nvidia/<モデル> です。

diff --git a/site/public/docs/nvidia.html b/site/public/docs/nvidia.html index 3e5974c23..6bf7cdfe8 100644 --- a/site/public/docs/nvidia.html +++ b/site/public/docs/nvidia.html @@ -200,6 +200,8 @@ magpie codex nvidia/

Notes

+

Free models in Claude Code, Codex and other agents

+

FAQ

Does magpie support NVIDIA NIM?

Yes, with the nvidia preset. Give a build.nvidia.com API key; magpie asks Chat Completions at integrate.api.nvidia.com/v1, and a model id is nvidia/.

diff --git a/site/public/docs/zh/free-models.html b/site/public/docs/zh/free-models.html new file mode 100644 index 000000000..3adcf46ae --- /dev/null +++ b/site/public/docs/zh/free-models.html @@ -0,0 +1,266 @@ + + + + + +免费模型接入 Claude Code、Codex 等 Agent:OpenCode Zen、Kilo、NVIDIA NIM · magpie + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+

文档 · 指南

+

免费模型接入 Claude Code、Codex 等 Agent

+

有些供应商提供免费模型,有的连 Key 都不要。magpie 把它们和其他模型放在同一个选择器里,Agent 写 供应商/模型 就能用;免费的会在旁边标出来。

+

不要 Key 的免费模型

+
    +
  1. OpenCode Zen。免费模型(id 以 -free 结尾的,以及 big-pickle)不需要 Key。Zen 的免费档只给 OpenCode 用,magpie 按 OpenCode 发请求的方式去请求它们。
  2. +
  3. Kilo Gateway。免费模型(标着免费、id 以 :free 结尾的)不需要 Key。没有 Key 时按匿名访问计,按 IP 每小时 200 次请求。
  4. +
+
终端
magpie provider add opencode-zen
+magpie provider add kilo
+magpie models
+

加好之后,免费模型就出现在每个 Agent 的选择器里:

+
终端
magpie claude opencode-zen/big-pickle
+magpie codex kilo/:free
+

想用这两家的付费模型,再补一把 Key 就行,免费模型照样能用:

+
终端
magpie provider key opencode-zen 
+magpie provider key kilo 
+

选择器里的免费标记

+

在某个供应商上四项价格(输入、输出、缓存读、缓存写)都标为 0 的模型,选择器里会在旁边标上 免费,比如 OpenRouter 的 :free 模型、OpenCode Zen 的 -free 模型、NVIDIA NIM 的免费模型。

+
  • 这只算这个供应商的价格:同一个模型在别的供应商那里照常计价。
  • 模型厂商自己免费给的(比如智谱的 glm-4.7-flash),不等于转卖它的供应商也免费,所以不标。
  • 套餐的价格表写的是会员按 token 付多少,不是模型本身的价格,所以也不算。
  • 你自己给模型设了价格时,以你设的为准:设成 0 就标免费,设成别的就不标。
+
终端
magpie model price relay-a/some-model 0,0,0,0
+

免费模型做备用

+

免费模型常有频率限制。把免费模型和付费模型放进同一个路由组,免费的放前面:免费的被限速或出错时,组里的下一个接着回答,详见 多个账号、Key 和供应商轮询与故障切换。

+

几点说明

+
  • 供应商回答说某个模型已经下线时(比如 Zen 的 410「Model exo-free has been deprecated.」),这个模型会从 magpie models、/v1/models 和每个 Agent 的列表里拿掉;有一次请求答上了,或者过了一周,它会回来。
  • 哪些模型免费、额度多少,以各家自己的页面为准,会随时变化。
+ +

常见问题

+

有没有不用 Key 就能在 Claude Code 里用的免费模型?

+

有。OpenCode Zen 的免费模型(-free 结尾和 big-pickle)和 Kilo Gateway 的免费模型(:free 结尾)都不需要 Key,用 magpie provider add opencode-zen 或 magpie provider add kilo 添加即可。

+

Kilo Gateway 没有 Key 有什么限制?

+

没有 Key 时按匿名访问计,按 IP 每小时 200 次请求。加一把 Kilo 的 Key 就能用它的付费模型。

+

选择器里的免费标记是怎么来的?

+

某个供应商把模型的四项价格都标为 0 时就标免费。这只是这个供应商的价格;模型厂商自己免费给的、套餐价格表里为 0 的都不算。

+

免费模型被限速了怎么办?

+

把它和付费模型放进同一个路由组,免费的放前面。被限速或出错时,组里的下一个接着回答。

+ +

相关页面:NVIDIA NIM 接入 Claude Code、Codex 等 Agent、OpenRouter 接入 Claude Code、Codex、Gemini CLI 和 OpenCode。遇到错误请看 常见错误排查:401、429、502、504 等,或者到 Discord 提问。

+
+
+ + + + + + + diff --git a/site/public/docs/zh/nvidia.html b/site/public/docs/zh/nvidia.html index 73e4c134c..50259846f 100644 --- a/site/public/docs/zh/nvidia.html +++ b/site/public/docs/zh/nvidia.html @@ -200,6 +200,8 @@ magpie codex nvidia/

几点说明

  • 在 OpenCode 里配过的 nvidia 供应商,导入时也会变成这个预设。
  • NIM 的免费额度用完或被限速时,可以把它和其他供应商放进同一个路由组:一个失败了,组里的下一个接着回答。
  • magpie 分不出一把 NIM 的 Key 是免费的还是付费的,所以不会替你判断它的计费方式。
+

免费模型接入 Claude Code、Codex 等 Agent

+

常见问题

magpie 支持 NVIDIA NIM 吗?

支持,用 nvidia 预设。填一把 build.nvidia.com 的 API Key,magpie 走 integrate.api.nvidia.com/v1 的 Chat Completions,模型 id 写成 nvidia/<模型>。

diff --git a/site/public/llms-full.txt b/site/public/llms-full.txt index f8fb2c851..075f2a401 100644 --- a/site/public/llms-full.txt +++ b/site/public/llms-full.txt @@ -9820,6 +9820,8 @@ Importing from an app that keeps an entry per key, as CC Switch does, often brin - When NIM's free use runs out or is rate-limited, put it in a routing group with other providers: when one fails, the group's next member answers. - magpie can't tell a free NIM key from a paid one, so it doesn't say how a key bills. +[Free models in Claude Code, Codex and other agents](https://usemagpie.ai/docs/free-models) + ## FAQ ### Does magpie support NVIDIA NIM? @@ -9998,6 +10000,81 @@ Related: [Groq in Claude Code, Codex and other agents](https://usemagpie.ai/docs --- +Source: https://usemagpie.ai/docs/free-models + +# Free models in Claude Code, Codex and other agents + +Some providers serve models free, some with no key at all. magpie lists them in the same picker as every other model, an agent asks for `provider/model`, and free ones are marked. + +## Free models with no key + +1. **OpenCode Zen..** Its free models (ids ending in `-free`, and `big-pickle`) need no key. Zen serves its free tier to OpenCode alone, and magpie asks for them as OpenCode does. +2. **Kilo Gateway..** Its free models (marked free, ids ending in `:free`) need no key. With none, a caller counts as anonymous, by IP, at 200 requests an hour. + +``` +magpie provider add opencode-zen +magpie provider add kilo +magpie models +``` + +Once added, the free models are in every agent's picker: + +``` +magpie claude opencode-zen/big-pickle +magpie codex kilo/:free +``` + +For their paid models, add a key; the free ones keep working: + +``` +magpie provider key opencode-zen +magpie provider key kilo +``` + +## The free mark in pickers + +A model a provider prices at 0 on all four counts (input, output, cache read, cache write) is marked free beside it in the pickers: OpenRouter's `:free` models, OpenCode Zen's `-free` ones, [NVIDIA NIM](https://usemagpie.ai/docs/nvidia)'s free models. + +- It is that provider's price alone: the same model on another provider costs what it costs there. +- A model its maker gives away (Zhipu's `glm-4.7-flash`) isn't marked, since a provider reselling it may not. +- A plan's price list says what members pay per token, not what the model costs, so it doesn't count either. +- A price you set yourself wins: 0 is marked free, anything else isn't. + +``` +magpie model price relay-a/some-model 0,0,0,0 +``` + +## Free models first, paid as fallback + +Free models are often rate-limited. Put a free model and a paid one in a routing group, the free one first: when it is limited or fails, the group's next member answers. See [Round robin and failover across accounts, keys and providers](https://usemagpie.ai/docs/routing-groups). + +## Notes + +- When a provider answers that a model is deprecated or retired (Zen's 410 "Model exo-free has been deprecated."), the model leaves `magpie models`, `/v1/models` and every agent's list. It comes back once a request for it is answered, or after a week. +- Which models are free, and how far, is as each provider's own pages say, and changes. + +## FAQ + +### Are there free models I can use in Claude Code with no key? + +Yes. OpenCode Zen's free models (ending in -free, and big-pickle) and Kilo Gateway's free models (ending in :free) need no key: add them with magpie provider add opencode-zen or magpie provider add kilo. + +### What is the limit on Kilo Gateway with no key? + +With no key, a caller counts as anonymous, by IP, at 200 requests an hour. A Kilo key reaches its paid models too. + +### Where does the free mark in the pickers come from? + +A provider pricing a model at 0 on all four counts. It is that provider's price alone; a model its maker gives away, or a plan's $0 price list, doesn't count. + +### What if a free model is rate-limited? + +Put it in a routing group with a paid model, the free one first. When it is limited or fails, the group's next member answers. + +Related: [NVIDIA NIM in Claude Code, Codex and other agents](https://usemagpie.ai/docs/nvidia), [OpenRouter in Claude Code, Codex, Gemini CLI and OpenCode](https://usemagpie.ai/docs/openrouter). If something fails, see [Fixing common errors: 401, 429, 502, 504 and more](https://usemagpie.ai/docs/troubleshooting) or ask on [Discord](https://discord.gg/vGSnD3ZKQF). + +--- + Source: https://usemagpie.ai/docs/library # Library diff --git a/site/public/llms.txt b/site/public/llms.txt index d86006d79..67ce8b01d 100644 --- a/site/public/llms.txt +++ b/site/public/llms.txt @@ -150,6 +150,7 @@ DeepSeek, Kimi (Moonshot), GLM (Zhipu), Qwen, MiniMax, Anthropic (Claude), OpenA - [NVIDIA NIM in Claude Code, Codex and other agents](https://usemagpie.ai/docs/nvidia): the nvidia preset on Chat Completions at integrate.api.nvidia.com, Claude Code and Codex translated, free models marked in the pickers, imported keys folded into one provider. - [API relays in Claude Code, Codex and other agents](https://usemagpie.ai/docs/relay): preset relays (AiHubMix, PipeLLM, 302.AI, CherryIN, 鱼鱼连线) and any OpenAI- or Anthropic-compatible address, Claude models on Messages for caching, model price, model wire, context and output limits, scheduled list refresh. - [Fireworks and Fireworks Nexus in Claude Code, Codex and other agents](https://usemagpie.ai/docs/fireworks): the fireworks preset on Chat Completions, pay as you go; fireworks-nexus on Nexus Auto (Pro and Team take only auto), Claude and GPT with your own keys in x-anthropic-api-key and x-openai-api-key. +- [Free models in Claude Code, Codex and other agents](https://usemagpie.ai/docs/free-models): OpenCode Zen's and Kilo Gateway's free models with no key, the free mark in pickers, and free models first in a routing group. - [Library](https://usemagpie.ai/docs/library): instructions, MCP servers, skills, hooks and subagents for each agent. - [MCP router](https://usemagpie.ai/docs/mcp-router): one magpie MCP server per agent. - [Remote magpie](https://usemagpie.ai/docs/remote): use one magpie from several computers. diff --git a/site/public/sitemap.xml b/site/public/sitemap.xml index 67e1ee4d5..e0a122c07 100644 --- a/site/public/sitemap.xml +++ b/site/public/sitemap.xml @@ -102,6 +102,7 @@ https://usemagpie.ai/docs/nvidia https://usemagpie.ai/docs/relay https://usemagpie.ai/docs/fireworks +https://usemagpie.ai/docs/free-models https://usemagpie.ai/docs/local-models https://usemagpie.ai/docs/opencode-models https://usemagpie.ai/docs/alternatives @@ -225,6 +226,7 @@ https://usemagpie.ai/docs/zh/nvidia https://usemagpie.ai/docs/zh/relay https://usemagpie.ai/docs/zh/fireworks +https://usemagpie.ai/docs/zh/free-models https://usemagpie.ai/docs/zh/local-models https://usemagpie.ai/docs/zh/opencode-models https://usemagpie.ai/docs/zh/alternatives @@ -347,6 +349,7 @@ https://usemagpie.ai/docs/ja/nvidia https://usemagpie.ai/docs/ja/relay https://usemagpie.ai/docs/ja/fireworks +https://usemagpie.ai/docs/ja/free-models https://usemagpie.ai/docs/ja/local-models https://usemagpie.ai/docs/ja/opencode-models https://usemagpie.ai/docs/ja/alternatives