|
23 | 23 |
|
24 | 24 | Model = Union[ |
25 | 25 | Literal[ |
26 | | - # An agentic capability model designed for direct interface interaction, allowing Gemini to perceive and navigate digital environments. |
27 | | - "gemini-2.5-computer-use-preview-10-2025", |
28 | 26 | # Our first hybrid reasoning model which supports a 1M token context window and has thinking budgets. |
29 | 27 | "gemini-2.5-flash", |
30 | | - # Our native image generation model, optimized for speed, flexibility, and contextual understanding. Text input and output is priced the same as 2.5 Flash. |
31 | | - "gemini-2.5-flash-image", |
32 | | - # Our smallest and most cost effective model, built for at scale usage. |
33 | | - "gemini-2.5-flash-lite", |
34 | | - # The latest model based on Gemini 2.5 Flash lite optimized for cost-efficiency, high throughput and high quality. |
35 | | - "gemini-2.5-flash-lite-preview-09-2025", |
36 | | - # Our native audio models optimized for higher quality audio outputs with better pacing, voice naturalness, verbosity, and mood. |
37 | | - "gemini-2.5-flash-native-audio-preview-12-2025", |
38 | | - # The latest model based on the 2.5 Flash model. 2.5 Flash Preview is best for large scale processing, low-latency, high volume tasks that require thinking, and agentic use cases. |
39 | | - "gemini-2.5-flash-preview-09-2025", |
40 | | - # Our 2.5 Flash text-to-speech model optimized for powerful, low-latency controllable speech generation. |
41 | | - "gemini-2.5-flash-preview-tts", |
42 | 28 | # Our state-of-the-art multipurpose model, which excels at coding and complex reasoning tasks. |
43 | 29 | "gemini-2.5-pro", |
44 | | - # Our 2.5 Pro text-to-speech audio model optimized for powerful, low-latency speech generation for more natural outputs and easier to steer prompts. |
45 | | - "gemini-2.5-pro-preview-tts", |
| 30 | + # Gemma 4 26B A4B IT |
| 31 | + "gemma-4-26b-a4b-it", |
| 32 | + # Gemma 4 31B IT |
| 33 | + "gemma-4-31b-it", |
| 34 | + # Latest release of Gemini Flash |
| 35 | + "gemini-flash-latest", |
| 36 | + # Latest release of Gemini Flash-Lite |
| 37 | + "gemini-flash-lite-latest", |
| 38 | + # Latest release of Gemini Pro |
| 39 | + "gemini-pro-latest", |
| 40 | + # Our smallest and most cost effective model, built for at scale usage. |
| 41 | + "gemini-2.5-flash-lite", |
| 42 | + # Our native image generation model, optimized for speed, flexibility, and contextual understanding. Text input and output is priced the same as 2.5 Flash. |
| 43 | + "gemini-2.5-flash-image", |
46 | 44 | # Our most intelligent model built for speed, combining frontier intelligence with superior search and grounding. |
47 | 45 | "gemini-3-flash-preview", |
48 | | - # State-of-the-art image generation and editing model. |
49 | | - "gemini-3-pro-image-preview", |
50 | | - # Our most intelligent model with SOTA reasoning and multimodal understanding, and powerful agentic and vibe coding capabilities. |
51 | | - "gemini-3-pro-preview", |
52 | 46 | # Our latest SOTA reasoning model with unprecedented depth and nuance, and powerful multimodal understanding and coding capabilities. |
53 | 47 | "gemini-3.1-pro-preview", |
54 | | - # Pro-level visual intelligence with Flash-speed efficiency and reality-grounded generation capabilities. |
55 | | - "gemini-3.1-flash-image-preview", |
56 | | - # Our most cost-efficient model, optimized for high-volume agentic tasks, translation, and simple data processing. |
57 | | - "gemini-3.1-flash-lite", |
| 48 | + # Gemini 3.1 Pro Preview optimized for custom tool usage |
| 49 | + "gemini-3.1-pro-preview-customtools", |
58 | 50 | # Our most cost-efficient model, optimized for high-volume agentic tasks, translation, and simple data processing. |
59 | 51 | "gemini-3.1-flash-lite-preview", |
60 | | - # Gemini 3.1 Flash TTS: Powerful, low-latency speech generation. Enjoy natural outputs, steerable prompts, and new expressive audio tags for precise narration control. |
61 | | - "gemini-3.1-flash-tts-preview", |
| 52 | + # Our most cost-efficient model, optimized for high-volume agentic tasks, translation, and simple data processing. |
| 53 | + "gemini-3.1-flash-lite", |
| 54 | + # State-of-the-art image generation and editing model. |
| 55 | + "gemini-3-pro-image-preview", |
| 56 | + # Gemini 3 Pro Image |
| 57 | + "gemini-3-pro-image", |
| 58 | + # Gemini 3 Pro Image Preview |
| 59 | + "nano-banana-pro-preview", |
| 60 | + # Pro-level visual intelligence with Flash-speed efficiency and reality-grounded generation capabilities. |
| 61 | + "gemini-3.1-flash-image-preview", |
| 62 | + # Gemini 3.1 Flash Image. |
| 63 | + "gemini-3.1-flash-image", |
62 | 64 | # Our most intelligent model for sustained frontier performance in agentic and coding tasks. |
63 | 65 | "gemini-3.5-flash", |
64 | 66 | # Our low-latency, music generation model optimized for high-fidelity audio clips and precise rhythmic control. |
65 | 67 | "lyria-3-clip-preview", |
66 | 68 | # Our advanced, full-song generative model with deep compositional understanding, optimized for precise structural control and complex transitions across diverse musical styles. |
67 | 69 | "lyria-3-pro-preview", |
| 70 | + # Gemini Robotics-ER 1.6 Preview |
| 71 | + "gemini-robotics-er-1.6-preview", |
68 | 72 | ], |
69 | 73 | UnrecognizedStr, |
70 | 74 | ] |
|
0 commit comments