Providers
anthropic
direct anthropic API access
setup
# ~/.baihu/config.toml
default_provider = "anthropic"
default_model = "claude-sonnet-4-5-20250929"
api_key = "sk-ant-..."
models
| model | context |
|---|---|
claude-sonnet-4-5-20250929 | 200k |
claude-opus-4-20250918 | 200k |
claude-haiku-3-5-20241022 | 200k |
notes
uses the anthropic messages API directly. supports tool use (function calling) for agent capabilities. pass any valid anthropic model ID — baihu forwards it directly to the API.