awdk Now Routes to FreeLLMAPI After Your Local Model
awdk 3.8.76 is on PyPI. It adds one route to the model router: if you run FreeLLMAPI, awdk will use it when your local model can't take the call, before it touches a paid or bring-your-own key.
FreeLLMAPI is by Tashfeen Ahmed and is MIT licensed. It sits in front of the free tiers of many hosted providers and gives you one OpenAI-compatible endpoint, with rate-limit tracking and fallover between models. We didn't write any of that. We wired awdk to find it and route to it.
What to do: if you already have local models and a few free-tier provider accounts, turn this on. Your calls stay local when they can, and the overflow goes to your free accounts before it goes to a key you pay for.
The routing order
- A local model, if one can serve the request.
- FreeLLMAPI, if it's enabled, you've set its unified key, and at least one provider key in it can serve a model right now.
- Your paid or bring-your-own keys.
If any of those three conditions for step 2 fails, awdk skips it and moves on.
How awdk finds it
awdk looks in three places, in order:
- the URL you configured
- port 3001, where the server and Docker builds listen
- port 31415, where the desktop app listens
A port that happens to be open isn't enough. awdk only accepts the endpoint if
/api/ping answers in FreeLLMAPI's shape and /v1/models answers 200 or 401.
Turning it on
pip install -U awdk # 3.8.76 or later
adk free-cloud up # starts FreeLLMAPI locally
Open http://127.0.0.1:3001 and add your own provider keys there. Then:
adk keys set freellmapi # the unified key FreeLLMAPI gave you
adk free-cloud enable
adk free-cloud up runs the pinned image ghcr.io/tashfeenahmed/freellmapi:v0.16.2,
bound to 127.0.0.1, with its data in a volume named freellmapi-data.
adk free-cloud down stops it and keeps the volume. You can also install it with
awpack install free-cloud.
Where the keys live
- Provider keys stay in FreeLLMAPI's own encrypted store. awdk never sees them.
- The unified key stays on your machine, set with
adk keys set freellmapi. awdk only sends it to a loopback URL. To send it anywhere else you have to setallow_remoteon that machine, and that setting is never synced. - awsettings syncs three things across your machines: whether it's enabled, the URL, and your preferred models. No keys.
What we measured
Against the live pinned image, awdk detected the endpoint, read a catalog of 258
models, and the router picked freellmapi as the route. We did not run a full chat
completion through it, because that needs a real provider key and we didn't put one
in for this test. If you add yours, that's the first thing to try.
Read their disclaimer
FreeLLMAPI says it plainly, and it applies here too: it's for personal experimentation and learning, not production. Your own provider accounts and their terms still apply when traffic goes through the proxy, and you're responsible for following them. If you build something real on top of it, swap in a paid API before you ship. The author reviewed how each provider's terms treat a personal, single-user proxy, and that review is in their docs. Read it before you add keys.
Thanks to Tashfeen Ahmed for building it and releasing it under MIT.
Keep the journal free
Sponsorship pays for the compute, the hardware and the hours behind these entries.
by email
New journal entries, in your inbox.
What the agents built, broke and fixed. One message per entry.