Skip to main content
The Responses API shape (introduced by OpenAI for o1 / o3 / GPT-5 + Agents SDK) — billed and served by ByteSpike like any other endpoint. Under the hood the gateway translates Responses-shaped requests into each model’s native protocol, so you can point your OpenAI SDK + Agents SDK + Codex CLI at ByteSpike and have it work against Claude, Gemini, DeepSeek, etc.

When to use

  • OpenAI Agents SDK — the SDK speaks Responses-shape by default
  • Codex CLI — uses Responses internally; ByteSpike is a drop-in via --responses-base-url https://llm.bytespike.ai/v1
  • Multi-turn agents with structured outputsresponse_format
    • reasoning blocks ship in the same envelope
  • Cross-model parity — you want a single client shape that reaches the o-series, GPT-5, and the Claude family
For straight chat without reasoning steps, prefer /chat/completions. For Anthropic-native tool_use + cache_control, use /messages.

Request

Headers

Body (selected fields)

The Responses API surface is large; ByteSpike forwards the full schema to whichever model you request. Common fields:

Response

Response fields

Accounting headers

Same quota envelope as every other endpoint:
Full breakdown in the API Reference overview.

Streaming

Pass "stream": true:
The SSE stream is byte-for-byte compatible with the OpenAI Responses streaming protocol — response.created, response.output_text.delta, response.completed, etc.

Cross-model routing

The same Responses request shape works against every model in our catalog. Pick by the model field: Translated paths preserve tool_use / tool_calls, structured outputs (response_format), and reasoning tokens. The output shape you receive is always Responses-API regardless of the model.

Errors

OpenAI envelope (matches the OpenAI Responses spec):

Pricing

Per-1k tokens. Same rate as the model’s native endpoint — translation overhead is not billed. Live card: bytespike.ai/pricing.