Skip to main content
Vendor: OpenAI Model ID: gpt-5-5 Capability: 128K context · tool use · vision · streaming · structured output · reasoning_effort Pricing: per-token, flagship tier (live rate) GPT-5.5 is the current OpenAI flagship — the default for any new project on the platform. It’s the model that put native reasoning into the standard chat completions shape: same request body, same response shape, with reasoning_effort as an optional dial. For most production work the default "medium" setting is right; lift to "high" only on hard problems where Sonnet or 5.4-pro have left quality on the table.

Request

curl https://llm.bytespike.ai/v1/chat/completions \
  -H "Authorization: Bearer $BYTESPIKE_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "model": "gpt-5-5",
    "messages": [{"role": "user", "content": "Design a schema for a multi-tenant audit log."}]
  }'

Body parameters

FieldTypeRequiredDefaultNotes
modelstringyesgpt-5-5
messagesarrayyes
reasoning_effortstringno"medium""low" / "medium" / "high".
max_tokensintegernomodel maxMax: 32768.
toolsarraynoParallel function calling.
response_formatobjectnoJSON mode + structured output (recommended for production).
web_searchobjectnoBuilt-in web search tool — billed per use.
streambooleannofalseSSE streaming.

Response

{
  "id": "chatcmpl-…",
  "object": "chat.completion",
  "model": "gpt-5-5",
  "choices": [{"index": 0, "message": {"role": "assistant", "content": "..."}, "finish_reason": "stop"}],
  "usage": {
    "prompt_tokens": 64,
    "completion_tokens": 1842,
    "reasoning_tokens": 2048,
    "total_tokens": 3954
  }
}
reasoning_tokens billed at input-token rate.

Code examples

curl https://llm.bytespike.ai/v1/chat/completions \
  -H "Authorization: Bearer $BYTESPIKE_API_KEY" \
  -H "content-type: application/json" \
  -d '{"model": "gpt-5-5", "messages": [{"role": "user", "content": "Design a schema for a multi-tenant audit log."}]}'

Reasoning effort

SettingUse for
"low"Fast routing / classification with reasoning kept light
"medium"Default — production code gen, content rewriting, agents
"high"Hard problems where you can wait — proofs, deep refactors, plans
Pass "web_search": {} to give the model a built-in web search tool. The tool is billed per use (see pricing for current rate). Useful for fact-grounded tasks where the model would otherwise hallucinate or cite stale information.

Streaming + caching

"stream": true for SSE. With reasoning enabled, expect a longer TTFB. Automatic prompt caching on stable prefixes — the highest-leverage cost optimisation on this tier.

Errors

CodeTriggerBilled?
400 / 401 / 402 / 422 / 429StandardNo
5xxUpstreamNo (auto-retry)

When to use

  • Default starting point for any new project on OpenAI.
  • Code generation in an existing codebase, schema / API design.
  • Multi-step plans, structured output where mid-tier models drift.
  • For latency-critical responses, see GPT-5.5-instant.
  • For mid-tier cost / latency, see GPT-5.4.

Limits

LimitValue
Context window128K tokens
Max output32768 tokens
Supports tool useYes (parallel)
Supports visionYes
Supports streamingYes
Supports prompt cachingAutomatic
Supports reasoning_effortYes
Supports web search toolYes