GPT Image 2.5 is live — OpenAI's newest image model, targeted edits that leave the rest of the frame alone

Text

gpt-5.5

GPT-5.5 — OpenAI's frontier reasoning model on reapi.ai. OpenAI-compatible /api/v1/chat/completions with 1M context, 128K max output, adjustable reasoning effort, and tiered long-context billing.

GPT-5.5 is OpenAI's frontier reasoning model, exposed through reAPI as a drop-in OpenAI-compatible Chat Completions endpoint. 1M token context, 128K max output, adjustable reasoning_effort (none / low / medium / high / xhigh), and Tool Search for large agent workflows. The wire model ID is gpt-5.5. Current live rates are published on the model page.

The URL and the model ID differ. The model page and docs URL use gpt-5-5 because paths avoid dots. Pass gpt-5.5 in the request body.

Quick example

curl https://api.reapi.ai/v1/chat/completions \
  -H "Authorization: Bearer YOUR_REAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5.5",
    "messages": [
      { "role": "user", "content": "Review this migration plan and list the main failure modes." }
    ],
    "reasoning_effort": "medium",
    "max_completion_tokens": 16000,
    "stream": true
  }'
from openai import OpenAI

client = OpenAI(
    api_key="YOUR_REAPI_API_KEY",
    base_url="https://api.reapi.ai/v1",
)

stream = client.chat.completions.create(
    model="gpt-5.5",
    messages=[{"role": "user", "content": "Review this migration plan and list the main failure modes."}],
    reasoning_effort="medium",
    max_completion_tokens=16000,
    stream=True,
)

for chunk in stream:
    delta = chunk.choices[0].delta.content or ""
    print(delta, end="", flush=True)
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: "YOUR_REAPI_API_KEY",
  baseURL: "https://api.reapi.ai/v1",
});

const stream = await client.chat.completions.create({
  model: "gpt-5.5",
  messages: [{ role: "user", content: "Review this migration plan and list the main failure modes." }],
  reasoning_effort: "medium",
  max_completion_tokens: 16000,
  stream: true,
});

for await (const chunk of stream) {
  process.stdout.write(chunk.choices[0]?.delta?.content ?? "");
}
package main

import (
    "bytes"
    "encoding/json"
    "fmt"
    "io"
    "net/http"
)

func main() {
    body, _ := json.Marshal(map[string]any{
        "model": "gpt-5.5",
        "messages": []map[string]string{
            {"role": "user", "content": "Review this migration plan and list the main failure modes."},
        },
        "reasoning_effort":      "medium",
        "max_completion_tokens": 16000,
        "stream":                true,
    })
    req, _ := http.NewRequest("POST",
        "https://api.reapi.ai/v1/chat/completions", bytes.NewReader(body))
    req.Header.Set("Authorization", "Bearer YOUR_REAPI_API_KEY")
    req.Header.Set("Content-Type", "application/json")

    resp, _ := http.DefaultClient.Do(req)
    defer resp.Body.Close()
    out, _ := io.ReadAll(resp.Body)
    fmt.Println(string(out))
}

Authentication

Use your unified reAPI API key — the same key that calls image, video, audio, and other LLM endpoints on reapi.ai — as a bearer token:

Authorization: Bearer YOUR_REAPI_API_KEY

Create or rotate keys under API keys in your reAPI dashboard (/settings/apikeys). Chat completions bill from your unified reAPI balance.


Endpoint

POST https://api.reapi.ai/v1/chat/completions

Set base_url to https://api.reapi.ai/v1 in standard OpenAI SDKs (openai-python, openai-node, openai-go). reAPI performs no automatic retries: each request maps 1:1 to a single upstream call.


Request body

model — string, required

Use "gpt-5.5" for the configured default group (gpt), or "gpt-5.5:GROUP_ID" to select another authorized group.

messages — array, required

Conversation history as an array of message objects (system, developer, user, assistant, tool). Any image URLs in content parts must be public HTTP(S) URLs; base64 and data: URIs are rejected.

max_completion_tokens / max_tokens — integer, optional

Upper bound on output tokens, up to 128,000 (reasoning tokens included). Prefer max_completion_tokens in new code.

reasoning_effort — string, optional

Accepts none, low, medium, high, and xhigh. Pick the lowest level that meets accuracy requirements to keep latency and output token spend down.

stream — boolean, default false

When true, tokens stream as Server-Sent Events (text/event-stream) terminated by data: [DONE].

Other Chat Completions parameters

Standard OpenAI Chat Completions fields pass through unchanged; upstream validation determines model-specific restrictions and effects.

Measured parameter support (2026-11-20)

Direct probes against the upstream gpt-5.5 endpoint verified:

FieldObserved result
reasoning_effortAccepts none, low, medium, high, and xhigh (none = 0 reasoning tokens; low and xhigh increase reasoning tokens). minimal and max return 400
max_completion_tokens, max_tokensBoth accepted (200), up to 128,000
stream, stream_optionsSSE streaming with usage and [DONE] verified (200)
temperature, top_p, seedAccepted (200)
nn: 2 returns two choices (200) and bills both
tools, tool_choiceVerified (200, returns finish_reason: "tool_calls" with structured arguments)
response_format (json_schema, strict: true)Verified (200, returns schema-conforming JSON)
frequency_penalty, presence_penalty, stopRejected by the model with 400 (Unsupported parameter) — omitted from the Playground controls

Response shape

Non-streaming (stream: false)

{
  "id": "chatcmpl-018f5a3a1b6e7d9f8c2b4d6e8f0a2c4e",
  "object": "chat.completion",
  "created": 1735000000,
  "model": "gpt-5.5",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "Hello! How can I help you today?"
      },
      "finish_reason": "stop"
    }
  ],
  "usage": {
    "prompt_tokens": 12,
    "completion_tokens": 9,
    "total_tokens": 21
  }
}

Streaming (stream: true)

Content-Type: text/event-stream. Each data: line is a JSON delta in the OpenAI chunk format; the final event before [DONE] carries finish_reason (stop / length / tool_calls / content_filter).


Group selection and pricing

Using the bare model ID gpt-5.5 routes to the configured default group (gpt). To select another authorized group with the same reAPI API key, pass gpt-5.5:GROUP_ID in model. Discover currently available groups and live prices at:

GET https://api.reapi.ai/v1/models/gpt-5.5/groups

See LLM groups for details. Current live per-1M-token rates live on the GPT-5.5 model page and in its machine-readable reference.

Long-context tier (>272K tokens)

Requests at or below 272K tokens bill at the standard tier; requests above 272K tokens shift to the long-context tier (separate input, output, and cache-read rates). All tiers are published dynamically in the pricing table on the model page. Failed requests are not charged.


Limits

LimitValue
Context window1M tokens
Max output per call128K tokens
Standard-rate threshold≤ 272K tokens

Errors

Failures return reAPI's standard error envelope ({ error: { code, message, type, request_id } }). See the errors catalog for full codes.

StatusWhenNotes
400Invalid JSON, unsupported model/group, or parameter rejected upstreamEnsure model is "gpt-5.5" (with dot)
401Missing or invalid reAPI API keyCreate or rotate keys at /settings/apikeys
402Insufficient balanceTop up your reAPI balance
429Rate limit reachedBack off and retry from your application
5xxUpstream or gateway errorFailed calls are not charged