Skip to content
Mikoshi

Docs

Google Vertex AI

Configure Mikoshi with Gemini models via Google Cloud

Setup

bash
export MIKOSHI_LLM="vertex_ai/gemini-4-argon"

No API key required—uses Google Cloud Application Default Credentials.

Authentication

Option 1: gcloud CLI

bash
gcloud auth application-default login

Option 2: Service Account

bash
export GOOGLE_APPLICATION_CREDENTIALS="/path/to/service-account.json"

Available Models

ModelDescription
vertex_ai/gemini-4-argonBest overall performance for security testing
vertex_ai/gemini-3.8-flashFaster and cheaper

Project Configuration

bash
export VERTEXAI_PROJECT="your-project-id"
export VERTEXAI_LOCATION="global"

Prerequisites

  1. Enable the Vertex AI API in your Google Cloud project
  2. Ensure your account has the Vertex AI User role