Groq API free tier: fast open models, real limits, and when speed matters
On the Free plan, openai/gpt-oss-120b gets 30 requests a minute and 200K tokens a day, and Groq lists it at 500 tokens per second. Here is how to get a key and make a first call, how to read the per-model limits, what a 429 looks like, and when that speed is worth caring about.
What Groq is, in plain words
Groq is a hosted inference service. You send text to an API, it runs an open model such as openai/gpt-oss-20b or llama-3.3-70b-versatile and sends the answer back. You do not train anything and you do not host anything. Do not confuse it with Grok, the chatbot from xAI: different company, different product.
The selling point is speed. The models page (opens in a new tab) lists a speed for each model. At the time of checking it showed 1000 tokens per second for openai/gpt-oss-20b, 500 for openai/gpt-oss-120b, 560 for llama-3.1-8b-instant and 280 for llama-3.3-70b-versatile. These are Groq's own figures, so treat them as a best case and measure your own requests.
The API is OpenAI-compatible. Per the OpenAI compatibility page (opens in a new tab), you point an OpenAI client at https://api.groq.com/openai/v1 and use your Groq key. That makes switching between providers a small change.
What the free plan gives you
- A Free plan and a Developer plan exist. The billing FAQ (opens in a new tab) says moving up needs a valid payment method, nothing is charged at the moment you upgrade, billing happens at month end or when thresholds are reached, and the upgrade takes effect immediately. Downgrading returns you to the Free tier limits.
- The rate limits page says limits apply at the organization level, not per user. A second key in the same organization does not give you more room.
- The page also says cached tokens do not count toward limits, and that you can hit any one of the limit types, whichever you reach first.
- The same page says the Developer plan gives higher limits plus Batch and Flex processing, so those are not part of the free plan.
The official pages we read do not say whether a credit card is needed to sign up for the Free plan, or how long the Free plan lasts. The sign-up screen is where to check before you plan around it.
The free-tier limits, per model
RPM is requests per minute, RPD requests per day, TPM tokens per minute, TPD tokens per day. This is the table on the rate limits page (opens in a new tab) as of 2026-11-06, under its Free Plan heading.
openai/gpt-oss-120bandopenai/gpt-oss-20b: 30 RPM, 1K RPD, 8K TPM, 200K TPD.qwen/qwen3.8-27b: 30 RPM, 1K RPD, 8K TPM, 200K TPD.openai/gpt-oss-safeguard-20b: 3 RPM, 1K RPD, 2K TPM, 200K TPD.whisper-large-v3andwhisper-large-v3-turbo(speech to text): 20 RPM, 2K RPD, 7.2K audio seconds per hour, 28.8K audio seconds per day.meta-llama/llama-prompt-guard-2-22mand-86m: 30 RPM, 14.4K RPD, 15K TPM, 500K TPD.canopylabs/orpheus-v1-englishandcanopylabs/orpheus-arabic-saudi(text to speech): 10 RPM, 100 RPD, 1.2K TPM, 3.6K TPD.
Two things the page does not make clear. First, the page showed one table and its tab labels did not clearly say which rows belong to Free and which to Developer, so confirm your own numbers in the Limits page of the console. Second, llama-3.3-70b-versatile and llama-3.1-8b-instant are listed on the models page but did not appear in this table, so look up their limits in your console before relying on them.
What the numbers mean in practice
- At 8K tokens a minute, a few long prompts use up the whole minute. The token cap stops you long before the 30-request cap does.
- With 200K tokens per day on the larger models, that is a prototype budget, not a product budget. A chat app with real users will pass it quickly.
- Preview models, according to the models page, may be discontinued at short notice and are intended for evaluation only. Do not build something long-lived on one.
Create a Groq key and send a first chat request
Sign in to the Groq console and create an API key on the keys page (opens in a new tab). Copy it somewhere safe. Treat it like a password.
Store the key in an environment variable named
GROQ_API_KEY, as the quickstart does. Replace the placeholder with your key. Never write the real key into a file you commit.export GROQ_API_KEY=<your-api-key-here>Install the official Python library:
pip install groqRun the quickstart example. It reads the key from the environment, asks one question and prints the answer. The official quickstart uses
llama-3.3-70b-versatile; we swapped inopenai/gpt-oss-20bbecause it is in the free table above. If a model has been retired by the time you read this, pick a current one from the models page.python3 - <<'EOF' import os from groq import Groq client = Groq( api_key=os.environ.get("GROQ_API_KEY"), ) chat_completion = client.chat.completions.create( messages=[ { "role": "user", "content": "Explain the importance of fast language models", } ], model="openai/gpt-oss-20b", ) print(chat_completion.choices[0].message.content) EOF
If you already use the OpenAI library, you do not need the Groq one. Set the base URL to https://api.groq.com/openai/v1 and pass the Groq key. The compatibility page lists the gaps: for example logprobs, logit_bias, top_logprobs and messages[].name return a 400 error, if n is sent it must be 1, and a temperature of 0 is converted to a very small number.
What happens when you hit a limit
- The API answers with HTTP
429 Too Many Requests. Your call is not served, it is rejected. - On a 429 response, a
retry-afterheader tells you how many seconds to wait. It is only set on a 429. - Every response carries rate-limit headers:
x-ratelimit-limit-requestsandx-ratelimit-remaining-requests(daily requests),x-ratelimit-limit-tokensandx-ratelimit-remaining-tokens(tokens per minute), plusx-ratelimit-reset-requestsandx-ratelimit-reset-tokensfor the time until reset. - A related error is 413, meaning the request body is too large. The errors page (opens in a new tab) also marks 500, 502 and 503 as not charged, and 498 as the Flex tier being at capacity.
Read retry-after, sleep that long, retry a few times with growing delays, and then give up with a clear message. Watch x-ratelimit-remaining-tokens so you slow down before the wall, not after. If you keep hitting daily limits, the choices are to shorten prompts, cache repeated answers, move to the Developer plan, or use a second provider as a fallback.
When the speed matters, and when it does not
Speed is valuable when a human or a program is waiting on the answer in a loop. It is mostly wasted when you are not.
- It matters: voice assistants, where a pause breaks the conversation; autocomplete and inline suggestions; agents that make many model calls in a row, where each slow call adds up; classification or moderation in the request path of a web app.
- It matters less: overnight batch jobs, a chatbot where people already expect to read as text streams, anything where quality of reasoning is the bottleneck and a larger model elsewhere does better.
- It does not fix: a weak model. A fast answer from a small model is still a small-model answer. Test your actual prompts for quality first, then look at speed.
Who the free tier is not for
- Products with real traffic: the daily token caps are small and limits are shared across the whole organization.
- Anyone who needs the newest closed models. Groq serves open models, so what you get is whatever is on its list.
- Anyone who needs stable model names for years. Preview models can disappear, and even production models are listed with a deprecations page.
- Anyone who cannot send text to a third party at all (see the privacy section).
Groq next to Ollama and OpenRouter
This is about the shape of the choice, not other providers' numbers. Our Ollama guide covers running open models on your own machine: full privacy and no rate limits, but your hardware sets the speed. Our OpenRouter guide covers one key for many hosted models, including free ones. Groq is hosted like OpenRouter and uses open models like Ollama, with its own speed figures and the free caps above. A big general API such as OpenAI or Anthropic gives you stronger closed models, usually paid per token. A practical pattern is to prototype on Groq, keep your code OpenAI-compatible, and switch the base URL if you outgrow it.
Groq free tier FAQ
Does a second API key give me more quota?
No. The rate limits page says limits apply at the organization level.
Do cached tokens count?
According to the same page, cached tokens do not count toward limits.
Can I use it from JavaScript?
Yes. The quickstart shows the AI SDK route (pnpm add ai @ai-sdk/groq), and the OpenAI-compatible endpoint works with any OpenAI client.
Is the limit per day or per minute?
Both exist at once. You are blocked by whichever you reach first.
What Groq does with your prompts
- Every prompt is sent to Groq's servers, so send only text you are allowed to share with a third party.
- The data page (opens in a new tab) says Groq does not retain customer data for inference requests by default, except where features need it (such as batch or fine-tuning) or for reliability and abuse monitoring, where logs are kept for up to 30 days. It also says customers may enable Zero Data Retention in the Data Controls settings, which turns off features that depend on retention. That page did not say anything about training on customer data, so we make no claim about it.
- Keep your key in an environment variable or a secret manager. Never put it in front-end code, a public repository, a screenshot or a chat. If it leaks, delete it in the console and create a new one.
Groq docs pages we read, 2026-11-06
Checked 2026-11-06 against the official Groq pages below. Limits, models and plans change often, so open the Limits page in your console before you plan around any number here.
Checked against the official docs on 6 November 2026. Limits and plans change often, so check the sources.