ArgentOSDocs

Providers

Supported model providers — Anthropic, Ollama, MiniMax, Z.AI, and OpenRouter.

Overview

ArgentOS supports multiple model providers, allowing you to mix local and cloud models across different tiers. Each provider has its own authentication, endpoint configuration, and model catalog.

Anthropic

The primary provider for ArgentOS. Supports Claude Haiku, Sonnet, and Opus.

  • Endpoint: https://api.anthropic.com/v1
  • Auth: API keys (sk-ant-api...) or setup tokens (sk-ant-oat01-...)
  • Models: claude-haiku-4-20250514, claude-sonnet-4-20250514, claude-opus-4-20250514
  • Features: Streaming, tool use, prompt caching (API keys only)

Prompt caching only works with standard API keys, not with Max subscription setup tokens.

Ollama (Local)

Run open-source models locally with zero cost.

  • Endpoint: http://localhost:11434
  • Auth: None required
  • Models: Any model available in Ollama (Qwen3, Llama, Mistral, etc.)
  • Default: qwen3:30b-a3b for the LOCAL tier
# Install Ollama
curl -fsSL https://ollama.com/install.sh | sh

# Pull the default local model
ollama pull qwen3:30b-a3b

MiniMax

An alternative cloud provider with competitive pricing.

  • Endpoint: https://api.minimax.io/v1 (portal API)
  • Auth: Coding Plan key (sk-cp-...)
  • Models: MiniMax-M2.1 (general), M2-her (roleplay/character), MiniMax-VL-01 (vision)

MiniMax cannot handle mid-session fallback from Anthropic. Tool call history with Anthropic-format IDs (toolu_01...) causes HTTP 400 errors. MiniMax works best for fresh sessions or non-tool conversations.

Z.AI

GLM-series models from Zhipu AI.

  • Endpoint: Z.AI API
  • Auth: Z.AI API key
  • Models: GLM-4.7, GLM-4.7-FlashX, GLM-4.7-Flash

OpenRouter

A meta-provider that routes to many model providers.

  • Endpoint: https://openrouter.ai/api/v1
  • Auth: OpenRouter API key
  • Models: Access to hundreds of models from multiple providers

Provider Configuration

Providers are configured through auth profiles in:

~/.argentos/agents/main/agent/auth-profiles.json

Adding a Provider

argent setup

The setup wizard guides you through adding API keys for each provider. You can also manually edit the auth profiles file.