Skip to main content
The Groq model provides access to Groq’s high-performance language models.

Parameters

ParameterTypeDefaultDescription
idstr"llama-3.3-70b-versatile"The id of the Groq model to use
namestr"Groq"The name of the model
providerstr"Groq"The provider of the model
api_keyOptional[str]NoneThe API key for Groq (defaults to GROQ_API_KEY env var)
base_urlstr"https://api.groq.com/openai/v1"The base URL for the Groq API
Groq extends the OpenAI-compatible interface and supports most parameters from OpenAI.
I