BaihuBaihu
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:

modeldescription
anthropic/claude-3.5-sonnetfast, capable, good for coding
openai/gpt-4omultimodal, strong reasoning
meta-llama/llama-3.1-70bopen source, good value
google/gemini-2.0-flashfast, multimodal

pricing

openrouter uses pay-per-token pricing. check openrouter.ai/models for current rates.

On this page