GPT-6 Astra

OpenAI's flagship GPT-6 reasoning model for the hardest coding, research and agent tasks: text and image input, 1.05M-token context.

GPT-6 Astra is OpenAI's flagship GPT-6 reasoning model. Send a prompt, or a chat history in messages, and get a text answer. It reads images in the chat (image_url parts). It takes up to 1.05M tokens of context and writes up to 128K tokens per answer.

Set reasoning_effort to low, medium, high, xhigh or max. system_prompt sets instructions for the whole chat and max_tokens caps the answer. Set private_mode to true to keep the prompt and the answer out of FlyMyAI storage and logs (synchronous calls only).

Call it with a FlyMyAI key in three ways: the FlyMyAI API, the OpenAI-compatible Chat Completions endpoint, or OpenAI's own API under the model's address with the official OpenAI SDK (the Responses API and Chat Completions). On the last two your request reaches OpenAI as you send it, so function tools, structured output, prompt caching and streaming work as OpenAI documents them for that API, and FlyMyAI stores neither the prompt nor the answer.

It always reasons. Function tools work only on the Responses API for this model, not on Chat Completions. Not offered through FlyMyAI: tools OpenAI runs itself (web search, file search, code interpreter, image generation, computer use, remote MCP), files, responses and conversations stored at OpenAI, background mode, and the flex, fast and ultrafast tiers. Billing follows the tokens OpenAI reports for each call: $10.00 input, $1.00 cached input and $50.00 output per 1M tokens, cache writes $12.50 ($25.00 kept for 12 hours); a prompt over 272,000 tokens costs $20.00 input, $2.00 cached input and $75.00 output.

Price: $10.00 per 1M input tokens, $50.00 per 1M output tokens, cached input $1.00 per 1M, cache writes $12.50 per 1M ($25.00 kept longer); a prompt over 272,000 tokens costs $20.00 / $75.00 per 1M.

Run GPT-6 Astra via API

curl -X POST https://api.flymy.ai/api/v1/flymyai/gpt-6-astra/predict \
  -H "X-API-KEY: $FLYMYAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

OpenAI-compatible API

GPT-6 Astra also speaks the OpenAI Chat Completions protocol: use the official OpenAI SDK with base URL https://api.flymy.ai/api/v1/flymyai/gpt-6-astra/openai/v1 and your FlyMy.AI API key.

import os
from openai import OpenAI

client = OpenAI(base_url="https://api.flymy.ai/api/v1/flymyai/gpt-6-astra/openai/v1", api_key=os.environ["FLYMYAI_API_KEY"])
response = client.chat.completions.create(
    model="flymyai/gpt-6-astra",
    messages=[{"role": "user", "content": "What is a vector database?"}],
)
print(response.choices[0].message.content)

OpenAI-compatible API docs

API documentation · Create a free account · Pricing

Related models