GPT-5의 초고속 경량 변형 모델입니다. 1M 토큰 컨텍스트 윈도우와 32K 출력 토큰을 갖추고 최소 비용으로 고처리량, 저지연 애플리케이션을 위해 설계되었습니다.
이 모델의 사용법을 Claude, ChatGPT 등에 복사
| 토큰 종류 | 크레딧 | 달러 환산 |
|---|---|---|
| 입력 토큰 | 100 | $0.10 |
| 출력 토큰 | 800 | $0.80 |
| 캐시된 토큰 | 25 | $0.03 |
* 1 크레딧 ≈ $0.001 (실제 요금은 사용량에 따라 달라질 수 있습니다)
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-5-nano",
"messages": [
{
"role": "system",
"content": "Classify the following customer message into one of these categories: billing, technical, general, feedback. Respond with only the category name."
},
{
"role": "user",
"content": "I was charged twice for my subscription last month and need a refund."
}
],
"max_completion_tokens": 50
}'| 파라미터 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
messages | array | Yes | - | role과 content를 포함한 메시지 객체 배열 |
model | string | Yes | gpt-5-nano | 모델 식별자 |
max_completion_tokens | integer | No | 4096 | 응답의 최대 토큰 수 (최대 32768). 주의: max_tokens 대신 max_completion_tokens 사용 |
reasoning_effort | string | No | medium | 추론 노력 수준: low, medium, high |
stream | boolean | No | false | Server-Sent Events 스트리밍 활성화 |
response_format | object | No | - | 응답 형식: JSON 모드의 경우 { type: 'json_object' } |
tools | array | No | - | 모델이 호출할 수 있는 도구(함수) 목록 |
GPT-5 Nano를 활용한 고속 텍스트 분류
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-5-nano",
"messages": [
{
"role": "system",
"content": "Classify the following customer message into one of these categories: billing, technical, general, feedback. Respond with only the category name."
},
{
"role": "user",
"content": "I was charged twice for my subscription last month and need a refund."
}
],
"max_completion_tokens": 50
}'빠른 구조화된 데이터 추출
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-5-nano",
"messages": [
{
"role": "system",
"content": "Extract key information from the text and return as JSON."
},
{
"role": "user",
"content": "Meeting scheduled with John Smith from Acme Corp on March 15, 2026 at 2:00 PM in Conference Room B to discuss Q1 budget review."
}
],
"response_format": {
"type": "json_object"
},
"max_completion_tokens": 500
}'POST /llm/openai/v1/chat/completions