Skip to content

ChatGPT subscription sharing errors in T3 Code, OpenCode, Pi and other apps

Errors like subscription_sharing_usage_limit_exceeded and subscription_sharing_unsupported_capability come from OpenAI's ChatGPT plan usage feature inside Sign in with ChatGPT when an app sends Responses API calls on your ChatGPT plan. Per OpenAI's errors and recovery docs (checked 2026-11-30), "ChatGPT plan usage errors stop inference. OpenAI does not silently switch the request to another billing path." Fix the exact code — check per-app limits in ChatGPT Settings → Usage, drop unsupported features or speeds, reconnect revoked grants, retry 503s — or switch to your own API key.

What ChatGPT subscription sharing is and why inference stops

Per OpenAI's Sign in with ChatGPT docs (developers.openai.com, checked 2026-11-30), ChatGPT plan usage lets open-source and locally hosted apps request the chatgpt.tokens.use.direct scope and send eligible Responses API requests (POST /v1/responses with store: false and stream: true) on your ChatGPT plan, without access to your ChatGPT chats. Errors stop inference, and OpenAI does not silently switch the request to another billing path. Failures can arrive before a stream opens (admission HTTP 401/403/503, which may carry a {"detail":"..."} body), as structured Responses errors (error.code, error.param), mid-stream as response.failed, or during OAuth refresh.

OpenAI subscription sharing error codes

Per OpenAI's errors and recovery docs (checked 2026-11-30), the structured Responses errors table lists 9 codes across 8 rows (non-exhaustive; the two chatpass_v2_* codes share one row in OpenAI's doc):

