logoalt Hacker News

ljloleltoday at 6:03 AM1 replyview on HN

you can use claude code or codex with open models using AllRouter https://github.com/Lore-Hex/AllRouter


Replies

_ink_today at 6:44 AM

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...