Groq
Listed at https://console.groq.com
💰 Token Pricing
| Type | Price | Note |
|---|---|---|
| Input | Llama 3.3 70B: $0.59/M, DeepSeek-R1: $0.89/M, Mixtral 8x7B: $0.15/M | per million tokens |
| Output | Llama 3.3 70B: $0.79/M, DeepSeek-R1: $0.89/M, Mixtral 8x7B: $0.15/M | per million tokens |
🤖 Supported Models (12)
✨ Pros
- ✓LPU inference engine: Llama 3.3 70B reaches 1,250 tok/s
- ✓Industry's fastest inference speed
- ✓Llama 3.3 70B at $0.59/M input, excellent value
- ✓Generous free tier
- ✓OpenAI-compatible API, seamless migration
- ✓GroqCloud platform expanding model library
⚠️ Cons
- ×China requires proxy
- ×Limited model selection (mostly open-source)
- ×No Function Calling support
- ×LPU optimization limited for non-Meta models
- ×No overseas nodes, impacting global latency
🎯 Best For
Applications needing extreme inference speed; high-throughput real-time scenarios; high-performance open-source model deployment
💰 Pricing & Plans
| Model | Input ($/M tokens) | Output ($/M tokens) | Speed (t/s) | Notes |
|---|---|---|---|---|
| GPT-OSS 120B (openai/gpt-oss-120b) | $0.15 | $0.60 | 500 | Open-weight reasoning flagship; 131K ctx, 65K max output |
| GPT-OSS 20B (openai/gpt-oss-20b) | $0.075 | $0.30 | 1000 | Fastest tier on GroqCloud; 131K ctx, prompt-caching eligible |
| GPT-OSS-Safeguard 20B (openai/gpt-oss-safeguard-20b) | $0.075 | $0.30 | 1000 | Safety-tuned variant for classification |
| Qwen 3.6 27B (qwen/qwen3.6-27b) | $0.60 | $3.00 | 500 | Alibaba reasoning model; 131K ctx, 16K max output |
| Whisper Large V3 (whisper-large-v3) | $0.111 / audio-hour | — | — | Speech-to-text; 200K ASH / 300 RPM free, 7.2K ASH dev |
| Whisper Large V3 Turbo (whisper-large-v3-turbo) | $0.04 / audio-hour | — | — | Faster STT variant; 400K ASH / 400 RPM dev limits |
| Llama 3.1 8B Instant (Enterprise) | Contact Sales | Contact Sales | 560 | Self-serve tier discontinued; enterprise contract only |
| Llama 3.3 70B Versatile (Enterprise) | Contact Sales | Contact Sales | 280 | Self-serve tier discontinued; enterprise contract only |
| Compound / Compound-Mini (agentic) | — | — | 450 | Built-in tool orchestration (web search, code, browser); pay-as-you-go |
🔧 API & Developer Experience
- •OpenAI-Compatible Endpoint: Base URL https://api.groq.com/openai/v1 mirrors OpenAI's /chat/completions and /responses schemas — existing OpenAI SDKs (Python, JS) work after a base-URL and key swap, so migrations require zero code refactor.
- •Native Groq SDK: Official Python and JavaScript/TypeScript SDKs (groq-sdk) provide typed access to chat, speech, vision, batch, and tool-use endpoints, plus streaming and structured outputs out of the box.
- •Prompt Caching: Automatic prefix caching on GPT-OSS 20B/120B and Safeguard 20B cuts cached input tokens 50% with no code changes; volatile storage only (2-hour TTL), and cached tokens don't count toward rate limits.
- •Service Tiers: Four tiers via the service_tier parameter: performance (enterprise-only, lowest latency), on_demand (default), flex (higher throughput, best-effort), and auto (Groq picks the best tier per request).
- •Built-In Tools: Server-side web search (Visit Website), code execution, Wolfram Alpha, and browser search (GPT-OSS models) — no separate agent plumbing required; tool calls are billed at standard rates.
- •Compound Agentic Models: groq/compound and groq/compound-mini orchestrate multi-step workflows with built-in web search, code execution, and browser automation — useful for research/agent workloads that previously needed custom scaffolding.
- •Batch Processing: Asynchronous batch API delivers up to 50% off all tokens; submit up to 24h ahead for bulk evaluation, embedding, or nightly ingestion. Note: prompt-caching discount doesn't stack with batch discount.
- •Audio / Speech Suite: Whisper Large V3 ($0.111/audio-hour) and V3 Turbo ($0.04/audio-hour) plus Orpheus TTS (per-1M-character pricing) round out a full speech pipeline on the same API key.
⚡ LPU Inference Engine & Latency
Groq's signature capability is its deterministic low-latency inference: the original Language Processing Unit (LPU) and the newer LPX architecture (paired with NVIDIA next-gen GPUs) deliver sub-second time-to-first-token and stable token-per-second throughput on every supported model. GPT-OSS 20B reaches 1,000 tokens/sec on GroqCloud, GPT-OSS 120B sustains 500 t/s, and the Whisper transcription tier pushes audio at hundreds of times real-time — figures that GPU-only clouds rarely match for comparable model sizes. The four service tiers (performance / on_demand / flex / auto) expose this latency profile as a tunable: performance gives enterprise customers strict SLAs, while flex trades latency for higher throughput on non-urgent workloads. Combined with prompt caching (50% off cached input tokens on GPT-OSS), batch discounts, and the built-in agentic Compound models, Groq positions itself as the inference layer of choice for real-time chat, voice agents, and high-volume evaluation pipelines rather than a general-purpose model lab.
🌐 China Access & Latency
api.groq.com is not directly reachable from mainland China — the API is hosted in Groq's US data centers and the GFW blocks traffic to console.groq.com and api.groq.com alike. Mainland developers typically access Groq via VPN, an overseas VPS, or a third-party reseller that re-sells Groq access (some aggregator platforms offer GPT-OSS 120B and Qwen 3.6 routes with Chinese-language billing). For non-China regions, latency to GroqCloud is excellent — US east/west clients see 100–300 ms first-token time and sustained 500+ t/s on the OSS tier. The pricing itself is fine for overseas workloads, but the lack of a self-serve China-direct route, no regional PoPs, and the recent move of Llama 3.1/3.3 to enterprise-only (Contact Sales) make Groq a high-performance foreign API rather than a domestic alternative — teams shipping to mainland users should plan for an aggregator or proxy in their architecture.