Check whether your gateway can use Nexus Auto
To callauto, your gateway must:
- Connect to your Fireworks account.
- Send the
automodel ID unchanged. - Send your Fireworks API key.
- Provide an Anthropic or OpenAI credential if you want one of those models.
auto. Fireworks serving some of the catalog’s models does not make auto available.
Connect your Fireworks account
Use a gateway-managed model catalog
These gateways expose their own model catalogs. Fireworks may serve a request, but you are not connecting an arbitrary Fireworks model ID.LiteLLM Proxy
Use LiteLLM as a shared gateway for Fireworks serverless models, Nexus Auto, and deployments. Developers call one OpenAI-compatible chat completions API. LiteLLM manages the Fireworks connection and client access. Closed-model credentials can come from Fireworks Provider Keys, when enabled for the account, or from forwarded client headers.Prerequisites
- A Fireworks API key (
fw_...) - LiteLLM Proxy installed:
Configure a Fireworks model
Add each model you want to expose toconfig.yaml. Keep the client-facing model_name short. In litellm_params.model, use fireworks_ai/ followed by the full Fireworks path:
Recent LiteLLM versions expand a short ID to
accounts/fireworks/models/<id>, so a short router ID such as fireworks_ai/auto returns 404 Model not found. The full path works on every version.
Start the proxy
Call a model
If LiteLLM virtual keys are configured, clients authenticate with a virtual key:API key layout
Use Nexus Auto through a gateway
The gateway sends theauto model ID and your Fireworks API key to Fireworks. You do not need Nexus CLI. For supported models, see Nexus Auto.
Set up Nexus Auto in LiteLLM or Portkey
Nexus Auto entries for LiteLLM, the Portkey model format, and a test request.
Provide closed-model credentials
auto picks its closed model from your credentials:
- With an Anthropic credential, it uses Claude Opus.
- With an OpenAI credential, it uses GPT Sol.
- With both, it uses Claude Opus for Chat Completions and GPT Sol for Responses API requests.
- With neither, it uses Kimi K3 and the open-model mix.
- Provider Keys
- Keys in the gateway config
- Keys from each client
An account admin connects the required Provider Keys
once from Settings. The
gateway stores only the Fireworks key. No provider credential passes
through the gateway.
Provider Keys is not yet available on every account. If Provider Keys
does not appear in Settings,
contact the Fireworks team to enable it.
Self-serve setup is coming soon.
model_name in the response model field, not the model that served the turn. To confirm that closed models are reachable, send a request directly to Fireworks as shown in Check which model served a turn. For direct API calls, see APIs and SDKs.