> ## Documentation Index
> Fetch the complete documentation index at: https://docs.apiyi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GPT-5.5 Deep Reasoning: Streaming Keepalive and Truncation Guide

> Updated streaming guides for gpt-5.5 high-effort reasoning on /v1/responses: live summary keepalive, handling response.incomplete truncation, disabling retries, and Python OpenAI SDK v3 timeout settings.

**2026/12/3 15:12 (UTC+8)** · Docs Update · OpenAI

📄 **Updated streaming keepalive, timeout, and truncation guides for `gpt-5.5` high-effort calls on `/v1/responses`**

On olympiad proofs and complex algorithmic workloads, `gpt-5.5` at `high` / `xhigh` effort routinely spends `33,000`–`65,000` `reasoning_tokens` in a single call (roughly 7–19 minutes). Without `reasoning.summary: "auto"`, the thinking phase emits no visible text; with `max_output_tokens` set to `65000`, internal deliberation can exhaust the entire budget and end with `status: "incomplete"` and an empty answer. In addition, Python `openai` SDK v3+ switched internally to `httpx2`, so passing `httpx.Timeout` raises a `TypeError`.

Measured through the APIYI gateway, `/v1/responses` streams forward a `keepalive` event every 30 seconds during silent thinking (`GET /v1/responses/{id}` returns 400 on APIYI, so do not use `background: true` polling). For long reasoning tasks, enable `stream=True` + `reasoning={"effort": "high", "summary": "auto"}`, configure `from openai import Timeout` with `read=120`–`300` seconds and `max_retries=0`, raise `max_output_tokens` to `100000`–`128000`, and explicitly handle `response.incomplete`.

See the updated guides in [OpenAI Responses Native API](https://docs.apiyi.com/en/api-capabilities/openai/native.md), [Why Reasoning Models Return Empty Content](https://docs.apiyi.com/en/faq/reasoning-model-empty-response.md), [Long-form Output Practices](https://docs.apiyi.com/en/api-capabilities/long-form-output-practices.md), and [How to Avoid API Timeouts](https://docs.apiyi.com/en/faq/timeout-configuration.md).

***

← [Back to Live Updates](https://docs.apiyi.com/en/live.md) · 📚 [Monthly archive](https://docs.apiyi.com/en/live/archive.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.