fireconnect <harness> <command>. Bare harness names run on (for example, fireconnect claude is the same as fireconnect claude on).
Global commands
fireconnect help for the overview, or fireconnect claude help (and similarly for other harnesses) for harness-level options.
Sign in options
~/.fireconnect/config.json stores a reference such as {keychain:fireworks-api-key} or {env:FIREWORKS_API_KEY}. It never stores a literal key in global config.
Global configuration
fireconnect configure sets provider defaults and shared keys. It does not sign you in. Use login for your Fireworks API key.
configure, --api-key is the Azure endpoint key and requires --provider azure. For Fireworks keys, use fireconnect login.
Providers
Set the default with
fireconnect configure --provider fireworks or --provider azure. Harness on commands use the configured provider unless you pass --azure or per-command --base-url / --api-key overrides.
Per-harness commands
claude, opencode, codex, pi, deepagents) supports:
fireconnect <harness> on: route through the configured providerfireconnect <harness> off: restore your previous configfireconnect <harness> status: show provider, auth, and modelsfireconnect <harness> help: harness-specific help
fireconnect claude usage. See Session usage.
Each IDE harness (cursor, vscode) supports on, off, status, and help. Commands that write settings require quitting the IDE first; status is read-only.
Model flags
Use--model <id> for the primary model. Claude Code also supports slot flags: --opus, --sonnet, --haiku, --fable, --subagent.
On the Foundry path, pass your model with --model (for example, --model FW-GLM-5.2).
FireRouter flags (when a slot uses firerouter):
--anthropic-api-key sk-ant-...: BYOK for pass-through to Claude Opus 4.8--routing-preference <1-5>: tune savings vs. quality (see Routing preferences)
API key resolution
Direct Fireworks routing (--provider fireworks)
- Explicit
--api-key - OS keychain (via
fireconnect login) - Global
~/.fireconnect/config.jsonreference FIREWORKS_API_KEYenvironment variable
~/.claude/settings.json when FireConnect is already enabled there.
Fireworks on Microsoft Foundry (--provider azure)
- Explicit
--api-key - Global
~/.fireconnect/config.json AZURE_API_KEYenvironment variable