Skip to content

7.4 billion tokens per month. 34 free LLM providers. 635 free model endpoints. All behind one /v1 endpoint, plus any custom OpenAI-compatible endpoint. Smart routing, automatic failover, encrypted keys. Personal experimentation only.

TypeScript

feat(catalog): June 2026 recurring-free audit (V26) — OVH platform, NIM correction, Cerebras limits

Tashfeene403bc5db725
diff --git a/README.md b/README.md
index da2832c0..5bf3768b 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,7 @@
**One OpenAI-compatible endpoint. Sixteen free LLM providers. ~1.7B tokens per month.**
-Aggregate the free tiers from Google, Groq, Cerebras, NVIDIA, Mistral, OpenRouter, GitHub Models, Cohere, Cloudflare, HuggingFace, Z.ai (Zhipu), Ollama, Kilo, Pollinations, LLM7, and OpenCode Zen — plus any custom OpenAI-compatible endpoint (llama.cpp, LM Studio, vLLM, local Ollama) — behind a single `/v1/chat/completions` endpoint. Keys are stored encrypted. A router picks the best available model for each request, falls over to the next provider when one is rate-limited, and tracks per-key usage so you stay under every free-tier cap.
+Aggregate the free tiers from Google, Groq, Cerebras, NVIDIA, Mistral, OpenRouter, GitHub Models, Cohere, Cloudflare, HuggingFace, Z.ai (Zhipu), Ollama, Kilo, Pollinations, LLM7, OVH AI Endpoints, and OpenCode Zen — plus any custom OpenAI-compatible endpoint (llama.cpp, LM Studio, vLLM, local Ollama) — behind a single `/v1/chat/completions` endpoint. Keys are stored encrypted. A router picks the best available model for each request, falls over to the next provider when one is rate-limited, and tracks per-key usage so you stay under every free-tier cap.
[![CI](https://github.com/tashfeenahmed/freellmapi/actions/workflows/ci.yml/badge.svg)](https://github.com/tashfeenahmed/freellmapi/actions/workflows/ci.yml)
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](./LICENSE)
@@ -41,7 +41,7 @@ Aggregate the free tiers from Google, Groq, Cerebras, NVIDIA, Mistral, OpenRoute
Every serious AI lab now offers a free tier — a few million tokens a month, a few thousand requests a day. On its own each tier is a toy. Stacked together, they add up to roughly **1.7 billion tokens per month** of working inference capacity, across 100+ models from small-and-fast to reasonably capable.
-The problem is that stacking them by hand is painful: sixteen different SDKs, sixteen different rate limits, sixteen places a request can fail. FreeLLMAPI collapses that into one OpenAI-compatible endpoint. Point any OpenAI client library at your local server, and it routes transparently across whichever providers you've added keys for.
+The problem is that stacking them by hand is painful: seventeen different SDKs, seventeen different rate limits, seventeen places a request can fail. FreeLLMAPI collapses that into one OpenAI-compatible endpoint. Point any OpenAI client library at your local server, and it routes transparently across whichever providers you've added keys for.
## Supported providers
@@ -61,7 +61,7 @@ The problem is that stacking them by hand is painful: sixteen different SDKs, si
<tr>
<td align="center"><a href="https://cohere.com"><b>Cohere</b><br/>Command R+ · Command-A (trial)</a></td>
<td align="center"><a href="https://docs.z.ai"><b>Z.ai (Zhipu)</b><br/>GLM-4.5 · GLM-4.7 Flash</a></td>
-<td align="center"><a href="https://build.nvidia.com"><b>NVIDIA</b><br/>NIM (disabled by default)</a></td>
+<td align="center"><a href="https://build.nvidia.com"><b>NVIDIA</b><br/>NIM · 40 RPM free (eval-only ToS)</a></td>
<td align="center"><a href="https://huggingface.co/docs/inference-providers"><b>HuggingFace</b><br/>Router → DeepSeek V4 · Kimi K2.6 · Qwen3</a></td>
</tr>
<tr>
@@ -70,6 +70,12 @@ The problem is that stacking them by hand is painful: sixteen different SDKs, si
<td align="center"><a href="https://pollinations.ai"><b>Pollinations</b><br/>GPT-OSS 20B (anon ok)</a></td>
<td align="center"><a href="https://llm7.io"><b>LLM7</b><br/>GPT-OSS · Llama 3.1 · GLM (anon ok)</a></td>
</tr>
+<tr>
+<td align="center"><a href="https://endpoints.ai.cloud.ovh.net"><b>OVH AI Endpoints</b><br/>Qwen3.5 397B · GPT-OSS · Llama 3.3 (anon ok)</a></td>
+<td align="center"></td>
+<td align="center"></td>
+<td align="center"></td>
+</tr>
</table>
Plus a **custom** provider — point at any OpenAI-compatible endpoint (llama.cpp, LM Studio, vLLM, a local Ollama, or a remote gateway) from the Keys page.
@@ -515,12 +521,13 @@ A self-hosted, single-user, personal-use setup was re-reviewed against each prov
| Mistral | ✅ Likely OK | APIs allowed for personal/internal business use. |
| OpenRouter | ✅ Likely OK | April 2026 ToS sharpens the no-resale / no-competing-service clause; private single-user proxy still fine. |
| Cloudflare Workers AI | ⚠️ Ambiguous | No anti-proxy clause; covered by general Self-Serve Subscription Agreement. |
-| NVIDIA NIM | ⚠️ Caution | Trial ToS §1.2 / §1.4: *"evaluation only, not production."* Disabled in default catalog. |
+| NVIDIA NIM | ⚠️ Caution | Trial ToS §1.2 / §1.4: *"evaluation only, not production."* Free access is a recurring 40 RPM rate limit (the 2025 credit system was discontinued), but the evaluation-only scope stands. |
| GitHub Models | ⚠️ Caution | Free tier explicitly scoped to *"experimentation"* and *"prototyping."* |
| Cohere | ❌ Avoid | Terms §14 still forbids *"personal, family or household purposes."* |
| Zhipu (open.bigmodel.cn) | ✅ Likely OK | Personal/non-commercial research carve-out still in the platform docs. |
| Z.ai (api.z.ai) | ⚠️ Caution | New row — Singapore entity (distinct from Zhipu CN). §III.3(l) anti-traffic-redirect clause could plausibly be read against a proxy; no explicit personal-use carve-out. |
| Ollama Cloud | ✅ Likely OK | New row — Free plan permits cloud-model access (1 concurrent, 5-hour session caps). No anti-proxy / anti-resale clauses found. *(Integration tracked in #14.)* |
+| OVH AI Endpoints | ✅ Likely OK | New row (June 2026) — anonymous access is officially documented (2 req/min per IP per model). OVH reserves the right to introduce token/consumption caps. |
Rules of thumb that keep most providers happy: **one account per provider**, **no reselling**, **no sharing your endpoint with other humans**, **don't hammer a free tier as a paid production backend**. This is informational, not legal advice — read each provider's ToS and make your own call.
diff --git a/client/src/pages/KeysPage.tsx b/client/src/pages/KeysPage.tsx
index fc852c2c..a45b93f7 100644
--- a/client/src/pages/KeysPage.tsx
+++ b/client/src/pages/KeysPage.tsx
@@ -46,7 +46,8 @@ const PLATFORMS: { value: Platform; label: string; url: string; keyless?: boolea
{ value: 'zhipu', label: 'Zhipu AI (Z.ai)', url: 'https://z.ai/manage-apikey/apikey-list' },
{ value: 'ollama', label: 'Ollama Cloud', url: 'https://ollama.com/settings/keys' },
{ value: 'kilo', label: 'Kilo Gateway (no key needed)', url: 'https://app.kilo.ai', keyless: true },
- { value: 'pollinations', label: 'Pollinations (anon ok)', url: 'https://pollinations.ai' },
+ { value: 'pollinations', label: 'Pollinations (no key needed)', url: 'https://pollinations.ai', keyless: true },
+ { value: 'ovh', label: 'OVH AI Endpoints (no key needed)', url: 'https://endpoints.ai.cloud.ovh.net', keyless: true },
{ value: 'llm7', label: 'LLM7 (anon ok)', url: 'https://llm7.io' },
{ value: 'huggingface', label: 'HuggingFace Router', url: 'https://huggingface.co/settings/tokens' },
{ value: 'opencode', label: 'OpenCode Zen (free key)', url: 'https://opencode.ai/auth' },
diff --git a/server/src/__tests__/services/quirks.test.ts b/server/src/__tests__/services/quirks.test.ts
index 2554331d..a0d82c41 100644
--- a/server/src/__tests__/services/quirks.test.ts
+++ b/server/src/__tests__/services/quirks.test.ts
@@ -22,7 +22,7 @@ describe('quirks resolution (migrateQuirksV1)', () => {
.all() as { model_id: string }[];
expect(nvidiaModels.length).toBeGreaterThan(0);
for (const m of nvidiaModels) {
- expect(slugsFor('nvidia', m.model_id)).toContain('nvidia-credits-based');
+ expect(slugsFor('nvidia', m.model_id)).toContain('nvidia-rate-limited');
}
});
@@ -51,9 +51,9 @@ describe('quirks resolution (migrateQuirksV1)', () => {
const defs = listQuirkDefinitions();
const keyless = defs.find((d) => d.slug === 'keyless-anonymous');
expect(keyless).toBeDefined();
- // keyless-anonymous targets three keyless platforms.
+ // keyless-anonymous targets the four keyless platforms.
const platforms = keyless!.targets.map((t) => t.platform).sort();
- expect(platforms).toEqual(['kilo', 'llm7', 'pollinations']);
+ expect(platforms).toEqual(['kilo', 'llm7', 'ovh', 'pollinations']);
});
it('resolves stably and dedups overlapping selectors', () => {
diff --git a/server/src/db/migrations.ts b/server/src/db/migrations.ts
index 1bdf42bd..d8882199 100644
--- a/server/src/db/migrations.ts
+++ b/server/src/db/migrations.ts
@@ -32,6 +32,7 @@ export function migrateDbSchema(db: Database.Database) {
migrateModelsV23FreeTierAudit(db);
migrateModelsV24ZenRefresh(db);
migrateModelsV25ZenDeadPromos(db);
+ migrateModelsV26RecurringFreeAudit(db);
// After all model migrations: add/refresh paid-equivalent pricing
// (drives the realistic "Est. savings" analytics stat).
applyModelPricing(db);
@@ -1703,6 +1704,7 @@ function migrateModelsV22Tools(db: Database.Database) {
OR LOWER(model_id) LIKE '%nemotron-nano-12b-v2-vl%' -- unlike the 30B nano: live-probed structured tool_calls (V23, 2026-06-07)
OR LOWER(model_id) LIKE '%nemotron-3-ultra%' -- structured tool_calls live-verified via Zen's dedicated endpoint (V24, 2026-06-07); covers the disabled OR row too
OR LOWER(model_id) LIKE '%minimax-m3%' -- finish_reason:tool_calls live-verified on Zen (V24)
+ OR LOWER(model_id) LIKE '%north-mini-code%' -- structured tool_calls + reasoning_content live-verified on Zen (V26, 2026-06-10)
)
`).run();
});
@@ -1864,6 +1866,93 @@ function migrateModelsV25ZenDeadPromos(db: Database.Database) {
apply();
}
+/**
+ * V26 (June 2026): recurring-free audit, pass 2 — deep-verified every shipped
+ * platform's free tier against primary docs (2026-06-10) plus live probes.
+ *
+ * Corrections to stale beliefs:
+ * - NVIDIA NIM: the credit system was DISCONTINUED (~Sept 2025, confirmed by
+ * NVIDIA staff on the dev forums) and replaced by a recurring 40 RPM rate
+ * limit per account. Budget labels updated from "(credits)" — the old
+ * 'nvidia-credits-based' quirk is replaced in migrateQuirksV1 and its
+ * stale row deleted here. ToS caution (evaluation-only) still applies and
+ * stays in the quirk body.
+ * - Cerebras: free tier now exposes exactly two models (gpt-oss-120b,
+ * zai-glm-4.7), each 5 RPM / 30K TPM / 1M TPD as a continuously-refilling
+ * token bucket (no fixed daily reset, so rpd is null).
+ * - LLM7: anonymous tightened to 60 req/hr (100/hr with the free
+ * token.llm7.io token, 5M tokens/day rolling).
+ *
+ * Additions:
+ * - opencode/north-mini-code-free — new Zen promo, live-probed 2026-06-10
+ * with the production key: structured tool_calls, reasoning_content.
+ * (qwen3.6-plus-free still appears in Zen's /models but returns "Free
+ * promotion has ended" — never shipped, nothing to disable.)
+ * - 'ovh' platform (OVHcloud AI Endpoints, keyless anonymous tier) — four
+ * chat models. rpm_limit 2 mirrors the documented anonymous limit
+ * (2 req/min per IP per model); live probes suggest the effective anon
+ * budget is shared across models, so treat it as a trickle tier that
+ * mainly adds breadth to fallback chains.
+ *
+ * Evaluated and rejected (for the record): Vercel AI Gateway ($5/mo recurring
+ * but card verification required to unlock it — fails no-card; any top-up
+ * permanently forfeits the credit), SiliconFlow (China real-name ID),
+ * Together/Fireworks/Hyperbolic/DeepInfra/Novita/Lambda (one-time credits or
+ * dead), Scaleway (card-gated), Hack Club AI (ToS bans proxies), Netlify AI
+ * Gateway (platform-locked), xAI ($150/mo data-sharing program ended ~May
+ * 2025), AI/ML API (free tier paused), Targon/Galadriel (pivoted away).
+ * Idempotent: INSERT OR IGNORE + absolute UPDATEs, safe to re-run.
+ */
+function migrateModelsV26RecurringFreeAudit(db: Database.Database) {
+ const apply = db.transaction(() => {
+ // Cerebras free-tier table (inference-docs.cerebras.ai/support/rate-limits,
+ // fetched 2026-06-10): 5 RPM / 30K TPM / 1M TPD, continuously replenishing.
+ db.prepare(`
+ UPDATE models SET rpm_limit = 5, rpd_limit = NULL, tpm_limit = 30000,
+ tpd_limit = 1000000, monthly_token_budget = '~30M'
+ WHERE platform = 'cerebras' AND model_id IN ('gpt-oss-120b', 'zai-glm-4.7')
+ `).run();
+
+ // NVIDIA NIM is rate-limited (40 RPM), not credit-depleting.
+ db.prepare(`
+ UPDATE models SET monthly_token_budget = 'free · 40 RPM'
+ WHERE platform = 'nvidia'
+ `).run();
+
+ // LLM7 anonymous tier tightened (docs.llm7.io/limits, 2026-06-10).
+ db.prepare(`
+ UPDATE models SET monthly_token_budget = '~2M (60-100/hr)'
+ WHERE platform = 'llm7'
+ `).run();
+
+ const insert = db.prepare(`
+ INSERT OR IGNORE INTO models (platform, model_id, display_name, intelligence_rank, speed_rank, size_label, rpm_limit, rpd_limit, tpm_limit, tpd_limit, monthly_token_budget, context_window, enabled, supports_vision, supports_tools)
+ VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
+ `);
+ const additions: Array<[string, string, string, number, number, string, number | null, number | null, number | null, number | null, string, number | null, number, number, number]> = [
+ ['opencode', 'north-mini-code-free', 'North Mini Code Free (OpenCode Zen)', 13, 4, 'Medium', 20, 200, null, null, 'promo (trial)', 131072, 1, 0, 1],
+ ['ovh', 'Qwen3.5-397B-A17B', 'Qwen3.5 397B (OVH)', 5, 9, 'Frontier', 2, null, null, null, 'free · 2/min per IP', 262144, 1, 0, 1],
+ ['ovh', 'gpt-oss-120b', 'GPT-OSS 120B (OVH)', 6, 9, 'Large', 2, null, null, null, 'free · 2/min per IP', 131072, 1, 0, 1],
+ ['ovh', 'Meta-Llama-3_3-70B-Instruct', 'Llama 3.3 70B (OVH)', 17, 9, 'Medium', 2, null, null, null, 'free · 2/min per IP', 131072, 1, 0, 1],
+ ['ovh', 'Qwen3-Coder-30B-A3B-Instruct', 'Qwen3-Coder 30B (OVH)', 19, 9, 'Medium', 2, null, null, null, 'free · 2/min per IP', 262144, 1, 0, 1],
+ ];
+ for (const a of additions) insert.run(...a);
+ backfillFallback(db);
+
+ // The old credits quirk is superseded by 'nvidia-rate-limited' (seeded in
+ // migrateQuirksV1). Delete the stale slug — targets cascade. On a fresh DB
+ // the quirks table doesn't exist yet (migrateQuirksV1 runs after the model
+ // migrations), so guard the delete.
+ const hasQuirks = db
+ .prepare("SELECT name FROM sqlite_master WHERE type = 'table' AND name = 'quirks'")
+ .get();
+ if (hasQuirks) {
+ db.prepare("DELETE FROM quirks WHERE slug = 'nvidia-credits-based'").run();
+ }
+ });
+ apply();
+}
+
// Embeddings V1 (2026-06): per-family embedding catalog. A "family" is one
// model identity + dimension — vectors from different families live in
// incompatible spaces, so /v1/embeddings only ever fails over WITHIN a family
@@ -1985,7 +2074,35 @@ function migrateQuirksV1(db: Database.Database) {
title: 'No API key required',
body: 'Routes anonymously — the catalog ships a keyless sentinel row and calls work with no account or key.',
severity: 'info',
- targets: [{ platform: 'kilo' }, { platform: 'llm7' }, { platform: 'pollinations' }],
+ targets: [{ platform: 'kilo' }, { platform: 'llm7' }, { platform: 'pollinations' }, { platform: 'ovh' }],
+ },
+ {
+ slug: 'ovh-anon-trickle',
+ title: 'Anonymous tier is 2 req/min',
+ body: 'OVH AI Endpoints anonymous mode is documented at 2 req/min per IP per model (observed even stricter across models). The 400 req/min authenticated tier requires a Public Cloud project with a payment method, so the catalog ships the keyless path. Treat as a breadth/fallback tier, not a throughput tier.',
+ severity: 'warning',
+ targets: [{ platform: 'ovh' }],
+ },
+ {
+ slug: 'pollinations-degraded',
+ title: 'Anon tier degraded (1 concurrent)',
+ body: 'Pollinations’ legacy text API is deprecated for authenticated users (replacement enter.pollinations.ai is pay-as-you-go), but anonymous access is explicitly unaffected. Anon is queue-limited to 1 concurrent request per IP and serves a single model (openai-fast); expect 429 "Queue full" under any parallelism. Live-probed 2026-06-10.',
+ severity: 'warning',
+ targets: [{ platform: 'pollinations' }],
+ },
+ {
+ slug: 'or-free-cap-account-wide',
+ title: 'Daily :free cap is account-wide',
+ body: 'OpenRouter’s :free daily cap (50/day, or 1000/day once you have ever bought $10 of credits) is shared across ALL :free models on the account, not per model. Per-row rpd values here are therefore optimistic; the router’s cooldown handling absorbs the shared 429s.',
+ severity: 'info',
+ targets: [{ platform: 'openrouter', modelGlob: '*:free' }],
+ },
+ {
+ slug: 'zen-promo-roster',
+ title: 'Limited-time promo, roster rotates',
+ body: 'OpenCode Zen free models are explicitly limited-time promotional access ("available for a limited time" per the docs), not a recurring quota. The roster rotates: qwen3.6-plus and minimax-m3 promos already ended. Expect any row here to die without notice; prompts/outputs may be used for model improvement.',
+ severity: 'warning',
+ targets: [{ platform: 'opencode' }],
},
{
slug: 'cloudflare-key-format',
@@ -1995,10 +2112,14 @@ function migrateQuirksV1(db: Database.Database) {
targets: [{ platform: 'cloudflare' }],
},
{
- slug: 'nvidia-credits-based',
- title: 'Credit-based, not recurring-free',
- body: 'NVIDIA NIM moved to a credit model in 2025; the free allotment is a depleting trial, not a recurring monthly tier. Disabled by default.',
- severity: 'warning',
+ // Replaces 'nvidia-credits-based' (deleted in V26): NVIDIA staff
+ // confirmed on the dev forums (~Sept 2025) that the credit system was
+ // discontinued in favor of per-account rate limits, so NIM IS
+ // recurring-free again. The ToS caution survives the correction.
+ slug: 'nvidia-rate-limited',
+ title: 'Recurring free, 40 RPM, eval-only ToS',
+ body: 'NVIDIA NIM replaced its depleting trial credits with a recurring per-account rate limit (40 RPM default, varies by model), verified June 2026. The trial ToS still scopes usage to evaluation/prototyping, not production.',
+ severity: 'info',
targets: [{ platform: 'nvidia' }],
},
{
diff --git a/server/src/providers/index.ts b/server/src/providers/index.ts
index 2a29f278..ddbddfc7 100644
--- a/server/src/providers/index.ts
+++ b/server/src/providers/index.ts
@@ -134,10 +134,17 @@ register(new OpenAICompatProvider({
// endpoint lives at `/openai/v1/chat/completions` (NOT `/v1/...` — the
// `/openai` prefix is mandatory). Public model list returns one anonymous
// model (`openai-fast` = GPT-OSS 20B on OVH, tools=true).
+// Registered keyless (June 2026): the legacy text API is deprecated for
+// AUTHENTICATED users (replacement enter.pollinations.ai is pay-as-you-go
+// "pollen"), while anonymous access is explicitly unaffected — so the anon
+// path is the only recurring-free one left. Anon is queue-limited to 1
+// concurrent request per IP (429 "Queue full" on overlap; live-probed
+// 2026-06-10).
register(new OpenAICompatProvider({
platform: 'pollinations',
name: 'Pollinations',
baseUrl: 'https://text.pollinations.ai/openai/v1',
+ keyless: true,
}));
// LLM7.io — OpenAI-compatible aggregator. 100 req/hr free; anonymous access
@@ -162,6 +169,21 @@ register(new OpenAICompatProvider({
baseUrl: 'https://opencode.ai/zen/v1',
}));
+// OVHcloud AI Endpoints — OpenAI-compatible. Two free modes: anonymous
+// (documented 2 req/min per IP per model — observed even stricter across
+// models in practice) and authenticated (400 req/min), but an API key
+// requires a Public Cloud project with a payment method on file, so the
+// keyless row is the no-card path this catalog ships. Live-probed keyless
+// 2026-06-10: structured tool_calls on gpt-oss-120b and
+// Meta-Llama-3_3-70B-Instruct. OVH reserves the right to add token caps;
+// individual models get deprecated on notice. See migrateModelsV26.
+register(new OpenAICompatProvider({
+ platform: 'ovh',
+ name: 'OVH AI Endpoints',
+ baseUrl: 'https://oai.endpoints.kepler.ai.cloud.ovh.net/v1',
+ keyless: true,
+}));
+
// Chutes was evaluated for V11 and dropped: probe with a free-tier key
// returned 402 on every model — "Quota exceeded and account balance is
// $0.0, please pay with fiat or send tao". The "free" tier requires a
diff --git a/server/src/routes/keys.ts b/server/src/routes/keys.ts
index c940d0be..b7d336e8 100644
--- a/server/src/routes/keys.ts
+++ b/server/src/routes/keys.ts
@@ -14,7 +14,7 @@ export const keysRouter = Router();
const PLATFORMS = [
'google', 'groq', 'cerebras', 'nvidia', 'mistral',
'openrouter', 'github', 'cohere', 'cloudflare', 'zhipu', 'ollama',
- 'kilo', 'pollinations', 'llm7', 'huggingface', 'opencode', 'custom',
+ 'kilo', 'pollinations', 'llm7', 'huggingface', 'opencode', 'ovh', 'custom',
] as const;
// `key` is optional so keyless providers (Kilo's anonymous gateway) can be added
diff --git a/shared/types.ts b/shared/types.ts
index b30fc3ba..2f7dd92f 100644
--- a/shared/types.ts
+++ b/shared/types.ts
@@ -26,6 +26,9 @@ export type Platform =
// OpenCode Zen — OpenAI-compatible gateway. Free promotional models require a
// free (no-card) account key from opencode.ai/auth; see migrateModelsV18.
| 'opencode'
+ // OVHcloud AI Endpoints — OpenAI-compatible, keyless anonymous tier
+ // (2 req/min per IP per model); see migrateModelsV26.
+ | 'ovh'
// User-configured OpenAI-compatible endpoint (llama.cpp, LM Studio, vLLM,
// Ollama, any base_url). The endpoint URL lives on the api_keys row; see #117.
| 'custom';