- We recommend using
llama-3.3-70b-versatilefor general use. - We recommend using
llama-3.1-8b-instantfor faster results. - We recommend using
meta-llama/llama-4-scout-17b-16e-instructfor image understanding.
Multimodal Support
With Groq we supportImage as input.
Authentication
Set yourGROQ_API_KEY environment variable. Get your key from here.
Example
Install thegroq package:
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.