Models/GPT-6 Astra

Model

GPT-6 Astra

OpenAIgpt-6-astra

GPT-6 Astra from OpenAI: 1.05M context, $1.625 per million input tokens, image input, reasoning. One key, one balance, both wire formats.

Context
1.05M
1,050,000 tokens
Speed
—
tokens / second, measured
Input
$1.625
per 1M tokens
Output
$2.6
per 1M tokens

Price per 1M tokens

Line itemPriceNotes
Input$1.625Prompt tokens sent to the model.
Cached input$0.099Prompt tokens served from the provider cache.
Output$2.6Generated tokens, hidden reasoning included.

Charged from your prepaid balance when the request ends. See Billing for the arithmetic and the 402 rule.

Call GPT-6 Astra

OpenAI format · curl

curl https://api.mafiallm.com/v1/chat/completions \
  -H "Authorization: Bearer $MAFIA_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"gpt-6-astra","messages":[{"role":"user","content":"Hello"}]}'

OpenAI format · Python

import os
from openai import OpenAI

client = OpenAI(base_url="https://api.mafiallm.com/v1", api_key=os.environ["MAFIA_KEY"])
reply = client.chat.completions.create(
    model="gpt-6-astra",
    messages=[{"role": "user", "content": "Hello"}],
)
print(reply.choices[0].message.content)

Anthropic format · curl

curl https://api.mafiallm.com/anthropic/v1/messages \
  -H "x-api-key: $MAFIA_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "Content-Type: application/json" \
  -d '{"model":"gpt-6-astra","max_tokens":1024,"messages":[{"role":"user","content":"Hello"}]}'

Full request and response shapes: OpenAI format and Anthropic format. The same key and balance work in both.

Limits and features

Context window1,050,000 tokens
Max outputPer request limit set by the provider
Image inputYes
ReasoningYes
Open weightsNo
ModerationStandard provider policy

Other OpenAI models

FAQ

How much does GPT-6 Astra cost?

$1.625 per million input tokens, $2.6 per million output tokens, and $0.099 per million cached input tokens. You pay per token from a prepaid balance.

What is the context window of GPT-6 Astra?

1,050,000 tokens. The maximum output per request is set by the provider.

Which API formats work with GPT-6 Astra?

Both. Use gpt-6-astra as the model id with the OpenAI Chat Completions API at https://api.mafiallm.com/v1 or the Anthropic Messages API at https://api.mafiallm.com/anthropic.

Is there a free tier?

No free tier. Create an account, add credit in crypto (minimum $5) and pay only for the tokens you use.

Start with GPT-6 Astra

Create an account, generate a key and send your first request in a few minutes. No KYC, no card, no subscription.