Groq Cloud
Connect an agent to a custom LLM on Groq Cloud.
Overview
Section titled “Overview”Groq Cloud provides easy access to fast AI inference, giving you OpenAI-compatible API endpoints in a matter of clicks.
Use leading Openly-available Models like Llama, Mixtral, and Gemma as the brain for your ElevenLabs agents in a few easy steps.
Choosing a model
Section titled “Choosing a model”To make use of the full power of ElevenLabs agents you need to use a model that supports tool use and structured outputs. Groq recommends the following Llama-3.3 models their versatility and performance:
- meta-llama/llama-4-scout-17b-16e-instruct (10M token context window) and support for 12 languages (Arabic, English, French, German, Hindi, Indonesian, Italian, Portuguese, Spanish, Tagalog, Thai, and Vietnamese)
- llama-3.3-70b-versatile (128k context window | 32,768 max output tokens)
- llama-3.1-8b-instant (128k context window | 8,192 max output tokens)
With this in mind, it’s recommended to use meta-llama/llama-4-scout-17b-16e-instruct for your ElevenLabs Agents agent.
Set up Llama 3.3 on Groq Cloud
Section titled “Set up Llama 3.3 on Groq Cloud”Navigate to console.groq.com/keys and create a new API key.

Once you have your API key, you can test it by running the following curl command:
Bash curl https://api.groq.com/openai/v1/chat/completions -s \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $GROQ_API_KEY" \ -d '{ "model": "llama-3.3-70b-versatile", "messages": [{ "role": "user", "content": "Hello, how are you?" }] }'Navigate to your AI Agent, scroll down to the “Secrets” section and select “Add Secret”. After adding the secret, make sure to hit “Save” to make the secret available to your agent.

Choose “Custom LLM” from the dropdown menu.

For the Server URL, specify Groq’s OpenAI-compatible API endpoint:
https://api.groq.com/openai/v1. For the Model ID, specifymeta-llama/llama-4-scout-17b-16e-instructas discussed above, and select your API key from the dropdown menu.
Now you can go ahead and click “Test AI Agent” to chat with your custom Llama 3.3 model.