Skip to main content
Fireworks AI is an ultra-fast inference platform for open-weights generative AI, providing serverless and dedicated access to state-of-the-art models like Llama 3.3, DeepSeek V3/R1, Qwen 2.5, and Mixtral. Built with custom compiler optimizations and high-throughput serving, Fireworks AI paired with ScanDrix delivers instant code reviews and taint-tracking analysis. We recommend high-context coding and reasoning models with strong instruction-following capabilities:
For the most up-to-date model identifiers and context limits, consult the Fireworks AI Models Catalog.

Creating an API Key

A verified Fireworks AI account is required to generate API credentials.
  1. Navigate to the Fireworks AI Console.
  2. Sign in or create an account.
  3. Select API Keys in your account settings.
  4. Click Create API Key, label it scandrix-code-review, and copy the secret key (fw_...).
New Fireworks AI accounts receive $1 in free credits upon registration.

Configuration options

You can configure Fireworks AI either via the ScanDrix dashboard, in your repository’s .scandrix.yaml, or in self-hosted backend environment variables.
  1. Open the ScanDrix dashboard and navigate to Settings → AI Providers.
  2. Click Add Provider and select Fireworks AI (or Generic OpenAI-Compatible).
  3. Set Base URL to https://api.fireworks.ai/inference/v1.
  4. Paste your Fireworks API Key (fw_...).
  5. Select accounts/fireworks/models/llama-v3p3-70b-instruct as your default review model.
  6. Click Test Connection to send a synthetic health verification ping.

Option 2: Via Repository Config (.scandrix.yaml)

To enforce Fireworks AI as the review engine for a specific repository:

Option 3: Via Self-Hosted Backend (.env)

If deploying the self-hosted ScanDrix Go backend, configure your environment file:

Production Reverse Proxy Setup

For self-hosted instances with external Git webhooks, configure Nginx to forward requests to the Next.js frontend (port 3000) and the Go backend API (port 8080):

Verifying Fireworks AI integration

Verify that Fireworks AI is processing review jobs:
Expected log output:

Troubleshooting

  • Verify your key begins with fw_.
  • Check if you have sufficient credits in your Fireworks Console.
  • Ensure there are no trailing whitespace or extra quotation marks in your .env or secret manager.
  • Ensure you prefixed the model identifier with accounts/fireworks/models/ (e.g., accounts/fireworks/models/llama-v3p3-70b-instruct).
  • Verify the model is currently active in the Fireworks public model catalog.
  • Fireworks AI provides high throughput on serverless endpoints.
  • Check account rate limits in the Fireworks dashboard.
  • For high-volume CI/CD pipelines, consider provisioning a Fireworks on-demand deployment or deploying a fallback provider in .scandrix.yaml.