Skip to navigation

Free AI models via API: which ones to use for what

In short: A task-by-task guide to the free AI model ids on One AI API Key: what $0 means, context windows, vision, reasoning and a ten-minute test before you build.

Published 19 min read
On this page

A free AI model via API is any model id you can call at $0 per token, and on One AI API Key that means the 47 ids ending in :free. They share one allowance of 100 requests and 3,000,000 tokens a day per account, and the useful question is not “which is best” but “which two or three should I test for this task”, because 47 ids turn out to be only 39 distinct model names.

What counts as a free AI model on this gateway?

An id is free when it ends in :free, it appears on the free models page, and its model page says Free. Three details decide whether that word means what you think.

Works with a $0 balance. Free ids work with a $0 balance: no top-up and no card are needed, and they keep working when your $10 sign-up credit is gone. The only limit is the shared daily allowance below. The model page says Free for each id, and the billing documentation shows how credit is spent on priced models.

One allowance, not one per model. All 47 ids draw on the same counter: 100 requests and 3,000,000 tokens a day per account, in the chat and through the API alike. Trying five models in an afternoon spends the same budget as using one model five times. Tokens count prompt plus reply, so a long system prompt is paid again on every call.

Ids are not models. 8 of the 47 ids carry a number before the suffix, such as laguna-xs-2.1-1:free. Those are extra lanes of another id, kept so a failing lane can fall back to its sibling. Another 7 are variants labelled uncensored in the catalogue; they are not the default picks in the chat, and the acceptable use policy applies to them as to everything else. Strip the lanes and you have 39 distinct names. That is a healthy list, and it is a smaller one than the headline number.

OpenRouter handles the same problem differently. Its :free suffix is a catalog variant with its own pricing, context length and endpoints, and the page warns that a fallback to a paid model is billed even when the first model was free. Its limits page adds that free models are capped at 20 requests a minute and 50 a day (1,000 a day once you have bought at least $10 of credits) and that failed attempts count toward the cap. Here, the answered attempt is the one that is billed: if you name a priced id as a fallback and it answers, you pay that id’s rate. To keep a request free, list only :free ids. OpenRouter’s page also says a negative balance blocks its free models with a 402; ours need no balance at all, and the migration guide maps the other differences when you move over. The seven-gateway comparison and the fee comparison for gateways put the rest side by side.

Which free models suit which job?

Our catalogue gives every model a short list of what it is best for. Those tags are our own descriptions from each model’s spec and the vendor’s docs; they are not benchmark results, and they are the only task data we can honestly offer for a list this long. The counts below are computed from the same catalogue the free models page uses.

Task Catalogue tag or listed spec Free ids What to test first
Coding help, code review Tagged coding 18 A function you wrote, with a test it must pass
Agents and tool calling Tagged agent tasks or tool use 24 Your exact tool schema, three times
Step-by-step reasoning Tagged reasoning 10 A word problem with a checkable answer
Questions about images Image input listed in the spec 3 One of your real screenshots
Long documents Context window of 1,000,000 tokens or more listed 15 Your own long file, with a fact placed in the middle
Translation, other languages Tagged translation or Arabic 6 A paragraph in your language pair

A model can appear in several rows, so the counts overlap. 6 ids carry an “image questions” tag, but only 3 list image input in their spec, and that second number is the one to trust until you have sent a real image to the model.

Pick the job, get a starting shortlist

Coding or an agent

Start with z-ai-glm-5.3:free (tagged coding help, 262,144-token window), moonshotai-kimi-k3.1-pro:free (agentic coding, large repositories, tool use; 1,048,576), deepseek-deepseek-v4.1-flash:free (reasoning and coding; 1,048,576) and laguna-xs-2.1:free (coding and agent tasks; 262,144). 18 ids carry a coding tag, so this is a shortlist, not a ranking. Our guide to coding agent models covers what separates them in practice.

Reasoning or maths

