Home › APIs › Groq

Groq API — pricing, free tier & how to get a key

Groq runs open models on its custom LPU hardware, and its claim to fame is speed: hundreds to over a thousand tokens per second, far faster than typical GPU inference. Pricing is per token like everyone else, but the latency is the selling point — ideal for chatbots, voice agents and anything where users wait on the response. Here's what it costs and how to get your key.

Groq API pricing (reference, October 2026)

ModelloInserisci $/1 milioneProduzione $/1 milioneMeglio per
GPT-OSS 120B$0.15$0.60Flagship self-serve model, ~500 tok/s
GPT-OSS 20B più economico$0.075$0.30High volume, simple tasks, ~1000 tok/s
Qwen3.8 27B$0.80$4.00Reasoning-heavy tasks
Whisper Large V3 Turbo$0.04/hour audioFast transcription
⚠️ As of October 2026, Groq moved Llama 3.3 70B and Llama 3.1 8B to Enterprise/"Contact Sales" pricing — there is no public self-serve per-token rate for either Llama model anymore; GPT-OSS 120B is now the de facto flagship self-serve model. Groq adds and retires models often and adjusts pricing. Confirm on console.groq.com/docs/models before budgeting. Prices are per 1M tokens; output is billed separately. · Segnala prezzo obsoleto →
✓ Last verified: 2026-10-21· Fonte: pagina ufficiale dei prezzi del fornitore· Monitoraggio automatico — segnalare il cambiamento →

→ Estimate your bill on the Calcolatore dei costi dell'API AI or model a whole app with the Stima dei costi delle app AI.

Esiste un livello gratuito?

Yes — GroqCloud includes a livello gratuito with generous per-minute and per-day rate limits, ideal for development and low-volume apps with no card required to start. For production throughput you move to paid on-demand. If a free quota matters, compare with Google Gemelli E Mistral, which also offer real free tiers.

How to get a Groq API key (step by step)

1. Vai a console.groq.com and create an account.
2. Open the Chiavi API page and click Create API Key; copy it once.
3. Usa il livello gratuito immediately, or add billing under Settings → Billing for higher limits.
4. The API is OpenAI-compatible; most OpenAI SDKs work by pointing the base URL at Groq.

Test it with a simple request:

# quick test (replace $GROQ_API_KEY)
curl https://api.groq.com/openai/v1/chat/completions \
-H "Authorization: Bearer $GROQ_API_KEY" \
-H "Tipo di contenuto: application/json" \
-d '{"model":"openai/gpt-oss-20b","messages":[{"role":"user","content":"hi"}]}'

Estimate your cost

Usa il Calcolatore dei costi dell'API AI to plug in your token counts and request volume — it ranks Groq's open models against GPT-4o, Claude, Gemini and DeepSeek from cheapest to most expensive for your workload.

Cheaper alternatives

Groq's GPT-OSS 20B is already among the cheapest hosted models anywhere. For comparably cheap frontier-ish quality, DeepSeek-V3 E Mistral Small are the obvious comparisons. If you want one key across many providers and automatic routing, see OpenRouter. If you specifically need Llama 3.3 70B at a public self-serve price (Groq no longer publishes one), Insieme AI and SambaNova still list it.

Domande frequenti

Why use Groq instead of OpenAI?

Speed. Groq serves open models at very high tokens-per-second, so responses feel instant — valuable for chat, voice and agent loops. You trade proprietary frontier models for raw latency and low cost.

Does Groq have a free tier?

Yes — the GroqCloud free tier has rate limits and no upfront cost, good for testing and low-volume use.

How do I get a Groq API key?

Sign up at console.groq.com, open API Keys, create a key, copy it once, and use the free tier or add billing.

Is the Groq API OpenAI-compatible?

Yes — it exposes an OpenAI-style chat completions endpoint, so most OpenAI client libraries work by changing the base URL and key.

Not affiliated with Groq. Prices are reference estimates — always verify on the official pricing page.

Ospita il tuo progetto:DigitalOcean: $ 200 gratis ↗Hostinger VPS

Strumenti e hosting

📈TradingView🔒NordVPN💳 RivoluzioneDigitalOcean $200HostingerIA intricata📧Icemail