The company also has enabled code execution for Gemini 1.5 Pro and Gemini 1.5 Flash, allowing the models to generate and run Python code and learn from the results. Credit: Shutterstock Google has opened access to the 2-million-token context window of the Gemini 1.5 Pro AI model. The company also is giving developers access to code execution capabilities in the Gemini API and making the Gemma 2 model available in Google AI Studio. These announcements were made on June 27. The 2-million-token context window of Gemini 1.5 Pro, previously available via a waitlist, now is available for all developers. Google noted that as the context window grows, so does the potential for input cost. To help developers cut costs for tasks that use the same tokens across multiple prompts, Google has introduced context caching in the Gemini API for Gemini 1.5 Pro and Gemini 1.5 Flash. To unlock capabilities for math and data reasoning for developers, Google also has enabled code execution in Gemini 1.5 Pro and Gemini 1.5 Flash. The code execution feature allows the model to run Python code and learn iteratively from results until a final desired input is reached. This is considered a first step forward with code execution as a model capability. It is available via the Gemini API and in Google AI Studio under “advanced settings.” Google also said it has made the Gemma 2 model available in Google AI Studio for experimentation, and it is working to offer tuning for Gemini 1.5 Flash to all developers. Text tuning in Gemini 1.5 Flash now is ready for red teaming and will be rolled out gradually to all developers. All developers will have access to Gemini 1.5 Flash tuning through the Gemini API and in Google AI Studio by mid-July, the company said. Related content analysis Beyond the usual suspects: 5 fresh data science tools to try today The mid-month report includes quick tips for easier Python installation, a new VS Code-like IDE just for Python and R users, and five newer data science tools you won't want to miss. By Serdar Yegulalp Jul 12, 2024 2 mins Python Programming Languages Software Development analysis Generative AI won’t fix cloud migration You’ve probably heard how generative AI will solve all cloud migration problems. It’s not that simple. Generative AI could actually make it harder and more costly. By David Linthicum Jul 12, 2024 5 mins Generative AI Artificial Intelligence Cloud Computing news HR professionals trust AI recommendations HireVue survey finds 73% of HR professionals trust AI to make candidate recommendations, while 75% of workers are opposed to AI making hiring decisions. By Paul Krill Jul 11, 2024 3 mins Technology Industry Careers how-to Safety off: Programming in Rust with `unsafe` What does it mean to write unsafe code in Rust, and what can you do (and not do) with the 'unsafe' keyword? The facts may surprise you. By Serdar Yegulalp Jul 11, 2024 8 mins Rust Programming Languages Software Development Resources Videos