Cited answers over 1,490 SEBI circulars, or an honest abstention.
- RAG
- Evals
- SEBI
Proves AI evaluation design · Retrieval (RAG) product design · Trust and compliance by design (India) · Communicating AI quality honestly
Last public activity
OpenFOC AI Router gives every AI tool on a Mac one local, OpenAI-compatible endpoint and spreads the requests across the free tiers of five providers, with your own models as the last resort. When a provider rate-limits, fails or retires a model, the request moves on by itself, so coding assistants and scripts keep working at ₹0 per request.
The burst is a simulation: 120 requests in one simulated minute, the mock Groq allows 30 per minute and the mock Gemini fails 5% of calls. Source: Router tests ↗
Free AI tiers are generous in total but small one by one: a provider might allow 30 requests a minute or 50 a day. A developer using an assistant all day hits those limits, an outage or a retired model several times a day, and every tool has its own provider settings to change.
Each request walks an ordered route, for example auto: Groq, then Gemini, then local. Targets are skipped if disabled, missing a key, cooling down or out of local quota. Every response says which provider answered and after how many attempts.
| Provider response | What the router does | Why |
|---|---|---|
| 429 rate limit | Cools the provider down for the time in its retry-after or rate-limit reset headers, then tries the next target | Re-hitting a limited provider wastes quota and time |
| 5xx, timeout, network error | Backs off exponentially, 30 s up to 10 min, then next target | Outages usually last longer than one retry |
| 401 or 403 | Pauses the provider for 10 min, then next target | A bad key won't fix itself mid-request |
| 404 retired model, 413 context too long | Next target; context errors cause no cooldown | Another model may accept the same request |
| Other 4xx | Returns the error to the client without trying others | The request itself is invalid, so every provider would refuse it |
| Everything exhausted | 503 with an attempts trail naming each target and why it failed | A clear failure beats a silent one |
Run on 26 Nov 2026 against the v0.2 branch with the project's own mock providers: no API keys, no prompts sent anywhere.
| Scenario (mock providers) | Result |
|---|---|
| All healthy | Served by the first target (Groq), 1 attempt |
| Groq returns 429 with retry-after 20 s | Served by Gemini on attempt 2; the next request skips Groq |
| Groq network error, Gemini bad key | Served by the local model on attempt 3 |
| Invalid request (400) | Returned to the client after 1 upstream call |
| Everything down | 503 with the trail: Groq down, Gemini down, local down |
| Burst: 120 requests in one simulated minute (Groq allows 30, Gemini fails 5%) | 120 of 120 served: Groq 30, Gemini 10, local 80; 2.42 attempts on average; 0 calls to Groq after its limit |
The 55 unit tests cover config migration, quota rules, every fallback case, streaming, header-only timeouts, server security (foreign browser origins blocked, admin token required, keys never returned), client keys and limits, the cache, task routing, load balancing, embeddings and Anthropic translation. Read the tests.
| Decision | Why |
|---|---|
| Free tiers and local models only | The job is "keep working at no cost". A paid fallback would hide the moment you run out. |
| Cloud first, local last, even when balancing | Latency and balanced strategies reorder only within a tier, so free cloud capacity is used before the Mac. |
| Ship providers by today's terms | Cerebras ships disabled (no standing free tier as of Nov 2026). GitHub Models is removed from stored configs after its retirement on 30 Jul 2026. |
| Local-only by design | Bound to loopback, browser pages blocked, admin API locked to a per-launch token, keys in the macOS Keychain in v0.2, request bodies not logged by default. |
| Opt-in task routing | Classifying prompts as coding, reasoning or long-context needs a local embedding model. It never blocks: without one, requests go to auto. |
More on the design: builder's note on routing across free tiers.
Employers trust skills they can verify. Each claim below links to its place in the skills matrix, and every piece of evidence is public.
See the product artifacts: brief, eval spec, metrics tree, decisions
Last public activity 25 November 2026 · checked 28 November 2026
An open-source macOS menu-bar app by Ian Pinto that gives every AI tool one OpenAI-compatible endpoint on 127.0.0.1:4141. It spreads requests across the free tiers of Groq, Google Gemini, OpenRouter, Mistral and NVIDIA NIM, with local models through Ollama, LM Studio or oMLX as the last resort. When a provider rate-limits, fails or retires a model, the request moves to the next one.
No. It routes only to free tiers and local models, so the cost per request is zero within each provider’s free quota. The trade-off is that free tiers change often and some may log prompts or use them for training; Gemini’s free tier does.
No. The router falls back only before the first byte of a streamed answer. Once a provider starts streaming, the answer comes from that provider alone.
Yes. Any tool that takes an OpenAI-compatible base URL can point at http://127.0.0.1:4141/v1. The v0.2 release in review adds an Anthropic-compatible /v1/messages endpoint so Claude Code can run on free and local models.
On 26 Nov 2026, 55 of 55 router tests passed on the v0.2 branch. They drive the full router stack against a scripted mock provider, so no keys or network are needed. A simulated burst of 120 requests in one minute was served in full, and the router made no calls to a rate-limited provider before its retry-after time.
Cited answers over 1,490 SEBI circulars, or an honest abstention.
Proves AI evaluation design · Retrieval (RAG) product design · Trust and compliance by design (India) · Communicating AI quality honestly
Last public activity
A zero-knowledge, offline-first password manager with passkey unlock and on-device AI.
Proves Privacy and security architecture · On-device and local AI · Technical program delivery
Last public activity
Passkey-derived vault key wrapping as an npm library and a research preprint.
Proves Privacy and security architecture · Communicating AI quality honestly
Last public activity
Online lectures into transcripts, slide-linked notes and flashcards, entirely on your Mac.
Proves On-device and local AI · AI evaluation design · AI product strategy and MVP scoping
Last public activity
Search Python code in plain English, then get a one-line explanation of each function.
Proves AI evaluation design · Retrieval (RAG) product design · Communicating AI quality honestly
Last public activity
A noir investigation game: AI features breaking real Indian rules, witnesses voiced by on-device Gemini Nano.
Proves On-device and local AI · AI evaluation design · Trust and compliance by design (India) · AI product strategy and MVP scoping
Last public activity
Evidence-backed AI product management hub and dual-loop portfolio system.
Proves AI product strategy and MVP scoping · AI evaluation design · Trust and compliance by design (India) · Communicating AI quality honestly
Last public activity