YMYour Model
API

Responses API

Use the Responses API with compatible models and routes.

Responses API compatibility varies by model and provider route.

Codex CLI commonly depends on Responses API behavior, streaming and tool-call semantics. A model that works with Chat Completions is not automatically guaranteed to support the full Responses API surface.

curl https://y-models.com/v1/responses \
  -H "Authorization: Bearer YOUR_MODEL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "YOUR_MODEL_ID",
    "input": "Say hello in one short sentence."
  }'

Choose a model that has been verified for Responses API before using it in automation tools.