OpenAI의 최상위 모델(GPT-6 세대, 2026년 9월)입니다. 복잡한 추론·코딩·컴퓨터 사용·리서치·문서 작성 같은 가장 어려운 엔드투엔드 작업용으로, 1M 토큰 컨텍스트 윈도우, 128K 최대 출력 토큰, 90% 할인 캐시 입력을 지원합니다. 입력 272K 토큰 초과 시 요청 전체가 입력 2배·출력 1.5배로 과금됩니다.
콘솔의 Playground에서 별도 코드 없이 이 모델을 즉시 테스트할 수 있어요
이 모델의 사용법을 Claude, ChatGPT 등에 복사
| 토큰 종류 | 크레딧 | 달러 환산 |
|---|---|---|
| 입력 토큰 | 18,580 | $12.39 |
| 출력 토큰 | 92,900 | $61.93 |
| 캐시된 토큰 | 1,858 | $1.24 |
* 1,500 크레딧 ≈ $1 (실제 요금은 사용량에 따라 달라질 수 있습니다)
curl -X POST "https://api.core.today/llm/openai/v1/chat/completions" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer cdt_your_api_key" \
-d '{
"model": "gpt-6-astra",
"messages": [
{
"role": "system",
"content": "You are a senior software engineer. Think step by step."
},
{
"role": "user",
"content": "Design a migration plan from a monolithic Express API to modular services, then generate the first service's code with tests."
}
],
"reasoning_effort": "high",
"max_completion_tokens": 8000
}'| 파라미터 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
messages | array | Yes | - | role과 content를 포함한 메시지 객체 배열 |
model | string | Yes | gpt-6-astra | 모델 식별자 |
max_completion_tokens | integer | No | 4096 | 응답의 최대 토큰 수 (최대 128000). 주의: max_tokens 대신 max_completion_tokens 사용 |
reasoning_effort | string | No | medium | 추론 노력 수준: low, medium, high, xhigh, max lowmediumhighxhighmax |
temperature | float | No | 1.0 | 샘플링 온도 (0-2) |
stream | boolean | No | false | Server-Sent Events 스트리밍 활성화 |
GPT-6 Astra를 활용한 다단계 코드 추론
curl -X POST "https://api.core.today/llm/openai/v1/chat/completions" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer cdt_your_api_key" \
-d '{
"model": "gpt-6-astra",
"messages": [
{
"role": "system",
"content": "You are a senior software engineer. Think step by step."
},
{
"role": "user",
"content": "Design a migration plan from a monolithic Express API to modular services, then generate the first service's code with tests."
}
],
"reasoning_effort": "high",
"max_completion_tokens": 8000
}'큰 시스템 프롬프트를 90% 할인된 캐시 가격으로 재사용
curl -X POST "https://api.core.today/llm/openai/v1/chat/completions" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer cdt_your_api_key" \
-d '{
"model": "gpt-6-astra",
"messages": [
{
"role": "system",
"content": "<large repeated system prompt or codebase context>"
},
{
"role": "user",
"content": "Summarize the open TODOs and rank them by risk."
}
],
"temperature": 0.3,
"max_completion_tokens": 4000
}'