---
title: "POST /v1/openai/responses"
method: POST
path: "/v1/openai/responses"
---

# POST /v1/openai/responses

`POST /v1/openai/responses`

OpenAI-compatible Responses endpoint for text (LLM) models. Requests are proxied to LLMGateway and billed on the true cost. Supports streaming (set `stream: true`).

## Request body

- object
  - `model` string, required
  - `input` union, required
    - string
    - object[]
      - `role` string
      - `content` unknown

## Response `200`

Success (JSON, or text/event-stream when stream=true)

- object — Response object (when stream=false)

---

[API](https://skmtc.dev/imagerouter/apis/image-router-api.md) · [All operations](https://skmtc.dev/imagerouter/apis/image-router-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/imagerouter/image-router-api/revisions/716322e546d5/schema)
