Skip to content

feat(opencode): add gpt-5.5 with xhigh reasoning variant#12

Merged
Jose-Sabater merged 1 commit intomainfrom
feat/opencode-gpt-5.5
May 7, 2026
Merged

feat(opencode): add gpt-5.5 with xhigh reasoning variant#12
Jose-Sabater merged 1 commit intomainfrom
feat/opencode-gpt-5.5

Conversation

@Jose-Sabater
Copy link
Copy Markdown
Member

Summary

  • Adds gpt-5.5 to the opencode provider template (data/opencode.json).
  • Sets reasoning: true so opencode's reasoning-effort picker is enabled.
  • Adds a variants: { xhigh } block — opencode's built-in picker only exposes default | low | medium | high, so without this users can't reach gpt-5.5's fifth tier without editing ~/.config/opencode/opencode.json themselves.

Why now

Customer hit this through opencode while exploring gpt-5.5: the picker showed four tiers, the model docs (and Opper's YAML) list five. xhigh is the right tier for the hardest async/eval workloads on gpt-5.5. Shipping it in the template is one less hand-edit for everyone.

Numbers

Pricing and context limits taken from task-api/data/models/openai.yaml (the authoritative source) — input $5 / output $30 per Mtok, 1.05M context, 128k output.

Test plan

  • npx vitest run — all 317 tests pass
  • JSON validates (python3 -c "import json; json.load(...)")
  • Verify in opencode after fresh install: picker shows default | low | medium | high | xhigh

GPT-5.5 supports a fifth reasoning_effort tier ("xhigh") that opencode's
built-in dropdown (default | low | medium | high) doesn't expose. Adding
the model with `reasoning: true` plus a `variants: { xhigh }` block makes
all five tiers selectable out of the box for fresh installs, instead of
each user having to discover and add the variant locally.

Pricing/context taken from data/models/openai.yaml (input $5 / output $30
per Mtok, 1.05M context, 128k output) so the picker matches Opper's
authoritative values.
@Jose-Sabater Jose-Sabater merged commit 726b004 into main May 7, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant