मुख्य सामग्री पर जाएं
Fireworks OpenAI-संगत API के माध्यम से open-weight और routed मॉडल उपलब्ध कराता है। दो पूर्व-कैटलॉग किए गए Kimi मॉडल और runtime पर किसी भी Fireworks मॉडल या router id का उपयोग करने के लिए आधिकारिक Fireworks provider plugin इंस्टॉल करें।
गुणमान
Provider idfireworks (उपनाम: fireworks-ai)
Package@openclaw/fireworks-provider
Auth env varFIREWORKS_API_KEY
Onboarding flag--auth-choice fireworks-api-key
Direct CLI flag--fireworks-api-key <key>
APIOpenAI-संगत (openai-completions)
Base URLhttps://api.fireworks.ai/inference/v1
डिफ़ॉल्ट मॉडलfireworks/accounts/fireworks/routers/kimi-k2p5-turbo
डिफ़ॉल्ट उपनामKimi K2.5 Turbo

शुरुआत करना

1

Install the plugin

openclaw plugins install @openclaw/fireworks-provider
2

Set the Fireworks API key

openclaw onboard --auth-choice fireworks-api-key
Onboarding आपके auth profiles में fireworks provider के लिए key संग्रहीत करता है और Fire Pass Kimi K2.5 Turbo router को डिफ़ॉल्ट मॉडल के रूप में सेट करता है।
3

Verify the model is available

openclaw models list --provider fireworks
सूची में Kimi K2.6 और Kimi K2.5 Turbo (Fire Pass) शामिल होने चाहिए। यदि FIREWORKS_API_KEY हल नहीं होता, तो openclaw models status --json अनुपलब्ध credential को auth.unusableProfiles के अंतर्गत रिपोर्ट करता है।

Non-interactive सेटअप

स्क्रिप्टेड या CI इंस्टॉल के लिए, सब कुछ command line पर पास करें:
openclaw onboard --non-interactive \
  --mode local \
  --auth-choice fireworks-api-key \
  --fireworks-api-key "$FIREWORKS_API_KEY" \
  --skip-health \
  --accept-risk

अंतर्निहित catalog

Model refनामइनपुटContextअधिकतम आउटपुटThinking
fireworks/accounts/fireworks/models/kimi-k2p6Kimi K2.6पाठ + छवि262,144262,144जबरन बंद
fireworks/accounts/fireworks/routers/kimi-k2p5-turboKimi K2.5 Turbo (Fire Pass)पाठ + छवि256,000256,000जबरन बंद (डिफ़ॉल्ट)
OpenClaw सभी Fireworks Kimi मॉडलों को thinking: off पर pin करता है क्योंकि Fireworks production में Kimi thinking parameters को अस्वीकार करता है। उसी मॉडल को सीधे Moonshot के माध्यम से route करने पर Kimi reasoning output सुरक्षित रहता है। providers के बीच स्विच करने के लिए thinking modes देखें।

Custom Fireworks model ids

OpenClaw runtime पर किसी भी Fireworks मॉडल या router id को स्वीकार करता है। Fireworks द्वारा दिखाया गया सटीक id उपयोग करें और उसके आगे fireworks/ prefix लगाएं। Dynamic resolution Fire Pass template (पाठ + छवि इनपुट, OpenAI-संगत API, डिफ़ॉल्ट cost zero) को clone करता है और जब id Kimi pattern से मेल खाता है, तो thinking को अपने-आप बंद कर देता है। GLM dynamic ids को text-only के रूप में चिह्नित किया जाता है, जब तक आप image input के साथ custom model entry configure नहीं करते।
{
  agents: {
    defaults: {
      model: {
        primary: "fireworks/accounts/fireworks/models/<your-model-id>",
      },
    },
  },
}
OpenClaw में हर Fireworks model ref fireworks/ से शुरू होता है, जिसके बाद Fireworks platform से सटीक id या router path आता है। उदाहरण के लिए:
  • Router model: fireworks/accounts/fireworks/routers/kimi-k2p5-turbo
  • Direct model: fireworks/accounts/fireworks/models/<model-name>
OpenClaw API request बनाते समय fireworks/ prefix हटा देता है और शेष path को OpenAI-संगत model field के रूप में Fireworks endpoint पर भेजता है।
यदि request में reasoning_* parameters होते हैं, तो Fireworks K2.6 400 लौटाता है, भले ही Kimi Moonshot की अपनी API के माध्यम से thinking का समर्थन करता हो। provider policy (extensions/fireworks/thinking-policy.ts) Kimi model ids के लिए केवल off thinking level घोषित करती है, इसलिए manual /think switches और provider-policy surfaces runtime contract के साथ संरेखित रहते हैं।Kimi reasoning को end-to-end उपयोग करने के लिए, Moonshot provider configure करें और उसी मॉडल को उसके माध्यम से route करें।
यदि Gateway किसी managed service (launchd, systemd, Docker) के रूप में चलता है, तो Fireworks key उस process को दिखाई देनी चाहिए — केवल आपके interactive shell को नहीं।
केवल interactive shell में export की गई key launchd या systemd daemon की मदद नहीं करेगी, जब तक वह environment वहां भी import न किया गया हो। gateway process से पढ़ने योग्य बनाने के लिए key को ~/.openclaw/.env में या env.shellEnv के माध्यम से सेट करें।
macOS पर, openclaw gateway install पहले से ही ~/.openclaw/.env को LaunchAgent environment file में wire करता है। key rotate करने के बाद install फिर से चलाएं (या openclaw doctor --fix)।

संबंधित

Model providers

providers, model refs, और failover behavior चुनना।

Thinking modes

/think levels, provider policies, और reasoning-सक्षम मॉडलों की routing।

Moonshot

Moonshot की अपनी API के माध्यम से native thinking output के साथ Kimi चलाएं।

Troubleshooting

सामान्य troubleshooting और FAQ।