Skip to main content
Google Gemini models offer large context windows (up to 1M tokens), strong multilingual capability, and competitive latency. gemini-2.5-flash is the stable production recommendation for most agents — good speed-quality balance. The Gemini 3.x series is the newer generation with higher capability.

Quick config

"llm_agent": {
  "agent_type": "simple_llm_agent",
  "agent_flow_type": "streaming",
  "llm_config": {
    "provider": "google",
    "model": "gemini-2.5-flash",
    "max_tokens": 150,
    "temperature": 0.2
  }
}
To use your own Google API key, connect it at platform.bolna.ai/auth/google.

Supported models

ModelContextBest forNotes
gemini-3.5-flash1M tokensComplex reasoning, agent tasksLatest generation; stable
gemini-3.1-pro1M tokensComplex tasks, highest qualityGemini 3 premium model
gemini-3.1-flash-lite1M tokensBudget, high-volume agentsFastest in Gemini 3 family
gemini-2.5-pro1M tokensAdvanced reasoningGemini 2.5 premium; stable
gemini-2.5-flash1M tokensMost production voice agentsRecommended — proven, stable, fast
gemini-2.5-flash-lite1M tokensCost-sensitive high volumeCheapest in 2.5 family
Recommendation: Use gemini-2.5-flash for proven production stability. Try gemini-3.5-flash or gemini-3.1-flash-lite for improved performance on newer deployments.

Key settings

SettingTypeRecommendedDescription
providerstring"google"Provider name
modelstring"gemini-2.5-flash"Model to use
max_tokensinteger150Cap on response length — keep short for voice
temperaturefloat0.2Lower = more deterministic
agent_flow_typestring"streaming"Always "streaming" for voice

Multilingual support

Gemini models have strong native multilingual capability. For Indian language agents (Hindi, Tamil, Bengali, etc.), Gemini is a good alternative to Sarvam if you need broader LLM capability alongside multilingual handling. Always set the language explicitly in your prompt — Gemini handles it well, but auto-detection adds latency.

FAQ

Both are stable. gemini-2.5-flash is the battle-tested choice with predictable performance. gemini-3.5-flash or gemini-3.1-flash-lite offer newer capability and are worth testing — especially for complex reasoning tasks. Switch once you’ve validated quality on your agent.
Comparable latency. Gemini has an edge on multilingual tasks and large-context scenarios (1M token window). GPT-5.4-mini has a slight edge on English instruction following consistency. Test both on your specific use case.
Yes. Connect at platform.bolna.ai/auth/google. API costs will be charged to your Google account.