Skip to content

Build AI methods with your coding agent, then run them anywhere: as an MCP for chatbots, as a webapp for people, or via API for your software.

1.7 KB
Raw Blame
################################################################################
# VertexAI Backend Configuration
################################################################################
#
# This file defines the model specifications for Google VertexAI models.
# It contains model definitions for Gemini language models
# accessible through the Google VertexAI API.
#
# Configuration structure:
# - Each model is defined in its own section with the model name as the header
# - Headers with dots must be quoted (e.g., ["gemini-2.5-pro"])
# - Model costs are in USD per million tokens (input/output)
#
# Documentation: https://docs.pipelex.com
# Support: https://go.pipelex.com/discord
#
################################################################################

################################################################################
# MODEL DEFAULTS
################################################################################

[defaults]
model_type = "llm"
sdk = "openai"
structure_method = "instructor/vertexai_tools"
thinking_mode = "none"

################################################################################
# LANGUAGE MODELS
################################################################################

# --- Gemini 2.5 Series --------------------------------------------------------
["gemini-2.5-pro"]
model_id = "google/gemini-2.5-pro"
inputs = ["text", "images"]
outputs = ["text", "structured"]
max_prompt_images = 3000
costs = { input = 1.25, output = 10.0 }

["gemini-2.5-flash"]
model_id = "google/gemini-2.5-flash"
inputs = ["text", "images"]
outputs = ["text", "structured"]
max_prompt_images = 3000
costs = { input = 0.30, output = 2.50 }