From 390dd407b9daed8defb005c38ab7038de9ca754a Mon Sep 17 00:00:00 2001 From: yetone Date: Fri, 13 Nov 2026 07:58:54 +0800 Subject: [PATCH] site: a Fireworks and Fireworks Nexus page in en, zh and ja /docs/fireworks says how magpie serves Fireworks AI and Fireworks Nexus: the fireworks preset on Chat Completions at api.fireworks.ai/inference/v1 with models.dev's fireworks-ai list, the agents' other APIs translated; the fireworks-nexus preset with keys from nexus.fireworks.ai on Chat, Responses and Messages, auto as its list since Pro and Team refuse an open model with a 403, Enterprise models typed in, and Claude and GPT through the x-anthropic-api-key and x-openai-api-key headers the editor offers (HeaderHints) or set with magpie provider set header.=. Every claim is from internal/provider/presets.go and docs/reference.md, with the labels' zh and ja from i18n.js. Linked from each language's groq page; in the sitemap, llms.txt and llms-full.txt. Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt; node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run): 116 pass, 0 fail. Not tried: a real Fireworks or Nexus key for this page; it names only what magpie's source says. --- site/public/docs/fireworks.html | 266 +++++++++++++++++++++++++++++ site/public/docs/groq.html | 2 + site/public/docs/ja/fireworks.html | 266 +++++++++++++++++++++++++++++ site/public/docs/ja/groq.html | 2 + site/public/docs/zh/fireworks.html | 266 +++++++++++++++++++++++++++++ site/public/docs/zh/groq.html | 2 + site/public/llms-full.txt | 72 ++++++++ site/public/llms.txt | 1 + site/public/sitemap.xml | 3 + 9 files changed, 880 insertions(+) create mode 100644 site/public/docs/fireworks.html create mode 100644 site/public/docs/ja/fireworks.html create mode 100644 site/public/docs/zh/fireworks.html diff --git a/site/public/docs/fireworks.html b/site/public/docs/fireworks.html new file mode 100644 index 000000000..fb640b1cc --- /dev/null +++ b/site/public/docs/fireworks.html @@ -0,0 +1,266 @@ + + + + + +Fireworks and Fireworks Nexus in Claude Code, Codex and other agents · magpie + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+

Docs · Guide

+

Fireworks and Fireworks Nexus in Claude Code, Codex and other agents

+

Fireworks hosts open models, paid as you go; Fireworks Nexus is an account and plan of its own at nexus.fireworks.ai, where Nexus Auto picks the model. magpie has a preset for each: fireworks and fireworks-nexus.

+

Fireworks, pay as you go

+
    +
  1. Get a key.Make one at app.fireworks.ai under Settings → Users → API Keys.
  2. +
  3. Add it.Pick Fireworks in the app and paste the key into API key, or from the CLI:
  4. +
+
Terminal
magpie provider add fireworks fw_…
+magpie provider test fireworks
+magpie claude fireworks/
+

The preset asks Chat Completions alone, at https://api.fireworks.ai/inference/v1, with models.dev's fireworks-ai for the list and prices. magpie translates Claude Code's Anthropic requests and Codex's Responses requests to Chat for Fireworks.

+

Fireworks Nexus

+

A Nexus key is made at nexus.fireworks.ai, not on the Fireworks platform. Its /inference endpoints speak Chat Completions, Responses and Anthropic Messages alike, so Codex's and Claude Code's requests go on their own APIs.

+
Terminal
magpie provider add fireworks-nexus fw_…
+magpie codex fireworks-nexus/auto
+magpie claude fireworks-nexus/auto
+

Pro and Team take only auto, Nexus Auto, and refuse an open model named directly with a 403, so auto is the preset's list. An Enterprise account's open models are typed in by id among the provider's models.

+

Claude and GPT in Nexus

+

Nexus Auto reaches Claude and GPT with your own keys, in the x-anthropic-api-key and x-openai-api-key headers, or with Provider Keys set up on the Nexus account. In magpie's provider editor, Headers offers both names to add, with the values yours to fill in; from the CLI:

+
Terminal
magpie provider set fireworks-nexus header.x-anthropic-api-key=sk-ant-…
+magpie provider set fireworks-nexus header.x-openai-api-key=sk-…
+

A header of your own goes on every request. An empty value removes it.

+

Notes

+
  • Agents only reach magpie; they never hold the Fireworks key or its address.
  • Fireworks can share a routing group with other providers of the same open models: when one fails, the group's next member answers.
  • Nexus plans and limits are as Fireworks' own pages say; this page covers how magpie connects.
