---
title: "Changes to Create an OpenRouter chat completion"
method: POST
path: "/api/openrouter/v1/chat/completions"
---

# Changes to Create an OpenRouter chat completion

`POST /api/openrouter/v1/chat/completions`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 5 of 19 revisions.

- **2026-10-21** `c30bcb383ee8`: 2 breaking, 4 info
- **2026-10-02** `b830b79cfd52`: 2 info
- **2026-09-17** `6fa8242da8c2`: 1 warning, 1 info
- **2026-09-12** `22b868ef3f22`: 1 info
- **2026-08-28** `c61efaf24756`: 1 info

## Changes

- **2026-10-21** `c30bcb383ee8`: 2 breaking, 4 info
  - request body became required
  - the `messages` request property's minItems was increased to `1`
  - api operation id `openRouterGateway_openrouter_native_chat_completions` removed and replaced with `openrouter_native_chat_completions`
  - api tag `OpenRouter Gateway` added
  - api tag `openRouterGateway` removed
  - added the media type `text/event-stream` for the response with the status `200`
- **2026-10-02** `b830b79cfd52`: 2 info
  - added the non-success response with the status `403`
  - removed the non-success response with the status `401`
- **2026-09-17** `6fa8242da8c2`: 1 warning, 1 info
  - deleted the `header` request parameter `Authorization`
  - the endpoint scheme security `RespanApiKey` was added to the API
- **2026-09-12** `22b868ef3f22`: 1 info
  - api operation id `openrouter-native-chat-completions` removed and replaced with `openRouterGateway_openrouter_native_chat_completions`
- **2026-08-28** `c61efaf24756`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/keywordsai/apis/respan-api/docs/api/openrouter/v1/chat/completions/post.md) - [API](https://skmtc.dev/keywordsai/apis/respan-api.md) - [Page](https://skmtc.dev/keywordsai/apis/respan-api/changes/api/openrouter/v1/chat/completions/post)
