Free models are tried first
Among the models that fit the task, ones with remaining free quota go first.
AI model gateway
最后更新:
Free models first. Automatic failover. No per-provider signup.
FreeModel is an AI model gateway that gives you a single API key for dozens of model providers, routes each task to the best available model, tries free models first, and falls back automatically when a provider fails or runs out of quota.
Among the models that fit the task, ones with remaining free quota go first.
A rate limit or an exhausted quota moves the request to the next candidate.
Five providers no longer means five accounts and five billing pages.
The live list is public and needs no key:
GET /v1/models · which ones are free →
# Anthropic-compatible clients: Claude Code, and others
export ANTHROPIC_BASE_URL="https://freemodel.online/api/gateway"
export ANTHROPIC_API_KEY="sk-your-key"
# OpenAI-compatible clients: Codex CLI, Cursor, Cline, SDKs
export OPENAI_BASE_URL="https://freemodel.online/v1"
A desktop app that runs several AI agents at once on Windows, with no setup. It ships pointing at FreeModel, so you never register with a provider or paste a key.
Both are free. No account needed to install.
Those four steps take about ten minutes and answer the only questions that matter before you commit: does it work, can you see the cost, and does it fail gracefully. Everything else — model count, dashboard polish — is secondary.
A direct connection to one provider is the shortest path, and it is also the most fragile one. Everything that can change on the provider's side — a quota running out, a key being rotated, a model being retired, a price moving — arrives in your application as a failure, and each of those failures has a different cause and a different fix. A gateway exists to absorb that class of event before your code sees it, and to record what happened, so the next occurrence is a lookup rather than an investigation.
FreeModel adds exactly one hop and takes those events out of your error path. Of the 199 listed models, 77% are chat models and the other 23% are image, video, speech synthesis, speech recognition, embeddings and rerank, so a text workload is comparing inside the larger half of the catalogue. Six of the entries are modality routes rather than single models, and each one carries a candidates count, so the fallback behind a name can be read before you call it. The router filters that pool to what the request actually needs, spends free quota wherever any remains, and moves on when a provider refuses.
What you give up is knowing which model answered. A route name is a statement of intent, not a model id, and 3% of the listed models are modality routes — the six entries that take this trade explicitly.[1] If you need to reproduce a result exactly, or to name a model for compliance reasons, send a specific id instead and let the gateway do nothing but forward it.
ANTHROPIC_BASE_URL to https://freemodel.online/api/gateway
and ANTHROPIC_API_KEY to your key. For an OpenAI-shaped client, set
OPENAI_BASE_URL to https://freemodel.online/v1.auto/image or
auto/tts. Three tier aliases pick by quality band: fm-v1-lite,
fm-v1-standard and fm-v1-pro. fm-v1-lite is the
free tier and needs no subscription; the other two need the matching monthly plan.ANTHROPIC_BASE_URL or
OPENAI_BASE_URL — and which model name you send. Everything above that line
stays as it was, and switching back is the same edit in reverse.fm-v1-pro draws from the highest-scoring pool at the moment of the call, and
may resolve to a different model next month. A modality route such as
auto/image re-resolves per request the same way. When you need the identical
model every time, send a specific id and the router gets out of the way.Every third-party figure quoted on this site was read from the vendor documentation linked below, on the date stated. None of these links are affiliate links and none of these vendors paid to be listed. If a number here disagrees with the page it came from, the page is right — tell us and it gets corrected.
Every share quoted on this site is counted from the live model list, not estimated. Divide the two counts in the last column, round to the nearest whole percent, and you get the number in the first.
| Share | Of what | Count |
|---|---|---|
| 77% | are chat models | 153 of 199 listed entries |
| 9% | generate images | 18 of 199 listed entries |
| 23% | are not chat models | 46 of 199 listed entries |
| 3% | are modality routes | 6 of 199 listed entries |
| 17% | carry a context length | 34 of 199 listed entries |
[1] Counted on 29 September 2026 from GET https://freemodel.online/v1/models, which needs no key and no account. Every row uses all 199 listed entries as the denominator, because the only thing the endpoint states for every entry is its modality. It no longer publishes per-model capability flags such as tool calling or reasoning, so this site quotes no shares for them. Fetch the list and recount whenever you want to check the arithmetic.