+ +

FAQ

+

Does magpie support Fireworks AI?

+

Yes. The fireworks preset takes a Fireworks API key and asks Chat Completions at api.fireworks.ai/inference/v1; a model id is fireworks/.

+

How is Fireworks Nexus different from Fireworks?

+

Nexus is an account and plan of its own, with keys made at nexus.fireworks.ai. Its endpoints speak Chat, Responses and Messages, Nexus Auto picks the model, and Pro and Team take only auto.

+

Why does Nexus list only auto?

+

Pro and Team refuse an open model named directly with a 403 and take only auto. An Enterprise account types its open models in by id.

+

How do I use Claude and GPT in Nexus?

+

Put your own Anthropic and OpenAI keys in the x-anthropic-api-key and x-openai-api-key headers, or set up Provider Keys on the Nexus account.

+ +

Related: Groq in Claude Code, Codex and other agents, API relays in Claude Code, Codex and other agents. If something fails, see Fixing common errors: 401, 429, 502, 504 and more or ask on Discord.

+
+
+ + + + + + + diff --git a/site/public/docs/groq.html b/site/public/docs/groq.html index 91b44052b..2414bad7e 100644 --- a/site/public/docs/groq.html +++ b/site/public/docs/groq.html @@ -204,6 +204,8 @@ magpie codex groq/openai/gpt-oss-120b

Notes

+

Fireworks and Fireworks Nexus in Claude Code, Codex and other agents

+

FAQ

Does magpie support Groq?

Yes, with the groq preset. Give a Groq API key; Chat Completions and Responses are set, the models come from Groq's list, and a model id is groq/.

diff --git a/site/public/docs/ja/fireworks.html b/site/public/docs/ja/fireworks.html new file mode 100644 index 000000000..b0794819b --- /dev/null +++ b/site/public/docs/ja/fireworks.html @@ -0,0 +1,266 @@ + + + + + +Fireworks と Fireworks Nexus を Claude Code・Codex などで使う · magpie + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+

ドキュメント · ガイド

+

Fireworks と Fireworks Nexus を Claude Code・Codex などのエージェントで使う

+

Fireworks はオープンモデルを従量課金で提供しています。Fireworks Nexus は nexus.fireworks.ai にある独立したアカウントとプランで、Nexus Auto がモデルを選びます。magpie にはそれぞれのプリセット、fireworks と fireworks-nexus があります。

+

Fireworks(従量課金)

+
    +
  1. キーを作る。app.fireworks.ai の Settings → Users → API Keys で作成します。
  2. +
  3. 追加する。アプリで Fireworks を選び、APIキー にキーを貼り付けるか、CLI で追加します。
  4. +
+
ターミナル
magpie provider add fireworks fw_…
+magpie provider test fireworks
+magpie claude fireworks/
+

プリセットは Chat Completions だけを https://api.fireworks.ai/inference/v1 で使い、一覧と価格は models.dev の fireworks-ai から取ります。Claude Code の Anthropic リクエストと Codex の Responses リクエストは、magpie が Chat に変換して送ります。

+

Fireworks Nexus

+

Nexus のキーは nexus.fireworks.ai で作るもので、Fireworks プラットフォームのキーとは別です。/inference エンドポイントは Chat Completions・Responses・Anthropic Messages のどれも話すので、Codex と Claude Code のリクエストはそれぞれの API のまま送られます。

+
ターミナル
magpie provider add fireworks-nexus fw_…
+magpie codex fireworks-nexus/auto
+magpie claude fireworks-nexus/auto
+

Pro と Team は auto(Nexus Auto)しか受け付けず、オープンモデルを直接指定すると 403 で断られます。そのためプリセットの一覧は auto だけです。Enterprise アカウントで使えるオープンモデルは、プロバイダーのモデルに ID を自分で入力します。

+

Nexus で Claude と GPT を使う

+

Nexus Auto が Claude と GPT を使うときは、あなた自身のキーを x-anthropic-api-key と x-openai-api-key の 2 つのヘッダーに入れるか、Nexus アカウントで Provider Keys を設定します。magpie のプロバイダー編集画面では ヘッダー がこの 2 つの名前を候補に出し、値はあなたが入れます。CLI では次のとおりです。

+
ターミナル
magpie provider set fireworks-nexus header.x-anthropic-api-key=sk-ant-…
+magpie provider set fireworks-nexus header.x-openai-api-key=sk-…
+

