VM0VM0
Model Selection

Overview

Configure different LLM providers for Claude Code

VM0 allows you to use various LLM providers that implement the Anthropic API. Changing models is done by setting Claude Code related environment variables in your vm0.yaml file.

Basic Structure

Set the environment field to override Claude Code's default model configuration:

vm0.yaml
version: "1.0"

agents:
  my-agent:
    provider: claude-code
    environment:
      ANTHROPIC_BASE_URL: "https://api.example.com/anthropic"
      ANTHROPIC_AUTH_TOKEN: "${{ secrets.API_KEY }}"
      ANTHROPIC_MODEL: "model-name"

Supported Providers