Google's production-ready model with excellent balance of capability and cost. Features 2M token context window for massive document processing.
| Token Type | Credits | USD Equivalent |
|---|---|---|
| Input Tokens | 1,250 | $1.25 |
| Output Tokens | 5,000 | $5.00 |
* 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-1.5-pro",
"input": {
"model": "gemini-1.5-pro",
"messages": [
{
"role": "user",
"content": "Analyze the themes, character development, and narrative structure of this novel: [full book text]"
}
]
}
}'| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
messages | array | Yes | - | Array of message objects |
temperature | float | No | 1.0 | Sampling temperature |
max_tokens | integer | No | - | Maximum output tokens |
Analyze entire books
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"model": "gemini-1.5-pro",
"input": {
"model": "gemini-1.5-pro",
"messages": [
{
"role": "user",
"content": "Analyze the themes, character development, and narrative structure of this novel: [full book text]"
}
]
}
}'POST /llm/openai/v1/chat/completions