Claude Sonnet 4.5의 후속 모델입니다. 복잡한 추론, 미묘한 이해, 코딩 작업에서 최고 수준의 성능과 탁월한 지시 따르기 능력을 제공하는 Anthropic의 프론티어 Sonnet 등급 모델이며, 토큰 가격은 Sonnet 4.5와 동일합니다.
콘솔의 Playground에서 별도 코드 없이 이 모델을 즉시 테스트할 수 있어요
이 모델의 사용법을 Claude, ChatGPT 등에 복사
| 토큰 종류 | 크레딧 | 달러 환산 |
|---|---|---|
| 입력 토큰 | 5,574 | $3.72 |
| 출력 토큰 | 27,870 | $18.58 |
| 캐시된 토큰 | 557.4 | $0.37 |
* 1,500 크레딧 ≈ $1 (실제 요금은 사용량에 따라 달라질 수 있습니다)
curl -X POST "https://api.core.today/llm/anthropic/v1/messages" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer cdt_your_api_key" \
-d '{
"model": "claude-sonnet-4-6",
"max_tokens": 4000,
"system": "You are an expert analyst. Provide detailed, structured analysis.",
"messages": [
{
"role": "user",
"content": "Analyze the key themes and implications of this research paper: [paper text]"
}
]
}'| 파라미터 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
messages | array | Yes | - | role과 content를 포함한 메시지 객체 배열 |
model | string | Yes | claude-sonnet-4-6 | 모델 식별자 |
max_tokens | integer | Yes | - | 응답의 최대 토큰 수 (필수, 최대 16384) |
system | string | No | - | 동작 설정을 위한 시스템 프롬프트 |
temperature | float | No | 1.0 | 샘플링 온도 (0-1) |
stream | boolean | No | false | 스트리밍 응답 활성화 |
tools | array | No | - | 모델이 사용할 수 있는 도구 목록 |
복잡한 문서 분석
curl -X POST "https://api.core.today/llm/anthropic/v1/messages" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer cdt_your_api_key" \
-d '{
"model": "claude-sonnet-4-6",
"max_tokens": 4000,
"system": "You are an expert analyst. Provide detailed, structured analysis.",
"messages": [
{
"role": "user",
"content": "Analyze the key themes and implications of this research paper: [paper text]"
}
]
}'프로덕션 품질 코드 생성
curl -X POST "https://api.core.today/llm/anthropic/v1/messages" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer cdt_your_api_key" \
-d '{
"model": "claude-sonnet-4-6",
"max_tokens": 4000,
"messages": [
{
"role": "user",
"content": "Create a TypeScript React component for a data table with sorting, filtering, and pagination. Use modern best practices."
}
],
"temperature": 0.3
}'Claude와 함께 도구/함수 사용
curl -X POST "https://api.core.today/llm/anthropic/v1/messages" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer cdt_your_api_key" \
-d '{
"model": "claude-sonnet-4-6",
"max_tokens": 1000,
"messages": [
{
"role": "user",
"content": "Look up the current stock price of Apple."
}
],
"tools": [
{
"name": "get_stock_price",
"description": "Get the current stock price for a given symbol",
"input_schema": {
"type": "object",
"properties": {
"symbol": {
"type": "string",
"description": "Stock ticker symbol"
}
},
"required": [
"symbol"
]
}
}
]
}'