Installation
Environment Setup
Quick Start
Every Groq model uses thegroq/ prefix:
Model Names
| Model | model_name | Best for |
|---|---|---|
| Llama 3.3 70B | "groq/llama-3.3-70b-versatile" | General-purpose default — strong quality + speed |
| Llama 3.1 8B Instant | "groq/llama-3.1-8b-instant" | Triage, classification, lowest latency |
| Llama 4 Scout 17B | "groq/meta-llama/llama-4-scout-17b-16e-instruct" | Frontier open model with expert routing |
| Llama 4 Maverick | "groq/meta-llama/llama-4-maverick-17b-128e-instruct" | Maximum capability, 128 experts |
| GPT-OSS 120B | "groq/openai/gpt-oss-120b" | OpenAI’s open-source model, hosted on Groq |
| GPT-OSS 20B | "groq/openai/gpt-oss-20b" | Smaller, faster GPT-OSS |
| DeepSeek R1 Distill 70B | "groq/deepseek-r1-distill-llama-70b" | Reasoning model with R1-style chain-of-thought |
| Kimi K2 | "groq/moonshotai/kimi-k2-instruct" | Long-context Chinese/English instruction model |