Skip to main content
Groq is the fastest inference platform in production today, delivering hundreds of tokens per second on open-source models. It’s the right pick for latency-critical agents, real-time apps, and high-volume workloads.

Installation

Environment Setup

Get an API key at console.groq.com. The free tier is generous and great for prototyping.

Quick Start

Every Groq model uses the groq/ prefix:

Model Names

Real-Time Streaming

Groq’s speed makes streaming feel instant. Stream tokens straight to stdout:
Or pipe tokens through your own callback for dashboards or audio synthesis:

Reasoning with DeepSeek R1 on Groq

Groq hosts a distilled DeepSeek R1 that retains R1’s chain-of-thought reasoning at Groq speed:

Tool Use

Groq supports function calling on the Llama and GPT-OSS families:

Multi-Agent: Speed-First Pipelines

Groq shines as the inference layer for parallel multi-agent work. Run 10 agents concurrently and still finish in under a second:

Production Defaults

Next Steps