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

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...
yes but AllRouter does automatic failover and can burst to cloud as well or use local when needed