ChatGroq features and configurations, see the API reference.
Overview
Integration details
| Class | Package | Serializable | PY support | Downloads | Version |
|---|---|---|---|---|---|
ChatGroq | @langchain/groq | ❌ | ✅ |
Model features
See the links in the table headers below for guides on how to use specific features.| Tool calling | Structured output | Image input | Audio input | Video input | Token-level streaming | Token usage | Logprobs |
|---|---|---|---|---|---|---|---|
| ✅ | ✅ | ❌ | ❌ | ❌ | ✅ | ✅ | ✅ |
Setup
To access ChatGroq models you’ll need to create a Groq account, get an API key, and install the@langchain/groq integration package.
Credentials
To use the Groq API, create an API key in the Groq console. Then, you can set the API key as an environment variable in your terminal:Installation
The LangChain ChatGroq integration lives in the@langchain/groq package:
Instantiation
Now we can instantiate our model object and generate chat completions:Invocation
Invoke with JSON output
API reference
For detailed documentation of allChatGroq features and configurations head to the API reference.
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

