GPT 6 Astra
OpenAI · Text · Context 1.05M · max output 128K tokens
gpt-6-astra
Try
Pricing
| MarkasAI | Vendor list price | |
|---|---|---|
| Input | Rp 152.861 | Rp 178.900 |
| Output | Rp 764.303 | Rp 894.500 |
| Cache | Rp 15.287 | |
| Cache write | Rp 191.077 |
MarkasAI sale prices in Rupiah, read from the same catalog as GET /v1/models. Prices can change and apply to later requests.
Specifications
- Model ID
gpt-6-astra- Provider
- OpenAI
- Type
- Text
- Endpoint
POST /v1/chat/completions- Context window
- 1,050,000 tokens
- Output limit per request
- 128,000 tokens
About this model
GPT-6 Astra is OpenAI's flagship model for demanding end-to-end work. It is suited for advanced analysis, software engineering, deep research, scientific work, and document creation, with particular strengths in long-horizon...
Quoted from the provider's public catalog, in English.
Call example
curl https://api.markas.ai.id/v1/chat/completions \
-H "Authorization: Bearer $MARKASAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-6-astra",
"messages": [{"role": "user", "content": "What is an API?"}],
"max_tokens": 300
}'
import os
from openai import OpenAI
client = OpenAI(base_url="https://api.markas.ai.id/v1", api_key=os.environ["MARKASAI_API_KEY"])
resp = client.chat.completions.create(
model="gpt-6-astra",
messages=[{"role": "user", "content": "What is an API?"}],
max_tokens=300,
)
print(resp.choices[0].message.content)
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.markas.ai.id/v1", apiKey: process.env.MARKASAI_API_KEY });
const resp = await client.chat.completions.create({
model: "gpt-6-astra",
messages: [{ role: "user", content: "What is an API?" }],
max_tokens: 300,
});
console.log(resp.choices[0].message.content);
Keep your API key in the MARKASAI_API_KEY environment variable. Read the endpoint docs