# Together AI

> Query open-source and frontier AI models hosted on Together AI to generate text and power your automations.

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

## Actions

### Query a model

Send a prompt to a model hosted on Together AI and return the generated text.

**Inputs**

- Prompt (`prompt`, text, required): The message or question to send to the model.
- Model (`model`, text): The Together AI model to use. Leave as the default or enter any model ID from https://docs.together.ai/docs/serverless-models. Default: `meta-llama/Llama-3.3-70B-Instruct-Turbo`.

**Outputs**

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

**Example output**

```json
{
  "model": "meta-llama/Llama-3.3-70B-Instruct-Turbo",
  "response_text": "Here is a helpful response generated by an open-source model hosted on Together AI."
}
```
