Google의 가장 빠르고 강력한 모델입니다. 100만 토큰 컨텍스트 윈도우, 네이티브 멀티모달 지원 및 실시간 기능을 제공합니다.
| 토큰 종류 | 크레딧 | 달러 환산 |
|---|---|---|
| 입력 토큰 | 75 | $0.07 |
| 출력 토큰 | 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": "gemini-2.0-flash",
"input": {
"model": "gemini-2.0-flash",
"messages": [
{
"role": "system",
"content": "You are a document analyst. Provide comprehensive analysis."
},
{
"role": "user",
"content": "Analyze this entire codebase and identify potential security vulnerabilities: [code files]"
}
],
"max_tokens": 4000
}
}'| 파라미터 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
messages | array | Yes | - | 메시지 객체 배열 (OpenAI 형식 지원) |
temperature | float | No | 1.0 | 샘플링 온도 (0-2) |
max_tokens | integer | No | - | 최대 출력 토큰 |
stream | boolean | No | false | 스트리밍 활성화 |
최대 1M 토큰까지 문서 분석
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"model": "gemini-2.0-flash",
"input": {
"model": "gemini-2.0-flash",
"messages": [
{
"role": "system",
"content": "You are a document analyst. Provide comprehensive analysis."
},
{
"role": "user",
"content": "Analyze this entire codebase and identify potential security vulnerabilities: [code files]"
}
],
"max_tokens": 4000
}
}'비디오 콘텐츠 분석
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"model": "gemini-2.0-flash",
"input": {
"model": "gemini-2.0-flash",
"messages": [
{
"role": "user",
"content": "Describe what's happening in this video and identify key moments."
}
]
}
}'POST /llm/openai/v1/chat/completions