Unified API for AI Models

Image

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.

But what caught my attention was this blurb on their quick start docs page:

Download an LLM-friendly text file of our full documentation and include it in your system prompt.

This is something we have come up against in the past: LLMs don't know about our API and end up hallucinating bad implementations. This is a neat solution for that!