§ LLMS.FREEFREE LLM APISVERIFIED 2026

Groq API Key: Free Tier Limits and Setup

Groq runs open-weight models on custom LPU inference hardware with a permanent free plan and no payment card. Checked on 28 Nov 2026, openai/gpt-oss-20b allows 30 requests per minute, 1,000 requests per day and 8,000 tokens per minute through an OpenAI-compatible endpoint.

Yes, Free · checked 28 Nov 2026

Groq Free Tier Snapshot

Verified model
openai/gpt-oss-20b
Per-minute caps
30 RPM · 8,000 TPM
Daily cap
1,000 RPD
Endpoint
api.groq.com/openai/v1
No CardNo Expiry
Get Free Groq Key
§ 01 · QUOTASORGANIZATION-WIDE LIMITSCHECKED 28 NOV 2026

Groq Free Tier Limits and Quota Scope

Groq's free tier is ongoing rather than a 30-day credit trial, but every model carries independent per-minute and per-day ceilings. Crucially, limits are enforced across your entire GroqCloud organization — creating extra API keys inside the same org shares the same quota pool.

Verified Groq free tier rate limits and scoping rules
DimensionVerified ValueHow It Works in Practice
Featured Free Modelopenai/gpt-oss-20b20.9B Apache 2.0 MoE (3.6B active) hosted on Groq LPUs for fast chat, coding and tool calling.
Requests per Minute (RPM)30 RPMBurst ceiling shared across all keys in your organization.
Requests per Day (RPD)1,000 RPDOne of the highest explicit daily request caps among card-free hosted LLM APIs.
Tokens per Minute (TPM)8,000 TPMCounts combined prompt + completion tokens; large 10K+ prompts will trip TPM immediately.
Billing & PrivacyNo card requiredReview data-retention controls in GroqCloud settings; free-tier handling follows Groq's Services Agreement.
§ 02 · SETUP & CODEOPENAI SDK COMPATIBLEGROQ_API_KEY

How to Get a Free Groq API Key

GroqCloud activates the free developer plan immediately with email, Google or GitHub sign-in. Your key starts with gsk_ and is shown only once at creation time.

  1. Sign In to GroqCloud

    Go to console.groq.com and sign in with email, Google or GitHub. No payment card is requested.

  2. Create the Key

    Open API Keys, choose Create API Key, name it after your project and copy it. Groq shows the key only once.

  3. Store It Outside Your Code

    Save it as the environment variable GROQ_API_KEY. The starter snippets below read it from there.

Also available locally: gpt-oss-20b needs ~14.3 GB at Q4 if you ever want zero rate limits on a 16 GB GPU or 24 GB Mac.

Groq API Starter Code

Swap base_url to https://api.groq.com/openai/v1 and pass GROQ_API_KEY — your existing OpenAI SDK client works with zero schema changes.

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.groq.com/openai/v1",
    api_key=os.environ["GROQ_API_KEY"],
)
r = client.chat.completions.create(
    model="openai/gpt-oss-20b",
    messages=[{"role": "user", "content": "Hello"}],
)
print(r.choices[0].message.content)
§ 03 · RATE LIMIT ENGINEERINGHTTP 429 HEADERSPRODUCTION TIPS

Handling Groq HTTP 429 Headers and Fallback

Because Groq's 8,000 TPM cap is tighter than its 1,000 RPD cap, long multi-turn conversations usually hit TPM before RPD. Inspect Groq's response headers to throttle proactively instead of failing user requests:

Groq API rate-limit response headers
HTTP HeaderMeaning
x-ratelimit-remaining-requestsRequests left in the current daily window before HTTP 429.
x-ratelimit-remaining-tokensTokens left in the current 60-second TPM bucket.
retry-afterSeconds to wait before retrying after a 429 response.

Best pairing strategy: Use Groq as your primary low-latency backend for interactive chat and tool calling, and configure automatic fallback to OpenRouter :free or Google AI Studio when a prompt exceeds 8K tokens or hits a daily limit.

§ FAQCOMMON QUESTIONSANSWERS

Groq API Questions

Why Is Groq API Free?

Groq maintains a permanent free developer plan so engineers can benchmark its custom LPU low-latency inference and test tool calling before scaling to paid Developer or Enterprise tiers.

Does Creating Multiple Groq API Keys Increase My Rate Limit?

No. Groq enforces RPM, TPM and RPD ceilings across your entire GroqCloud organization, so all keys under the same org share one quota pool.

Why Did I Hit HTTP 429 Below 1,000 Requests a Day?

Most 429 errors on Groq come from the 8,000 tokens-per-minute (TPM) ceiling rather than the daily request limit. Trim conversation history or honor the retry-after header with exponential backoff.

Is Groq API OpenAI-Compatible?

Yes. Point the official OpenAI Python, TypeScript or Vercel AI SDK at https://api.groq.com/openai/v1 with your GROQ_API_KEY and a Groq model ID such as openai/gpt-oss-20b.

Get Free Key