비용 효율적이고 빠른 모델로 강력한 성능을 제공합니다. 절대적인 성능보다 속도와 비용이 중요한 대량 작업에 최적입니다.
| 토큰 종류 | 크레딧 | 달러 환산 |
|---|---|---|
| 입력 토큰 | 150 | $0.15 |
| 출력 토큰 | 600 | $0.60 |
| 캐시된 토큰 | 75 | $0.07 |
* 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": "gpt-4o-mini",
"input": {
"model": "gpt-4o-mini",
"messages": [
{
"role": "system",
"content": "Classify the sentiment of the following text as positive, negative, or neutral. Respond with only the classification."
},
{
"role": "user",
"content": "The product arrived on time and works great!"
}
],
"temperature": 0
}
}'| 파라미터 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
messages | array | Yes | - | 메시지 객체 배열 |
temperature | float | No | 1.0 | 샘플링 온도 (0-2) |
max_tokens | integer | No | - | 최대 응답 토큰 수 |
stream | boolean | No | false | 스트리밍 활성화 |
고객 피드백 분류
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"model": "gpt-4o-mini",
"input": {
"model": "gpt-4o-mini",
"messages": [
{
"role": "system",
"content": "Classify the sentiment of the following text as positive, negative, or neutral. Respond with only the classification."
},
{
"role": "user",
"content": "The product arrived on time and works great!"
}
],
"temperature": 0
}
}'긴 텍스트 요약
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"model": "gpt-4o-mini",
"input": {
"model": "gpt-4o-mini",
"messages": [
{
"role": "user",
"content": "Summarize this article in 3 bullet points: [article text here]"
}
],
"max_tokens": 500
}
}'POST /llm/openai/v1/chat/completions