Skip to main content
Anthropic’s Claude models are the default recommended provider in profClaw. They offer native tool calling, vision support, and large context windows up to 1M tokens.

Supported Models

ModelIDContextMax OutputToolsVisionInput $/1MOutput $/1M
Claude Opus 4.6claude-opus-4-61M128KYesYes$5.00$25.00
Claude Sonnet 4.5claude-sonnet-4-5-20250929200K16KYesYes$3.00$15.00
Claude Haiku 4.5claude-haiku-4-5-20251001200K8KYesYes$0.25$1.25

Setup

1

Get an API key

Sign up at console.anthropic.com and create an API key.
2

Set the environment variable

export ANTHROPIC_API_KEY=sk-ant-api03-...
Or add it to your .env file.
3

Verify configuration

profclaw doctor --provider anthropic

Environment Variables

ANTHROPIC_API_KEY
string
required
Your Anthropic API key. Format: sk-ant-api03-...
ANTHROPIC_BASE_URL
string
Override the API base URL. Useful for proxies or custom endpoints. Defaults to https://api.anthropic.com.

Configuration Example

ANTHROPIC_API_KEY=sk-ant-api03-...

Model Aliases

AliasModel
opusclaude-opus-4-6
sonnetclaude-sonnet-4-5-20250929
haikuclaude-haiku-4-5-20251001

Usage Examples

# Use default model (auto-selected)
profclaw chat "Explain async/await in JavaScript"

# Use a specific alias
profclaw chat --model opus "Review this architecture"

# Use full model ID
profclaw chat --model claude-haiku-4-5-20251001 "Quick question"

Notes

  • Anthropic is the top-priority provider in profClaw’s auto-selection order.
  • All Claude models support native function calling - tools work reliably without fallback prompting.
  • Opus has a 1M token context window, suitable for large codebases.
  • Claude Haiku 4.5 is the recommended model for high-throughput, cost-sensitive workloads.