Skip to main content
The same model ID works on every supported API.

Compatible APIs

Choose the endpoint your SDK or client already uses: Anthropic-style clients add /v1/messages to the base URL themselves, so their base URL ends at /inference. For client setup, see OpenAI compatibility, Anthropic compatibility, or the Responses API.

Call the API

Send your Fireworks key and any model ID:
auto works the same way on all three APIs. For Nexus Auto examples in cURL and the OpenAI, Anthropic, and Fireworks SDKs, see Nexus Auto. For a Nexus Auto request, the response model field names the model that served the turn, such as glm-5p3 or claude-opus-5-5, not auto.

Credentials

In every SDK, api_key is the Fireworks key. Pass provider keys as extra headers, as shown in Nexus Auto.

Limitations

  • With US data residency, send requests to us.api.fireworks.ai. Send auto, which is mapped to a US twin for you, or name a US-only model ID such as glm-5p3-us. Other Fireworks model IDs are rejected. Anthropic, OpenAI, and Amazon Bedrock calls follow the region you configured with that provider, not this setting. US is the only region Nexus supports; other regions must pin a model served in that region.
  • Without an Anthropic or OpenAI credential, auto uses Fireworks open models.

Troubleshooting

  • 401: the Fireworks key is missing or invalid. Send a valid fw_... key with Authorization: Bearer or X-Fireworks-Api-Key.
  • 404 Model id not found: the model ID is unknown, or the account can’t use this router. Check the model ID and your account’s access.
  • 400 no_credential: the closed model you named has no provider key. Connect Provider Keys where available. For Anthropic or OpenAI, you can instead send the provider header.

See also