Skip to content

Google Gemini ​

Google's Gemini series. Natively multimodal, with text, image, audio and video input and long context. There are also image generation, text-to-speech, speech-to-text and embedding models.

Choosing a group ​

GroupPrice
geminiPay 20% of official price
gemini_imagePay 30% of official price
gemini_vertexPay 41.53% of official price
  • gemini: the most complete set of models, including image, speech and preview models.
  • gemini_vertex: sourced from Vertex AI.
  • gemini_image: image models only.

Prefer the native Gemini API, which gives full access to thinkingConfig, multimodal input, and image and speech output. Text models can also be called through Chat Completions.

bash
curl "https://api.codingrouter.ai/v1beta/models/gemini-3.5-flash:generateContent" \
  -H "x-goog-api-key: $CODINGROUTER_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "contents": [{"role": "user", "parts": [{"text": "Summarize the key points of this article: ..."}]}],
    "generationConfig": {"thinkingConfig": {"thinkingBudget": 1024}}
  }'

Choosing a model ​

TypeExample modelsDescription
Progemini-3.1-pro-previewComplex reasoning and coding
Flashgemini-3.5-flash, gemini-3.7-flash, gemini-3.8-flashBalance of speed, cost and capability
Flash Litegemini-3.5-flash-lite, gemini-3.1-flash-liteCheapest, for large batch tasks
Imagegemini-3-pro-image, gemini-3.1-flash-imageGenerate and edit images, see Image generation
Speech*-tts, gemini-3.5-transcribeText-to-speech, speech-to-text
Embeddinggemini-embedding-001Can also use the Embeddings API

Usage tips ​

  • Image models need IMAGE in generationConfig.responseModalities.
  • The request format of speech models matches Google's official speech generation documentation. Call them through the native API.
  • Models with preview in the name are previews; their behavior and price may change.

Representative models ​

ModelGroupGood for
gemini-3.1-pro-previewgemini, gemini_vertexComplex reasoning and coding
gemini-3.7-flashgemini, gemini_vertexCoding and agents
gemini-3.5-flashgemini, gemini_vertexBalance of speed and cost
gemini-3.5-flash-litegeminiLarge batches at low cost
gemini-3-pro-imagegemini_image, geminiImage generation and editing
gemini-3.8-flash-ttsgeminiText-to-speech
gemini-3.5-transcribegeminiSpeech-to-text
gemini-embedding-001geminiEmbeddings

For the full list and prices see the model square.