All modelsOpenAI API documentation
GPT-6.2 Astra
gpt-6.2-astraPremiumText
Description unavailable.
VisionThinkingStreamingLong context
- Context window
- 1M
- Maximum output tokens
- 128,000
Pricing
per 1M tokens
- Input / 1M
- $1.28
- Output / 1M
- $6.40
- Cache read / 1M
- $0.12
- Cache write / 1M
- $1.28
GPT-6.2 Astra API pricing and specs
GPT-6.2 Astra is available through the Claudexia API in the Premium channel. Model ID: gpt-6.2-astra.
Price: $1.28 per 1M input tokens and $6.40 per 1M output tokens.
Context window: 1,000,000 tokens.
Capabilities listed in the catalog: vision, thinking, streaming.
How to connect GPT-6.2 Astra via API
Replace sk_cdx_... with your key from the API Keys section. The key must belong to the Premium channel.
OpenAI SDK and compatible clients (Python), base URL with /v1
from openai import OpenAI
client = OpenAI(base_url="https://api.claudexia.tech/v1", api_key="sk_cdx_...")
response = client.chat.completions.create(
model="gpt-6.2-astra",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)Anthropic SDK (Python), base URL without /v1
from anthropic import Anthropic
client = Anthropic(base_url="https://api.claudexia.tech", api_key="sk_cdx_...")
message = client.messages.create(
model="gpt-6.2-astra",
max_tokens=1024,
messages=[{"role": "user", "content": "Hello"}],
)
print(message.content[0].text)GPT-6.2 Astra API questions
- How much does the GPT-6.2 Astra API cost?
- $1.28 per 1M input tokens and $6.40 per 1M output tokens in the Premium channel.
- Which base URL do I use for GPT-6.2 Astra?
- OpenAI-compatible clients: https://api.claudexia.tech/v1. Anthropic SDK: https://api.claudexia.tech (no /v1). Model ID: gpt-6.2-astra.
- What is the GPT-6.2 Astra context window?
- 1,000,000 tokens, according to the Claudexia catalog.