Hacker News new | ask | show | jobs
by kbaker 197 days ago
Hi, curious, did you know about OpenRouter before building this?

> OpenRouter provides a unified API that gives you access to hundreds of AI models through a single endpoint, while automatically handling fallbacks and selecting the most cost-effective options. Get started with just a few lines of code using your preferred SDK or framework.

It isn't OpenAI API compatible as far as I know, but they have been providing this service for a while...

1 comments

OpenRouter can also prioritize providers by price: https://openrouter.ai/docs/guides/routing/provider-selection...