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

# Groq Provider

> Use Groq inference with PraisonAI TypeScript

```mermaid theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
graph LR
    U[Input] --> A[Agent]
    A --> O[Output]

    classDef agent fill:#8B0000,color:#fff
    classDef tool fill:#189AB4,color:#fff

    class A agent
    class U,O tool
```

# Groq Provider

Ultra-fast inference with Groq's LPU technology.

## Environment Variables

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
export GROQ_API_KEY=gsk_...
```

## Supported Modalities

| Modality | Supported |
| - | - |
| Text/Chat | ✅ |
| Tools | ✅ |

## Quick Start

**1. Simple Usage**

```typescript theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
import { Agent } from 'praisonai';

const agent = new Agent({
  name: 'GroqAgent',
  instructions: 'You are a helpful assistant.',
  llm: 'groq/llama-3.3-70b-versatile'
});

const response = await agent.chat('Hello!');
```

**2. With Configuration**

Adjust provider credentials and model settings for production — see the sections above.

## Available Models

| Model | Description |
| - | - |
| `llama-3.3-70b-versatile` | Llama 3.3 70B |
| `mixtral-8x7b-32768` | Mixtral 8x7B |
| `gemma2-9b-it` | Gemma 2 9B |

## Related

> [card] [Groq CLI Usage](https://praison.ai/docs/js/providers/groq-cli.md)
>
> Groq CLI Usage


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.