自分で加えたヘッダーはすべてのリクエストに付きます。値を空にすると削除されます。

+

補足

+
  • エージェントがつなぐのは magpie だけで、Fireworks のキーもアドレスも持ちません。
  • 同じオープンモデルを提供するほかのプロバイダーと同じルーティンググループに入れれば、1 つが失敗しても次のメンバーが答えます。
  • Nexus のプランと上限は Fireworks 自身のページのとおりで、このページは magpie のつなぎ方だけを扱います。
+ +

よくある質問

+

magpie は Fireworks AI に対応していますか?

+

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

+

Fireworks Nexus と Fireworks の違いは?

+

Nexus は独立したアカウントとプランで、キーは nexus.fireworks.ai で作ります。エンドポイントは Chat・Responses・Messages を話し、Nexus Auto がモデルを選び、Pro と Team は auto だけです。

+

Nexus の一覧が auto だけなのはなぜ?

+

Pro と Team はオープンモデルの直接指定を 403 で断り、auto だけを受け付けます。Enterprise アカウントはオープンモデルの ID を自分で入力します。

+

Nexus で Claude と GPT を使うには?

+

自分の Anthropic と OpenAI のキーを x-anthropic-api-key と x-openai-api-key のヘッダーに入れるか、Nexus アカウントで Provider Keys を設定します。

+ +

関連ページ:Groq を Claude Code・Codex などのエージェントで使う、API 中継サービスを Claude Code・Codex などのエージェントで使う。エラーが出たら よくあるエラーの直し方:401・429・502・504 など を見るか、Discord で質問してください。

+
+
+ + + + + + + diff --git a/site/public/docs/ja/groq.html b/site/public/docs/ja/groq.html index 2c80822ea..811e11508 100644 --- a/site/public/docs/ja/groq.html +++ b/site/public/docs/ja/groq.html @@ -204,6 +204,8 @@ magpie codex groq/openai/gpt-oss-120b

補足

+

Fireworks と Fireworks Nexus を Claude Code・Codex などのエージェントで使う

+

よくある質問

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

対応しています。groq プリセットに Groq の API キーを入れると、Chat Completions と Responses が設定され、モデルは Groq の一覧から取られます。モデル ID は groq/<モデル> です。

diff --git a/site/public/docs/zh/fireworks.html b/site/public/docs/zh/fireworks.html new file mode 100644 index 000000000..103258760 --- /dev/null +++ b/site/public/docs/zh/fireworks.html @@ -0,0 +1,266 @@ + + + + + +Fireworks 与 Fireworks Nexus 接入 Claude Code、Codex 等 Agent · magpie + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+

文档 · 指南

+

Fireworks 与 Fireworks Nexus 接入 Claude Code、Codex 等 Agent

+

Fireworks 托管开源模型,按量付费;Fireworks Nexus 是它单独的账号和套餐,在 nexus.fireworks.ai 开通,由 Nexus Auto 替你选模型。magpie 两个都有预设:fireworks 和 fireworks-nexus。

+

Fireworks 按量付费

+
    +
  1. 拿一把 Key。在 app.fireworks.ai 的 Settings → Users → API Keys 里生成。
  2. +
  3. 添加。在应用里选 Fireworks,把 Key 填进 API 密钥,或者在命令行:
  4. +
+
终端
magpie provider add fireworks fw_…
+magpie provider test fireworks
+magpie claude fireworks/
+

预设只走 Chat Completions,地址是 https://api.fireworks.ai/inference/v1,模型列表和价格来自 models.dev 的 fireworks-ai。Claude Code 的 Anthropic 请求和 Codex 的 Responses 请求由 magpie 转成 Chat 发给 Fireworks。

+

Fireworks Nexus

+

Nexus 的 Key 要在 nexus.fireworks.ai 生成,和 Fireworks 平台的 Key 不是一回事。它的 /inference 接口同时说 Chat Completions、Responses 和 Anthropic Messages,所以 Codex 和 Claude Code 的请求按各自的协议直接发过去。

+
终端
magpie provider add fireworks-nexus fw_…
+magpie codex fireworks-nexus/auto
+magpie claude fireworks-nexus/auto
+

Pro 和 Team 套餐只接受 auto,也就是 Nexus Auto;直接点名一个开源模型会被 403 拒绝。所以这个预设的模型列表就只有 auto。Enterprise 账号能用的开源模型,要在供应商的模型里自己填上 id。

+

在 Nexus 里用 Claude 和 GPT

