GPT-6 Astra API
GPT-6 Astra API through Modelseed. See both pricing tiers, get a key and try a Python debugging workflow.
New accounts receive a random $1–$2 welcome bonus (1,000–2,000 credits) to test requests
Price per million tokens
If your application already uses GPT-6 Astra, compare it with GPT-6.2 Astra on known failures. Record passing fixes, actual output length and retry costs.
GPT-6 Astra
gpt-6-astra| Tier | Component | Per unit | Price |
|---|---|---|---|
| Input ≤272K tokens | Input · no cache | 1M tokens | $0.320823320.8227 credits |
| Input ≤272K tokens | Output | 1M tokens | $1.6041131,604.1134 credits |
| Input ≤272K tokens | Cache write | 1M tokens | $0.401028401.0284 credits |
| Input ≤272K tokens | Cache read | 1M tokens | $0.03208232.0823 credits |
| Input >272K tokens | Input · no cache | 1M tokens | $0.641645641.6454 credits |
| Input >272K tokens | Output | 1M tokens | $2.406172,406.1701 credits |
| Input >272K tokens | Cache write | 1M tokens | $0.802057802.0567 credits |
| Input >272K tokens | Cache read | 1M tokens | $0.06416564.1645 credits |
Base rates from the active reference, shown in USD. Checkout confirms the final amount. A listed rate is not a route availability check. Check the console for current models and key permissions.
GPT-6 Astra API cost calculator
Choose the context tier and enter the project token volume. The estimate uses uncached input and output rates.
The context tier applies to each request. See the table for cache read and write rates.
gpt-6-astra$0.7219721.851 credits1 × $0.3208 + 0.25 × $1.6041
Modelseed base rates. Actual usage determines charges. Payment fees and plan bonuses are excluded from this estimate.
All components and rates ↓Connect GPT-6 Astra through the API
Create a project key in the Modelseed console. Install the openai package and set MODELSEED_API_KEY. Check the ID in /v1/models and send a short request.
Chat Completions
The example sends a paid request with an output token limit. Check the answer and actual charge in the console.
The catalog also lists Responses for this model. For Codex, try a short /v1/responses request with your key, then test the agent features on your workflow.
GPT API key and payment guide →import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.modelseed.dev/v1",
api_key=os.environ["MODELSEED_API_KEY"],
)
response = client.chat.completions.create(
model="gpt-6-astra",
messages=[{"role": "user", "content": "The function average(xs) returns sum(xs) / len(xs). Explain the empty-list failure and suggest one test for an explicit expected behavior."}],
max_completion_tokens=256,
)
print(response.choices[0].message.content)Diagnose a Python failure and test the fix
Send a small function, its input, the error and expected behavior. Ask for a root cause, a minimal fix and a separate regression test. Run the test and check edge cases locally.
From an idea to your first request.
One key and a familiar API. New verified accounts receive a random $1–$2 welcome bonus (1,000–2,000 credits) to test requests before topping up.