Module google

Module google 

Source

Constantsยง

CACHING_MODELS
Models that support context caching (min 2048 tokens required) Context caching reduces costs for repeated API calls with similar contexts Reference: https://ai.google.dev/gemini-api/docs/caching
CODE_EXECUTION_MODELS
Models that support code execution (Python) Code execution allows models to write and execute Python code Reference: https://ai.google.dev/gemini-api/docs/code-execution
DEFAULT_MODEL
Default model - using stable version for production reliability
EXTENDED_THINKING_MODELS
Models that support Gemini 3 extended thinking levels (minimal, medium) Only Gemini 3 Flash supports these additional levels beyond low/high
GEMINI_2_5_FLASH
GEMINI_2_5_FLASH_LITE
GEMINI_2_5_FLASH_PREVIEW
GEMINI_2_5_PRO
GEMINI_3_FLASH_PREVIEW
GEMINI_3_PRO_IMAGE_PREVIEW
GEMINI_3_PRO_PREVIEW
IMAGE_GENERATION_MODELS
Models supporting image generation
REASONING_MODELS
Models that support thinking/reasoning capability with configurable thinking_level Based on: https://ai.google.dev/gemini-api/docs/gemini-3 Gemini 3 Pro/Flash: supports low, high (default) Gemini 3 Flash only: also supports minimal, medium
SUPPORTED_MODELS