최대 속도와 최소 비용을 위해 최적화된 Gemini 2.0 Flash의 초경량 버전입니다. 대량의 지연에 민감한 애플리케이션에 적합합니다.
이 모델의 사용법을 Claude, ChatGPT 등에 복사
| 토큰 종류 | 크레딧 | 달러 환산 |
|---|---|---|
| 입력 토큰 | 150 | $0.15 |
| 출력 토큰 | 600 | $0.60 |
* 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-lite",
"messages": [
{
"role": "system",
"content": "Classify the sentiment of the text as positive, negative, or neutral. Respond with just the label."
},
{
"role": "user",
"content": "The product works great but the delivery was slow."
}
],
"max_tokens": 10,
"temperature": 0
}'| 파라미터 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
messages | array | Yes | - | 메시지 객체 배열 (OpenAI 형식) |
temperature | float | No | 1 | 샘플링 온도 (0-2) |
max_tokens | integer | No | - | 최대 출력 토큰 수 |
빠른 텍스트 분류
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-lite",
"messages": [
{
"role": "system",
"content": "Classify the sentiment of the text as positive, negative, or neutral. Respond with just the label."
},
{
"role": "user",
"content": "The product works great but the delivery was slow."
}
],
"max_tokens": 10,
"temperature": 0
}'POST /llm/gemini/v1beta/openai/chat/completions