Try deepseek-v4-flash-0731-thinking:free, nemotron-3-nano-omni-30b-a3b-reasoning:free (256,000-token window) and nvidia-nemotron-3-ultra-550b-a55b:free. Thinking tokens count against the 3,000,000-token allowance, so cap max_tokens and watch the usage field. The reasoning docs show the effort setting.

Images

glm-4.6v-flash:free (128,000-token window) and nemotron-3.5-super-vl:free (1,000,000) list image input. qwen-qwen3.8-27b:free and the Gemma ids are tagged for image questions, but their spec here does not list image input, so test before you build. The vision docs show how to send an image.

Long documents

15 ids list a window of 1,000,000 tokens or more; longcat-2.5:free is tagged for long context and moonshotai-kimi-k3.1-pro:free for large repositories. A window is a ceiling: put a fact in the middle of your own file and ask for it back before you trust one. The section on context below says why.

Cheap, fast sub-tasks

The ids tagged for quick answers and sub-agents are the small ones: z-ai-glm-5.3-flash:free, glm-4.7-flash:free and lfm-3-1-7b:free. For translation, solar-mini4:free and the ERNIE ids are tagged for it, and jais-3-mova-36b-a4b:free is tagged for Arabic and English chat.

Each shortlist is a place to start the test in the next sections, and none is a promise of quality. If you want the paid comparison, the post on cheap open model prices lists what the same families cost per million tokens elsewhere.

How big is the context window, really?

The catalogue lists a context window for 26 of the 47 free ids, and the other 21 leave it blank because we have not seen a figure we trust. That is the honest number, and it is worth a chart, because “1M context” is the claim that gets repeated the most.

Free ids by listed context window

  • 1,000,000 tokens or more15
  • 256,000 to 999,999 tokens7
  • Under 256,000 tokens4
  • No figure listed21blank in the catalogue, not zero
Counts of free-lane ids by the context window the catalogue lists, computed from the same data as the free models page. The window is what the model accepts, not a measure of how well it uses the middle of a long prompt.

A listed window is the most a model will accept, and three separate findings say not to treat it as the most it will use well. On the transparency page we cite Liu et al., who found accuracy tends to be best at the start and end of a long context and weaker in the middle. In the RULER study, about half of 17 models that claimed at least 32K tokens did not keep satisfactory performance at 32K. And Epoch AI found providers capping output length below what the model supports. A provider can also serve a shorter window than the one advertised when GPUs are short, and the caller sees an error or a quietly shortened prompt.

So treat the number as a ceiling and test with a file you own. The test costs three requests: paste a long document, place a line such as “the invoice number is 40817” halfway through, and ask for it back at the end. If it fails at 50,000 tokens, an advertised 1,000,000 is not going to help you. The glossary of tokens and context windows explains how the window, the prompt and the output limit relate.

Why can the same model give different answers on a different host?

Because a model name is not a single thing. Qwen 3.8 names a family of weights that providers serve at different numeric precision, through different inference engines and with their own default sampling settings. The free ids here run on upstream providers we choose and monitor, and the same open model can be hosted a dozen ways by a dozen providers.

The research is consistent about what that does. OpenRouter reports that tool-calling accuracy varies between providers of the same model by more than ordinary benchmarks suggest, and its post says provider quality tends to tighten as hosts tune a new model. On precision, 8-bit weights are close to lossless and 4-bit weight-only is not far behind, while lower precision hurts more, especially on small models and hard reasoning. In practice that means the small free models and the reasoning-heavy tasks are where host differences are most likely to show.

What we do about it is on the transparency page: we pick the upstream route, log every request, probe the models and hide an id that stops answering. What we cannot see is the GPU, the numeric precision or the serving stack inside a third-party provider. For that gap the honest answer is to test, and a failing model is retried and then moved to a similar one by the gateway. A free id costs nothing to test, so the most reliable check is your own: the post on verifying that an API serves the real model gives six checks, and the research behind them is read in the post on cheap LLM API reseller risks.

