- Process large volumes of data with Vertex AI models
- Test your data with different foundation models
- Perform A/B testing with different foundation models
Before You Start
- Portkey API key and a Vertex virtual key in your workspace.
- A GCS bucket in the same region as your model +
aiplatform-service-agentpermission on the file. - (Only for Portkey-native batching) A Portkey File (
input_file_id). - Familiarity with the Create Batch OpenAPI spec.
Portkey supports two modes on Vertex:
- Provider Batch API (cheapest, completion_window:
24h,48h, etc.) - Portkey Batch API (fast, provider-agnostic, completion_window:
immediate)

