Ultra-lightweight version of Gemini 2.0 Flash optimized for maximum speed and minimal cost. Perfect for high-volume, latency-sensitive applications.
Copy usage instructions for Claude, ChatGPT, or other AI
| Token Type | Credits | USD Equivalent |
|---|---|---|
| Input Tokens | 150 | $0.15 |
| Output Tokens | 600 | $0.60 |
* 1 credit โ $0.001 (actual charges may vary based on usage)
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
}'| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
messages | array | Yes | - | Array of message objects (OpenAI format) |
temperature | float | No | 1 | Sampling temperature (0-2) |
max_tokens | integer | No | - | Maximum output tokens |
Fast text classification
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