Repository navigation
Description
Client or integration
OpenAI-compatible SDK (OpenCode, via /v1/chat/completions)
Provider or upstream service
cursor
OpenCodex version
2.100.4
Endpoint or capability
model discovery / built-in Cursor catalog (CURSOR_CAPABILITIES)
Current behaviour
Cursor lists Gemini 4 Hydrogen and Gemini 4 Carbon (https://cursor.com/docs/models/gemini-4-hydrogen, https://cursor.com/docs/models/gemini-4-carbon), released 2026-11-12 and 2026-11-10. In 2.100.4 neither appears under the Cursor provider:
ocx models livelistscursor/gemini-4-argonbut notcursor/gemini-4-hydrogenorcursor/gemini-4-carbon.ocx provider test cursorreportsConnected. 280 models.- The 2.100.4 bundle defines
gemini-4-hydrogenandgemini-4-carbonin the Google provider tables (efforts, context window, modalities), but the Cursor catalog (CURSOR_CAPABILITIES) only hasgemini-4-argon.
Requests still work when the model name is sent directly. POST /v1/chat/completions with cursor/gemini-4-hydrogen and cursor/gemini-4-carbon both returned HTTP 200 through the Cursor account, so the upstream accepts them. They are just not advertised, so clients that build their model list from the catalog (for example a generated opencode.json) drop them on every reload.
This looks like the same class of problem as #4820 (Muse Spark 1.3 missing despite live discovery, because discovery only filters the static catalog) and #2569 (catalog drift for gemini-3.6/3.7-flash).
Expected behaviour
Hydrogen and Carbon appear under Cursor in the routed catalog with the effort ladders Cursor documents:
| Model | Efforts | Default | Context |
|---|---|---|---|
gemini-4-hydrogen |
low, medium, high, xhigh | high | 1M |
gemini-4-carbon |
low, medium, high | medium | 1M |
Ideally live discovery would also surface models that Cursor returns but the static catalog lacks, so the next new model does not need a release.
Minimal redacted request or reproduction
ocx models live | grep gemini-4
# cursor/gemini-4-argon [routed, enabled] (no hydrogen, no carbon)
curl -s http://127.0.0.1:10100/v1/chat/completions \
-H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
-d '{"model":"cursor/gemini-4-hydrogen","messages":[{"role":"user","content":"Reply with the single word ok"}],"max_tokens":200}'
# HTTP 200, content "ok"Actual response or error
$ ocx models live | grep gemini-4
cursor/gemini-4-argon [routed, enabled]
$ ocx provider test cursor
cursor: connected
Connected. 280 models.No error is returned. The two models are silently absent from the catalog, and a direct request to either one returns HTTP 200.
Upstream documentation
- https://cursor.com/docs/models/gemini-4-hydrogen
- https://cursor.com/docs/models/gemini-4-carbon
Suggested mapping or implementation notes
Add gemini-4-hydrogen and gemini-4-carbon to CURSOR_CAPABILITIES with the values in the table above, the same way gemini-4-argon is defined. The Google provider tables in the same bundle already hold the effort ladders and context windows.
Additional context and attachments
Related: #4820, #2569. Workaround below.
Workaround
ocx models add cursor gemini-4-hydrogen --display-name "Gemini 4 Hydrogen" --context-window 1048576 --modalities text,image --reasoning-efforts low,medium,high,xhigh --default-reasoning-effort high --live (and the same for carbon). The catalog refresh reported degraded: true, notices: ["fallback"], though both models then appeared as [routed, custom, enabled].
Environment
macOS 27.0, arm64, OpenCodex desktop app 2.100.4.
Checks
- I searched existing provider and compatibility issues.
- The request and response were redacted.
- The expected behaviour is based on an upstream specification or a concrete client requirement.
Activity
github-actions commentedon Nov 18, 2026
Issue reopened
The report now contains the information required by the automated check. Thanks for updating it.
HewJhong commentedon Nov 18, 2026
I have updated the issue to include the required information. Thanks.
shu-chen-dot-ca commentedon Nov 18, 2026
I'll take this one and open a PR adding Hydrogen and Carbon to the Cursor catalog.
lidge-jun commentedon Nov 20, 2026
Fixed by #8932, squash-merged into dev as f8f54e6.