일상적인 작업을 위한 빠르고 비용 효율적인 모델입니다. 대용량 애플리케이션을 위한 속도, 지능, 비용의 훌륭한 균형을 제공합니다.
| 토큰 종류 | 크레딧 | 달러 환산 |
|---|---|---|
| 입력 토큰 | 800 | $0.80 |
| 출력 토큰 | 4,000 | $4.00 |
| 캐시된 토큰 | 80 | $0.08 |
* 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-haiku",
"input": {
"model": "claude-3-5-haiku-20241022",
"max_tokens": 500,
"messages": [
{
"role": "user",
"content": "What are the main benefits of renewable energy?"
}
]
}
}'| 파라미터 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
messages | array | Yes | - | 메시지 객체 배열 |
max_tokens | integer | Yes | - | 응답의 최대 토큰 수 |
temperature | float | No | 1.0 | 샘플링 온도 (0-1) |
빠른 대화형 응답
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-haiku",
"input": {
"model": "claude-3-5-haiku-20241022",
"max_tokens": 500,
"messages": [
{
"role": "user",
"content": "What are the main benefits of renewable energy?"
}
]
}
}'POST /llm/anthropic/v1/messages