fireconnect <harness> <command>. Bare harness names run on (for example, fireconnect claude is the same as fireconnect claude on).
To pick or switch models, see Models. This page is the command and auth reference.
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.
See Models for a cross-harness quick reference, restart requirements, and common mistakes.
Claude Code-only flags:
--interactive: open the model mapping wizard (cannot combine with model flags)--non-interactive: skip first-run onboarding; use saved preferences or example defaults
--model (for example, --model FW-GLM-5.2).
FireRouter flags (when using firerouter):
--anthropic-api-key sk-ant-...: BYOK for Claude Opus 4.8 pass-through (where the harness supports it)--routing-preference <1-5>: savings vs. quality (Claude Code, OpenCode, Pi, VS Code). 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
Migration from earlier syntax
Only needed if you still have old scripts or muscle memory. Day-to-day use isfireconnect <harness> on --model <id>.
Pre-0.5.0 syntax
Pre-0.5.0 syntax
v0.9.1 changes
v0.9.1 changes
v0.9.0 changes
v0.9.0 changes