OpenRouter
| Metadata | Value |
|---|---|
| Category | ai |
| Capabilities | http |
| Website | https://openrouter.ai |
Returns shapes
Section titled “Returns shapes”model[]— fromlist_models
Connections
Section titled “Connections”api
Readme
Section titled “Readme”OpenRouter lets AgentOS access models from multiple providers using one API key and one chat interface.
- Create an API key at https://openrouter.ai/keys
- Add credential in AgentOS Settings -> Skills -> OpenRouter
Use chat with a provider-qualified model ID:
curl -X POST http://localhost:3456/api/skills/openrouter/chat \ -H "X-Agent: cursor" \ -H "Content-Type: application/json" \ -d '{ "model": "openai/gpt-4o-mini", "messages": [ { "role": "user", "content": "Summarize this in one sentence: AgentOS is local-first." } ] }'The response is normalized to AgentOS’ canonical shape:
content, tool_calls, stop_reason, and usage.