# GPT-6.2 Sol API

https://getmegabrain.com/models/openai/gpt-6.2-sol · prices from the live MegaBrain catalogue

> GPT-6.2 Sol is an upgrade to GPT-6.1 Sol from OpenAI, positioned below the flagship GPT-6.2 Astra in the GPT-6.2 series. It is an efficient, versatile model for everyday work, suited...

| | |
|---|---|
| Model ID | `openai/gpt-6.2-sol` |
| Provider | OpenAI |
| Context window | 1,050,000 tokens |
| Input tokens | $0.72 per 1M tokens |
| Output tokens | $3.6 per 1M tokens |
| Official OpenAI API input | $2 per 1M tokens (MegaBrain is 64% less) |
| Official OpenAI API output | $10 per 1M tokens (MegaBrain is 64% less) |
| Cache read | $0.04 per 1M tokens |
| Cache write | $0.9 per 1M tokens |
| Accepts | Files, Images, Text, and pdf |
| Produces | Text |
| Max output tokens | 128,000 |

## Call it

```python
from openai import OpenAI

client = OpenAI(base_url="https://getmegabrain.com/api/gateway/v1", api_key="YOUR_MEGABRAIN_KEY")
reply = client.chat.completions.create(
    model="openai/gpt-6.2-sol",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(reply.choices[0].message.content)
```

## FAQ

**How much does the GPT-6.2 Sol API cost?**

$0.72 per 1M input tokens and $3.6 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 Sol API cheaper than the official OpenAI API?**

Yes: $0.72 per 1M input tokens instead of $2 (−64%) and $3.6 per 1M output tokens instead of $10 (−64%). 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 Sol?**

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

**How do I call GPT-6.2 Sol through the API?**

Send an OpenAI-compatible request to https://getmegabrain.com/api/gateway/v1/chat/completions with "model": "openai/gpt-6.2-sol" 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 Sol accept?**

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

**Can I try GPT-6.2 Sol 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.
