> ## 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

<Steps>
  <Step title="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!');
    ```
  </Step>

  <Step title="With Configuration">
    Adjust provider credentials and model settings for production — see the sections above.
  </Step>
</Steps>

## 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

<CardGroup cols={2}>
  <Card title="Groq CLI Usage" icon="terminal" href="/docs/js/providers/groq-cli">
    Groq CLI Usage
  </Card>
</CardGroup>
