Y
Hacker News
new
|
ask
|
show
|
jobs
by
ljlolel
4 days ago
you can use claude code or codex with open models using AllRouter
https://github.com/Lore-Hex/AllRouter
1 comments
_ink_
4 days ago
For claude it is enough to set a few env variables. It lets you easily map each model class (opus, sonnet, haiku) to an open model with Openrouter:
https://openrouter.ai/docs/cookbook/coding-agents/claude-cod...
link
ljlolel
4 days ago
yes but AllRouter does automatic failover and can burst to cloud as well or use local when needed
link