Skip to main content

How Groq works

Groq Cloud serves open models through an OpenAI-compatible API. Kodus talks to it through the OpenAI-compatible provider, so there are no code changes, only BYOK credentials.
Groq’s catalog changes often. See Groq’s models page for the current production models, context windows, prices and limits.
Kodus review agents call tools and expect structured output. Groq’s page for this model lists tool use and JSON Schema mode. Check both on any other model before you switch.

Creating API Key

Groq Cloud Account is required to create API Key.
Go directly to Groq’s API Keys page to create a new API Key. Or, follow these steps:
  1. Go to Groq Console
  2. Sign in or create your account
  3. Open API Keys
  4. Click Create API Key
  5. Give it a name like ‘Kodus’ or any descriptive name
  6. Copy the API Key and save it somewhere safe
Only team owners or users with the developer role may create or manage API keys in Groq.

Configure Groq 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. Set a model from another provider as the Fallback model so reviews keep running if Groq rate-limits you.

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 Groq Console
  • Check that your Groq plan can use the model you chose
  • Make sure there are no trailing spaces or quotes in the .env value
  • Check that the model ID is spelled exactly as on Groq’s models page
  • Verify the model is in Groq’s current model list; models are retired over time
  • Groq retired llama-3.3-70b-versatile and llama-3.1-8b-instant for Free and Developer plans on August 16, 2026. Enterprise contracts are unaffected. See Groq’s deprecations
  • Verify your server has internet access to reach api.groq.com
  • Check if there are any firewall restrictions
  • Review the API and worker logs for the exact upstream error