Groq vs Cloudflare Workers AI: free tiers compared
Both columns come from each provider’s own pages, with the day each line was read. Where a page does not state a value, the cell says so.
| Line | GroqFree tier | Cloudflare Workers AIFree tier |
|---|---|---|
| Free allowance | ||
| Requests / min | ||
| Requests / day | ||
| Tokens / min | ||
| Tokens / day | ||
| Card to start | Not verified | |
| Trains on your data | ||
| Commercial use | Not verified | Not verified |
| OpenAI SDK | ||
| Image input | Not verified |
18 of 24 cells above were read on the provider’s own page in the last 30 days (oldest check: ). Each check mark opens that page. The other 6 say “not verified” instead of repeating a number from someone else’s article.
Where they differ
- Groq publishes its requests per minute (30); Cloudflare Workers AI does not publish that figure.
- Groq publishes its requests per day (1,000); Cloudflare Workers AI does not publish that figure.
- Image input is confirmed on Groq and not confirmed on Cloudflare Workers AI.
Only differences confirmed on both sides are listed. We do not rank speed or output quality: this site does not measure them.
Same code for both
Both expose an OpenAI-compatible endpoint. Choose either provider below and compare the three values that change.
- base_url
- https://api.groq.com/openai/v1
- model
- openai/gpt-oss-120b
- key from
- $GROQ_API_KEY
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.groq.com/openai/v1",
api_key=os.environ["GROQ_API_KEY"],
)
reply = client.chat.completions.create(
model="openai/gpt-oss-120b",
messages=[{"role": "user", "content": "Reply with the word: ok"}],
)
print(reply.choices[0].message.content)The key is read from an environment variable on your machine. This site has no field for keys and never asks for one.
Other comparisons
Questions and answers
Which has the higher free limit, Groq or Cloudflare Workers AI?
Groq: 30 req/min · 1,000 req/day. Cloudflare Workers AI: 10,000 Neurons/day. The units differ between providers, so compare them against your own traffic.
Do Groq and Cloudflare Workers AI need a credit card?
Groq: not published (the rate-limits page does not say whether a card is needed to sign up). Cloudflare Workers AI: not verified on an official page.
Which one trains on my prompts?
Groq: not published (the data page says “by default, groq does not retain customer data for inference requests”. it does not address training). Cloudflare Workers AI: no.
Can I use both with the same code?
Yes. Both expose an OpenAI-compatible endpoint: https://api.groq.com/openai/v1 and https://api.cloudflare.com/client/v4/accounts/{account_id}/ai/v1. Only the base URL, the model name and the key change.
Related pages
- Free tier tableAll providers, limits and terms in one place.
- No credit cardWhich free tiers start without a card, as stated by the provider.
- OpenAI-compatibleFree endpoints that work with the OpenAI SDK, with base URLs.
- Image inputFree tiers and free models that accept images.
- Commercial useWhat each provider’s terms say about production and paying customers.
- Data and trainingWhether prompts sent on the free tier are used to train models.
- OpenRouter free modelsThe zero-price list from the OpenRouter API, with collection time.
- ChangesFree tiers that were cut, retired or changed, each with its source.