OpenAI subscription sharing error codes
Error codeHTTPMeaning (from OpenAI's docs)What you can do
subscription_sharing_user_not_eligible403Unavailable for this user, workspace, or policy.Check policy or switch billing; do not retry or loop OAuth.
subscription_sharing_usage_limit_exceeded429Sharing usage limit reached (app-specific limits can apply).Pause plan calls; check https://chatgpt.com/settings/usage. Do not infer whole-plan exhaustion or reset time.
subscription_sharing_usage_unavailable503Usage availability check failed.Keep credentials; retry with bounded backoff.
subscription_sharing_unsupported_capability400Unsupported input, tool, feature, model, or service-tier override.Inspect error.param and remove it; do not retry the same body.
subscription_sharing_route_not_supported403Method or endpoint not permitted on this flow.Use POST /v1/responses on https://api.openai.com/v1.
subscription_sharing_invalid_user401Subscriber context could not be validated.Keep request ID; sign in again after revocation or refresh failure.
chatpass_v2_scope_not_authorized403Signed permission context does not authorize this call.Check the client and grant configuration; do not retry or change billing.
chatpass_v2_invalid_authorization_context403Signed permission context does not authorize this call.Check the client and grant configuration; do not retry or change billing.
subscription_sharing_user_unavailable503User or workspace info temporarily unavailable.Keep credentials; retry with bounded backoff.
  • Admission errors before a stream opens (OpenAI docs, checked 2026-11-30): 401 (account/scope), 403 (policy/serving region), or 503 (direct routing unavailable; keep credentials and back off).
  • Codes these apps handle that OpenAI's table does not list: T3 Code v0.1.13 (CodexManagedErrors.ts), OpenCode v2.4.3 (to-session-error.ts) and Pi v1.7.0 also handle subscription_sharing_workplace_individual_usage_limit_exceeded; T3 Code adds subscription_sharing_v2_client_not_enabled and subscription_sharing_v2_* aliases.
  • OAuth refresh (OpenAI docs, checked 2026-11-30): invalid_grant, invalid_refresh_token, token_expired, refresh_token_expired, refresh_token_invalidated, or refresh_token_reused require clearing tokens and repeating OAuth (invalid_client: fix client config). Disconnects in ChatGPT settings are not pushed to apps.

What you see in T3 Code, OpenCode and Pi → error code

Verbatim messages from pingdotgg/t3code v0.1.13 (CodexManagedErrors.ts), anomalyco/opencode #62529 / v2.4.3 (to-session-error.ts), and Pi in openai/codex #51043 (all checked 2026-11-30):

What you see in T3 Code, OpenCode and Pi → error code
App and message you seeError code
T3 Code: "Codex used a feature that ChatGPT sharing does not support. Use another provider for this request."subscription_sharing_unsupported_capability
T3 Code: "Your ChatGPT usage limit was reached. Check ChatGPT Usage settings for your available allowance."subscription_sharing_usage_limit_exceeded
T3 Code: "You reached your workspace's limit for using ChatGPT in other apps. Ask your workspace admin to increase it."subscription_sharing_workplace_individual_usage_limit_exceeded
T3 Code: "ChatGPT sharing is unavailable for this account or workspace. Use another provider or check its sharing policy."subscription_sharing_user_not_eligible
T3 Code: "ChatGPT usage is temporarily unavailable. Try again shortly."subscription_sharing_usage_unavailable
T3 Code: "This app is not enabled for this ChatGPT connection. Use your existing CLI or another provider."subscription_sharing_v2_client_not_enabled
T3 Code: "ChatGPT does not support this request route."subscription_sharing_route_not_supported
T3 Code: "ChatGPT could not validate this connection. Check the selected account and sharing permissions."subscription_sharing_invalid_user
T3 Code: "ChatGPT is temporarily unavailable. Try again shortly."subscription_sharing_user_unavailable
T3 Code: "This ChatGPT grant does not authorize the request. Check the connection's sharing permissions."chatpass_v2_scope_not_authorized
T3 Code: "ChatGPT could not authorize this connection. Check the client and sharing permissions."chatpass_v2_invalid_authorization_context
OpenCode: "ChatGPT usage limit reached. Check ChatGPT Settings → Usage for details."subscription_sharing_usage_limit_exceeded
Pi / raw stream: "The ChatGPT user has reached their Subscription Sharing usage limit. Ask the user to try again after their usage limit resets or use an API key instead."subscription_sharing_usage_limit_exceeded
  • T3 Code v0.1.13 (CodexManagedErrors.ts) also prints two narrower subscription_sharing_unsupported_capability lines: "Codex sent a tool namespace that ChatGPT sharing does not support. Use another provider for this request." (tool 'namespace') and "Codex sent an input item that ChatGPT sharing does not support. Use another provider for this request." (additional_tools).
  • OpenCode v2.4.3 (to-session-error.ts) maps subscription_sharing_unsupported_capability to "This request uses a feature ChatGPT token sharing doesn't support. Remove the unsupported feature and try again." On subscription_sharing_usage_limit_exceeded, Pi v1.7.0 also appends Check your ChatGPT usage: https://chatgpt.com/settings/usage.

How to handle each case

Usage limit reached

Check per-app limits at https://chatgpt.com/settings/usage; per OpenAI's docs (checked 2026-11-30), do not assume your whole plan is empty or infer a reset time from subscription_sharing_usage_limit_exceeded. Users in anomalyco/opencode #62529 and openai/codex #51043 report hitting it while overall quota remains; their reports differ on whether signing in again helps. Wait, ask your workspace admin to raise your limit (subscription_sharing_workplace_individual_usage_limit_exceeded), or use an API key.

Unsupported capability: what to remove

Inspect error.param and remove what sharing rejects. Per OpenAI's preview limitations docs (checked 2026-11-30), sharing rejects explicit role: "system" items; fields such as background, conversation, max_output_tokens, max_tool_calls, metadata, prompt, temperature, top_p and user (the docs list more); hosted tools (image_generation, file_search, Code Interpreter, native computer use, hosted MCP, tool_search, and programmatic_tool_calling in top-level tools); and audio or video input.

Unsupported capability in T3 Code: speed options

T3 Code's docs (docs/user/providers-codex.md, v0.1.13, checked 2026-11-30) say the faster speed options are not available through ChatGPT sharing and point to an existing Codex login instead: run codex login, then Settings → Providers → Configure manually.

Unsupported capability in T3 Code: subagents

In pingdotgg/t3code #39101 (open; #42726 was closed as its duplicate; checked 2026-11-30), users report that native subagent spawning (collaboration.spawn_agent) leaves an agent_message item in the thread that breaks later turns. Start a fresh thread without native subagents, revert past the failed turn, or switch to an existing Codex CLI login or an API key.

Account not eligible, invalid user, or unsupported route

For subscription_sharing_user_not_eligible (403), check workspace policy or use an API key instead of looping OAuth. For subscription_sharing_invalid_user (401), keep the request ID and sign in again only after a confirmed revocation or a terminal refresh error; do not clear credentials for a temporary network failure, and fix the client configuration on invalid_client. For chatpass_v2_* (403), check the client and the chatgpt.tokens.use.direct grant. For subscription_sharing_route_not_supported (403), target POST https://api.openai.com/v1/responses, not backend-api.

Service unavailable (503)

For subscription_sharing_usage_unavailable, subscription_sharing_user_unavailable, or admission 503, keep credentials and retry with bounded backoff (OpenAI docs, checked 2026-11-30).

Switch to your own API key (including Router One)

OpenAI's docs (checked 2026-11-30) and the limit message ("use an API key instead") list an API key as a separate billing path. Router One is one option: base URL https://api.router.one/v1 (https://api.router.one for Anthropic Messages), one sk-... key, and /models catalog IDs (openai/gpt-6.2-sol, anthropic/claude-sonnet-5, deepseek-v4.1-flash, grok-4.7), with native POST /v1/responses for GPT, DeepSeek, and Grok chat models. It does not use your ChatGPT plan: a billed request uses plan quota when your plan covers that model and has quota left, and the wallet otherwise. Dashboard → Logs records each request the gateway forwards to a model, with its model, tokens, wallet charge or plan quota used, latency and status; a streamed request that failed before any output may have no record. Router One does not raise ChatGPT limits or replace ChatGPT web or Codex cloud. Guides: https://router.one/integrations/opencode, https://router.one/integrations/pi, https://router.one/codex-responses-api and /docs/guides/cli-setup.

~/.codex/config.toml
# ~/.codex/config.toml
model = "gpt-6.2-sol"
model_provider = "router"

[model_providers.router]
name = "router"
base_url = "https://api.router.one/v1"
env_key = "ROUTER_ONE_API_KEY"
wire_api = "responses"

# in your shell:
# export ROUTER_ONE_API_KEY=sk-your-router-one-key

FAQ

Why do I get subscription_sharing_usage_limit_exceeded when ChatGPT Usage still shows allowance left?

Per OpenAI's docs (checked 2026-11-30), an app-specific limit can apply separately; do not assume your whole plan is empty or infer a reset time. Users in anomalyco/opencode #62529 and openai/codex #51043 report the same mismatch. Check https://chatgpt.com/settings/usage, wait, or use an API key.

What does "Codex used a feature that ChatGPT sharing does not support. Use another provider for this request." mean?

In T3 Code v0.1.13 (CodexManagedErrors.ts) that line stands for subscription_sharing_unsupported_capability. OpenAI's docs (HTTP 400, checked 2026-11-30) tie it to an unsupported input, tool, execution feature, model or service-tier override; users in #39101 hit it after Codex spawned a native subagent. Remove the feature and start a new thread, use codex login (Settings → Providers → Configure manually), or use an API key.

Why does Codex say "stream disconnected before completion: The ChatGPT user has reached their Subscription Sharing usage limit"?

Per OpenAI's docs (checked 2026-11-30), subscription_sharing_usage_limit_exceeded can arrive mid-stream as response.failed. Codex prints the message of a response.failed error it does not recognize after stream disconnected before completion: (openai/codex rust-v0.172.0); Pi prints the sentence after Error: (openai/codex #51043). Either way it is a sharing limit, not a network dropout: check https://chatgpt.com/settings/usage or use an API key.

How do I fix "ChatGPT usage limit reached. Check ChatGPT Settings → Usage for details." in OpenCode?

Per anomalyco/opencode v2.4.3 (to-session-error.ts) and #62529 (checked 2026-11-30), OpenCode shows this for subscription_sharing_usage_limit_exceeded and stops retrying. Check https://chatgpt.com/settings/usage; users in that thread disagree on whether signing in again helps. To use an API key instead, configure opencode.jsonc (https://router.one/integrations/opencode).

Can I use a ChatGPT subscription as a general OpenAI API key?

No. Per OpenAI's docs (checked 2026-11-30), ChatGPT plan usage is a permission an open-source or locally hosted app gets through OAuth: it can send eligible POST https://api.openai.com/v1/responses requests (store: false, stream: true) with restricted inputs, parameters and tools. General API access requires an API key.

Does OpenAI fall back to my API key automatically, and does Router One use my ChatGPT plan?

No on both counts. Per OpenAI's docs (checked 2026-11-30), "OpenAI does not silently switch the request to another billing path." Calls to https://api.router.one/v1 with a Router One key never use your ChatGPT plan: a billed request uses plan quota when your plan covers that model and has quota left, and the wallet otherwise.