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

# Groq

> Configure Groq as an LLM provider for translation generation.

## Provider value

Use `groq` in `llm.profiles.<name>.provider`.

## Example profile

```json theme={null}
{
  "llm": {
    "profiles": {
      "default": {
        "provider": "groq",
        "model": "llama-3.3-70b-versatile",
        "prompt": "Translate from {{source}} to {{target}}:\n\n{{input}}"
      }
    }
  }
}
```

## Required environment variable

<CodeGroup>
  ```bash Export theme={null}
  export GROQ_API_KEY="your-groq-api-key"
  ```

  ```bash .env.local theme={null}
  GROQ_API_KEY="your-groq-api-key"
  ```
</CodeGroup>

## Optional environment variable

`GROQ_BASE_URL` defaults to `https://api.groq.com/openai/v1`.
