What are you guys using to provide inference/agent usage within your app? Curious what your setup looks like.
I just load $100 on Deepseek api and let people use ai agent in one of my app for free and limited by request and token count per user (to prevent abuse)
The trust element for LLM inference is huge. For serious usage I'm sending all kinds of data. I try not to get secrets in there but it's easy to slip up. But for sure all my source code ends up on there. But then with tool calling, it's basically full access to my machine. Will we see attacks where an infected/evil router injects malicious tool calls? I don't want to find out for myself.
So personally I would take these cheap routers as too good to be true. It's not really hard to make these yourself either.
I know. Its talked about like a big problem, but already the concept of minimal necessary permissions is well know, as well as the lazy habit of just making broad access api keys. Its not an AI thing.
I tried Commandcode Go (with intent of upgrading to Goat - $10/m, ample usage). Was comparing it to Opencode Go (their $10/m subscription,). I am mainly using DeepSeek. Both are not getting DeepSeek API TPS. Commandcode sometimes goes fast, but regularly drops in performance. Opencode is always quite slow.
I ended back at DeepSeek API pricing. For my usage it's a bit more expensive (about 50% more), but consistent performance is worth something.
You should really not be using OpenCode at all after their recent security clusterfuck and the way they handled it (rather poorly). Particularly their online offerings.
I had to write an embarassing security disclosure report yesterday, because while evaluating models for code security scanning I'd forgotten to set OpenRouter to be ZDR (for the first couple of hours only), and then later got a notice to tell me that one of the end providers it'd be routed to had been hacked.
Suffice to say I will not be sending tokens to a company who doesn't tell me who the end inference provider is, where they're based, for what appears to be a 5% reduction in price (whatever their headline says) over what I'll get from OpenRouter.
What about that TrustedRouter project I've seen mentioned on here? Is this similar? (I'm still a noob). Do I even need a router? I just got pi.dev to work.
For Pi / Opencode, if you have a subscription to one AI service and you're happy with it, you dont't need a router. Router are great to try out a lot of different models from different providers without having to create account everywhere.
For API usage that's a bit different since the use case can vary, but since you have to tweak your prompts depending on the model anyway I'm not sure it's that good of an idea to rely on a router for these...
Its not no limits, theyre giving you a discount. Like a "costco", card. You're still paying per token.
Its really not that great of a deal either, and there's thousands of these discounted offerings now. Their prices are competitive to Openrouter i guess but there's lots of discounted token shops selling unused token allocations for 80% off.
it literally is like costco, you pay the fee to be in the membership and then pay a reduced price for the tokens :) (-70% on deepseek, less reduction on other models)
I just load $100 on Deepseek api and let people use ai agent in one of my app for free and limited by request and token count per user (to prevent abuse)
So personally I would take these cheap routers as too good to be true. It's not really hard to make these yourself either.
There's really no reason to.
I ended back at DeepSeek API pricing. For my usage it's a bit more expensive (about 50% more), but consistent performance is worth something.
Suffice to say I will not be sending tokens to a company who doesn't tell me who the end inference provider is, where they're based, for what appears to be a 5% reduction in price (whatever their headline says) over what I'll get from OpenRouter.
For API usage that's a bit different since the use case can vary, but since you have to tweak your prompts depending on the model anyway I'm not sure it's that good of an idea to rely on a router for these...
Its really not that great of a deal either, and there's thousands of these discounted offerings now. Their prices are competitive to Openrouter i guess but there's lots of discounted token shops selling unused token allocations for 80% off.
I went through that website and docs trying to find the catch, but it’s all fluff.
You still pay per token.. So yes, per item. Its not an unlimited sub, its a dumb discount program.