Free ids by catalogue tag (overlapping counts)

  • Agent tasks or tool use24
  • Coding18
  • Long window (1M or more)15
  • Reasoning10
  • Translation or other languages6
  • Image input listed3the thinnest category on the list
Computed from the catalogue's own best-for tags and listed specs, excluding ids labelled uncensored. One id can count in several bars. A tag describes intent, not measured quality.

The chart shows where the list is deep and where it is thin. Agent and coding work has plenty of candidates, which is good, because that is where people spend the allowance. Images have 3, so if vision is the job, plan to test all of them and keep a paid route in mind.

How do you run a ten-minute test?

Pick two to four candidates from the shortlist, send each the same three prompts with a token cap, and compare the answers, the time and the usage field. The script below does exactly that, and the arithmetic of what it costs is in the calculator after it.

Python: same prompts, four free ids
import os, time
from openai import OpenAI

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

CANDIDATES = [
    "z-ai-glm-5.3:free",
    "deepseek-deepseek-v4.1-flash:free",
    "moonshotai-kimi-k3.1-pro:free",
    "laguna-xs-2.1:free",
]
PROMPTS = [
    "Write a Python function that merges overlapping intervals, with two tests.",
    "Summarise this in one sentence: The invoice was paid twice because the retry job did not check the ledger.",
    "A train leaves at 09:40 and arrives at 13:15. How long is the trip? Show the arithmetic.",
]

for model in CANDIDATES:
    for prompt in PROMPTS:
        started = time.time()
        reply = client.chat.completions.create(
            model=model,
            max_tokens=200,  # cap the output so one test cannot eat the allowance
            messages=[{"role": "user", "content": prompt}],
        )
        seconds = time.time() - started
        used = reply.usage.total_tokens  # prompt + completion: what the daily allowance counts
        print(f"{model} | {seconds:.1f}s | {used} tokens | {reply.choices[0].message.content[:80]!r}")

Three prompts are enough to see differences in format, speed and obvious errors, and not enough to rank models, so do not read a ranking out of it. What it does show is whether a model follows an instruction (“two tests”, “one sentence”), whether it shows its arithmetic, and how many tokens it spends. To see every id your key can call, ask the gateway; the free ones end in :free.

Python: list the free ids your key can call
import os
from openai import OpenAI

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

# The gateway lists the ids your key can call; the free ones end in ":free".
free_ids = sorted(m.id for m in client.models.list() if m.id.endswith(":free"))
print(len(free_ids), "free ids")
for model_id in free_ids:
    print(model_id)

What a model bake-off costs against the free allowance

Requests used
12
Share of the 100-request daily cap
12.0%
Tokens used
7,200
Share of the 3,000,000-token daily cap
0.2%
Bake-offs you could run in one day
8
Verdict
Fits in one day

The request cap binds long before the token cap for short tests: 12 calls of 600 tokens use 12% of the requests and about 0.14% of the tokens. Reasoning models write more, so raise the tokens per call for them.

The default run is 12 requests and about 7,200 tokens, which is 12 percent of the request cap and a seventh of one percent of the token cap. That asymmetry is the main thing to know about the free lane: for short tests the request counter runs out first, so spend requests on prompts that tell you something, and put several questions in one prompt where you can.

From task to a model you keep

Name the taskcoding, reasoning, images, long textShortlist 2 to 4 idsfrom the table, by catalogue tagSame 3 prompts, max_tokens 200about 12 of your daily requestsRead answers, time and usagecheck against what you can verifyKeep one id and a fallbackX-Fallback-Models, up to 3 ids
Everything above step 5 happens inside the free allowance. Step 5 is where a free id stops being an experiment and becomes something your code depends on.

How do free models here compare with free models elsewhere?

Every provider that offers a free tier counts it differently, which is why a headline number tells you little. The table uses figures from each provider’s own page, read on 26 November 2026, and says what the number counts.

