GPT-6.2 Astra

openai/gpt-6.2-astra

GPT-6.2 Astra is the flagship model in the GPT-6.2 series from OpenAI, built for the hardest projects. It is suited for real-world engineering, professional work and scientific research, with stronger...

Context
1.1M tokens
Input, 1M tokens
$2.88
Output, 1M tokens
$14
Benchmark
—

Uptime and speed

Loading…

Pricing

Charged from your prepaid balance for the tokens actually used.

Input tokens$2.88 per 1M tokens
Output tokens$14 per 1M tokens
Cache read$0.14 per 1M tokens
Cache write$3.6 per 1M tokens

Price vs the official API

Per 1M tokens, the same model through one MegaBrain key. Paid from credits, no subscription.

MegaBrainOfficial OpenAI APIYou save
Input tokens$2.88$8−64%
Output tokens$14$40−65%

Apps and activity

Loading…

Technical details

Model IDopenai/gpt-6.2-astra
Context window1.1M tokens
AcceptsFiles, Images, Text, pdf
ProducesText
TokenizerGPT
Max output tokens128,000

How to connect

The API is OpenAI-compatible: the official SDKs, LangChain and any client with a "base URL" field work.

import OpenAI from 'openai'

const client = new OpenAI({
  baseURL: 'https://getmegabrain.com/api/gateway/v1',
  apiKey: process.env.MEGABRAIN_API_KEY,
})

const response = await client.chat.completions.create({
  model: 'openai/gpt-6.2-astra',
  messages: [{ role: 'user', content: 'Hello!' }],
})

Questions

How much does the GPT-6.2 Astra API cost?

$2.88 per 1M input tokens and $14 per 1M output tokens, charged from a prepaid US-dollar balance for the tokens actually used. There is no subscription.

Is the GPT-6.2 Astra API cheaper than the official OpenAI API?

Yes: $2.88 per 1M input tokens instead of $8 (−64%) and $14 per 1M output tokens instead of $40 (−65%). It is the same model, called with one MegaBrain key and paid from prepaid credits, with no subscription.

What is the context window of GPT-6.2 Astra?

1,050,000 tokens (1.1M), with up to 128,000 tokens in one reply.

How do I call GPT-6.2 Astra through the API?

Send an OpenAI-compatible request to https://getmegabrain.com/api/gateway/v1/chat/completions with "model": "openai/gpt-6.2-astra" and your MegaBrain API key as a Bearer token. The official OpenAI SDKs, LangChain and any client with a base URL setting work; the same key also reaches image and video models.

What input does GPT-6.2 Astra accept?

It accepts Files, Images, Text, and pdf and produces Text.

Can I try GPT-6.2 Astra before paying?

Sign-up is free and open to everyone. Adding a card (nothing is charged) gives $1.00 of credit to try any model; after that every model is charged from a balance you top up by card.

Start using GPT-6.2 Astra

Create an account, top up from $10, get a key in your dashboard and send your first request.