Providers
openrouter
access 200+ models through a single API
setup
baihu onboard --interactive
# select: openrouter
# enter your API key from https://openrouter.ai/keys
or manually:
# ~/.baihu/config.toml
default_provider = "openrouter"
default_model = "anthropic/claude-sonnet-4-5"
api_key = "sk-or-..."
models
openrouter gives you access to 200+ models from anthropic, openai, meta, google, mistral, and many others through a single API key.
popular choices:
| model | description |
|---|---|
anthropic/claude-sonnet-4-5 | fast, capable, excellent for coding |
anthropic/claude-opus-4 | strongest reasoning |
openai/gpt-4o | multimodal, strong reasoning |
openai/o3 | advanced reasoning model |
meta-llama/llama-4-maverick | open source, strong value |
google/gemini-2.5-flash | fast, multimodal |
pricing
openrouter uses pay-per-token pricing. check openrouter.ai/models for current rates.