Skip to main content

Groq

Groq provides ultra-fast LLM inference using their custom Language Processing Unit (LPU) hardware. It supports a range of open-source models including Llama, DeepSeek, Qwen, and Kimi, all served through an OpenAI-compatible API.

Requirements

Quickstart

Then set a default model:

Configuration

Environment variable

OpenClaw reads GROQ_API_KEY automatically and enables the groq provider.

Config snippet

Provider settings

Available models

Use model IDs as groq/<model-id> (example: groq/llama-3.3-70b-versatile).

Troubleshooting

Rate limit errors Groq imposes per-minute and per-day request limits by tier. If you hit rate limits:
  • Switch to a smaller model (for example groq/llama-3.1-8b-instant) for lower-rate tasks.
  • Add multiple API keys as auth profiles for rotation: openclaw models auth add-key --provider groq.
  • Check your current usage at console.groq.com.
401 Unauthorized
  • Verify your key starts with gsk_ and is copied in full.
  • Re-run onboarding: openclaw onboard --auth-choice apiKey --token-provider groq --token "$GROQ_API_KEY".
No models listed
  • Confirm GROQ_API_KEY is set in the environment where the gateway runs.
  • Check openclaw models status to see if the groq provider is detected.