Where What is free Cap as published Source
One AI API Key 47 :free ids (39 distinct names) 100 requests and 3,000,000 tokens a day, shared Free models page
OpenRouter “25+ free models” on the Free plan 20 requests a minute and 50 a day; 1,000 a day after $10 of credits bought OpenRouter pricing, limits
Groq Free plan, per model (for example openai/gpt-oss-120b) 30 requests a minute, 1,000 a day, 8,000 tokens a minute, 200,000 a day, per model Groq rate limits
Google Gemini API A free usage tier, models and limits shown in AI Studio Per project, not per key; daily reset at midnight Pacific; “not guaranteed” AI Studio rate limits

Three observations follow from the table. Our token allowance is the largest per day, and Groq’s request allowance is larger per model, so the right choice depends on whether your work is many short calls or a few long ones. OpenRouter and ours both count the whole account, while Groq counts each model separately, which makes Groq’s 1,000 requests a day easy to read as bigger than it is for a comparison across models. And Google’s page says rate limits are more restricted for experimental and preview models and that specified limits are not guaranteed, which is the same caveat we would put on ours. The longer, line-by-line comparison is in the post on free LLM APIs with no credit card.

What do you do when a free id disappears?

Plan for it. The free list is the part of any gateway that moves the most. The update post from 24 November counted 58 ids. On 25 November we removed 11 ids because the gateway log showed no successful request for them in 24 hours, and today’s count is 47. Several of the removed ids had only ever answered with errors from their upstream, and we would rather list fewer ids that work than more that do not. A removed id returns only after a probe answers 200 and the id serves traffic.

Three habits make that survivable.

  1. Name fallbacks. The gateway already retries the model you named up to twice, and if it is still failing, fallback rules, presets and automatic routing move the request to another similar model (the free lane also retries a failing :free call on another model by itself). To steer it, send up to three sibling ids in an X-Fallback-Models header: they are tried in order, and only the attempt that answers is billed and counted. The reply’s model field names who answered, and an X-Fallback-From header names who failed. The routing documentation has the full rules.
  2. Do not hard-code one id forever. Read the model list at start-up, or keep a short list of acceptable ids in configuration. The headers reference lists the response headers that tell you what happened.
  3. Watch the evidence. The status page shows what we probe, each model page carries a 24-hour uptime strip, and the rankings show what people actually use, naming a model only once it has at least 100,000 tokens in the window.
Python: one id and two fallbacks
reply = client.chat.completions.create(
    model="z-ai-glm-5.3:free",
    messages=[{"role": "user", "content": "Explain a 429 error in two sentences."}],
    max_tokens=200,
    # Up to 3 sibling ids, tried in order if the first fails before answering.
    extra_headers={"X-Fallback-Models": "deepseek-deepseek-v4.1-flash:free, laguna-xs-2.1:free"},
)
print(reply.model)  # the id that actually answered

If a request hits the daily cap instead, the answer is a 429, and the fix is different: nothing to retry until the counter refills at 00:00 UTC. The guide to LLM API 429 errors separates the three causes, the explainer on what an LLM gateway is shows where the retry and fallback logic lives, running LiteLLM yourself against a hosted gateway shows what it costs to build it, and the rate limits documentation shows where each limit comes from. For the whole picture of what happens when a provider fails, see the post on LLM API uptime and fallbacks.

When should you leave the free lane?

Leave when you can name the number that broke: you hit the daily cap on most days, a task needs a model that is not free, or your product needs a stable id more than it needs a $0 bill. Before then, free is the right price, and a free id is the cheapest way to find out what you actually need.

A few other cases deserve a plain word. If your data is sensitive, note what we do and do not do: by default what you send is not stored, since prompts and answers pass through and are not kept, we keep counts and never content, and we do not train on your data. Free ids still run on third-party providers that process the request under their own terms, so treat the gateway like any third-party API and read the privacy guide first. If you need exact vendor output, call the vendor directly. If you want a coding agent on a free id, the coding agent API key guide covers the setup for Cline, Cursor, Codex CLI and Aider. And if you cannot tell whether to pay at all, the one AI API key review sets out what you get and what you do not.

