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.Recommended Models
Fireworks’ catalog changes often. See the Fireworks model library for current models, context windows and pricing.
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
- Sign in at app.fireworks.ai, or create an account.
- Open the API keys page: app.fireworks.ai/settings/users/api-keys.
- Click Create API key.
- Copy the key and store it somewhere safe. Fireworks does not show it again.
Configure Fireworks AI in Kodus
Option 1 — AI providers page (recommended)
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:
Troubleshooting
API Key Issues
API Key Issues
- 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
.envvalue
Model Not Found
Model Not Found
- 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
Connection Errors
Connection Errors
- 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
Rate Limiting
Rate Limiting
- 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