> ## Documentation Index
> Fetch the complete documentation index at: https://langchain.idochub.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Groq

> [Groq](https://groq.com) developed 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:

<CodeGroup>
  ```bash pip theme={null}
  pip install langchain-groq
  ```

  ```bash uv theme={null}
  uv add langchain-groq
  ```
</CodeGroup>

Request an [API key](https://console.groq.com/login?utm_source=langchain\&utm_content=provider_page) and set it as an environment variable:

```bash theme={null}
export GROQ_API_KEY=gsk_...
```

## Chat models

See a [usage example](/oss/python/integrations/chat/groq).

```python theme={null}
from langchain_groq import ChatGroq
```
