Being a poor vibecoder has its perks. You're always hunting for free credits or ways to test top models. Most people gave up on AgentRouter when it first launched with that shiny $200 credit promising access to top models, because the moment you tested your API key, you got hit with errors left and right. Being broke makes you stick around and figure it out, though.
First solution
The biggest headache is that the site rarely makes it clear which models are actually working. You try one that's supposedly available, get an error, and start second guessing everything. Is my config broken? Am I hitting the wrong gateway? That's where the idea for the bot came from. I just wanted something to probe the models listed on the dashboard so I could see what's actually responding instead of guessing. Of course, like any small project, it spiraled. I kept adding bells and whistles, auditing the code, and locking down security for a bot I'll probably be the only person using XD.
Second solution
Even after building the bot, I still ran into errors on models that were responding fine. The error says "Requested item was created under a different OpenAI resource." Here is the workaround that fixed it for me:
- Remember your session name, or rename it to something easy to remember.
- Start a new session and ask it to recover the session that was halted by the error.
/btw also throws this error constantly, so I just dropped /btw altogether and started asking questions in the main session instead. If you hit this error, don't waste time switching models or trying to work around it. Just open a new session and pick up where the last one stopped.
To sign up for AgentRouter, you need a GitHub or linux_do account (if anyone has a linux_do invite to spare, please send one my way). They give you free credits on signup, though I'm not sure what the exact amount is now. It used to be $200, and a post from August said it dropped to $125, while the site currently says using a referral gives you an extra $50. I put my referral link in the README of the AgentRouter bot repo.
HOW I BUILT IT
The sub requires a "how I built it" section, so even though this is a small project, here is my setup.
I used Codex CLI inside Herdr, mainly using AgentRouter as the provider for Sol 6.2. It burned through a little over $60 in credits. I run Herdr on Windows 10 and develop on my Ubuntu VPS over SSH.
At v0.4.3, I ran a double audit on the repo using Neon on high in Antigravity and DeepSeek 4.1 Flash Free in OpenCode. I usually audit with a different model than the one I used to plan or implement. Then I bring the findings back to my main model to confirm them or push back, since it has the full context of the project and my choices. My philosophy is that all LLMs have blind spots, but their blind spots rarely overlap. Even a weaker model can catch issues in something built by a stronger one.
This was my first time building a full project with Codex, and honestly, it's amazing. The harness kept creating and running offline tests whenever we added a feature or changed something, without me even asking. Those good practices really kept the project from derailing.
Seeing a $60+ bill for a simple Telegram bot did scare me a bit, so I'm glad it was just free signup credit. For context, this isn't meant to be a public bot. You're supposed to run your own instance and restrict access to owner only in BotFather, so there's no multi user database. Burning over $60 on Sol 6.2 for a personal bot is definitely worrying for a poor vibecoder like me XD.
Since I made the repo public, I'd love your feedback on the bot and the codebase in general. I'm curious what issues your top models find in the source code, and how you'd rate the quality of my vibecoded project.
Also, if you're usually an Anthropic guy, AgentRouter is a nice place to test out Astra/Sol 6.2 and get a feel for what they can do.