+

Nexus Auto 要用到 Claude 和 GPT 时,用的是你自己的 Key:放在 x-anthropic-api-key 和 x-openai-api-key 两个请求头里,或者在 Nexus 账号上配置 Provider Keys。在 magpie 的供应商编辑器里,请求头 会直接提供这两个名字,值由你来填;命令行是:

+
终端
magpie provider set fireworks-nexus header.x-anthropic-api-key=sk-ant-…
+magpie provider set fireworks-nexus header.x-openai-api-key=sk-…
+

自己加的请求头每次请求都会带上。值留空就是删掉这个请求头。

+

几点说明

+
  • Agent 只连 magpie,不拿 Fireworks 的 Key,也不知道它的地址。
  • Fireworks 可以和其他托管同一批开源模型的供应商放进同一个路由组,一个出错了,组里的下一个接着回答。
  • Nexus 的套餐和额度以 Fireworks 自己的页面为准,这一页只写 magpie 怎么接。
+ +

常见问题

+

magpie 支持 Fireworks AI 吗?

+

支持。fireworks 预设填一把 Fireworks 的 API Key,走 api.fireworks.ai/inference/v1 的 Chat Completions,模型 id 写成 fireworks/<模型>。

+

Fireworks Nexus 和 Fireworks 有什么不同?

+

Nexus 是单独的账号和套餐,Key 在 nexus.fireworks.ai 生成。它的接口同时支持 Chat、Responses 和 Messages,模型由 Nexus Auto 选,Pro 和 Team 只能用 auto。

+

为什么 Nexus 只列出 auto?

+

Pro 和 Team 套餐直接点名开源模型会被 403 拒绝,只接受 auto。Enterprise 账号可以在供应商的模型里自己填上开源模型的 id。

+

Nexus 里怎么用 Claude 和 GPT?

+

把你自己的 Anthropic 和 OpenAI Key 放进 x-anthropic-api-key 和 x-openai-api-key 两个请求头,或者在 Nexus 账号上配置 Provider Keys。

+ +

相关页面:Groq 接入 Claude Code、Codex 等 Agent、中转站 API 接入 Claude Code、Codex 等 Agent。遇到错误请看 常见错误排查:401、429、502、504 等,或者到 Discord 提问。

+
+
+ + + + + + + diff --git a/site/public/docs/zh/groq.html b/site/public/docs/zh/groq.html index cdaf854d9..ed03a971e 100644 --- a/site/public/docs/zh/groq.html +++ b/site/public/docs/zh/groq.html @@ -204,6 +204,8 @@ magpie codex groq/openai/gpt-oss-120b

几点说明

+

Fireworks 与 Fireworks Nexus 接入 Claude Code、Codex 等 Agent

+

常见问题

magpie 支持 Groq 吗?

支持,用 groq 预设。填一把 Groq 的 API Key,Chat Completions 和 Responses 接口都已配好,模型由 Groq 的列表给出,模型 id 写成 groq/<模型>。

