AI Inference · Groq

Groq

The fastest LPU inference — 10x speed for open models, Llama and Mixtral at hundreds of tokens per second.

Visit groq.com
CategoryPricingCompanyOfficial siteBest for
AI InferenceFreemiumGroqgroq.comLatency-critical apps on open models — chat, voice agents, real-time copilots

What it is

Groq is an inference company built around its own Language Processing Unit (LPU) — a custom chip designed for one job: running transformer models at absurd speed. Where GPU-based serving fights memory bandwidth limits, the LPU uses deterministic, single-threaded execution with weights held on-chip. The result is hundreds of tokens per second per user, not per batch — and it feels nothing like waiting on a normal API.

You don’t buy a chip. You get an OpenAI-compatible REST API at groq.com, serving a curated slate of open-weight models: Llama 3.x and Llama 4 variants, Qwen, DeepSeek distillations, Whisper for speech. It’s inference-as-a-service with a very specific superpower: raw, single-stream speed.

What it actually does

Groq hosts open models on its LPU fleet and exposes them through a drop-in OpenAI-compatible endpoint. You point your existing OpenAI SDK at https://api.groq.com/openai/v1, swap the model name, and your tokens arrive 5–10x faster than typical GPU serving. No quantization gymnastics on your side, no hardware to rent, no batching scheduler to babysit.

curl https://api.groq.com/openai/v1/chat/completions \
  -H "Authorization: Bearer $GROQ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "llama-3.3-70b-versatile",
    "messages": [{"role": "user", "content": "Explain LPU vs GPU in two sentences."}]
  }'

It also serves Whisper transcription, hosts a free playground for model testing, and offers batch processing for offline jobs. That’s the product: speed, delivered through a familiar API.

Why developers reach for it

  • Latency that changes UX. A 500-token answer in about a second enables voice loops and autocomplete that feel instant rather than “AI-ish.”
  • Free tier that’s real. Generous request and token limits make it the default playground for prototyping on open models.
  • Zero migration cost. OpenAI SDK compatibility means you change a base URL and a model string, not your codebase.
  • Open models only. No lock-in to a proprietary model family — the weights are public, so you can self-host later if pricing or policy shifts.

How it compares to alternatives

Groq vs Together AI vs Fireworks AI. Groq wins on raw single-stream speed — nothing else comes close for interactive latency. Together AI wins on breadth (200+ models, fine-tuning, dedicated endpoints at scale) and per-token economics for bulk work. Fireworks AI sits in between: excellent low-latency serving with a strong fine-tuning story and function calling tuned for production agents. If your metric is time-to-first-token and tokens-per-second in a chat UI, Groq. If it’s volume, variety and training, look at Together or Fireworks.

Groq vs running locally. Ollama on a decent GPU can be fast, but Groq is faster by an order of magnitude and needs zero hardware. Local wins on privacy and offline use; Groq wins when cloud latency is acceptable and you want open-model quality without a GPU budget. Many teams prototype against Groq’s free tier, then decide whether to self-host.

Pricing and free tier

Groq has a genuinely useful free tier with rate-limited requests — enough to build and demo real apps. Paid usage is per-token and priced aggressively against closed frontier APIs (open Llama-class models at a fraction of GPT-class pricing; exact numbers shift, so check groq.com). Developer-tier plans lift rate limits for production traffic. There’s no subscription to run a model; you pay for tokens, or nothing at all within the free limits.

Where it shines / where it doesn’t

Shines: real-time chat and voice agents, high-QPS serving of open models, prototyping without a credit card, and anywhere a human is staring at a spinner.

Doesn’t: frontier-model quality (no GPT-5 or Claude-class weights), fine-tuning at scale, context windows beyond what the hosted open models offer, and guaranteed capacity during demand spikes — free-tier rate limits will bite you in production without an upgrade.

Getting started in 3 minutes

# 1. Grab a free key at console.groq.com
# 2. Install the OpenAI SDK (or just use curl)
pip install openai

# 3. Fire your first request
curl https://api.groq.com/openai/v1/chat/completions \
  -H "Authorization: Bearer $GROQ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"llama-3.3-70b-versatile","messages":[{"role":"user","content":"Hello, fast world."}]}'

Three minutes from signup to a sub-second Llama 3.3 70B response. That’s the whole onboarding.

PeaBox fit

Groq is the first backend we wire up when prototyping local-first AI features for PeaBox projects — it’s the fastest way to feel what an open model can do before committing to hardware or an OpenRouter fallback chain. Pair it with Ollama for offline dev and Open WebUI for a ready-made chat front end, and you’ve got a full local-grade stack with a cloud speed demon behind it.

The honest practitioner take

Groq is the only hosted inference service that has ever made me rethink a product design. When Llama streams at 250+ tokens a second, “streaming UI” stops being a nice touch and becomes the obvious default — users read faster than the model used to type. The catch is model selection: you get the best open weights, not the best weights, full stop, and you get them on Groq’s schedule for updates. Use it for what it’s brilliant at — latency — and keep a fallback wired up. If your app lives or dies on response time, Groq is the first thing to reach for and the last thing to optimize away.

Pricing and model availability approximate as of Nov 2026; check groq.com before you budget.