OpenAI

OpenAI: GPT-6 AstraChat

openai/gpt-6-astra

GPT-6 Astra is OpenAI's flagship model for complex end-to-end work. It provides a 1.05M-token context window and up to 128K output tokens, accepts text and image input, and produces text output. It supports reasoning, streaming, function calling, structured outputs, prompt caching, web and file search, image generation, code interpreter, hosted shell, apply patch, Skills, computer use, MCP, and tool search. Use model ID openai/gpt-6-astra through HaoAI's OpenAI-compatible or Anthropic-compatible API.

1M context window
128K max output tokens
Released: 2026-09-03
Protocols:OpenAIAnthropic
Capabilities:VisionFunction CallingReasoningPrompt CachingWeb Search

Pricing

PriceRate 0.15x
HaoAI
Official
Input
$1.5/M
$10/M
Output
$7.5/M
$50/M
Cache read
$0.15/M
$1/M
Cache creation
$1.88/M
$12.5/M

Code Examples

from openai import OpenAI

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

response = client.chat.completions.create(
    model="openai/gpt-6-astra",
    messages=[
        {"role": "user", "content": "Hello!"}
    ],
)

print(response.choices[0].message.content)

Frequently asked questions

HaoAI bills based on actual request usage. Input, output, cache, and any other applicable rates follow the live pricing table on this page. Final request costs are available in the console.