Providers
anthropic
direct anthropic API access
setup
# ~/.baihu/config.toml
default_provider = "anthropic"
default_model = "claude-3-5-sonnet-20241022"
api_key = "sk-ant-..."
models
| model | context |
|---|---|
claude-3-5-sonnet-20241022 | 200k |
claude-3-opus-20240229 | 200k |
claude-3-haiku-20240307 | 200k |
notes
uses the anthropic messages API directly. supports tool use (function calling) for agent capabilities.