Hacker News new | ask | show | jobs
by Computer0 64 days ago
The way I use openrouter is I find a model/provider combination I like then pin all requests for that model to that single provider.
2 comments

If you disable all other providers but DeepSeek in your OpenRouter guardrails, is that effectively the same thing?
Sure but you still pay only OpenRouter :)
Interestingly, OpenRouter will serve inference at cost for a lot of models.
No? They charge 5.5% (I believe) on every top-up. Which is the equivalent of charging you 5.5% on every request.
Ah, so that's where the profit comes from. Very payment-processor like move, makes sense that Stripe picked them up.
How do you do this?
provider: { order: ['deepinfra/turbo'], allowFallbacks: false, },

https://openrouter.ai/docs/guides/routing/provider-selection

What harnesses are capable of doing this provider pinning when doing requests on openrouter? Can DeepSeek harness (dsh) do it? Or opencode etc

I stopped using opencode because it has some issues with caching, so I suppose it doesn't do this

Deepseek plugins* all the way down. It should be easy to add support for this.

Using this interesting framework called Cordis I've recent discovered.

Open code and pi can do it. Unironically, I let Claude configure these things for me.
What pests said. And you can make a preset and pass "model": "@preset/deep-seek"