Google's most advanced reasoning model with state-of-the-art multimodal understanding, PhD-level reasoning, and leading coding performance.
Copy usage instructions for Claude, ChatGPT, or other AI
| Token Type | Credits | USD Equivalent |
|---|---|---|
| Input Tokens | 3.6 | $0.00 |
| Output Tokens | 21.6 | $0.02 |
* 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-3-flash",
"messages": [
{
"role": "user",
"content": "A researcher has 5 compounds. Compound A reacts with B to form C. C reacts with D only in the presence of a catalyst E. If only 3g of E is available and each reaction consumes 1g of catalyst, what is the maximum yield of the final product if we start with 10g each of A, B, and D?"
}
],
"max_tokens": 4096,
"temperature": 0.5
}'| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
messages | array | Yes | - | Array of message objects (OpenAI format) |
temperature | float | No | 1 | Sampling temperature (0-2) |
top_p | float | No | 0.95 | Nucleus sampling parameter |
max_tokens | integer | No | - | Maximum output tokens |
Solve a complex multi-step reasoning problem
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-flash",
"messages": [
{
"role": "user",
"content": "A researcher has 5 compounds. Compound A reacts with B to form C. C reacts with D only in the presence of a catalyst E. If only 3g of E is available and each reaction consumes 1g of catalyst, what is the maximum yield of the final product if we start with 10g each of A, B, and D?"
}
],
"max_tokens": 4096,
"temperature": 0.5
}'Review and improve code with expert-level analysis
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-flash",
"messages": [
{
"role": "system",
"content": "You are a senior software engineer. Provide detailed code review with severity levels and concrete fixes."
},
{
"role": "user",
"content": "Review this Python function for performance issues and security vulnerabilities, and suggest improvements."
}
],
"max_tokens": 2000,
"temperature": 0.3
}'POST /llm/gemini/v1beta/openai/chat/completions