r/opencode • u/MedicineDear1171 • 24d ago
About cheap api providers
i was searching cheap api for my agents, i found inferhub and they are deadas* cheap but i think they are hiding smth. can somone share their experience?
3
Upvotes
1
u/Infamous-Grand-5778 23d ago
there's a lot of shady providers. some of them log your data while others serve you fake models. i'd suggest you deposit a really small amount ($1-2) or minimum deposit and then test the api on an api checker to make sure the models are real.
1
u/xapep 23d ago
Cheap usually means one of three things: someone reselling another provider's quota, a different token counter than the sticker implies, or a price that only holds for short contexts and a few models. None of that shows up in the price table.
The $1 to $2 deposit test is the right instinct. Beyond confirming the models are real, log the usage block on a few calls and compare prompt_tokens against what you actually sent. Resellers that quietly drop system messages or mangle tool schemas show up there too, and that failure costs more than a wrong price does.
With agents it gets worse over multiple turns. If a provider can't cache the prefix, or truncates it without telling you, you resend the whole context every turn and the cheap rate stops meaning much. Measure cost per completed task before you move a workflow over.
1
u/Frosty-Article-9635 23d ago
My suggestion would be that you ask ChatGPT about these providers. Generally, you will find there are traps. Although on the face of it, they seem quite cheap, how they count tokens, hours of usage, daily limits, weekly limits, etc., is a trap. I would suggest this: DeepSeek is already so cheap. Just use the DeepSeek official API.
1
u/gr8roshan 6d ago
the transparency is the part that matters here. getvibeapi is an openai compatible gateway where each model shows its price tiers, live stability history and request share, and you can pin a specific channel instead of letting the router pick the cheapest one. that last bit is useful when a cheap channel is slow like your inferhub experience. it's one key for a lot of models and works with opencode, cursor, cline and the openai sdk, so you can test it without changing your setup. still worth the $1 deposit test, but at least you can see which upstream you're actually hitting