Overview
Integration details
| Class | Package | Local | 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 | JSON mode | 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
In order to use the Groq API youβll need an API key. You can sign up for a Groq account and create an API key here. 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: