AI gateway
OpenRouter
OpenRouter (AI gateway) for coding agents: 2 sources, including an llms.txt and an MCP server, and the files that show a project uses it.
- llms.txt
- MCP server
Sources
How agents detect OpenRouter
Any of these in a repository tells an agent the project uses OpenRouter. How signals work.
- Env var
OPENROUTER_API_KEY env var - Hintopenrouter.ai/api/v1 base URL
- Hintmodel IDs such as openai/gpt-4o