惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

The GitHub Blog
The GitHub Blog
Engineering at Meta
Engineering at Meta
博客园 - 聂微东
博客园 - Franky
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
雷峰网
雷峰网
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
L
LangChain Blog
WordPress大学
WordPress大学
H
Help Net Security
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Y
Y Combinator Blog
Blog — PlanetScale
Blog — PlanetScale
MyScale Blog
MyScale Blog
IT之家
IT之家
酷 壳 – CoolShell
酷 壳 – CoolShell
罗磊的独立博客
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
有赞技术团队
有赞技术团队
Apple Machine Learning Research
Apple Machine Learning Research
云风的 BLOG
云风的 BLOG
博客园 - 【当耐特】
P
Proofpoint News Feed
D
DataBreaches.Net

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
docs(providers): rewrite Cerebras, Groq, and SGLang with ...
vincentkoc · 2026-05-06 · via Recent Commits to openclaw:main

@@ -1,20 +1,24 @@

11

---

2-

summary: "Groq setup (auth + model selection)"

2+

summary: "Groq setup (auth + model selection + Whisper transcription)"

33

title: "Groq"

44

read_when:

55

- You want to use Groq with OpenClaw

66

- You need the API key env var or CLI auth choice

7+

- You are configuring Whisper audio transcription on Groq

78

---

899-

