- FireRouter
- MCP
Provide a local key. Where a harness supports one, pass it when you
connect, or store it once for every harness:
- Both keys are optional. FireConnect connects without them and never prompts for an OpenAI key.
- FireConnect also reads
ANTHROPIC_API_KEYandOPENAI_API_KEYfrom your environment. - Codex stores environment references, so FireConnect adds a line to your shell config that exports the saved keys. Open a new terminal before starting Codex.
- The OpenAI key goes out on bare
firerouterand on routes that name a GPT model ID, such asfirerouter/gpt-5.6-sol. Family routes such asfirerouter/solandfirerouter/astraneed an OpenAI Provider Key or manual setup.
firerouter. Without a matching Provider Key, FireRouter serves those
routes with open models only.- Cursor IDE and the Copilot App cannot send extra headers, so closed models there need a Provider Key.
- Copilot CLI and DeepSeek Harness can send the headers with manual setup.
Troubleshooting
Nothing changed after --model
Nothing changed after --model
Restart or reopen the harness. Claude Code and Codex load a new model in a
new or resumed session. See Coding Harnesses for each
harness.
A FireRouter route never uses Claude or GPT
A FireRouter route never uses Claude or GPT
The harness cannot send a local provider key, or the route does not pick
up your saved key. Connect the matching
Provider Key, use
manual setup on a harness
that can send headers, or use a harness that supports a local key.
Claude Code says auto mode classifier requests are billed
Claude Code says auto mode classifier requests are billed
Expected once per session. Auto mode’s safety checks run on your Sonnet
slot, so they bill to Anthropic. To bill them at Fireworks rates, pin
Sonnet with
fireconnect claude --sonnet <id>.Microsoft Foundry
FireRouter is not available on Microsoft Foundry, and Foundry support differs by harness. See the compatibility matrix in Foundry for Coding Harnesses, including Claude Code through a gateway.Related setup
- Coding Harnesses: connect commands, files changed, and restart rules
- FireRouter: router IDs and composition
- Provider Keys: account-level closed-model credentials
- Routing Preferences: quality and savings controls by harness