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.Recommended Models
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
Go directly to Groq’s API Keys page to create a new API Key. Or, follow these steps:- Go to Groq Console
- Sign in or create your account
- Open API Keys
- Click Create API Key
- Give it a name like ‘Kodus’ or any descriptive name
- 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
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. 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:
Troubleshooting
API Key Issues
API Key Issues
- 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
.envvalue
Model Not Found
Model Not Found
- 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-versatileandllama-3.1-8b-instantfor Free and Developer plans on August 16, 2026. Enterprise contracts are unaffected. See Groq’s deprecations
Connection Errors
Connection Errors
- 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
Rate Limiting
Rate Limiting
- Groq returns HTTP 429 when a limit is exceeded, and limits depend on your plan
- See your organization’s exact limits on the Limits page of your Groq account (console.groq.com/settings/limits), and in the Groq rate limits documentation
- Lower Max concurrent requests on the model, or upgrade your plan