Skip to main content

Environment Variables

Setting MODEL_NAME=groq/llama3-70b is enough — no need to set OPENAI_BASE_URL. The GROQ_API_KEY environment variable is consulted; OPENAI_API_KEY is not used as a fallback. If you just want the Groq default, setting GROQ_API_KEY alone is enough — no MODEL_NAME, no llm=. Agent(...) picks groq/llama-3.3-70b-versatile and routes it through litellm. See Provider Auto-Detection.

Models

  • Recommended: groq/llama-3.3-70b-versatile (best quality)
  • Fast: groq/llama-3.1-8b-instant (fastest)
  • Qwen: groq/qwen/qwen3-32b (multilingual)
  • Legacy: groq/llama3-70b-8192, groq/mixtral-8x7b-32768

Python

With Tools

Multi-Agent

CLI

YAML