Skip to main content
GPT-6.2 Astra is OpenAI’s frontier model for complex reasoning, coding, computer use, and professional work. Use the model ID gpt-6.2-astra with the OpenAI-compatible Responses API at POST /v1/responses.
gpt-6.2-astra is available from both POST /v1/responses and POST /v1/chat/completions. Use the Responses API for tools, image and file input, Structured Outputs, and prompt caching.

Model specifications

Set the Responses API output ceiling with max_output_tokens. It counts both visible output and reasoning tokens, and supports values up to 128000. For Chat Completions, use max_completion_tokens instead.

Key capabilities

  • Long-context reasoning — Analyze large codebases, documents, and multi-step workflows within a 1.05M-token context window.
  • Software engineering — Plan and execute long-running coding tasks across files, tools, and verification steps.
  • Vision — Accept image input together with text instructions.
  • Structured Outputs — Return JSON that follows a supplied schema.
  • Prompt caching — prompt_cache_key and prompt_cache_options support the 30m cache lifetime and expose cache-write and cache-hit token counts.
  • Responses API tools — Web search, code interpreter, hosted shell, apply patch, computer use, MCP, function tools, and custom tools are available through AnyFast.

Capability examples

Use reasoning.effort to balance latency and reasoning depth. GPT-6.2 Astra accepts low, medium, high, xhigh, and max.
cURL

Reasoning configuration

GPT-6.2 Astra does not support none or minimal. It also does not support temperature, top_p, or top_logprobs. Do not send logprobs with Chat Completions.

API guidance

  • Use the Responses API for tool calling.
  • For explicit prompt caching, use prompt_cache_options.ttl rather than the older prompt_cache_retention field.
  • Use include: ["reasoning.encrypted_content"] with store: false when you need encrypted reasoning items for stateless workflows.
  • Use max_tool_calls to cap built-in tool calls and parallel_tool_calls to control parallel function calls.
  • Public image URLs must permit server-side downloads. Data URLs are supported when the remote host blocks automated access.
  • Image input is supported; audio and video input are not supported.
AnyFast does not currently expose the Responses retrieval, Conversations, or Vector Stores management endpoints. Do not depend on background, conversation, previous_response_id, stored prompt references, or configuration_update for this model. Cross-request item references can also fail when requests are routed to different upstream resources.

Core parameters

API Reference

View the GPT-6.2 Astra Responses API reference.

Official references