← all guides

Roo Code

VS Code agent (Cline fork)

[ Connect a free provider ]

Pick a provider, copy, done.

[ Config · Roo Code — provider settings ]
json
// In the Roo Code settings panel choose "OpenAI Compatible", then:
{
  "API Provider": "OpenAI Compatible",
  "Base URL": "https://api.groq.com/openai/v1",
  "Model ID": "llama-3.3-70b-versatile",
  "API Key": "<YOUR_API_KEY>"
}
[ Paste-to-agent prompt ]
prompt
You are being set up to use a free LLM API as your model backend.

Provider:     Groq
Base URL:     https://api.groq.com/openai/v1
Model:        llama-3.3-70b-versatile
Auth:         Bearer token (OpenAI-compatible)
Key env var:  GROQ_API_KEY

Task:
1. Configure Roo Code to call the endpoint above using the OpenAI Chat Completions format.
2. Read the API key from the GROQ_API_KEY environment variable. Do NOT
   ask me to paste the key in plain text in this chat — I will set it in my env.
3. If a setting requires a base URL, use exactly: https://api.groq.com/openai/v1
4. Send one short test message ("ping") and report back whether the call
   succeeded, including the model name and latency.

If anything is missing (e.g. an account ID for the base URL), ask me for just
that value and nothing else.

↳ You supply the key in your own env. apifreely never sees it.