Skip to main content
Open on GitHub

Groq

Groqdeveloped the world's first Language Processing Unit™, or LPU. The Groq LPU has a deterministic, single core streaming architecture that sets the standard for GenAI inference speed with predictable and repeatable performance for any given workload.

Beyond the architecture, Groq software is designed to empower developers like you with the tools you need to create innovative, powerful AI applications.

With Groq as your engine, you can:

  • Achieve uncompromised low latency and performance for real-time AI and HPC inferences 🔥
  • Know the exact performance and compute time for any given workload 🔮
  • Take advantage of our cutting-edge technology to stay ahead of the competition 💪

Installation and Setup

Install the integration package:

pip install langchain-groq

Request an API key and set it as an environment variable:

export GROQ_API_KEY=gsk_...

Chat models

See a usage example.

from langchain_groq import ChatGroq
API Reference:ChatGroq

Was this page helpful?