Skip to main content

How Fireworks AI works

Fireworks AI is an inference platform that serves popular open-source models, such as DeepSeek, Kimi, GLM and Qwen, through an OpenAI-compatible API. Kodus talks to it through the OpenAI-compatible provider, so there are no code changes, only BYOK credentials.
Fireworks’ catalog changes often. See the Fireworks model library for current models, context windows and pricing.
Fireworks model IDs have the form accounts/fireworks/models/<model>, and spell a version with a p: GLM 5.3 is glm-5p3. Copy the ID from the model’s page in the library. Kodus review agents call tools and expect structured output. Pick a model that supports function calling, which the model page states.

Creating API Key

Fireworks AI Account is required to create API Key.
  1. Sign in at app.fireworks.ai, or create an account.
  2. Open the API keys page: app.fireworks.ai/settings/users/api-keys.
  3. Click Create API key.
  4. Copy the key and store it somewhere safe. Fireworks does not show it again.

Configure Fireworks AI in Kodus

Follow Connect a provider and choose Custom → OpenAI-compatible. Use these values in the form. Click Test & save, then choose the default and fallback under Routing.
Use the base URL without /chat/completions. On Code review → Routing, set a model from another provider as Fallback model so reviews keep running if Fireworks fails.

Option 2 — Self-hosted (environment variables)

To give a self-hosted instance one model through .env:
Follow the installation guide to apply the model change.

Troubleshooting

  • Verify your API key is correct and active in Fireworks AI Console
  • Check if you have sufficient credits in your Fireworks AI account
  • Make sure there are no trailing spaces or quotes in the .env value
  • Use the full accounts/fireworks/models/<model> ID, spelled as in the model library
  • Verify the model is available to serverless inference; some models need a dedicated deployment
  • Verify your server has internet access to reach api.fireworks.ai
  • Check if there are any firewall restrictions
  • Review the API and worker logs for the exact upstream error
  • Check your current usage in the Fireworks AI dashboard
  • An account without a payment method or credits has a much lower request limit. See Fireworks’ rate limits
  • Lower Max concurrent requests on the model, or consider a dedicated deployment for higher throughput