Skip to main content
Groq provides fast inference endpoints for large language models. See all Groq-supported models here.
  • We recommend using openai/gpt-oss-120b for general use.
  • We recommend using openai/gpt-oss-20b for faster results.
  • For image understanding, Groq’s current options are Preview-tier only — see Multimodal Support below.
Groq shut down llama-3.3-70b-versatile and llama-3.1-8b-instant on 2026-08-16 for free and developer-tier keys (enterprise customers with a committed-spend contract are unaffected — see Groq’s deprecations page). Agno v3.0 defaults to openai/gpt-oss-120b; the old ids return a 404 from Groq.

Multimodal Support

With Groq we support Image as input, on vision-capable models. Groq’s vision docs list the current image-capable models — qwen/qwen3.6-27b and qwen/qwen3.8-27b. Groq classes both as Preview models, which it describes as suitable for evaluation rather than production and subject to discontinuation at short notice. Groq names qwen/qwen3.6-27b as the replacement for the retired meta-llama/llama-4-scout-17b-16e-instruct. The default openai/gpt-oss-120b does not accept images.

Authentication

Set your GROQ_API_KEY environment variable. Get your key from here.

Example

Install the groq package:
Use Groq with your Agent:
View more examples here.

Parameters

Groq uses the groq Python SDK. It is a subclass of the Model class and has access to the same params. See the Groq reference for all parameters.