mirror of
https://github.com/moltbot/moltbot.git
synced 2026-04-21 21:55:07 +00:00
3.7 KiB
3.7 KiB
title, summary, read_when
| title | summary | read_when | ||
|---|---|---|---|---|
| Groq | Groq setup (auth + model selection) |
|
Groq
Groq provides ultra-fast inference on open-source models (Llama, Gemma, Mistral, and more) using custom LPU hardware. OpenClaw connects to Groq through its OpenAI-compatible API.
| Property | Value |
|---|---|
| Provider | groq |
| Auth | GROQ_API_KEY |
| API | OpenAI-compatible |
Getting started
Create an API key at [console.groq.com/keys](https://console.groq.com/keys). ```bash export GROQ_API_KEY="gsk_..." ``` ```json5 { agents: { defaults: { model: { primary: "groq/llama-3.3-70b-versatile" }, }, }, } ```Config file example
{
env: { GROQ_API_KEY: "gsk_..." },
agents: {
defaults: {
model: { primary: "groq/llama-3.3-70b-versatile" },
},
},
}
Available models
Groq's model catalog changes frequently. Run openclaw models list | grep groq
to see currently available models, or check
console.groq.com/docs/models.
| Model | Notes |
|---|---|
| Llama 3.3 70B Versatile | General-purpose, large context |
| Llama 3.1 8B Instant | Fast, lightweight |
| Gemma 2 9B | Compact, efficient |
| Mixtral 8x7B | MoE architecture, strong reasoning |
Audio transcription
Groq also provides fast Whisper-based audio transcription. When configured as a
media-understanding provider, OpenClaw uses Groq's whisper-large-v3-turbo
model to transcribe voice messages through the shared tools.media.audio
surface.
{
tools: {
media: {
audio: {
models: [{ provider: "groq" }],
},
},
},
}
<Warning>
Keys set only in your interactive shell are not visible to daemon-managed
gateway processes. Use `~/.openclaw/.env` or `env.shellEnv` config for
persistent availability.
</Warning>