{"id":627,"date":"2026-03-21T22:52:57","date_gmt":"2026-03-21T14:52:57","guid":{"rendered":"https:\/\/pa.yingzhi8.cn\/index.php\/2026\/03\/21\/providers-groq\/"},"modified":"2026-03-21T23:08:54","modified_gmt":"2026-03-21T15:08:54","slug":"providers-groq","status":"publish","type":"post","link":"https:\/\/pa.yingzhi8.cn\/index.php\/2026\/03\/21\/providers-groq\/","title":{"rendered":"Groq"},"content":{"rendered":"<h1>Groq<\/h1>\n<p><a href=\"https:\/\/groq.com\">Groq<\/a> provides ultra-fast inference on open-source models<br \/>\n(Llama, Gemma, Mistral, and more) using custom LPU hardware. OpenClaw connects<br \/>\nto Groq through its OpenAI-compatible API.<\/p>\n<ul>\n<li>Provider: <code>groq<\/code><\/li>\n<li>Auth: <code>GROQ_API_KEY<\/code><\/li>\n<li>API: OpenAI-compatible<\/li>\n<\/ul>\n<h2>Quick start<\/h2>\n<ol>\n<li>\n<p>Get an API key from <a href=\"https:\/\/console.groq.com\/keys\">console.groq.com\/keys<\/a>.<\/p>\n<\/li>\n<li>\n<p>Set the API key:<\/p>\n<\/li>\n<\/ol>\n<p>&#8220;`bash  theme={&#8220;theme&#8221;:{&#8220;light&#8221;:&#8221;min-light&#8221;,&#8221;dark&#8221;:&#8221;min-dark&#8221;}}<br \/>\nexport GROQ_API_KEY=&#8221;gsk_&#8230;&#8221;<\/p>\n<pre><code>\n3. Set a default model:\n\n```json5  theme={&quot;theme&quot;:{&quot;light&quot;:&quot;min-light&quot;,&quot;dark&quot;:&quot;min-dark&quot;}}\n{\n  agents: {\n    defaults: {\n      model: { primary: &quot;groq\/llama-3.3-70b-versatile&quot; },\n    },\n  },\n}\n<\/code><\/pre>\n<h2>Config file example<\/h2>\n<p>&#8220;`json5  theme={&#8220;theme&#8221;:{&#8220;light&#8221;:&#8221;min-light&#8221;,&#8221;dark&#8221;:&#8221;min-dark&#8221;}}<br \/>\n{<br \/>\n  env: { GROQ_API_KEY: &#8220;gsk_&#8230;&#8221; },<br \/>\n  agents: {<br \/>\n    defaults: {<br \/>\n      model: { primary: &#8220;groq\/llama-3.3-70b-versatile&#8221; },<br \/>\n    },<br \/>\n  },<br \/>\n}<\/p>\n<pre><code>\n## Audio transcription\n\nGroq also provides fast Whisper-based audio transcription. When configured as a\nmedia-understanding provider, OpenClaw uses Groq's `whisper-large-v3-turbo`\nmodel to transcribe voice messages.\n\n```json5  theme={&quot;theme&quot;:{&quot;light&quot;:&quot;min-light&quot;,&quot;dark&quot;:&quot;min-dark&quot;}}\n{\n  media: {\n    understanding: {\n      audio: {\n        models: [{ provider: &quot;groq&quot; }],\n      },\n    },\n  },\n}\n<\/code><\/pre>\n<h2>Environment note<\/h2>\n<p>If the Gateway runs as a daemon (launchd\/systemd), make sure <code>GROQ_API_KEY<\/code> is<br \/>\navailable to that process (for example, in <code>~\/.openclaw\/.env<\/code> or via<br \/>\n<code>env.shellEnv<\/code>).<\/p>\n<h2>Available models<\/h2>\n<p>Groq&#8217;s model catalog changes frequently. Run <code>openclaw models list | grep groq<\/code><br \/>\nto see currently available models, or check<br \/>\n<a href=\"https:\/\/console.groq.com\/docs\/models\">console.groq.com\/docs\/models<\/a>.<\/p>\n<p>Popular choices include:<\/p>\n<ul>\n<li><strong>Llama 3.3 70B Versatile<\/strong> &#8211; general-purpose, large context<\/li>\n<li><strong>Llama 3.1 8B Instant<\/strong> &#8211; fast, lightweight<\/li>\n<li><strong>Gemma 2 9B<\/strong> &#8211; compact, efficient<\/li>\n<li><strong>Mixtral 8x7B<\/strong> &#8211; MoE architecture, strong reasoning<\/li>\n<\/ul>\n<h2>Links<\/h2>\n<ul>\n<li><a href=\"https:\/\/console.groq.com\">Groq Console<\/a><\/li>\n<li><a href=\"https:\/\/console.groq.com\/docs\">API Documentation<\/a><\/li>\n<li><a href=\"https:\/\/console.groq.com\/docs\/models\">Model List<\/a><\/li>\n<li><a href=\"https:\/\/groq.com\/pricing\">Pricing<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Groq Groq provides ultra-fast inference on open-source  [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-627","post","type-post","status-publish","format-standard","hentry","category-docs"],"_links":{"self":[{"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/posts\/627","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/comments?post=627"}],"version-history":[{"count":2,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/posts\/627\/revisions"}],"predecessor-version":[{"id":717,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/posts\/627\/revisions\/717"}],"wp:attachment":[{"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/media?parent=627"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/categories?post=627"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/tags?post=627"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}