Google's fastest and most capable model. Features a massive 1M token context window, native multimodal support, and real-time capabilities.
| Token Type | Credits | USD Equivalent |
|---|---|---|
| Input Tokens | 75 | $0.07 |
| Output Tokens | 300 | $0.30 |
* 1 credit โ $0.001 (actual charges may vary based on usage)
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"model": "gemini-2.0-flash",
"input": {
"model": "gemini-2.0-flash",
"messages": [
{
"role": "system",
"content": "You are a document analyst. Provide comprehensive analysis."
},
{
"role": "user",
"content": "Analyze this entire codebase and identify potential security vulnerabilities: [code files]"
}
],
"max_tokens": 4000
}
}'| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
messages | array | Yes | - | Array of message objects (OpenAI format supported) |
temperature | float | No | 1.0 | Sampling temperature (0-2) |
max_tokens | integer | No | - | Maximum output tokens |
stream | boolean | No | false | Enable streaming |
Analyze documents up to 1M tokens
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"model": "gemini-2.0-flash",
"input": {
"model": "gemini-2.0-flash",
"messages": [
{
"role": "system",
"content": "You are a document analyst. Provide comprehensive analysis."
},
{
"role": "user",
"content": "Analyze this entire codebase and identify potential security vulnerabilities: [code files]"
}
],
"max_tokens": 4000
}
}'Analyze video content
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"model": "gemini-2.0-flash",
"input": {
"model": "gemini-2.0-flash",
"messages": [
{
"role": "user",
"content": "Describe what's happening in this video and identify key moments."
}
]
}
}'POST /llm/openai/v1/chat/completions