[Groq](https://groq.com) provides ultra-fast inference on open-source models

10-

(Llama, Gemma, Mistral, and more) using custom LPU hardware. OpenClaw connects

11-

to Groq through its OpenAI-compatible API.

10+

[Groq](https://groq.com) provides ultra-fast inference on open-weight models (Llama, Gemma, Kimi, Qwen, GPT OSS, and more) using custom LPU hardware. OpenClaw includes a bundled Groq plugin that registers both an OpenAI-compatible chat provider and an audio media-understanding provider.

121113-

| Property | Value |

14-

| -------- | ----------------- |

15-

| Provider | `groq` |

16-

| Auth | `GROQ_API_KEY` |

17-

| API | OpenAI-compatible |

12+

| Property | Value |

13+

| ---------------------- | ---------------------------------------- |

14+

| Provider id | `groq` |

15+

| Plugin | bundled, `enabledByDefault: true` |

16+

| Auth env var | `GROQ_API_KEY` |

17+

| Onboarding flag | `--auth-choice groq-api-key` |

18+

| API | OpenAI-compatible (`openai-completions`) |

19+

| Base URL | `https://api.groq.com/openai/v1` |

20+

| Audio transcription | `whisper-large-v3-turbo` (default) |

21+

| Suggested chat default | `groq/llama-3.3-70b-versatile` |

18221923

## Getting started

2024

@@ -23,9 +27,18 @@ to Groq through its OpenAI-compatible API.

2327

Create an API key at [console.groq.com/keys](https://console.groq.com/keys).

2428

</Step>

2529

<Step title="Set the API key">

26-

```bash

27-

export GROQ_API_KEY="gsk_..."

28-

```

30+

<CodeGroup>

31+32+

```bash Onboarding

33+

openclaw onboard --auth-choice groq-api-key

34+

```

35+36+

```bash Env only

37+

export GROQ_API_KEY=gsk_...

38+

```

39+40+

</CodeGroup>

41+2942

</Step>

3043

<Step title="Set a default model">

3144

```json5

@@ -38,6 +51,11 @@ to Groq through its OpenAI-compatible API.

3851

}

3952

```

4053

</Step>

54+

<Step title="Verify the catalog is reachable">

55+

```bash

56+

openclaw models list --provider groq

57+

```

58+

</Step>

4159

</Steps>

42604361

### Config file example

@@ -55,37 +73,56 @@ to Groq through its OpenAI-compatible API.

55735674

## Built-in catalog

577558-

OpenClaw ships a manifest-backed Groq catalog for fast provider-filtered model

59-

listing. Run `openclaw models list --all --provider groq` to see the bundled

60-

rows, or check

61-

[console.groq.com/docs/models](https://console.groq.com/docs/models).

62-63-

| Model | Notes |

64-

| --------------------------- | ---------------------------------- |

65-

| **Llama 3.3 70B Versatile** | General-purpose, large context |

66-

| **Llama 3.1 8B Instant** | Fast, lightweight |

67-

| **Gemma 2 9B** | Compact, efficient |

68-

| **Mixtral 8x7B** | MoE architecture, strong reasoning |

76+

OpenClaw ships a manifest-backed Groq catalog with both reasoning and non-reasoning entries. Run `openclaw models list --provider groq` to see the bundled rows for your installed version, or check [console.groq.com/docs/models](https://console.groq.com/docs/models) for Groq's authoritative list.

77+78+

| Model ref | Name | Reasoning | Input | Context |

79+

| ---------------------------------------------------- | ----------------------------- | --------- | ------------ | ------- |

80+

| `groq/llama-3.3-70b-versatile` | Llama 3.3 70B Versatile | no | text | 131,072 |

81+

| `groq/llama-3.1-8b-instant` | Llama 3.1 8B Instant | no | text | 131,072 |

82+

| `groq/meta-llama/llama-4-maverick-17b-128e-instruct` | Llama 4 Maverick 17B | no | text + image | 131,072 |

83+

| `groq/meta-llama/llama-4-scout-17b-16e-instruct` | Llama 4 Scout 17B | no | text + image | 131,072 |

84+

| `groq/llama3-70b-8192` | Llama 3 70B | no | text | 8,192 |

85+

| `groq/llama3-8b-8192` | Llama 3 8B | no | text | 8,192 |

86+

| `groq/gemma2-9b-it` | Gemma 2 9B | no | text | 8,192 |

87+

| `groq/mistral-saba-24b` | Mistral Saba 24B | no | text | 32,768 |

88+

| `groq/moonshotai/kimi-k2-instruct` | Kimi K2 Instruct | no | text | 131,072 |

89+

| `groq/moonshotai/kimi-k2-instruct-0905` | Kimi K2 Instruct 0905 | no | text | 262,144 |

90+

| `groq/openai/gpt-oss-120b` | GPT OSS 120B | yes | text | 131,072 |

91+

| `groq/openai/gpt-oss-20b` | GPT OSS 20B | yes | text | 131,072 |

92+

| `groq/openai/gpt-oss-safeguard-20b` | Safety GPT OSS 20B | yes | text | 131,072 |

93+

| `groq/qwen-qwq-32b` | Qwen QwQ 32B | yes | text | 131,072 |

94+

| `groq/qwen/qwen3-32b` | Qwen3 32B | yes | text | 131,072 |

95+

| `groq/deepseek-r1-distill-llama-70b` | DeepSeek R1 Distill Llama 70B | yes | text | 131,072 |

96+

| `groq/groq/compound` | Compound | yes | text | 131,072 |

97+

| `groq/groq/compound-mini` | Compound Mini | yes | text | 131,072 |

69987099

<Tip>

71-

Use `openclaw models list --all --provider groq` for the manifest-backed Groq

72-

rows known to this OpenClaw version.

100+

The catalog evolves with each OpenClaw release. `openclaw models list --provider groq` shows the rows known to your installed version; cross-check with [console.groq.com/docs/models](https://console.groq.com/docs/models) for newly-added or deprecated models.

73101

</Tip>

7410275103

## Reasoning models

7610477-

OpenClaw maps its shared `/think` levels to Groq's model-specific

78-

`reasoning_effort` values. For `qwen/qwen3-32b`, disabled thinking sends

79-

`none` and enabled thinking sends `default`. For Groq GPT-OSS reasoning models,

80-

OpenClaw sends `low`, `medium`, or `high`; disabled thinking omits

81-

`reasoning_effort` because those models do not support a disabled value.

105+

OpenClaw maps its shared `/think` levels to Groq's model-specific `reasoning_effort` values:

106+107+

- For `qwen/qwen3-32b`, disabled thinking sends `none` and enabled thinking sends `default`.

108+

- For Groq GPT OSS reasoning models (`openai/gpt-oss-*`), OpenClaw sends `low`, `medium`, or `high` based on `/think` level. Disabled thinking omits `reasoning_effort` because those models do not support a disabled value.

109+

- DeepSeek R1 Distill, Qwen QwQ, and Compound use Groq's native reasoning surface; `/think` controls visibility but the model always reasons.

110+111+

See [Thinking modes](/tools/thinking) for the shared `/think` levels and how OpenClaw translates them per provider.

8211283113

## Audio transcription

8411485-

Groq also provides fast Whisper-based audio transcription. When configured as a

86-

media-understanding provider, OpenClaw uses Groq's `whisper-large-v3-turbo`

87-

model to transcribe voice messages through the shared `tools.media.audio`

88-

surface.

115+

Groq's bundled plugin also registers an **audio media-understanding provider** so voice messages can be transcribed through the shared `tools.media.audio` surface.

116+117+

| Property | Value |

118+

| ------------------ | ----------------------------------------- |

119+

| Shared config path | `tools.media.audio` |

120+

| Default base URL | `https://api.groq.com/openai/v1` |

121+

| Default model | `whisper-large-v3-turbo` |

122+

| Auto priority | 20 |

123+

| API endpoint | OpenAI-compatible `/audio/transcriptions` |

124+125+

To make Groq the default audio backend:

8912690127

```json5

91128

{

@@ -100,42 +137,44 @@ surface.

100137

```

101138102139

<AccordionGroup>

103-

<Accordion title="Audio transcription details">

104-

| Property | Value |

105-

|----------|-------|

106-

| Shared config path | `tools.media.audio` |

107-

| Default base URL | `https://api.groq.com/openai/v1` |

108-

| Default model | `whisper-large-v3-turbo` |

109-

| API endpoint | OpenAI-compatible `/audio/transcriptions` |

110-

</Accordion>

111-112-

<Accordion title="Environment note">

113-

If the Gateway runs as a daemon (launchd/systemd), make sure `GROQ_API_KEY` is

114-

available to that process (for example, in `~/.openclaw/.env` or via

115-

`env.shellEnv`).

140+

<Accordion title="Environment availability for the daemon">

141+

If the Gateway runs as a managed service (launchd, systemd, Docker), `GROQ_API_KEY` must be visible to that process — not just to your interactive shell.

116142117143

<Warning>

118-

Keys set only in your interactive shell are not visible to daemon-managed

119-

gateway processes. Use `~/.openclaw/.env` or `env.shellEnv` config for

120-

persistent availability.

144+

A key sitting only in `~/.profile` will not help a launchd or systemd daemon unless that environment is imported there too. Set the key in `~/.openclaw/.env` or via `env.shellEnv` to make it readable from the gateway process.

121145

</Warning>

122146123147

</Accordion>

148+149+

<Accordion title="Custom Groq model ids">

150+

OpenClaw accepts any Groq model id at runtime. Use the exact id shown by Groq and prefix it with `groq/`. The bundled catalog covers the common cases; uncatalogued ids fall through to the default OpenAI-compatible template.

151+152+

```json5

153+

{

154+

agents: {

155+

defaults: {

156+

model: { primary: "groq/<your-model-id>" },

157+

},

158+

},

159+

}

160+

```

161+162+

</Accordion>

124163

</AccordionGroup>

125164126165

## Related

127166128167

<CardGroup cols={2}>

129-

<Card title="Model selection" href="/concepts/model-providers" icon="layers">

168+

<Card title="Model providers" href="/concepts/model-providers" icon="layers">

130169

Choosing providers, model refs, and failover behavior.

131170

</Card>

171+

<Card title="Thinking modes" href="/tools/thinking" icon="brain">

172+

Reasoning effort levels and provider-policy interaction.

173+

</Card>

132174

<Card title="Configuration reference" href="/gateway/configuration-reference" icon="gear">

133175

Full config schema including provider and audio settings.

134176

</Card>

135177

<Card title="Groq Console" href="https://console.groq.com" icon="arrow-up-right-from-square">

136178

Groq dashboard, API docs, and pricing.

137179

</Card>

138-

<Card title="Groq model list" href="https://console.groq.com/docs/models" icon="list">

139-

Official Groq model catalog.

140-

</Card>

141180

</CardGroup>