openai/gpt-6-astra
GPT-6 Astra is OpenAI's new flagship, built for the hardest reasoning, coding, and long-running agent work. It takes text and image input, holds a 1.05M-token context window (922K max input), writes up to 128K output tokens, and exposes five reasoning-effort levels from low through max. Prompt caching is supported, and cache reads bill at one tenth of input.
المصدر: openai_2026_09_gpt6_x0.10 · تم التحقق في 2026-09-05
قراءة الكاش $0.1/M · كتابة الكاش $1.25/M
| الفئة | الإدخال | قراءة الكاش | كتابة الكاش | الإخراج |
|---|---|---|---|---|
| Standard ≤272K | $1 | $0.1 | $1.25 | $5 |
| Standard >272K | $2 | $0.2 | $2.5 | $7.5 |
يمكنك استخدام أي من المعرّفَين لاستدعاء هذا النموذج.
openai/gpt-6-astraYou can use these names directly in the request model field.
استبدل placeholder الـ ONEHOP_KEY بمفتاح API الخاص بك. إنشاء مفتاح →
from openai import OpenAI
client = OpenAI(
base_url="https://api.onehop.ai/v1",
api_key="<ONEHOP_KEY>",
)
completion = client.chat.completions.create(
model="openai/gpt-6-astra",
messages=[{"role": "user", "content": "What is the meaning of life?"}],
)
print(completion.choices[0].message.content)