# GPT 6.2 Astra API — API Store Hub Technical Datasheet

> Canonical web pages: https://apistorehub.com/vi/models/gpt-6-2-astra | https://apistorehub.com/en/models/gpt-6-2-astra. Family: OpenAI GPT. Active lanes: 3. Primary model ID: `gpt-6.2-astra`. Billing unit: 1 ST = 1 VND (1 USD = 23,000 ST).

## Live Lanes & Pricing

| Model ID | Lane | API | Billing | Price (ST / VND) | Min / Request | Context | Max Output | Capabilities |
|---|---|---|---|---|---|---|---|---|
| `gpt-6.2-astra` | standard | openai | token | 26.800 ST / 1M tok | 300 ST | 1.05M | 128k | Reasoning, Vision, Tool use, Streaming, OpenAI API, Thinking, Coding, 1.05M context |
| `req/gpt-6.2-astra` | standard | openai | request | 4.050 ST / req | — | 1.05M | 128k | Reasoning, Vision, Tool use, Streaming, OpenAI API, Thinking, Coding, 1.05M context |
| `apistorehub/gpt-6.2-astra` | aws | openai | token | 187.500 ST / 1M tok | 1.900 ST | 1.05M | 128k | AWS, Premium, Streaming, Vision, Tool use, Reasoning, Max thinking, Coding, 1.05M context, OpenAI API |

## Technical Specifications

- Canonical slug: `gpt-6-2-astra`
- Primary model ID: `gpt-6.2-astra`
- Family: OpenAI GPT
- Primary protocol endpoint: `POST https://apistorehub.com/v1/chat/completions` and `POST https://apistorehub.com/v1/responses` (OpenAI-compatible)
- Context window: 1.05M
- Max output tokens: 128k
- Authentication: `Authorization: Bearer sk-ash-YOUR_KEY` (or `x-api-key: sk-ash-YOUR_KEY` for Anthropic Messages)

## Integration Code Examples

### cURL
```bash
curl https://apistorehub.com/v1/chat/completions \
  -H "Authorization: Bearer sk-ash-YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"gpt-6.2-astra","messages":[{"role":"user","content":"Xin chào"}]}'
```

### Python
```python
from openai import OpenAI

client = OpenAI(
    base_url="https://apistorehub.com/v1",
    api_key="sk-ash-YOUR_KEY",
)
resp = client.chat.completions.create(
    model="gpt-6.2-astra",
    messages=[{"role": "user", "content": "Xin chào"}],
)
print(resp.choices[0].message.content)
```

### TypeScript
```typescript
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://apistorehub.com/v1",
  apiKey: "sk-ash-YOUR_KEY",
});
const resp = await client.chat.completions.create({
  model: "gpt-6.2-astra",
  messages: [{ role: "user", content: "Xin chào" }],
});
console.log(resp.choices[0]?.message?.content);
```

### Claude Code CLI
```bash
export ANTHROPIC_BASE_URL="https://apistorehub.com"
export ANTHROPIC_AUTH_TOKEN="sk-ash-YOUR_KEY"
export ANTHROPIC_MODEL="gpt-6.2-astra"
claude
```

## Web Pages & Related Resources

- Web Datasheet (VI): https://apistorehub.com/vi/models/gpt-6-2-astra
- Web Datasheet (EN): https://apistorehub.com/en/models/gpt-6-2-astra
- Provider Hub: https://apistorehub.com/vi/gpt-api | https://apistorehub.com/llms/gpt-api.md
- All Models Directory: https://apistorehub.com/llms/models.md
- Live Pricing Table: https://apistorehub.com/vi/pricing
- Model Comparisons: https://apistorehub.com/llms/compare.md
- CLI Setup Guide: https://apistorehub.com/vi/docs/apps/api-cli

Last updated: 2026-12-06