Why “Best Free LLM API” Lists Go Stale in Weeks
Almost every comparison of free LLM API tiers is written from a provider's marketing page on the day it was published. Free capacity gets trimmed, free model variants get retired, new flagships launch behind paid access only, and the table you bookmarked quietly becomes fiction. If you have ever built a prototype that worked on Tuesday and hit rate-limit errors on Wednesday, you already know this.
The useful question is not “which tier is free?” but “which limit breaks my workload first?” Free tiers are shaped by several different constraints, and each one fails in a different way. Treat them as separate budgets you have to design around, not as a single “free” checkbox.
Requests per minute — the first wall for fan-out workloads: parallel classification, multi-document summarisation, or an agent that calls a tool in a loop.
Tokens per minute — the first wall for long-context work. A single large prompt can consume a big slice of your per-minute token budget, so throughput collapses even though request counts look tiny.
Requests or tokens per day — the first wall for batch jobs. Overnight backfills and embedding refreshes tend to burn the daily allowance before the interesting work starts.
Model access — free tiers rarely include the strongest model, so benchmarks you see for a provider often do not apply to the model you can actually call for free.
Data policy — some free tiers reserve rights to use submitted prompts for product improvement. Read the terms before sending client code, personal data, or anything under NDA.
Promotional credit expiry — credits that expire in days are a trial, not a tier. Plan your migration before the clock runs out, not after.
Free LLM API Tiers Compared, Without the Stale Numbers
Every provider below offers genuinely useful free access, and several are excellent for prototyping. Specific limits are deliberately omitted because they change without notice — check each provider's current documentation and, more importantly, measure them yourself with the script further down.
| Provider | Free access style | First limit you will probably hit | Genuinely good for |
|---|---|---|---|
| Google AI Studio | Free quota on selected models, no card required | Per-minute request and token caps, plus a daily ceiling | Multimodal experiments and prompt iteration |
| OpenRouter | Free model variants routed across multiple hosts | Shared free capacity; availability depends on the routing host | Trying many models behind one API key |
| Groq | Free tier on fast open-weight models | Per-minute requests and tokens | Latency-sensitive demos and streaming UIs |
| Mistral | Free experimental tier on selected models | Per-minute and per-day caps | Small European-hosted prototypes |
| GitHub Models | Free API access tied to your GitHub account | Low per-request concurrency | Quick tests inside CI and notebooks |
| Cloudflare Workers AI | Free daily allowance on the Workers platform | Daily allocation on token-heavy prompts | Edge-hosted inference next to your app |
| AiCredits | Prepaid DeepSeek credits, paid by card or PayPal — no Chinese phone or bank needed | No artificial tier ceiling: you pay for the tokens you use | Shipping to production after the free tiers run out |
Measure Your Own Ceiling, Don't Inherit Someone Else's
A rate limit is only meaningful relative to your call pattern, so the fastest way to understand a provider is to push against it deliberately and watch what happens. The script below works against any OpenAI-compatible endpoint — change base_url and model to probe a different provider — and it reads the retry-after header when a provider returns one.
import os
import time
from concurrent.futures import ThreadPoolExecutor, as_completed
from openai import OpenAI, RateLimitError
client = OpenAI(
api_key=os.environ["AICREDITS_API_KEY"],
base_url="https://api.aicreditsapi.com/v1",
)
PROMPT = "Reply with exactly one word: ok"
def one_call(i):
started = time.perf_counter()
try:
resp = client.chat.completions.create(
model="deepseek-v4-flash",
messages=[{"role": "user", "content": PROMPT}],
max_tokens=4,
)
return "ok", time.perf_counter() - started, resp.usage.completion_tokens
except RateLimitError as exc:
header = exc.response.headers.get("retry-after", "unknown")
return f"limited (retry-after={header})", time.perf_counter() - started, 0
def probe(concurrency):
with ThreadPoolExecutor(max_workers=concurrency) as pool:
futures = [pool.submit(one_call, i) for i in range(concurrency)]
results = [f.result() for f in as_completed(futures)]
ok = sum(1 for status, _, _ in results if status == "ok")
slowest = max(duration for _, duration, _ in results)
print(f"concurrency={concurrency} ok={ok}/{concurrency} slowest={slowest:.2f}s")
for level in (1, 2, 4, 8):
probe(level)
time.sleep(1)
Read three signals in the output: when ok stops matching concurrency, when slowest suddenly grows, and whether the provider returns a retry-after value at all. A provider that tells you when to retry is far easier to build against than one that leaves you guessing with fixed sleeps. Run the same probe with a longer prompt to find your token-per-minute wall — it is usually much lower than your request-per-minute wall.
A free tier is a prototyping budget, not a production plan. If the probe fails at concurrency four, your launch traffic will fail too.
A Reusable Backoff Wrapper for Rate-Limited Days
Hard-coded sleeps are the most common self-inflicted outage. This wrapper honours retry-after when it exists, falls back to exponential backoff with jitter when it does not, and treats timeouts and dropped connections the same way.
import random
import time
from openai import APIConnectionError, APITimeoutError, OpenAI, RateLimitError
client = OpenAI(
api_key=os.environ["AICREDITS_API_KEY"],
base_url="https://api.aicreditsapi.com/v1",
)
def chat(prompt, model="deepseek-v4-flash", max_attempts=5):
delay = 1.0
for attempt in range(1, max_attempts + 1):
try:
return client.chat.completions.create(
model=model,
messages=[{"role": "user", "content": prompt}],
max_tokens=256,
)
except RateLimitError as exc:
if attempt == max_attempts:
raise
header = exc.response.headers.get("retry-after")
time.sleep(float(header) if header else delay + random.uniform(0, 0.5))
delay = min(delay * 2, 30)
except (APITimeoutError, APIConnectionError):
if attempt == max_attempts:
raise
time.sleep(delay + random.uniform(0, 0.5))
delay = min(delay * 2, 30)
reply = chat("Explain an LLM rate limit in one sentence.")
print(reply.choices[0].message.content)
Real Usage: Where Free Tiers Break First
Agent loops with large contexts fail before chat apps do. Every tool call re-sends the whole transcript, so a per-minute token cap is consumed several times faster than the visible number of turns suggests.
Parallel fan-out fails before sequential calls. Ten concurrent requests look trivial until the per-minute request cap is shared across every user of the free tier, not just you.
Batch extraction fails on the daily quota, not the minute quota. Split backfills across days, or accept that the last chunk will fail at the worst possible moment.
Free model routing is not stable. OpenRouter-style free variants can become unavailable when upstream capacity shifts, so build a fallback rather than assuming a specific free model will always answer.
Quality control is your job, not the provider's. Free tiers encourage fast iteration, which means plausible-but-wrong generated code reaches your repo quickly. That is exactly why we ship code linting tools alongside credits — catching hallucinated APIs early is cheaper than debugging them in review.
Making the Move to Paid Credits Without Overpaying
When a prototype graduates, the goal is not to buy the biggest model — it is to route each task to the cheapest model that passes your tests. Use deepseek-v4-flash as the default for extraction, classification, drafting, summarisation, and anything else that runs at volume. Reach for deepseek-v4-pro only where the task genuinely needs stronger reasoning: multi-step planning, ambiguous refactors, or evaluation rubrics. Pro costs more than flash, so mixing them deliberately is the single biggest lever you control.
Two more levers matter. Off-peak requests cost less than peak ones, so schedule batch jobs for quiet hours. And prompt caching makes repeated input cheaper than fresh input, so structure prompts with the stable instructions first and the variable content last — and keep that stable prefix byte-identical between calls.
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["AICREDITS_API_KEY"],
base_url="https://api.aicreditsapi.com/v1",
)
# These bytes never change, so this prefix can be served from cache on repeat calls.
REVIEW_RULES = (
"You are a code review assistant.\n"
"1. List defects first, then improvements.\n"
"2. Quote the offending line before explaining it.\n"
"3. Never rewrite the whole file unless asked.\n"
)
def review(snippet):
return client.chat.completions.create(
model="deepseek-v4-flash",
messages=[
{"role": "system", "content": REVIEW_RULES},
{"role": "user", "content": "Review this function:\n\n" + snippet},
],
max_tokens=512,
)
result = review("def add(a, b):\n return a - b\n")
print(result.choices[0].message.content)
AiCredits exists for the specific case where free tiers stop being enough but a Chinese phone number and bank account are not an option. We sell DeepSeek API credits that international developers can buy with a card or PayPal, served through an OpenAI-compatible endpoint, so migrating is a base_url change rather than a rewrite. Current rates, including off-peak and cache behaviour, live at aicreditsapi.com/pricing.
FAQ
Usually not, though it depends on the workload. Free tiers are excellent for prototyping and internal tools, but per-minute throughput caps and shared capacity mean a traffic spike can take you down. Run the concurrency probe against your real prompt shape before deciding.
The honest answer is that it changes too often to trust a published table. Measure with the probe script, check whether the provider returns a retry-after header, and re-test after any provider announcement. The tier that fits your token profile is the best one for you.
No. AiCredits speaks the OpenAI chat completions API, so you keep the OpenAI SDK and change base_url to https://api.aicreditsapi.com/v1 plus your model name. Your retry and logging layers keep working unchanged.
Yes — that is the problem AiCredits was built to solve. You pay with an international card or PayPal, receive credits, and call the API from anywhere.
No. Default to deepseek-v4-flash for high-volume work and reserve deepseek-v4-pro for tasks that actually need stronger reasoning. Pro costs more than flash, so unmeasured upgrades quietly eat your budget.
What to Do This Week
Run the concurrency probe against your current provider with your real prompt length, and write down where it bends.
Add the backoff wrapper before you need it — it costs twenty lines and prevents most rate-limit incidents.
Restructure prompts so the stable instructions come first and the variable part comes last, keeping the prefix identical across calls.
Only then decide whether to stay free or move to prepaid credits, using flash as the default and pro as the exception.