Skip to main content
Drop-in for POST https://api.openai.com/v1/responses. Point your OpenAI SDK’s baseURL at https://api.verlon.ai/v1 and pass your endpoint’s name as model (support-summarizer, or support-bot/triage for a job). No Verlon header is needed. When the endpoint’s model is OpenAI’s, the request and response bodies match OpenAI’s Responses API verbatim — the Agents SDK and multi-turn tool loops with encrypted reasoning replay work unmodified. It serves every provider, not only OpenAI. An endpoint whose model is on Anthropic, Google, Mistral, Fireworks, xAI, Meta or DeepSeek gets your Responses request translated into that provider’s API, and its answer back as a Responses body — streamed as Responses events when stream is true. See Any SDK, any model for what crosses over, what the gateway serves itself, and the response headers that say so.

Request

POST /v1/responses
store: true, previous_response_id and item_reference input items are not supported (Verlon is stateless — zero data retention by default). Send prior reasoning and function_call items back in full in input each turn instead. Each returns 400 with a message naming the fix. With the Vercel AI SDK, set providerOptions: { openai: { store: false } }: without it, the SDK sends earlier turns back as item_references.

Reasoning replay

For OpenAI reasoning models, Verlon automatically requests include: ['reasoning.encrypted_content'] and passes the encrypted reasoning through untouched. To continue a tool loop, send the prior turn’s reasoning and function_call output items back at the front of input, followed by your function_call_output:

On other providers

  • reasoning items and their encrypted_content are OpenAI’s: another provider has no equivalent, so they are left out of the translated request and named in x-verlon-dropped. The rest of the turn — messages, function_call and function_call_output items — crosses over.
  • A field the provider has no equivalent for is dropped and named in x-verlon-dropped, never silently ignored.

Restrictions

  • store: true, previous_response_id and item_reference input items return 400 on every provider (see the warning above).
  • background: true is passed to OpenAI as sent; other providers run in the foreground, so it is dropped there and named in x-verlon-dropped.
  • Errors use OpenAI’s nested shape ({ error: { message, type, code, param? } }).
See OpenAI compatibility → Responses API for SDK examples.