Connect Groq to VS Code + Continue
1. Install VS Code and Continue
- Download VS Code for your OS and install it.
- Open VS Code, go to Extensions (Ctrl+Shift+X / Cmd+Shift+X).
- Search for Continue and install the official extension.
- Reload VS Code when prompted.
2. Get a Groq API key
- Create a free account at console.groq.com.
- Open API Keys and create a new key.
- Copy the key for the config below.
3. Configure Continue for Groq chat
- Open the Continue sidebar in VS Code.
- Click the gear icon to open
config.json. - Paste this config and replace
YOUR_GROQ_API_KEY:
{
"models": [
{
"title": "Groq llama-3.1-8b-instant",
"provider": "openai",
"model": "llama-3.1-8b-instant",
"apiKey": "YOUR_GROQ_API_KEY",
"apiBase": "https://api.groq.com/openai/v1"
}
]
} - Save the file and restart VS Code.
- Open Continue chat and select
Groq llama-3.1-8b-instant. - Send a test message.
You can enable Tab autocomplete later in Continue settings if your provider supports it.
Troubleshooting
- 401 Unauthorized — verify the API key in
config.jsonand restart VS Code. - Model not listed — check that
modelis exactlyllama-3.1-8b-instant. - Rate limit — see Groq limits (30 RPM).
Limits checked against official docs on 2026-08-23. Rates change without notice. Not affiliated with providers unless noted. Verify before production use.
Other providers
See the free API comparison for OpenRouter, Gemini, Cerebras, and more.