Skip to main content
Google Cloud Documentation
Technology areas
  • AI and ML
  • Application development
  • Application hosting
  • Compute
  • Data analytics and pipelines
  • Databases
  • Distributed, hybrid, and multicloud
  • Industry solutions
  • Migration
  • Networking
  • Observability and monitoring
  • Security
  • Storage
Cross-product tools
  • Access and resources management
  • Costs and usage management
  • Infrastructure as code
  • SDK, languages, frameworks, and tools
/
Console
  • English
  • Deutsch
  • Español – América Latina
  • Français
  • Indonesia
  • Italiano
  • Português – Brasil
  • עברית
  • 中文 – 简体
  • 中文 – 繁體
  • 日本語
  • 한국어
Sign in
  • Gemini Enterprise Agent Platform
Start free
Overview Studio Agents Models Notebooks
  • Agent Platform
  • Generative AI
Engineering Blog
Google Cloud Documentation
  • Technology areas
    • More
    • Overview
    • Studio
    • Agents
    • Models
    • Notebooks
    • Pricing
      • More
    • Engineering Blog
  • Cross-product tools
    • More
  • Console
  • Overview
  • Beginner's guide
  • Get started
  • Get started with Agent Platform
  • Develop Gemini API code with the Gen AI SDK
  • Connect to the Knowledge MCP server
  • Get an API key
  • Configure application default credentials
  • Migrate from Google AI Studio to Agent Platform
  • Get started with Gemini 3
  • Google GenAI libraries
  • Generative AI cookbook
  • Access Gemini models using OpenAI libraries
  • Express mode
    • Overview
    • Console tutorial
    • API tutorial
  • Select models
    • Model Garden
    • Overview of Model Garden
    • Use models in Model Garden
    • Test model capabilities
    • Google Models
    • All Google models
    • Gemini
      • Migrate to the latest Gemini models
      • Pro
      • 3.1 Pro
      • 3 Pro Image
      • 2.5 Pro
      • Flash
      • Gemini Omni Flash
      • 3.7 Flash
      • 3.6 Flash
      • 3.5 Flash
      • 3.1 Flash Image
      • 3 Flash
      • 2.5 Flash
      • 2.5 Flash Image
      • 2.5 Flash Live API
      • Flash-Lite
      • 3.5 Flash-Lite
      • 3.1 Flash-Lite Image
      • 3.1 Flash-Lite
      • 2.5 Flash-Lite
      • Embedding
      • Gemini Embedding 2
      • Robotics
      • Gemini Robotics ER 2
        • Overview
        • Spatial reasoning
        • Agentic capabilities
        • Task orchestration
        • Video understanding
    • Veo
      • Veo 2
      • Veo 3
      • Veo 3.1
    • Lyria
      • Lyria 2
      • Lyria 3
    • Virtual Try-On
    • Model versions
    • Partner Models
    • Partner models overview
    • Claude
      • Overview
      • Request predictions
      • Quotas for Anthropic Claude models
      • Batch predictions
      • Structured outputs
      • Prompt caching
      • Count tokens
      • Web search
      • Safety classifiers
      • Model details
      • Claude Opus 5
      • Claude Sonnet 5
      • Claude Fable 5
      • Claude Opus 4.8
      • Claude Opus 4.7
      • Claude Sonnet 4.6
      • Claude Opus 4.6
      • Claude Opus 4.5
      • Claude Sonnet 4.5
      • Claude Opus 4.1
      • Claude Haiku 4.5
      • Claude Opus 4
      • Claude Sonnet 4
    • Grok
      • Overview
      • Responses API
      • Function calling
      • Structured output
      • Reasoning
      • Model details
      • Grok 4.1 Fast
      • Grok 4.20
      • Grok 4.3
    • Mistral AI
      • Overview
      • Model details
      • Mistral Medium 3
      • Mistral OCR (25.05)
      • Mistral Small 3.1 (25.03)
      • Codestral 2
    • Deploy partner models from Model Garden
    • Partner model deprecations
    • Open Models
    • Overview
    • AlphaFold 3
    • AlphaGenome
    • DeepSeek
      • Overview
      • DeepSeek-V3.2
      • DeepSeek-V3.1
      • DeepSeek-R1-0528
      • DeepSeek-OCR
    • Embedding (e5)
      • Multilingual E5 Small
      • Multilingual E5 Large
    • Google Gemma
      • Model-as-a-Service (MaaS)
      • Gemma-4-26B-A4B-IT MaaS
      • Use Gemma
      • Tutorial: Deploy and inference Gemma (GPU)
      • Tutorial: Deploy and inference Gemma (TPU)
    • Kimi
      • Overview
      • Kimi K2 Thinking
    • Llama
      • Overview
      • Request predictions
      • Model details
      • Llama 4 Maverick
      • Llama 4 Scout
      • Llama 3.3
    • MiniMax
      • Overview
      • MiniMax M2
    • OpenAI
      • Overview
      • OpenAI gpt-oss-120b
      • OpenAI gpt-oss-20b
    • Qwen
      • Overview
      • Qwen 3 Next Instruct 80B
      • Qwen 3 Next Thinking 80B
      • Qwen 3 Coder
      • Qwen 3 235B
    • ZAI.org
      • Overview
      • GLM 5
      • GLM 4.7
    • Managed open models (MaaS)
      • Overview
      • Use open models via Model as a Service (MaaS)
      • Grant access to open models
      • API
      • Call MaaS APIs for open models
      • Function calling
      • Thinking
      • Structured output
      • Batch prediction
      • Open model deprecations
    • Self-deployed open models
      • Overview
      • Deploy open models
        • Deploy open models from Model Garden
        • Deploy open models with prebuilt containers
        • Deploy open models with a custom vLLM container
        • Deploy models with custom weights
      • Use Hugging Face Models
      • Tutorials
        • Optimize model performance with advanced features in Model Garden
        • Hex-LLM
        • Comprehensive guide to vLLM for Text and Multimodal LLM Serving (GPU)
        • vLLM TPU
        • xDiT
        • Deploy Llamma 3 models with SpotVM and Reservations
  • Build
    • Prompt design
    • Introduction to prompting
    • Prompting strategies
      • Overview
      • Give clear and specific instructions
      • Use system instructions
      • Include few-shot examples
      • Add contextual information
      • Structure prompts
      • Compare prompts
      • Instruct the model to explain its reasoning
      • Break down complex tasks
      • Experiment with parameter values
      • Prompt iteration strategies
    • Task-specific prompt guidance
      • Design multimodal prompts
      • Design chat prompts
    • Capabilities
    • Safety
      • Overview
      • Responsible AI
      • System instructions for safety
      • Configure content filters
      • Gemini for safety filtering and content moderation
      • Abuse monitoring
      • Process blocked responses
      • Content Credentials
      • AI Content Detection API
    • Text and code generation
      • Text generation
      • System instructions
      • Structured output
      • Content generation parameters
    • Image generation
      • Generate images with Gemini
      • Generate images from video with Gemini
      • Edit images with Gemini
      • Gemini image generation best practices
      • Generate Virtual Try-On images
      • Gemini image generation limitations
      • Responsible AI and usage for Gemini image generation
      • Imagen documentation
    • Video generation
      • Overview
      • Text to video
      • First frame image to video
      • First and last frames to video
      • Ingredients to videos with image references
      • Extend videos
      • Insert objects
      • Remove objects
      • Prompt guide
      • Veo best practices
      • Turn off Veo's prompt rewriter
      • Responsible AI for Veo
    • Music generation
      • Introduction to Lyria
      • Generate music using Lyria
      • Lyria prompt guide
    • Media analysis
      • Image understanding
      • Video understanding
      • Audio understanding
      • Document understanding
      • Bounding box detection
    • URL context
    • Thinking
      • Overview
      • Thought signatures
      • Prompting guide
    • Live API
      • Overview
      • Get started
        • Get started using the Gen AI SDK
        • Get started using WebSockets
        • Get started using ADK
      • Start and manage live sessions
      • Send audio and video streams
      • Configure language and voice
      • Configure Gemini capabilities
      • Asynchronous function calling
      • Best practices with Live API
      • Troubleshooting Live API
      • Demo apps and resources
    • Embeddings
      • Overview
      • Text embeddings
        • Get text embeddings
        • Choose an embeddings task type
      • Get multimodal embeddings
      • Get batch embeddings inferences
    • Translation
    • Generate speech from text
    • Transcribe speech
    • Model tools
    • Code execution
    • Computer use
    • Function calling
    • Grounding
      • Overview
      • Grounding with Google Search
      • Grounding with Google Maps
      • Grounding with Agent Search
      • Grounding with your search API
      • Grounding responses using RAG
      • Grounding with Elasticsearch
      • Grounding with Parallel web search
      • Grounding with Exa web search
      • Web Grounding for Enterprise
    • Development tools
    • Use AI-powered prompt writing tools
      • Overview
      • Optimize prompts
        • Overview
        • Zero-shot optimizer
        • Few-shot optimizer
        • Data-driven optimizer
      • Use prompt templates
    • Model tuning
    • Introduction to tuning
    • Tuning Gemini models
      • Supervised fine-tuning
        • About supervised fine-tuning
        • Prepare your data
        • Use supervised fine-tuning
        • Supported modalities
          • Text tuning
          • Document tuning
          • Image tuning
          • Audio tuning
          • Video tuning
          • Tune function calling
      • Reinforcement learning fine-tuning
        • About reinforcement learning fine-tuning
        • Quick start
        • Reinforcement learning fine-tuning job
          • Overview
          • Tuning dataset
          • Hyperparameters
          • Reward functions
          • Metrics and monitoring
        • Continuous tuning
      • Preference tuning
        • About preference tuning
        • Prepare your data
        • Use preference tuning
      • Use tuning checkpoints
      • Use continuous tuning
      • Tuning recommendations with LoRA and QLoRA
    • Open models
      • Supervised and distillation fine-tuning
    • Embeddings models
      • Tune text embeddings models
    • Translation models
      • About supervised fine-tuning
      • Prepare your data
      • Use supervised fine-tuning
    • Migrate
    • Call Agent Platform models using OpenAI libraries
      • Overview
      • Authenticate
      • Examples
      • Migrate from OpenAI SDK
  • Evaluate
    • Overview
    • Tutorial: Perform evaluation using the console
    • Perform evaluation using the GenAI Client in Agent Platform SDK
      • Tutorial: Evaluate models using the GenAI Client in Agent Platform SDK
      • Define your evaluation metrics
        • Define your evaluation metrics
        • Details for managed rubric-based metrics
      • Prepare your evaluation dataset
      • Run an evaluation
      • View and interpret evaluation results
      • Evaluate agents
    • Alternative evaluation methods