Paid use here is prepaid credit, added by email until online checkout opens, from $1, with no fee. The pricing page has the steps. Once a key is created and usage is consumed we do not give money back; if a key does not work or something on our side breaks, write to somdutt777@gmail.com and support will look at it, and the terms hold the policy. The post on how to read a provider’s money-back terms shows what to check before you pay, and the post on prepaid credits explains the risks of any prepaid balance. One honest note: priced models are marked unavailable in our catalogue today because no upstream route works for them, so for now the free ids carry the whole list. The post on cheap open model prices says what that means for rates, and the token cost guide applies to both free and paid use.

Pick two free ids and run the ten-minute test

$10 sign-up credit, 47 free models sharing 100 requests and 3,000,000 tokens a day, no card.

Frequently asked questions

Are the free AI models really free to call through the API?
Yes. Every id ending in :free shares one daily allowance of 100 requests and 3,000,000 tokens per account, and the free ids work with a $0 balance: no top-up, no card, and they keep working after the sign-up credit is spent. The daily allowance is the only limit, refilled at 00:00 UTC. The free ids list is generated from the live catalogue, and the review of One AI API Key says what else you get.
How many different free models are there, really?
47 ids, but 8 of them are extra lanes of another id (the ones with a number before :free) and 7 are variants labelled uncensored, so there are 39 distinct model names. We count ids because an id is what your code sends, and we say so because a bigger number is not a bigger choice.
Which free model is the best one?
There is no best one without a task. Pick two or three candidates for your job from the table above, send the same three prompts to each with a max_tokens cap, and read the answers. The six checks for a real model and the ten-minute test in this post are free to run, and the comparison tool shows the specs we list.
Do free models work with tool calling, JSON output and vision?
Some do, and our catalogue does not list every capability for every free id. Image input is listed for 3 ids. For tool calls and structured output, test the exact schema you will use, because support can differ between two ids of one family. The tool-calling docs, vision docs and structured output docs show the request shapes.
What happens when a free model stops working?
The gateway retries the named model up to twice, and if it is still failing, fallback rules, presets and automatic routing move the request to another similar model; the free lane also retries a failing :free call on another model by itself. Only the attempt that answers is billed. If an id keeps failing, we hide or remove it once the gateway log shows no successful requests: on 25 November 2026 we removed 11 ids for that reason. You can also name up to three fallback ids in an X-Fallback-Models header; the routing docs give the rules, the changelog records removals, and the uptime and fallbacks guide covers when a chain helps.
Can I use free models in production?
We would not build a public product on any free tier, ours included. There is no uptime guarantee (the terms say so), the list changes, and the allowance is per account. They are right for prototypes, evaluations, internal tools and classroom use. The 12-point provider checklist covers what a production choice needs.
Is the free model the same as the one the vendor serves?
Often the same weights, and we cannot prove it from here, because each id runs on an upstream provider we do not control. Providers differ in precision, sampling defaults and token caps. The transparency page describes what we monitor and what we cannot see, and the research it cites is summarised in this post.
How do I try a free model without writing code?
Open the browser chat and pick a model from the list; it draws on the same allowance as the API. The chat guide explains sign-in, history and limits, and the free-tier comparison sets our allowance beside OpenRouter, Groq and Google.
More in Blog

Try it

One API key for GPT, Grok, DeepSeek, Kimi, GLM, MiniMax, Qwen, Step, Beam, Nemotron, ERNIE, Hunyuan, Gemma, Laguna, LFM, LongCat, Llama, Solar, Jais, Mistral, K2 and Roleplay.

One AI API Key speaks the OpenAI and Anthropic formats, so you change the base URL and the key, not your code. Credit packs start at $10, and every model has a published per-token rate.

New accounts$10 credit on sign-up
  • 100requests
    per day
  • 3Mtokens
    per day
  • 47free
    models
  • $0per
    token
  • No card
  • No end date
Claim $10 credit →