GPT 6.2 Astra API — 即時定價、參數規格與 SDK 接入指南

Technical Summary & Live Pricing

透過 API Store Hub 呼叫 GPT 6.2 Astra API(gpt-6.2-astra),低至 26,800 ST/1M tokens · 1.1M context,支援 /v1/chat/completions(OpenAI Chat Completions & Responses API)。透明 ST 預付計費,提供 cURL、Python、TypeScript 完整範例。

Model Name
GPT 6.2 Astra
Primary Model ID
gpt-6.2-astra
Model Family
OpenAI GPT
Starting Price
26,800 ST/1M tokens (1 VND = 1 ST)
Context Window
1.1M tokens
Max Output
128K tokens
Protocol & Endpoint
/v1/chat/completions — OpenAI Chat Completions & Responses API
Compatible Apps & SDKs
Cursor, Codex CLI, Cline, Roo Code, Continue, Open WebUI, Dify, n8n, OpenAI SDK

Active Lanes & Variants

GPT 6.2 Astra
Model IDLaneBilling UnitPrice (ST / VND)Min/RequestContext WindowMax OutputFeatures
gpt-6.2-astraStandard Token1M tokens26,800 ST/1M tok300 ST1.1M128KReasoning, Vision, Tool use, Streaming, OpenAI API, Thinking, Coding, 1.05M context
req/gpt-6.2-astraFixed Request (req/)Per request4,050 ST/req-1.1M128KReasoning, Vision, Tool use, Streaming, OpenAI API, Thinking, Coding, 1.05M context
apistorehub/gpt-6.2-astraAWS High-Speed1M tokens187,500 ST/1M tok1,900 ST1.1M128KAWS, Premium, Streaming, Vision, Tool use, Reasoning, Max thinking, Coding, 1.05M context, OpenAI API

Practical Cost Estimator (ST / VND)

Token VolumeEstimated Cost (ST)VND Equivalent
10,000 tokens (10K)268 ST268 VNĐ
100,000 tokens (100K)2,680 ST2,680 VNĐ
1,000,000 tokens (1M)26,800 ST26,800 VNĐ
10,000,000 tokens (10M)268,000 ST268,000 VNĐ
VolumeEstimated Cost (ST)VND Equivalent
10 requests40,500 ST40,500 VNĐ
100 requests405,000 ST405,000 VNĐ
1,000 requests4,050,000 ST4,050,000 VNĐ
10,000 requests40,500,000 ST40,500,000 VNĐ

Integration Snippets: cURL, Python, TypeScript & Anthropic / Claude Code

cURL

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":"Hello"}]}'

Python SDK

import os
from openai import OpenAI

client = OpenAI(base_url="https://apistorehub.com/v1", api_key=os.environ["API_KEY"])
resp = client.chat.completions.create(
    model="gpt-6.2-astra",
    messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)

TypeScript SDK

import OpenAI from "openai";

const client = new OpenAI({ baseURL: "https://apistorehub.com/v1", apiKey: process.env.API_KEY });
const res = await client.chat.completions.create({
  model: "gpt-6.2-astra",
  messages: [{ role: "user", content: "Hello" }],
});
console.log(res.choices[0].message.content);

Anthropic / Claude Code & CLI

export OPENAI_BASE_URL="https://apistorehub.com/v1"
export OPENAI_API_KEY="sk-ash-your_key"
export ANTHROPIC_BASE_URL="https://apistorehub.com"
export ANTHROPIC_AUTH_TOKEN="sk-ash-your_key"
export MODEL_ID="gpt-6.2-astra"

Model FAQ

How much does GPT 6.2 Astra API cost on API Store Hub?
GPT 6.2 Astra is live across 3 lane variant(s) starting from 26,800 ST/1M tokens (1 VND = 1 ST), settled accurately to actual usage.
What context window and protocol does GPT 6.2 Astra support?
GPT 6.2 Astra (OpenAI GPT) provides 1.1M context over /v1/chat/completions (OpenAI Chat Completions & Responses API) and works with Cursor, Codex CLI, Cline, Roo Code, Continue, Open WebUI, Dify, n8n, OpenAI SDK.
How do I integrate GPT 6.2 Astra with Python, TypeScript, or Claude Code?
Set base_url to https://apistorehub.com/v1 (OpenAI SDK) or https://apistorehub.com (Anthropic SDK / Claude Code), pass model="gpt-6.2-astra", and authenticate with a sk-ash- key.
Does GPT 6.2 Astra share one ST credit balance with other AI models?
Yes. Every model on API Store Hub shares one prepaid ST credit balance and a single API key.