GPT-6.2 Astra API

Check GPT-6.2 Astra token prices, verify Chat Completions and Responses access, and try a code review through the Modelseed API.

Price per million tokens

Compare GPT-6.2 Astra and GPT-6 Astra on the same diff, requirements and output limit. Modelseed lists lower input and output rates for GPT-6.2 Astra in both context tiers.

GPT-6.2 Astra

gpt-6.2-astra
Text & code
modelseed rates by usage component
TierComponentPer unitPrice
Input ≤272K tokensInput · no cache1M tokens$0.256658256.6581 credits
Input ≤272K tokensOutput1M tokens$1.2832911,283.2907 credits
Input ≤272K tokensCache write1M tokens$0.320823320.8227 credits
Input ≤272K tokensCache read1M tokens$0.01283312.8329 credits
Input >272K tokensInput · no cache1M tokens$0.513316513.3163 credits
Input >272K tokensOutput1M tokens$1.9249361,924.9361 credits
Input >272K tokensCache write1M tokens$0.641645641.6454 credits
Input >272K tokensCache read1M tokens$0.02566625.6658 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.2 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.

TEXT REQUEST ESTIMATEgpt-6.2-astra$0.5775577.481 credits

1 × $0.2567 + 0.25 × $1.2833

Modelseed base rates. Actual usage determines charges. Payment fees and plan bonuses are excluded from this estimate.

All components and rates ↓

Connect GPT-6.2 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 →
GPT-6.2 Astra / Python
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.2-astra",
    messages=[{"role": "user", "content": "Name two edge cases for a function that divides a bill by the number of participants. Propose a test for each."}],
    max_completion_tokens=256,
)
print(response.choices[0].message.content)

Review changes before merging

Provide a diff and the intended behavior. Ask for the line, failure condition and test for each finding. Check the findings against the code and run the tests locally.

BUILD WITH MODELSEED

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.

Get your API key