Skip to content

GPT-6 Astra

POST/v1/responses

GPT-6 Astra is OpenAI's flagship model for demanding end-to-end work. It is suited for advanced analysis, software engineering, deep research, scientific work, computer use, and document creation.

Request body

Parameters supported by the OpenAI Responses API. Values, defaults, and limits are read from the model registry.

stringmodelrequired

Model identifier. Set to openai/gpt-6-astra.

Default: openai/gpt-6-astra

string | array<object>inputrequired

Input text or structured content for the response.

Optional<integer>max_tokens

Maximum number of tokens the model may generate in the response.

Maximum: 128000

Optional<boolean>stream

When true, returns incremental Server-Sent Events instead of one completed response.

Default: false

Optional<array>tools

Tool definitions that the model may call during the response.

Optional<string>tool_choice

Controls whether the model may call a tool and, when supported, which tool it must call.

Optional<object>response_format

Controls the response format, including JSON mode or structured JSON output when supported.

Optional<integer>seed

Seed used to make sampling more reproducible when the provider supports it.

Optional<integer>max_completion_tokens

Request parameter supported by this model.

Maximum: 128000

Optional<string>reasoning_effort

Request parameter supported by this model.

Allowed values: low, medium, high, xhigh, max

Default: medium

Response Schema

Fields returned by the OpenAI Responses API.

stringidrequired

Unique response identifier.

stringmodelrequired

Model that generated the response.

stringobjectrequired

Response object type.

array<object>outputrequired

Generated response output items.

stringstatusrequired

Response lifecycle status.

Optional<object>usage

Token usage when available.

Model capabilities

array<string>capability_tagsrequired

Capabilities declared by the model registry.

Default: chat, vision, reasoning, structured_output, function_calling

integercontext_lengthrequired

Maximum context window accepted by this model.

Default: 1050000 tokens

stringexecution_moderequired

Execution mode declared by the model registry.

Default: sync