Skip to content

docs(claude): explain rate limits on caller-owned native passthrough - #8494

Merged
lidge-jun merged 2 commits into
devfrom
codex/7912-first-party-login-docs
Nov 10, 2026
Merged

lidge-jun merged 2 commits into
devfrom
codex/7912-first-party-login-docs

Conversation

@lidge-jun

Copy link
Copy Markdown
Owner

Summary

A rate-limited Claude login breaks Claude Code's WebSearch in first-party mode even while routed main turns keep working. Claude Code sends WebSearch on its small-fast model (claude-haiku-5-5), a plain claude-* id with an sk-ant- credential takes native passthrough on the caller's own login, and that login's 429 comes back unchanged. The docs never said that passthrough traffic always spends the caller's own limits, or how to move it.

  • The English and Korean Claude Code guides gain a Rate limits on passthrough paragraph under the passthrough conditions. It says a passthrough request uses the caller's credential and limits, that OpenCodex returns a 429 from that login rather than resending the request through another account, and that mapping the id moves the traffic to a managed provider: claudeCode.intercept.modelMap / ocx claude desktop bind for first-party Desktop and CLI traffic, claudeCode.modelMap everywhere, or claudeCode.tierModels.haiku for ocx claude. A mapped id fails the passthrough condition that resolution must return the same model.

The tool-loss half of #7912 landed in #7991. This is option 1 of the owner decision; the opt-in automatic fallback (option 2) is deferred until more operators ask for it.

Closes #7912

Verification

  • Docs only; no behavior change, so there is no fail-first test.
  • The passthrough condition the paragraph relies on is the one the same page already documents (alias/model-map resolution returns the same model unchanged). The issue's reproduction steps 4–5 show an intercept.modelMap binding moving the haiku traffic off the caller's login.
  • bun run structure:check, bun run privacy:scan, git diff --check: pass.
  • NOT RUN: docs-site build; a live rate-limited login.

Checklist

  • Scope stays focused and avoids unrelated cleanup.
  • Docs or release notes were updated when needed.
  • Security-sensitive changes were reviewed for secrets, auth, and unsafe defaults.

Maintainer judgment

  • Value: explains a confusing failure (search breaks while chat works) and its supported workaround.
  • UX change scope: documentation only.
  • Regression evidence for existing users: no code changes.
  • Windows impact: none.
  • Verification scope / NOT RUN: see above. Translations other than Korean do not yet carry the paragraph; they do not contradict it.

A passthrough request spends the caller's own login and returns its 429; document that and the model-mapping workaround that moves small-fast traffic such as WebSearch to a managed provider.

Closes #7912
@lidge-jun
lidge-jun requested a review from Ingwannu as a code owner November 10, 2026 18:44
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-10T18:46:26.275689Z 7aa7aed PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

github-actions Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

✅ Deterministic PR hygiene checks passed.

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Nov 10, 2026
@coderabbitai

coderabbitai Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@lidge-jun
lidge-jun merged commit dd9764d into dev Nov 10, 2026
26 checks passed
@lidge-jun
lidge-jun deleted the codex/7912-first-party-login-docs branch November 10, 2026 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Claude Code WebSearch fails on a rate-limited first-party login, and routing it elsewhere strips web_search

1 participant