OpenAI의 가장 고급 추론 모델입니다. 확장된 사고 시간을 사용하여 과학, 코딩, 수학의 복잡한 문제를 뛰어난 정확도로 해결합니다.
| 토큰 종류 | 크레딧 | 달러 환산 |
|---|---|---|
| 입력 토큰 | 15,000 | $15.00 |
| 출력 토큰 | 60,000 | $60.00 |
| 캐시된 토큰 | 7,500 | $7.50 |
* 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": "o1",
"input": {
"model": "o1",
"messages": [
{
"role": "user",
"content": "Prove that there are infinitely many prime numbers using a proof by contradiction."
}
],
"reasoning_effort": "high"
}
}'| 파라미터 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
messages | array | Yes | - | 메시지 객체 배열 |
max_completion_tokens | integer | No | - | 완성을 위한 최대 토큰 (추론 토큰 포함) |
reasoning_effort | string | No | medium | 추론 노력 수준: low, medium, high lowmediumhigh |
고급 수학 문제 풀기
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"model": "o1",
"input": {
"model": "o1",
"messages": [
{
"role": "user",
"content": "Prove that there are infinitely many prime numbers using a proof by contradiction."
}
],
"reasoning_effort": "high"
}
}'최적 알고리즘 설계
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"model": "o1",
"input": {
"model": "o1",
"messages": [
{
"role": "user",
"content": "Design an efficient algorithm to find the longest increasing subsequence in an array. Explain the time complexity and provide Python code."
}
],
"max_completion_tokens": 4000
}
}'POST /llm/openai/v1/chat/completions