Show how to choose Fireworks model or router IDs for Claude Code settings.
Stop routing Claude Code model calls through Fireworks via FireConnect.
Route Claude Code model calls through Fireworks via FireConnect.
Update FireConnect model mappings from inside Claude Code.
Configure Claude Code to use Fireworks Anthropic-compatible models via FireConnect.
Help choose Fireworks model or router IDs for Claude Code. Use when a user asks which Fireworks model/router to set as ANTHROPIC_MODEL, ANTHROPIC_DEFAULT_HAIKU_MODEL, or Claude Code alias defaults.
Stop routing Claude Code model calls through Fireworks. Use when the user wants to return to their previous Claude Code provider or enterprise inference.
Route Claude Code model calls through Fireworks via FireConnect. Use when the user wants to turn Fireworks inference on.
Update FireConnect model mappings. Use when a user wants to change opus, sonnet, haiku, subagent, or active Fireworks model defaults.
Configure Claude Code to use Fireworks via FireConnect. Use when setting up Fireworks API keys, model IDs, base URLs, or troubleshooting Claude Code settings for Fireworks.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
This plugin requires configuration values that are prompted when the plugin is enabled. Sensitive values are stored in your system keychain.
base_urlAnthropic-compatible Fireworks base URL.
${user_config.base_url}fireworks_api_keyAPI key used as Claude Code's Anthropic-compatible auth token. Create one at https://app.fireworks.ai/settings/users/api-keys.
${user_config.fireworks_api_key}Route Claude Code model calls through Fireworks AI.
Install in one line:
sh -c "$(curl -fsSL https://raw.githubusercontent.com/fw-ai/fireconnect/main/install.sh)"
Or with bash directly:
curl -fsSL https://raw.githubusercontent.com/fw-ai/fireconnect/main/install.sh | bash
This repository contains a Claude Code plugin marketplace and setup CLIs for using Fireworks models through Claude Code's Anthropic-compatible settings.
A plugin is the installable unit. It is a directory that contains Claude Code components such as skills, agents, hooks, or scripts. In this repo, plugins/fireconnect is the plugin.
A marketplace is the catalog. It points Claude Code at one or more plugins and tells users where to install them from. In this repo, .claude-plugin/marketplace.json is the marketplace catalog.
In short: users add a marketplace, then install a plugin from it.
Marketplace = app store catalog
Plugin = app listed in that catalog
Run this from a terminal:
curl -fsSL https://raw.githubusercontent.com/fw-ai/fireconnect/main/install.sh | bash
For non-interactive setup:
curl -fsSL https://raw.githubusercontent.com/fw-ai/fireconnect/main/install.sh | FIREWORKS_API_KEY="fw_..." bash
If you prefer installing from an SSH checkout:
mkdir -p ~/.fireconnect && git clone [email protected]:fw-ai/fireconnect.git ~/.fireconnect && bash ~/.fireconnect/install.sh
The installer:
PATH (install it yourself first; FireConnect does not install or change your Claude version).~/.fireconnect/ when installing via curl | bash.Install Claude Code before running the installer:
https://docs.anthropic.com/en/docs/claude-code
Then fully restart Claude Code and test with:
hi
Default models:
opus -> kimi-k2p6-turbo
sonnet -> glm-5p1
haiku -> minimax-m2p5
subagent -> minimax-m2p5
From Claude Code:
/plugin marketplace add https://github.com/fw-ai/fireconnect.git
/plugin install fireconnect@fireconnect
If an older install registered a marketplace source under /tmp, rerun the installer to replace it with a durable source before using /fireconnect:on or /fireconnect:off after a reboot.
Create a Fireworks API key here:
https://app.fireworks.ai/settings/users/api-keys
Paste it into Claude Code when the plugin asks for it, accept the default base URL, then restart Claude Code.
The setup writes these Claude Code settings:
{
"env": {
"ANTHROPIC_BASE_URL": "https://api.fireworks.ai/inference",
"ANTHROPIC_API_KEY": "fw_YOUR_FIREWORKS_API_KEY",
"ANTHROPIC_AUTH_TOKEN": "fw_YOUR_FIREWORKS_API_KEY",
"ANTHROPIC_MODEL": "accounts/fireworks/routers/kimi-k2p6-turbo",
"ANTHROPIC_DEFAULT_OPUS_MODEL": "accounts/fireworks/routers/kimi-k2p6-turbo",
"ANTHROPIC_DEFAULT_SONNET_MODEL": "accounts/fireworks/models/glm-5p1",
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "accounts/fireworks/models/minimax-m2p5",
"CLAUDE_CODE_SUBAGENT_MODEL": "accounts/fireworks/models/minimax-m2p5"
}
}
The current Claude Code model config docs deprecate ANTHROPIC_SMALL_FAST_MODEL in favor of ANTHROPIC_DEFAULT_HAIKU_MODEL. The CLI still accepts --small-fast-model as a compatibility alias and writes the deprecated variable only when that flag is used.
The setup writes both ANTHROPIC_API_KEY (preferred) and ANTHROPIC_AUTH_TOKEN (compatibility alias) with the same Fireworks key.
Additional model config flags:
node packages/setup-cli/bin/fireconnect-setup.mjs \
--api-key "$FIREWORKS_API_KEY" \
--model "kimi-k2p6-turbo" \
--opus-model "kimi-k2p6-turbo" \
--sonnet-model "glm-5p1" \
--haiku-model "minimax-m2p5" \
--subagent-model "minimax-m2p5" \
--custom-model-option "kimi-k2p6-turbo" \
--custom-model-option-name "Kimi K2.6 Turbo via Fireworks" \
--custom-model-option-capabilities "thinking,interleaved_thinking" \
--effort-level high \
--yes
It preserves unrelated settings and writes a timestamped backup when an existing settings file is present.
npx claudepluginhub fw-ai/fireconnect --plugin fireconnectMulti-model consensus engine integrating OpenAI Codex CLI, Gemini CLI, and Claude CLI for collaborative code review and problem-solving.
Ultra-compressed communication mode. Cuts ~75% of tokens while keeping full technical accuracy by speaking like a caveman.
Comprehensive UI/UX design plugin for mobile (iOS, Android, React Native) and web applications with design systems, accessibility, and modern patterns
Memory compression system for Claude Code - persist context across sessions
Standalone image generation plugin using Nano Banana MCP server. Generates and edits images, icons, diagrams, patterns, and visual assets via Gemini image models. No Gemini CLI dependency required.
Write feature specs, plan roadmaps, and synthesize user research faster. Keep stakeholders updated and stay ahead of the competitive landscape.