Free LLM API

The best free LLM API depends on which limit you hit first

Every “best free LLM API” list ranks the same five providers in a different order, because the answer depends on the constraint that stops your app. This page ranks them by failure mode instead.

Short answer. Groq is the best free API when requests per minute decide your design. Gemini’s free tier is best when context length and model breadth matter more than privacy. OpenRouter is the fastest way to test many models behind one key. Cerebras is a 30-day trial, not a free tier. Plugsky is the pick when you want a predictable daily token budget and a flat paid upgrade.

How to judge a free tier

Most comparisons collapse four different numbers into one “limit”. They are not interchangeable:

  • Requests per minute (RPM) decides whether a chat UI feels responsive.
  • Requests per day (RPD) decides whether a small product survives a full day.
  • Tokens per minute (TPM) decides whether long prompts and RAG contexts fit at all.
  • Tokens per day (TPD) decides whether an overnight batch finishes before the reset.

Two more criteria are not numeric. First, is the free tier permanent or a credit that expires? Second, what does the provider do with the prompts you send on the free tier? A free tier that trains on your content is a different product from one that does not, even when the RPM is identical. The privacy comparison covers that in detail.

The free tiers side by side

ProviderWhat “free” meansPublished ceilingCard at signupMain catch
GroqPermanent free plan, rate-limited30 RPM, 1,000 RPD, 8K TPM, 200K TPDNo8K TPM blocks long contexts
Google GeminiUnpaid quota on a projectPer project and per model; view in AI StudioNoUnpaid prompts improve Google products
OpenRouter:free model variants20 RPM; 50 RPD, or 1,000 after 10 creditsNoDaily cap, not production capacity
Cerebras$5 trial credit, 30 days5 RPM, 30K uncached TPM on gpt-oss-120bYes, verifiedNot a permanent free tier
PlugskyFree plan, then flat paid tiers100 requests and 50K tokens per day for new accountsNoFree plan excludes agents

Table note: login-gated pages are marked as such rather than guessed, and the provider list is not a ranking.

When requests per minute matter: Groq

Groq publishes 30 RPM, 1,000 RPD, 8,000 TPM and 200,000 TPD for gpt-oss-120b, gpt-oss-20b and qwen3.8-27b on the free plan. Limits apply to the organisation, so a second API key does not buy a second bucket.

Thirty requests per minute is generous for a prototype. Eight thousand tokens per minute is not. A single 20,000-token context is larger than the entire per-minute allowance, so the request is rejected before the model runs. Groq is the right free tier for short chat turns, classification and low-latency demos. It is the wrong free tier for document Q&A with long retrieved passages. The Groq limits breakdown walks through the token maths.

When context and breadth matter: Gemini’s free tier

Google does not publish one free-tier table, because limits vary by model, project and usage tier. The authoritative page is the rate-limit view inside AI Studio, which is login-gated. The documented mechanics are more useful than a scraped number: limits are evaluated per project, requests per day reset at midnight Pacific, and exceeding any single dimension returns an error.

The trade is explicit in Google’s terms. On unpaid quota, Google uses your prompts and responses to improve its products, and human reviewers may read, annotate and process API input and output. On paid quota, Google does not use prompts or responses to improve products. If you are prototyping with public data, that is a reasonable trade. If you are handling customer records, it is not.

When one key for many models matters: OpenRouter

OpenRouter’s free variants are the cheapest way to compare model behaviour, because one key reaches many providers. The published free-model limits are 20 requests per minute, with 50 requests per day until the account has purchased 10 credits in total, and 1,000 per day after that.

That is a testing allowance, not a serving allowance. The 50-per-day tier disappears quickly if you run an evaluation suite. Buying credits raises the daily ceiling but converts the exercise into a paid one, which is fine if comparison is the goal.

When a flat daily budget matters: Plugsky

Plugsky is an OpenAI-compatible API with all public models and a 262,144-token context on the main text models. New accounts get 100 requests and 50,000 tokens per day on the free plan, with two API keys and no agents. The paid tiers remove the daily token guessing: Hobby is $8 for 1,000 requests and 2 million tokens per day, and Starter is $20 for 2,000 requests and 5 million tokens per day.

Builder and Scale are the unlimited plans, at $60 and $120. Unlimited here means no monthly token cap and no per-token overage, not the absence of limits: fair-use concurrency and RPM apply. The pricing page has the current terms, and this analysis of “unlimited” explains what still binds.

A five-minute decision procedure

Write down the one number that would break your app first, then pick the provider whose ceiling is above it. The script below lists the models a key can reach and sends one minimal request, so you can measure the real latency and error shape before committing.

import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["PLUGSKY_API_KEY"],
    base_url="https://api.plugsky.com/v1",
)

models = [m.id for m in client.models.list().data]
print(len(models), "models")

reply = client.chat.completions.create(
    model="plugsky-plus",
    messages=[{"role": "user", "content": "Reply with OK."}],
    max_tokens=8,
)
print(reply.choices[0].message.content)

Run the same call against each candidate, then repeat it with your largest realistic prompt. The provider that survives the large prompt is the shortlist. Everything else is marketing.

FAQ

What is the best free LLM API overall?

For most prototypes, Groq, because 30 requests per minute is enough for interactive testing and the free plan does not expire. If your prompts are long or you need many models behind one key, Gemini and OpenRouter are better fits. There is no single winner.

Which free LLM API has the highest rate limit?

It depends on the dimension. Groq publishes the clearest 30 RPM free allowance. Cerebras publishes 300 RPM for qwen-3.8-27b during its trial, but that trial is credit- and time-bounded. Compare RPM, RPD and TPM together before you choose.

Is the Cerebras free tier permanent?

No. Cerebras states that new accounts receive $5 in credits after adding a verified payment method, that the credits expire after 30 days, and that there is no permanently free tier.

Is Gemini’s free tier private?

Not in the sense most teams mean. Google’s terms say unpaid quota is used to improve Google products and that human reviewers may process inputs and outputs. Paid quota is excluded from product improvement.

Can I use these APIs with the OpenAI SDK?

Yes for Groq, OpenRouter, Cerebras and Plugsky, which expose OpenAI-compatible endpoints. Change the base_url and the model ID. Gemini has an OpenAI-compatible endpoint but its native SDK exposes more features, so test tool calling and structured output explicitly.

Sources checked 20 November 2026: Groq rate limits, Gemini API rate limits, OpenRouter limits, Cerebras rate limits.

Reviewed 20 November 2026. Every limit above was checked against the provider’s own documentation on that date. Free-tier terms change without notice; confirm the current number in the provider console before you size capacity against it.