




















@@ -4,39 +4,61 @@ title: "Fireworks"
44read_when:
55 - You want to use Fireworks with OpenClaw
66 - You need the Fireworks API key env var or default model id
7+ - You are debugging Kimi thinking-off behavior on Fireworks
78---
899-[Fireworks](https://fireworks.ai) exposes open-weight and routed models through an OpenAI-compatible API. OpenClaw includes a bundled Fireworks provider plugin.
10+[Fireworks](https://fireworks.ai) exposes open-weight and routed models through an OpenAI-compatible API. OpenClaw includes a bundled Fireworks provider plugin that ships with two pre-cataloged Kimi models and accepts any Fireworks model or router id at runtime.
101111-| Property | Value |
12-| ------------- | ------------------------------------------------------ |
13-| Provider | `fireworks` |
14-| Auth | `FIREWORKS_API_KEY` |
15-| API | OpenAI-compatible chat/completions |
16-| Base URL | `https://api.fireworks.ai/inference/v1` |
17-| Default model | `fireworks/accounts/fireworks/routers/kimi-k2p5-turbo` |
12+| Property | Value |
13+| --------------- | ------------------------------------------------------ |
14+| Provider id | `fireworks` (alias: `fireworks-ai`) |
15+| Plugin | bundled, `enabledByDefault: true` |
16+| Auth env var | `FIREWORKS_API_KEY` |
17+| Onboarding flag | `--auth-choice fireworks-api-key` |
18+| Direct CLI flag | `--fireworks-api-key <key>` |
19+| API | OpenAI-compatible (`openai-completions`) |
20+| Base URL | `https://api.fireworks.ai/inference/v1` |
21+| Default model | `fireworks/accounts/fireworks/routers/kimi-k2p5-turbo` |
22+| Default alias | `Kimi K2.5 Turbo` |
18231924## Getting started
20252126<Steps>
22-<Step title="Set up Fireworks auth through onboarding">
23-```bash
24-openclaw onboard --auth-choice fireworks-api-key
25-```
27+<Step title="Set the Fireworks API key">
28+<CodeGroup>
29+30+```bash Onboarding
31+openclaw onboard --auth-choice fireworks-api-key
32+```
33+34+```bash Direct flag
35+openclaw onboard --non-interactive \
36+ --auth-choice fireworks-api-key \
37+ --fireworks-api-key "$FIREWORKS_API_KEY"
38+```
39+40+```bash Env only
41+export FIREWORKS_API_KEY=fw-...
42+```
264327-This stores your Fireworks key in OpenClaw config and sets the Fire Pass starter model as the default.
44+</CodeGroup>
45+46+Onboarding stores the key against the `fireworks` provider in your auth profiles and sets the **Fire Pass** Kimi K2.5 Turbo router as the default model.
28472948</Step>
3049<Step title="Verify the model is available">
3150```bash
3251openclaw models list --provider fireworks
3352```
53+54+The list should include `Kimi K2.6` and `Kimi K2.5 Turbo (Fire Pass)`. If `FIREWORKS_API_KEY` is unresolved, `openclaw models status --json` reports the missing credential under `auth.unusableProfiles`.
55+3456</Step>
3557</Steps>
365837-## Non-interactive example
59+## Non-interactive setup
386039-For scripted or CI setups, pass all values on the command line:
61+For scripted or CI installs, pass everything on the command line:
40624163```bash
4264openclaw onboard --non-interactive \
@@ -49,25 +71,25 @@ openclaw onboard --non-interactive \
49715072## Built-in catalog
517352-| Model ref | Name | Input | Context | Max output | Notes |
53-| ------------------------------------------------------ | --------------------------- | ---------- | ------- | ---------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
54-| `fireworks/accounts/fireworks/models/kimi-k2p6` | Kimi K2.6 | text,image | 262,144 | 262,144 | Latest Kimi model on Fireworks. Thinking is disabled for Fireworks K2.6 requests; route through Moonshot directly if you need Kimi thinking output. |
55-| `fireworks/accounts/fireworks/routers/kimi-k2p5-turbo` | Kimi K2.5 Turbo (Fire Pass) | text,image | 256,000 | 256,000 | Default bundled starter model on Fireworks |
74+| Model ref | Name | Input | Context | Max output | Thinking |
75+| ------------------------------------------------------ | --------------------------- | ------------ | ------- | ---------- | -------------------- |
76+| `fireworks/accounts/fireworks/models/kimi-k2p6` | Kimi K2.6 | text + image | 262,144 | 262,144 | Forced off |
77+| `fireworks/accounts/fireworks/routers/kimi-k2p5-turbo` | Kimi K2.5 Turbo (Fire Pass) | text + image | 256,000 | 256,000 | Forced off (default) |
567857-<Tip>
58-If Fireworks publishes a newer model such as a fresh Qwen or Gemma release, you can switch to it directly by using its Fireworks model id without waiting for a bundled catalog update.
59-</Tip>
79+<Note>
80+ OpenClaw pins all Fireworks Kimi models to `thinking: off` because Fireworks rejects Kimi thinking parameters in production. Routing the same model through [Moonshot](/providers/moonshot) directly preserves Kimi reasoning output. See [thinking modes](/tools/thinking) for switching between providers.
81+</Note>
60826183## Custom Fireworks model ids
628463-OpenClaw accepts dynamic Fireworks model ids too. Use the exact model or router id shown by Fireworks and prefix it with `fireworks/`.
85+OpenClaw accepts any Fireworks model or router id at runtime. Use the exact id shown by Fireworks and prefix it with `fireworks/`. Dynamic resolution clones the Fire Pass template (text + image input, OpenAI-compatible API, default cost zero) and disables thinking automatically when the id matches the Kimi pattern.
64866587```json5
6688{
6789 agents: {
6890 defaults: {
6991 model: {
70- primary: "fireworks/accounts/fireworks/routers/kimi-k2p5-turbo",
92+ primary: "fireworks/accounts/fireworks/models/<your-model-id>",
7193 },
7294 },
7395 },
@@ -81,26 +103,41 @@ OpenClaw accepts dynamic Fireworks model ids too. Use the exact model or router
81103- Router model: `fireworks/accounts/fireworks/routers/kimi-k2p5-turbo`
82104- Direct model: `fireworks/accounts/fireworks/models/<model-name>`
8310584-OpenClaw strips the `fireworks/` prefix when building the API request and sends the remaining path to the Fireworks endpoint.
106+OpenClaw strips the `fireworks/` prefix when constructing the API request and sends the remaining path to the Fireworks endpoint as the OpenAI-compatible `model` field.
107+108+</Accordion>
109+110+<Accordion title="Why thinking is forced off for Kimi">
111+Fireworks K2.6 returns a 400 if the request carries `reasoning_*` parameters even though Kimi supports thinking through Moonshot's own API. The bundled policy (`extensions/fireworks/thinking-policy.ts`) advertises only the `off` thinking level for Kimi model ids, so manual `/think` switches and provider-policy surfaces stay aligned with the runtime contract.
112+113+To use Kimi reasoning end-to-end, configure the [Moonshot provider](/providers/moonshot) and route the same model through it.
8511486115</Accordion>
8711688-<Accordion title="Environment note">
89-If the Gateway runs outside your interactive shell, make sure `FIREWORKS_API_KEY` is available to that process too.
117+<Accordion title="Environment availability for the daemon">
118+If the Gateway runs as a managed service (launchd, systemd, Docker), the Fireworks key must be visible to that process — not just to your interactive shell.
9011991120<Warning>
92-A key sitting only in `~/.profile` will not help a launchd/systemd daemon unless that environment is imported there as well. Set the key in `~/.openclaw/.env` or via `env.shellEnv` to ensure the gateway process can read it.
121+ A key sitting only in `~/.profile` will not help a launchd or systemd daemon unless that environment is imported there too. Set the key in `~/.openclaw/.env` or via `env.shellEnv` to make it readable from the gateway process.
93122</Warning>
94123124+On macOS, `openclaw gateway install` already wires `~/.openclaw/.env` into the LaunchAgent environment file. Re-run install (or `openclaw doctor --fix`) after rotating the key.
125+95126</Accordion>
96127</AccordionGroup>
9712898129## Related
99130100131<CardGroup cols={2}>
101-<Card title="Model selection" href="/concepts/model-providers" icon="layers">
132+<Card title="Model providers" href="/concepts/model-providers" icon="layers">
102133Choosing providers, model refs, and failover behavior.
103134</Card>
135+<Card title="Thinking modes" href="/tools/thinking" icon="brain">
136+`/think` levels, provider policies, and routing reasoning-capable models.
137+</Card>
138+<Card title="Moonshot" href="/providers/moonshot" icon="moon">
139+Run Kimi with native thinking output through Moonshot's own API.
140+</Card>
104141<Card title="Troubleshooting" href="/help/troubleshooting" icon="wrench">
105142General troubleshooting and FAQ.
106143</Card>
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。