Google의 가장 빠르고 강력한 모델입니다. 100만 토큰 컨텍스트 윈도우, 네이티브 멀티모달 지원 및 실시간 기능을 제공합니다.
이 모델의 사용법을 Claude, ChatGPT 등에 복사
| 토큰 종류 | 크레딧 | 달러 환산 |
|---|---|---|
| 입력 토큰 | 75 | $0.07 |
| 출력 토큰 | 300 | $0.30 |
* 1 크레딧 ≈ $0.001 (실제 요금은 사용량에 따라 달라질 수 있습니다)
curl -X POST "https://api.core.today/llm/gemini/v1beta/openai/chat/completions" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer cdt_your_api_key" \
-d '{
"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/llm/gemini/v1beta/openai/chat/completions" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer cdt_your_api_key" \
-d '{
"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/llm/gemini/v1beta/openai/chat/completions" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer cdt_your_api_key" \
-d '{
"model": "gemini-2.0-flash",
"messages": [
{
"role": "user",
"content": "Describe what's happening in this video and identify key moments."
}
]
}'POST /llm/gemini/v1beta/openai/chat/completions