diff --git a/site/public/llms-full.txt b/site/public/llms-full.txt index 0a565ca1d..f8fb2c851 100644 --- a/site/public/llms-full.txt +++ b/site/public/llms-full.txt @@ -9688,6 +9688,8 @@ curl http://127.0.0.1:3425/v1/audio/transcriptions \ - Groq takes its turn in a routing group like any provider: when it fails, the group's next member answers. - When one key isn't enough, add another as a second account of the same provider. +[Fireworks and Fireworks Nexus in Claude Code, Codex and other agents](https://usemagpie.ai/docs/fireworks) + ## FAQ ### Does magpie support Groq? @@ -9926,6 +9928,76 @@ Related: [OpenRouter in Claude Code, Codex, Gemini CLI and OpenCode](https://use --- +Source: https://usemagpie.ai/docs/fireworks + +# Fireworks and Fireworks Nexus in Claude Code, Codex and other agents + +Fireworks hosts open models, paid as you go; Fireworks Nexus is an account and plan of its own at nexus.fireworks.ai, where Nexus Auto picks the model. magpie has a preset for each: `fireworks` and `fireworks-nexus`. + +## Fireworks, pay as you go + +1. **Get a key..** Make one at app.fireworks.ai under Settings → Users → API Keys. +2. **Add it..** Pick Fireworks in the app and paste the key into API key, or from the CLI: + +``` +magpie provider add fireworks fw_… +magpie provider test fireworks +magpie claude fireworks/ +``` + +The preset asks Chat Completions alone, at `https://api.fireworks.ai/inference/v1`, with models.dev's `fireworks-ai` for the list and prices. magpie translates Claude Code's Anthropic requests and Codex's Responses requests to Chat for Fireworks. + +## Fireworks Nexus + +A Nexus key is made at nexus.fireworks.ai, not on the Fireworks platform. Its `/inference` endpoints speak Chat Completions, Responses and Anthropic Messages alike, so Codex's and Claude Code's requests go on their own APIs. + +``` +magpie provider add fireworks-nexus fw_… +magpie codex fireworks-nexus/auto +magpie claude fireworks-nexus/auto +``` + +Pro and Team take only `auto`, Nexus Auto, and refuse an open model named directly with a 403, so `auto` is the preset's list. An Enterprise account's open models are typed in by id among the provider's models. + +## Claude and GPT in Nexus + +Nexus Auto reaches Claude and GPT with your own keys, in the `x-anthropic-api-key` and `x-openai-api-key` headers, or with Provider Keys set up on the Nexus account. In magpie's provider editor, Headers offers both names to add, with the values yours to fill in; from the CLI: + +``` +magpie provider set fireworks-nexus header.x-anthropic-api-key=sk-ant-… +magpie provider set fireworks-nexus header.x-openai-api-key=sk-… +``` + +A header of your own goes on every request. An empty value removes it. + +## Notes + +- Agents only reach magpie; they never hold the Fireworks key or its address. +- Fireworks can share a routing group with other providers of the same open models: when one fails, the group's next member answers. +- Nexus plans and limits are as Fireworks' own pages say; this page covers how magpie connects. + +## FAQ + +### Does magpie support Fireworks AI? + +Yes. The fireworks preset takes a Fireworks API key and asks Chat Completions at api.fireworks.ai/inference/v1; a model id is fireworks/. + +### How is Fireworks Nexus different from Fireworks? + +Nexus is an account and plan of its own, with keys made at nexus.fireworks.ai. Its endpoints speak Chat, Responses and Messages, Nexus Auto picks the model, and Pro and Team take only auto. + +### Why does Nexus list only auto? + +Pro and Team refuse an open model named directly with a 403 and take only auto. An Enterprise account types its open models in by id. + +### How do I use Claude and GPT in Nexus? + +Put your own Anthropic and OpenAI keys in the x-anthropic-api-key and x-openai-api-key headers, or set up Provider Keys on the Nexus account. + +Related: [Groq in Claude Code, Codex and other agents](https://usemagpie.ai/docs/groq), [API relays in Claude Code, Codex and other agents](https://usemagpie.ai/docs/relay). 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 c8ce6fc0f..d86006d79 100644 --- a/site/public/llms.txt +++ b/site/public/llms.txt @@ -149,6 +149,7 @@ DeepSeek, Kimi (Moonshot), GLM (Zhipu), Qwen, MiniMax, Anthropic (Claude), OpenA - [Vercel AI Gateway in Claude Code, Codex and other agents](https://usemagpie.ai/docs/vercel): the vercel preset with Chat, Responses and Anthropic Messages set, Claude models kept on Messages for the cache, and the model list sorted by Vercel's own types. - [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. - [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 9482f5aad..67e1ee4d5 100644 --- a/site/public/sitemap.xml +++ b/site/public/sitemap.xml @@ -101,6 +101,7 @@ https://usemagpie.ai/docs/vercel https://usemagpie.ai/docs/nvidia https://usemagpie.ai/docs/relay +https://usemagpie.ai/docs/fireworks https://usemagpie.ai/docs/local-models https://usemagpie.ai/docs/opencode-models https://usemagpie.ai/docs/alternatives @@ -223,6 +224,7 @@ https://usemagpie.ai/docs/zh/vercel https://usemagpie.ai/docs/zh/nvidia https://usemagpie.ai/docs/zh/relay +https://usemagpie.ai/docs/zh/fireworks https://usemagpie.ai/docs/zh/local-models https://usemagpie.ai/docs/zh/opencode-models https://usemagpie.ai/docs/zh/alternatives @@ -344,6 +346,7 @@ https://usemagpie.ai/docs/ja/vercel https://usemagpie.ai/docs/ja/nvidia https://usemagpie.ai/docs/ja/relay +https://usemagpie.ai/docs/ja/fireworks https://usemagpie.ai/docs/ja/local-models https://usemagpie.ai/docs/ja/opencode-models https://usemagpie.ai/docs/ja/alternatives