Skip to main content
Novita AI provides serverless GPU infrastructure for open-source AI models, offering low latency, aggressive pricing, and an OpenAI-compatible API interface. Novita supports popular open-weights models like DeepSeek V3/R1 and Llama 3.3 without requiring infrastructure provisioning. We recommend high-context coding and reasoning models with reliable token throughput:
For the most up-to-date model identifiers and context limits, consult the Novita AI LLM Catalog.

Creating an API Key

A verified Novita AI account is required to generate API credentials.
  1. Navigate to the Novita AI Console.
  2. Sign in or create an account.
  3. Go to Settings → Key Management.
  4. Click Add New Key, name it scandrix-code-review, and copy the secret key.

Configuration options

You can configure Novita 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 Novita AI (or Generic OpenAI-Compatible).
  3. Set Base URL to https://api.novita.ai/v3/openai.
  4. Paste your Novita API Key.
  5. Select deepseek/deepseek_v3 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 Novita 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 Novita AI integration

Verify that Novita AI is processing review tasks:
Expected log output:

Troubleshooting

  • Verify your API key in the Novita Key Management.
  • Ensure your Novita balance has sufficient credits.
  • Confirm there are no hidden linebreaks in the key string.
  • Ensure you use the exact model string (e.g. deepseek/deepseek_v3).
  • Verify whether the model requires custom deployment or is accessible via serverless.
  • Ensure the server has outgoing HTTPS connectivity to api.novita.ai.
  • Check if corporate proxy or firewall settings block non-standard cloud API hosts.