Google의 최신 Flash 티어 주력 모델입니다. 모든 입력 모달리티(텍스트·이미지·비디오·오디오·PDF)가 백만 토큰당 $1.50/$9의 동일 요율이며 롱 컨텍스트 할증이 없습니다. 1M 토큰 컨텍스트 윈도우와 65,536 최대 출력 토큰, 90% 할인된 캐시 입력을 지원합니다.
콘솔의 Playground에서 별도 코드 없이 이 모델을 즉시 테스트할 수 있어요
이 모델의 사용법을 Claude, ChatGPT 등에 복사
| 토큰 종류 | 크레딧 | 달러 환산 |
|---|---|---|
| 입력 토큰 | 2,787 | $1.86 |
| 출력 토큰 | 16,722 | $11.15 |
| 캐시된 토큰 | 279 | $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.5-flash",
"messages": [
{
"role": "user",
"content": "Summarize the attached contract PDF and list every deadline it mentions."
}
],
"max_tokens": 2000
}'| 파라미터 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
messages | array | Yes | - | 메시지 객체 배열 (OpenAI 형식). 텍스트·이미지·오디오·비디오·PDF 입력을 지원합니다. |
temperature | float | No | 1 | 샘플링 온도 (0-2). 낮을수록 결정적인 출력을 생성합니다. |
max_tokens | integer | No | - | 최대 출력 토큰 수. 최대값: 65,536. 컨텍스트 윈도우 (입력+출력): 1M 토큰. |
response_format | object | No | - | 출력 형식 제약. 구조화된 JSON 출력에는 `{ type: 'json_object' }`를 사용하세요. |
stream | boolean | No | false | Server-Sent Events 스트리밍 활성화. |
텍스트와 동일 요율로 PDF 분석
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.5-flash",
"messages": [
{
"role": "user",
"content": "Summarize the attached contract PDF and list every deadline it mentions."
}
],
"max_tokens": 2000
}'스트리밍 기반 고처리량 어시스턴트 응답
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.5-flash",
"messages": [
{
"role": "user",
"content": "Explain the difference between ECS and EKS briefly."
}
],
"stream": true,
"max_tokens": 800
}'