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-3.5-sonnet"
api_key = "sk-or-..."
models
openrouter gives you access to models from anthropic, openai, meta, google, mistral, and many others through a single API key.
popular choices:
| model | description |
|---|---|
anthropic/claude-3.5-sonnet | fast, capable, good for coding |
openai/gpt-4o | multimodal, strong reasoning |
meta-llama/llama-3.1-70b | open source, good value |
google/gemini-2.0-flash | fast, multimodal |
pricing
openrouter uses pay-per-token pricing. check openrouter.ai/models for current rates.