Groq Free API
groq.comThe fastest free inference on the planet — 500+ tokens/sec.
Opens Groq’s official key page. You create and own the key — FreeLLMKeys never sees or stores it.
Quick facts
https://api.groq.com/openai/v1About Groq’s free API
Groq runs open models on custom LPU hardware that delivers inference speeds no GPU provider can match — often 500+ tokens per second. For chatbots and agents where latency matters, nothing feels faster.
The free tier needs only an email to start and gives you solid per-model limits (requests per minute, requests per day, tokens per minute). Llama 3.3 70B is the flagship; DeepSeek R1 distilled models give you reasoning for free, and Whisper Large v3 handles speech-to-text.
The API is OpenAI-compatible, so point your OpenAI SDK at Groq’s base URL and you are done. Upgrade to the pay-as-you-go Dev tier only when you outgrow the free limits.
How to get a free Groq API key
- 1Go to the official key page: https://console.groq.com/keys
- 2Create a free account — no credit card needed.
- 3Open the API keys section and generate a new key. Copy it somewhere safe.
- 4In your code, set the base URL to
https://api.groq.com/openai/v1and paste your key. - 5Call a model such as
llama-3.3-70b-versatileusing the examples below.
Code examples
Replace YOUR_GROQ_KEY with the key you created.
from openai import OpenAI
client = OpenAI(
base_url="https://api.groq.com/openai/v1",
api_key="YOUR_GROQ_KEY"
)
resp = client.chat.completions.create(
model="llama-3.3-70b-versatile",
messages=[{"role": "user", "content": "Hello!"}]
)
print(resp.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.groq.com/openai/v1",
apiKey: process.env.API_KEY, // your free Groq key
});
const resp = await client.chat.completions.create({
model: "llama-3.3-70b-versatile",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(resp.choices[0].message.content);curl https://api.groq.com/openai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $API_KEY" \
-d '{
"model": "llama-3.3-70b-versatile",
"messages": [{"role":"user","content":"Hello!"}]
}'Pros & cons
Pros
- Astonishingly fast (LPU hardware)
- No credit card to start
- OpenAI-compatible
- Great model selection incl. Whisper
Cons
- Daily token caps on free tier
- No frontier closed models
Groq free API — FAQ
Is the Groq API really free?+
Yes. Groq offers free tier access: Free tier with per-model RPM / RPD / TPM limits — no card required to start. No credit card is required to start.
How do I get a free Groq API key?+
Create a free account at https://console.groq.com/keys, open the API keys section, generate a key, then set your base URL to https://api.groq.com/openai/v1 in your OpenAI-compatible code.
Which models does Groq offer for free?+
Llama 3.3 70B Versatile, Llama 3.1 8B Instant, DeepSeek R1 Distill Llama 70B, Qwen 3 32B, Gemma 2 9B, Whisper Large v3, GPT-OSS 120B.
What are the Groq free-tier rate limits?+
Typically 30 RPM and 1,000–14,400 requests/day per model (free tier).
Is Groq OpenAI-compatible?+
Yes. Groq exposes an OpenAI Chat Completions compatible endpoint, so you can reuse your existing OpenAI SDK code and only change the base URL and API key.
Popular free models on Groq
Related free LLM APIs
SambaNova Cloud
High-speed inference for large open models, free to start.
OpenRouter
One key, 300+ models — dozens are completely free.
Cerebras
Wafer-scale inference — frontier open models at record speed, free.