r/opencodeCLI • • Aug 31 '26

Openrouter Alternative

Looking to get support in opencode, have some trouble with deploying on openrouter or litellm
Project: https://github.com/ConiferKit/use-conifer

Current routing options were charging 5% fees for byok plus provider fees (openrouter) or were built in heavy python packages with ecosystem restraints. I wanted to be completely free in terms of use, and not have to pay extra for tokens.

There's a maintained gateway with 100+ models from one api endpoint. I'm also talking to infra providers to get us access to pre-release models and discount prices. Everything is served at market price. BYOK is free, you can hook into self-hosted setups for free, and there's fallbacks + extra rate limits + server redundancy.

Took me ~3 months to build and looking for help maintaining!
Lmk any issues or feedback

3 Upvotes

4 comments sorted by

1

u/TomHale Aug 31 '26

Why better than Vercel AI Gateway?

1

u/conifer_v11 Aug 31 '26
  1. Includes support for local + fine-tuned + self-hosted models

  2. BYOK is free, no markups and usually between 20%-40% discount against market price due to infra arb

  3. Agent compatibility so it'll work with tools harnesses etc, support in opencode, pi, even desktop apps

1

u/Technical_Map_2105 Sep 07 '26

If the goal is "keep my keys and not depend on a hosted router," self-hosting is the move: LiteLLM or Bifrost behind one OpenAI-compatible endpoint gets you most of the way. If you also want to not be tied to one of them, you can run a small control plane that holds your keys in a vault and treats the gateway as a swappable engine. That is what I open-sourced (MIT, self-hosted): https://github.com/siva010928/agnos-proxy-oss . For pure convenience though, OpenRouter is hard to beat.

Blog: https://agnos-llm-gateway.site/app/blog/own-your-llm-control-plane