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

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