Back to Models
G

Gemini 1.5 Pro

Gemini
by Google

Mid-generation multimodal model with 2M token context. Strong at long-document and video understanding.

Feb 15, 2024

Specifications

Context Length
2M
2,000,000 tokens
Input Price
$1.25
per 1M tokens
Output Price
$5.00
per 1M tokens
Modalities
2
text→text, image+text→text

Capabilities

text generationchatfunction callingvisioncode

API Usage

1Router is fully OpenAI-compatible. Just set the base URL and use this model ID:

google/gemini-1.5-pro
cURL
curl https://api.1router.com/v1/chat/completions \
  -H "Authorization: Bearer $ROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemini-1.5-pro",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'