# Groq

> Connect Groq for fast AI inference. Query open models like Llama to generate text and power your automations.

App · AI Models · 1 action. Web page: https://docs.lodol.com/docs/integrations/groq

## Actions

### Query Model

Sends a prompt to a Groq-hosted model and returns the generated text.

**Inputs**

- Prompt (`prompt`, text, required): The message or question to send to the Groq model.
- Model (`model`, text): Choose which Groq-hosted model answers your prompt. Llama 3.3 70B is the most capable; Llama 3.1 8B Instant is the fastest and lowest-cost. One of: `llama-3.3-70b-versatile` (Llama 3.3 70B (most capable, recommended)), `llama-3.1-8b-instant` (Llama 3.1 8B Instant (fastest & lowest-cost)). Default: `llama-3.3-70b-versatile`.

**Outputs**

- `model` (text): The Groq model that produced the response.
- `response_text` (text): The text that the Groq model generated for your prompt.

**Example output**

```json
{
  "model": "llama-3.3-70b-versatile",
  "response_text": "Here is a fast, thoughtful response generated by a Groq-hosted model to your question."
}
```
