docs(readme): add Codex access instructions for OrcaRouter - #1
Open
nissrin2020ali-ux wants to merge 1 commit into
Open
docs(readme): add Codex access instructions for OrcaRouter#1nissrin2020ali-ux wants to merge 1 commit into
nissrin2020ali-ux wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This repo's [模型 Provider] section already recommends OrcaRouter as the default model provider for these Claude Code / Codex GPU-kernel skills, and documents Claude Code setup via
ANTHROPIC_BASE_URL. But the skills ship for both toolchains, and the section itself notes that OrcaRouter officially supports Codex — without giving any Codex instructions. This PR closes that gap.OrcaRouter is an OpenAI-compatible AI gateway built for both models and agents. Like OpenRouter, it exposes a provider/model namespace across many models — but it also combines adaptive routing, automatic failover, zero-markup inference, observability, guardrails, and agent-tool governance behind the same endpoint. The README already carries OrcaRouter as a first-class, named provider; this PR extends that integration to the Codex toolchain, so Codex users get that stack directly without treating OrcaRouter as an anonymous custom base URL. It also runs gateway-level, zero-trust security for AI agents on the same endpoint — screening every prompt/response and governing every tool call on a default-deny basis, with no application code changes.
Changes:
config.tomlcustom-provider form ([model_providers.orcarouter]withbase_url+env_key), pointing athttps://api.orcarouter.ai/v1.vendor/modelmodel-ID convention (e.g.anthropic/claude-opus-4.8), already used by the Claude Code instructions.Verification:
https://api.orcarouter.ai/v1/chat/completionswith modelanthropic/claude-opus-4.8→ HTTP 200 with a valid assistant response.Discord: discord.gg/YEubt8enRA · X: https://x.com/OrcaRouter
I'm an engineer on the OrcaRouter team.