Kodinn · KodinnCli
Free Router
The free plans of dozens of providers, used as if they were one. You choose the providers once: from then on the router decides provider, key and model on every request, moves on when one reaches its limit and, when all are used up, waits and resumes. It works in Kodinn and in KodinnCli, with the same logic and the same list.
Setup
A wizard where you already set up providers.
In Kodinn it is the “Free Router” tab of the AI Providers; in KodinnCli it is F8 › Providers › Free Router. No commands to remember and no key to look for elsewhere.
1 · Choose
A list of providers with the easiest first: no sign-up, then those with a guide. “Recommend for me” asks two questions (is it for an agent? images? video? how much sign-up effort will you accept?) and suggests the best ones to stretch your free tokens, with the reasons.
2 · Sign up
For every provider a step-by-step guide in Italian and English, with the links ready (sign-up page, keys page) and the warnings: does it ask for a card? a phone? For a provider without a guide, generic steps and a web search already prepared.
3 · Paste the key
The key is really checked with the provider before it is saved, along with whatever else is needed (for example the account id). If it is wrong it says so and lets you try again.
4 · Models and test
For each key you choose which models to use, or all of them, also those that arrive with list updates. Then a real chat through that key says whether it works, with the model's answer.
Routing
Chooses by itself, on every request.
Fit for the request
It considers only the routes that fit: models that call tools when you are in an agent, that read images or video when there are any, with a context window that holds the conversation.
Three strategies
The smartest first (stepping down when limits run out), balanced, or the fastest first. You change it with one click and it applies to every session.
Changes the model first
When a route stops it first tries another model on the same key, then another on the same provider, then another provider: the conversation stays with the same supplier as long as it can.
More keys, more room
You can connect several keys of the same provider: the router alternates them. Each key limits simultaneous requests, as free plans allow, and parallel work does not step on its own toes.
Quotas and limits
Respects providers' limits instead of discovering them the hard way.
Requests and tokens
It counts requests and tokens per minute and per day for each key and model, reads the real limits the provider declares in response headers, and keeps a margin before the daily cap.
Shared allowance
If two models on the same key have used up their allowance, it understands it is an account allowance and rests the whole key instead of trying them one by one.
Rest until reset
Daily allowance or credits used up: the route rests until the time the provider declares, otherwise until midnight UTC. A refused key rests for long and tells you why.
When all run out, it waits
Instead of failing it waits for the first route to free up (up to ten minutes, said as a notice) and resumes by itself. In the middle of an answer it does not switch routes, so the text is never duplicated.
Resilience
Errors are ordinary, not fatal.
Network down
It tells “the provider refused” from “there is no network”: with no network it rests nothing, checks that providers are reachable and waits a few seconds to retry.
Retries the same route
For an error that clears by itself (network, timeout, server error) it first retries the same route, with growing waits and a little randomness, and only then moves on.
Hidden errors
A successful response that contains an error, or no choice, counts as a failure of that route: you do not end up with an empty answer.
Time limits
Maximum wait for headers and for the stream, so a slow provider does not block the conversation.
Provider list
A public list that updates itself.
Dozens of providers
Official providers, gateways and community services, with each one's trust level and privacy warnings for unofficial ones: you know where your prompts go.
Free models only
The list of models is read from the provider and only those at zero cost are kept, with their classes (agentic, chat, images, video, reasoning) and known limits.
Verified update
The list is downloaded from the public repository and checked with a SHA-256 fingerprint before it is used; “Update the list” does it right now.
Tested tool calls
For providers verified live the list records whether tool calls really work, so an agent does not end up on a model that cannot take them.
Control
You always know what is going on.
“In use”
The pane says which provider and which model answered last, and the chat shows a notice whenever the route changes.
Every key's state
Ready, resting until a precise time or paused by you, with requests and tokens of the last 24 hours; under a resting key, the reason in words.
Check keys
One click checks every key with its provider and says which still work; a key that is valid again wakes up at once.
Test with a chat
A real chat through the free routes, with the name of who answered. On and off with a switch.
Where it is used
It is a provider like any other.
Kodinn
It appears among the AI Providers, also in orchestration: you assign it to roles and agent teams, or leave it as the fallback that never stops. Keys live in the database encrypted with your PIN.
KodinnCli
The free-router provider is chosen with /model, and can be assigned to sub-agents from /config › Agents. It limits parallel sub-agents to three, because free plans answer bursts with errors that slow everyone down.
Several sessions together
Pauses and usage are shared between sessions and processes: if one session has used up a route, the others do not insist on it.
Security
It is a library inside the app, with no server in between and no secrets in the distributed program. Keys never leave your computer except to go to the provider they belong to.
Free plans have limits set by the providers and they can change: the Free Router follows them, it does not guarantee them.