codex-model-router
模型路由器:在 Codex Desktop 和 Claude Desktop 使用 Claude、第三方 API 与自定义模型。Local LLM proxy for Codex & Claude Desktop: OpenAI Responses / Chat Completions & Anthropic Messages, Claude Code subscription routing. macOS & Windows
What XERJ indexed
Snapshot
The whole repository at commit 8dc3696dfc (2026-10-14). main is 26 commits ahead.
Selected work

“API key mode, background task model, and usage log”. 11 files, 3,301 lines in the project root, src, test.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-16. Same terms as the repository. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution
anthropicclaudecodexcodex-desktopllm-proxymodel-routeropenaiopenai-compatible
Example questions
- How does codex-model-router implement anthropic?
- Where does codex-model-router handle “API key mode, background task model, and usage log”?
- Show the claude code in codex-model-router.
Inside the indexed corpus
- 176 files, 5.9 MB in total, about 34.4 KB per file.
- The selected commit changed 11 of those files (6.2%).
- Languages by size: JavaScript 38.8%, PowerShell 27%, Shell 26.8%, HTML 7.4%.
- On GitHub since 2026-08-26, last push 2026-10-31, 163 commits on main.
- The pin is 26 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported MIT for funkeyyou/codex-model-router on 2026-10-31, and the LICENSE file at commit 8dc3696dfc was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
funkeyyou (@funkeyyou) has 1 selected repository on the hub.
Using XERJ with codex-model-router
- A local search tool for Codex and Cursor codex-model-router is tagged codex on GitHub.
- Local code search MCP that uses fewer tokens than grep
- RAG without a vector database: one hybrid index The hub files it under AI, prompts and agents.
- Ask questions about a GitHub repo without cloning it
The prompt
Paste it into your AI agent. It clones funkeyyou/codex-model-router at the pinned commit and indexes it on your machine.
Search the GitHub repository funkeyyou/codex-model-router with XERJ (https://hub.xerj.org/corpus/funkeyyou--codex-model-router). Run these in a shell, in order, and check each result before the next: 1. xerj --help (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh 2. git clone https://github.com/funkeyyou/codex-model-router codex-model-router && git -C codex-model-router checkout 8dc3696dfc44059907f5bd9af68c81e231426d32 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./codex-model-router --url http://127.0.0.1:9200 --prefix codex-model-router --progress plain 5. xerj autoindex map --url http://127.0.0.1:9200 Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt Licence: MIT. Keep the copyright notice and credit the authors.
Related
funkeyyouAI, prompts and agents corporagriptapeaiderprompt-engineering-guideEverMind-AI/Ravenfelipesotero/opencode-hard-limitmxuanvan02/OmniProxy
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.