# GROQ

> Groq currently offers free API access to the models they host.

- 网址：https://funcoding.ai/agents/aider/llms/groq/
- 来源：Aider 官方文档原文（英文），Apache-2.0 许可，同步于 2026-10-11
- 官方原文：https://aider.chat/docs/llms/groq.html

---
Groq currently offers *free* API access to the models they host.
The Llama 3 70B model works
well with aider and is comparable to GPT-3.5 in code editing performance.
You'll need a [Groq API key](https://console.groq.com/keys).

First, install aider:

```bash
python -m pip install aider-install
aider-install
```

Then configure your API keys:

```
export GROQ_API_KEY=<key> # Mac/Linux
setx   GROQ_API_KEY <key> # Windows, restart shell after setx
```

Start working with aider and Groq on your codebase:

```bash
# Change directory into your codebase
cd /to/your/project

aider --model groq/llama3-70b-8192

# List models available from Groq
aider --list-models groq/
```
