Skip to main content
Pick how you work. Each path takes a few minutes and uses the same Fireworks models, routers, and account controls.

Coding harness

Claude Code, Codex, OpenCode, Cursor IDE, and more

API or SDK

OpenAI, Anthropic, or Fireworks SDK

LLM gateway

LiteLLM, Portkey, and other gateways
You need a Fireworks API key for the API and gateway paths. FireConnect can create one for you when you sign in.

Connect a coding harness

Install FireConnect

Requires Node.js 18 or later. On Windows, run it from Git Bash.

Sign in

Sign in with your browser, or paste an existing Fireworks key.

Connect your harness

The Codex CLI, the Codex app, and the ChatGPT desktop app share one config, so fireconnect codex connects all three. For desktop apps, including Cursor IDE and VS Code, quit the app first. See Coding Harnesses for every harness.

Restart and pick a model

Restart the harness and open its model picker. You will see auto, FireRouter, and Fireworks open models.
Claude Code model picker with FireRouter selected and Auto, DeepSeek, GLM, Kimi, and MiniMax options

Fireworks models and routers in the Claude Code model picker

fireconnect claude status shows the configured model and Fireworks endpoint.
Prefer not to install anything? Every harness has a Manual setup tab in Coding Harnesses with the exact settings to add yourself.

Call the API

Export your key

Send a request

Point the SDK you already use at Fireworks:
The reply says pong.

Try a router

Change model to firerouter/opus. FireRouter picks a model for each turn, and the response model field shows which one served it. Routes with closed models need a provider credential.More examples, including the Responses API: FireRouter Setup.

Use an LLM gateway

Add a Fireworks model to LiteLLM

config.yaml

Start the proxy

Send a request

The reply says pong.
Using Portkey, or adding FireRouter to your gateway? See FireRouter Setup and LLM Gateways.

Next steps

Open Models

Use auto, follow a model family, choose a fast tier, or pin a version.

FireRouter

Let one model ID choose a model for each new user turn.

Usage and Cost

See session estimates and Fireworks model usage by model, user, or API key.

Spend Limits

Set per-user caps for supported Fireworks serverless models.