---
title: "GPT-6.2 Astra API pricing and how to call it | MYUSAPI"
description: "gpt-6.2-astra at $2 input and $10 output per 1M tokens (list price $8 / $40). 1.05M context, with requests you can copy and run."
url: https://myusapi.com/en/models/gpt-6.2-astra
---

# GPT-6.2 Astra API: pricing and how to call it

GPT-6.2 Astra has the model ID gpt-6.2-astra. On MYUSAPI it costs $2.00 per 1M input tokens and $10.00 per 1M output tokens, prepaid and charged by usage. The model is never swapped or downgraded, and you are billed by the usage the upstream reports.

## GPT-6.2 Astra API pricing

| Item | Per 1M tokens |
| --- | --- |
| Input | Official $8.00, our price $2.00 |
| Output | Official $40.00, our price $10.00 |
| Cache read | Official $0.40, our price $0.10 |
| Cache write | $2.50 |

USD. The struck figure is OpenAI’s official standard list price; bold is ours, with input and output at 25% of list. [Source of the list price](https://developers.openai.com/api/docs/models/gpt-6.2-astra)

Example: a job that uses 1M input tokens and 200K output tokens costs $4.00 at our rates and $16.00 at list price.

Official rates: Standard rates checked November 17, 2026. Above 272K input tokens, input and cache rates double and the output rate rises to 1.5× for the entire request.

Our Standard prices per million tokens are $2 for input, $0.10 for cache reads, $2.50 for 30-minute cache writes and $10 for output. Above 272K input tokens, our prices for the entire request are $4, $0.20, $5 and $15 respectively.

## Specifications

- Model ID: gpt-6.2-astra
- Provider: OpenAI
- Context window: 1.05M tokens
- Max output: 128K tokens
- Endpoints: Responses, Chat Completions
- Capabilities: Reasoning, Coding, Vision

A reasoning model for complex coding and professional work. It accepts text and images. Use the Responses API for tool calls.

## How to call the GPT-6.2 Astra API

Sign up, add credit and put your key in the MYUSAPI_API_KEY environment variable.

[Sign up and get an API key](https://myusapi.com/en/signup)

### Responses (cURL)

The address is https://myusapi.com/v1/responses. Add "stream": true to the body to stream.

```
curl https://myusapi.com/v1/responses \
  -H "Authorization: Bearer $MYUSAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"gpt-6.2-astra","input":"Hello"}'
```

### OpenAI SDK (Python, Chat Completions)

A project already on the OpenAI SDK changes only base_url (https://myusapi.com/v1) and the model ID.

```
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://myusapi.com/v1",
    api_key=os.environ["MYUSAPI_API_KEY"],
)

reply = client.chat.completions.create(
    model="gpt-6.2-astra",
    messages=[{"role": "user", "content": "Hello"}],
)
print(reply.choices[0].message.content)
```

### Chat Completions (cURL)

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

Whether your key can call it now is what GET https://myusapi.com/v1/models returns.

## Use GPT-6.2 Astra in Codex CLI

Set model to "gpt-6.2-astra" in ~/.codex/config.toml; the Codex CLI guide has the full steps.

[Set up Codex CLI with MYUSAPI: a custom provider in config.toml](https://myusapi.com/en/docs/codex-cli)

## Other OpenAI models

- [GPT-6 Astra API](https://myusapi.com/en/models/gpt-6-astra): $2.50 input, $12.50 output per 1M tokens
- [GPT-6.1 Sol API](https://myusapi.com/en/models/gpt-6.1-sol): $0.40 input, $2.00 output per 1M tokens
- [GPT-6 Luna API](https://myusapi.com/en/models/gpt-6-luna): $0.01 input, $0.05 output per 1M tokens
- [GPT-6 Sol API](https://myusapi.com/en/models/gpt-6-sol): $0.50 input, $2.50 output per 1M tokens
- [GPT-5.6 Sol API](https://myusapi.com/en/models/gpt-5.6-sol): $1.20 input, $6.00 output per 1M tokens
- [GPT-5.6 Terra API](https://myusapi.com/en/models/gpt-5.6-terra): $0.60 input, $3.60 output per 1M tokens
- [GPT-5.6 Luna API](https://myusapi.com/en/models/gpt-5.6-luna): $0.02 input, $0.12 output per 1M tokens

[All models and prices](https://myusapi.com/en/models)
