Skip to content

[Provider] Cursor catalog is missing Gemini 4 Hydrogen and Gemini 4 Carbon #8918

Closed

Description

@HewJhong

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 live lists cursor/gemini-4-argon but not cursor/gemini-4-hydrogen or cursor/gemini-4-carbon.
  • ocx provider test cursor reports Connected. 280 models.
  • The 2.100.4 bundle defines gemini-4-hydrogen and gemini-4-carbon in the Google provider tables (efforts, context window, modalities), but the Cursor catalog (CURSOR_CAPABILITIES) only has gemini-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

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

  1. added
    provider-compatibility
    catalog
    provider
    on Nov 18, 2026
  2. github-actions commented on Nov 18, 2026

    @github-actions
    Contributor

    Issue reopened

    The report now contains the information required by the automated check. Thanks for updating it.

  3. HewJhong commented on Nov 18, 2026

    @HewJhong
    Author

    I have updated the issue to include the required information. Thanks.

  4. shu-chen-dot-ca commented on Nov 18, 2026

    @shu-chen-dot-ca
    Contributor

    I'll take this one and open a PR adding Hydrogen and Carbon to the Cursor catalog.

  5. lidge-jun commented on Nov 20, 2026

    @lidge-jun
    Owner

    Fixed by #8932, squash-merged into dev as f8f54e6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    catalogproviderprovider-compatibility

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions