OpenRouter Chat and Text API
Covers Chat Completions, Responses, Messages, and Embeddings; provider supports the native OpenRouter routing object.
endpoint list
Choose an endpoint to open its standalone reference page. Desktop pages include parameters, curl examples, and response examples.
| Method | Endpoint | Description |
|---|---|---|
POST | /api/v1/chat/completions | Create an OpenRouter-style chat completion. |
POST | /api/v1/responses | Create an OpenRouter-style response. |
POST | /api/v1/messages | Create an OpenRouter-style message response. |
POST | /api/v1/embeddings | Create OpenRouter text embeddings. |