Google's Gemini 3.6 Flash (released 2026-07-21), an earlier release in the Gemini 3.x Flash line - newer Flash generations (3.7 and 3.8) are available. A 1M-token context window with 65,536 max output tokens, multimodal input, thinking and tool use, priced at $1.50 input / $7.50 output per million tokens with cached inputs at $0.15/M.
Test this model instantly in the Console Playground โ no code required
Copy usage instructions for Claude, ChatGPT, or other AI
| Token Type | Credits | USD Equivalent |
|---|---|---|
| Input Tokens | 2,787 | $1.86 |
| Output Tokens | 13,935 | $9.29 |
| Cached Tokens | 278.7 | $0.19 |
* 1,500 credits โ $1 (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-3.6-flash",
"messages": [
{
"role": "user",
"content": "Explain the difference between ECS and EKS briefly."
}
],
"stream": true,
"max_tokens": 800
}'| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
messages | array | Yes | - | Array of message objects (OpenAI format). Supports text, image, audio, video, and PDF inputs. |
temperature | float | No | 1 | Sampling temperature (0-2). Lower values produce more deterministic outputs. |
max_tokens | integer | No | - | Maximum output tokens. Max: 65,536. Context window (input + output): 1,048,576 tokens. |
response_format | object | No | - | Output format constraint. Use `{ type: 'json_object' }` for structured JSON output. |
stream | boolean | No | false | Enable Server-Sent Events streaming. |
High-throughput assistant responses with streaming
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.6-flash",
"messages": [
{
"role": "user",
"content": "Explain the difference between ECS and EKS briefly."
}
],
"stream": true,
"max_tokens": 800
}'Pull structured fields out of a long document
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.6-flash",
"messages": [
{
"role": "user",
"content": "Summarize the attached contract PDF and list every deadline it mentions."
}
],
"response_format": {
"type": "json_object"
},
"max_tokens": 2000
}'POST /llm/gemini/v1beta/openai/chat/completions