Skip to content

model-gateway

Your ChatGPT/Codex and Grok subscription models in Claude Code’s /model picker. A local gateway routes claude-gpt-* models to OpenAI’s Codex backend, claude-grok-* models to Grok, and everything else to api.anthropic.com, so you switch between Claude, GPT-5.x, and Grok mid-session like any other model. No API keys.

Version: 0.48.6

  • model-gateway: Set up, update, or diagnose the local ChatGPT/Codex gateway for Claude Code’s /model picker. Use for gateway setup, login, model visibility, routing, or failures.
  • remote-control-compatibility: Enable, disable, or diagnose model-gateway Remote Control compatibility when /remote-control is unavailable.
  • verify: Verify model-gateway through its CLI and HTTP shim surface.
  • SessionStart: node "${CLAUDE_PLUGIN_ROOT}/hooks/registry-writer.js"
  • SessionStart: node "${CLAUDE_PLUGIN_ROOT}/bin/model-gateway.js" ensure --quiet
  • model-gateway.js

Source on GitHub