Anthropic의 가장 지능적인 모델입니다. 복잡한 추론, 미묘한 이해, 코딩 작업에서 최고 수준이며 뛰어난 지시 따르기 능력을 제공합니다.
| 토큰 종류 | 크레딧 | 달러 환산 |
|---|---|---|
| 입력 토큰 | 3,000 | $3.00 |
| 출력 토큰 | 15,000 | $15.00 |
| 캐시된 토큰 | 300 | $0.30 |
* 1 크레딧 ≈ $0.001 (실제 요금은 사용량에 따라 달라질 수 있습니다)
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"model": "claude-3.5-sonnet",
"input": {
"model": "claude-3-5-sonnet-20241022",
"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-3-5-sonnet-20241022 | 모델 식별자 |
max_tokens | integer | Yes | - | 응답의 최대 토큰 수 (필수, 최대 8192) |
system | string | No | - | 동작 설정을 위한 시스템 프롬프트 |
temperature | float | No | 1.0 | 샘플링 온도 (0-1) |
stream | boolean | No | false | 스트리밍 응답 활성화 |
tools | array | No | - | 모델이 사용할 수 있는 도구 목록 |
복잡한 문서 분석
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"model": "claude-3.5-sonnet",
"input": {
"model": "claude-3-5-sonnet-20241022",
"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/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"model": "claude-3.5-sonnet",
"input": {
"model": "claude-3-5-sonnet-20241022",
"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/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"model": "claude-3.5-sonnet",
"input": {
"model": "claude-3-5-sonnet-20241022",
"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"
]
}
}
]
}
}'POST /llm/anthropic/v1/messages