gpt-6-astra with the OpenAI-compatible Responses API at POST /v1/responses.
gpt-6-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
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_keyandprompt_cache_optionssupport the30mcache 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.
- Async tool calling — Function and custom tools accept
async: trueand return the corresponding tool-call item.
Capability examples
- Text and reasoning
- Image and file input
- Structured output
- Tool workflows
Use
reasoning.effort to balance latency and reasoning depth. GPT-6 Astra accepts low, medium, high, xhigh, and max.cURL
Reasoning configuration
API guidance
- Use the Responses API for tool calling.
- For explicit prompt caching, use
prompt_cache_options.ttlrather than the olderprompt_cache_retentionfield. - Use
include: ["reasoning.encrypted_content"]withstore: falsewhen you need encrypted reasoning items for stateless workflows. - Use
max_tool_callsto cap built-in tool calls andparallel_tool_callsto 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.
Core parameters
API Reference
View the GPT-6 Astra Responses API reference.