Standard context
$2.00
- Input: $2.00 / 1M tokens · cached input: $0.20 / 1M tokens · output: $10.00 / 1M tokens.
- Applies when input context is 272,000 tokens or less.
GPT-6 Astra API 인터페이스 / 투명한 토큰 요금의 긴 컨텍스트 채팅
PiAPI의 OpenAI 호환 채팅 완성 엔드포인트로 GPT-6 Astra를 활용해 개발하세요. 플레이그라운드에서 메시지를 테스트하고 즉시 반환되는 응답을 확인하세요.
기간 한정 프로모션 가격(OpenAI 공식 가격의 20%). 모든 가격은 100만 토큰 기준입니다.
$2.00
$4.00
GPT-6 Astra로 개발을 시작할 준비가 되셨나요?
긴 컨텍스트 애플리케이션과 개발 워크플로를 위한 OpenAI 호환 채팅 API입니다.
표준 messages 배열을 POST /v1/chat/completions로 보내면 완성된 응답을 즉시 받을 수 있습니다.
워크플로에 필요한 속도와 깊이의 균형에 맞춰 추론 강도를 low, medium 또는 high로 선택하세요.
표준 및 긴 컨텍스트 두 요금 단계의 입력, 캐시 입력, 출력 토큰 가격을 함께 표시합니다.
입력 컨텍스트가 272,000 토큰을 초과하면 전체 요청이 긴 컨텍스트 요금으로 전환됩니다.
Sign up and grab an API key from the PiAPI workspace — free credits are included on sign-up.
Add credits on the billing page when you are ready to scale beyond the free tier.
POST your first task following the API docs, then poll the task until the result is ready.
Prototype prompts and settings in the the playground above before wiring them into your product.
curl -X POST 'https://api.piapi.ai/api/v1/task' \
-H 'X-API-Key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"model": "gpt-6-astra",
"task_type": "chat-completion",
"input": {
"messages": [{"role":"user","content":"Explain what an API gateway does, in two sentences."}]
}
}'
# → { "task_id": "9d5a…", "status": "pending" }curl 'https://api.piapi.ai/api/v1/task/{task_id}' \
-H 'X-API-Key: YOUR_API_KEY'
# poll until status = completed
{
"data": {
"status": "completed",
"output": {
"content": "https://img.theapi.app/ephemeral/…"
}
}
}$ npm install -g piapi-cli $ piapi run gpt-6-astra \ messages=[object Object] ✓ Task completed! https://img.theapi.app/ephemeral/…
표준 요청은 입력 토큰 100만 개당 $2.00, 캐시된 입력 토큰 100만 개당 $0.20, 출력 토큰 100만 개당 $10.00입니다.
입력 컨텍스트가 272,000 토큰을 초과하면 전체 요청에 긴 컨텍스트 요금이 적용됩니다. 입력 $4.00, 캐시 입력 $0.40, 출력 $15.00(각 100만 토큰)입니다.
OpenAI 호환 POST /v1/chat/completions 엔드포인트에 model 값과 messages 배열을 전달하세요.
More questions? See the API docs.
GPT-6 Astra API