Google의 최신 Flash 티어 모델입니다 (2026-09-02 출시). 1M 토큰 컨텍스트 윈도우와 65,536 최대 출력 토큰, 멀티모달 입력, Thinking·도구 사용을 지원하며, 가격은 백만 토큰당 입력 $1.50 / 출력 $7.50, 캐시 입력 $0.15/M입니다.
콘솔의 Playground에서 별도 코드 없이 이 모델을 즉시 테스트할 수 있어요
이 모델의 사용법을 Claude, ChatGPT 등에 복사
| 토큰 종류 | 크레딧 | 달러 환산 |
|---|---|---|
| 입력 토큰 | 2,787 | $1.86 |
| 출력 토큰 | 13,935 | $9.29 |
| 캐시된 토큰 | 278.7 | $0.19 |
* 1,500 크레딧 ≈ $1 (실제 요금은 사용량에 따라 달라질 수 있습니다)
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.8-flash",
"messages": [
{
"role": "user",
"content": "Explain the difference between ECS and EKS briefly."
}
],
"stream": true,
"max_tokens": 800
}'| 파라미터 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
messages | array | Yes | - | 메시지 객체 배열 (OpenAI 형식). 텍스트·이미지·오디오·비디오·PDF 입력을 지원합니다. |
temperature | float | No | 1 | 샘플링 온도 (0-2). 낮을수록 결정적인 출력을 생성합니다. |
max_tokens | integer | No | - | 최대 출력 토큰 수. 최대값: 65,536. 컨텍스트 윈도우 (입력+출력): 1,048,576 토큰. |
response_format | object | No | - | 출력 형식 제약. 구조화된 JSON 출력에는 `{ type: 'json_object' }`를 사용하세요. |
stream | boolean | No | false | 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.8-flash",
"messages": [
{
"role": "user",
"content": "Explain the difference between ECS and EKS briefly."
}
],
"stream": true,
"max_tokens": 800
}'긴 문서에서 구조화된 필드 추출
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.8-flash",
"messages": [
{
"role": "user",
"content": "Summarize the attached contract PDF and list every deadline it mentions."
}
],
"response_format": {
"type": "json_object"
},
"max_tokens": 2000
}'