OpenCode is an open-source AI coding agent available as a terminal-based interface, desktop app, or IDE extension. Pair it with Groq's LPU inference to get low-latency code generation with native Groq provider support.
cd /path/to/your/project
opencode/connect, search for Groq and select it, then enter your Groq API key when prompted. Next, run /models and choose a Groq model from the list.
Your API key will be stored securely in ~/.local/share/opencode/auth.json.
moonshotai/kimi-k2-instruct-0905recommendedopenai/gpt-oss-120bOpenCode works best with models that have strong reasoning capabilities and large context windows for understanding your codebase.