실시간 상호작용 및 라이브 스트리밍 시나리오에 최적화된 Gemini 3.1 Flash입니다. 전용 가격의 오디오 입력 지원과 함께 저지연 응답을 제공합니다.
이 모델의 사용법을 Claude, ChatGPT 등에 복사
| 토큰 종류 | 크레딧 | 달러 환산 |
|---|---|---|
| 입력 토큰 | 750 | $0.75 |
| 출력 토큰 | 4,500 | $4.50 |
* 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-3.1-flash-live-preview",
"messages": [
{
"role": "system",
"content": "You are a real-time assistant. Respond quickly and concisely."
},
{
"role": "user",
"content": "What are the key differences between HTTP/2 and HTTP/3?"
}
],
"max_tokens": 1000,
"stream": true
}'| 파라미터 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
messages | array | Yes | - | 메시지 객체 배열 (OpenAI 형식) |
temperature | float | No | 1 | 샘플링 온도 (0-2) |
top_p | float | No | 0.95 | 핵심 샘플링 파라미터 |
max_tokens | integer | No | - | 최대 출력 토큰 수 |
stream | boolean | No | true | Server-Sent Events 스트리밍 활성화 (라이브 사용 시 권장) |
실시간 스트리밍 대화
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-3.1-flash-live-preview",
"messages": [
{
"role": "system",
"content": "You are a real-time assistant. Respond quickly and concisely."
},
{
"role": "user",
"content": "What are the key differences between HTTP/2 and HTTP/3?"
}
],
"max_tokens": 1000,
"stream": true
}'POST /llm/gemini/v1beta/openai/chat/completions