From 8bd9d7bfef9aad64d18ce43f76f159e3a8fe5c89 Mon Sep 17 00:00:00 2001 From: Jose Sabater Date: Thu, 7 May 2026 16:21:48 +0200 Subject: [PATCH] feat(opencode): add gpt-5.5 to template with xhigh reasoning variant 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. --- data/opencode.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/data/opencode.json b/data/opencode.json index 0bf5422..2c23b21 100644 --- a/data/opencode.json +++ b/data/opencode.json @@ -9,6 +9,18 @@ "apiKey": "{env:OPPER_API_KEY}" }, "models": { + "gpt-5.5": { + "name": "GPT 5.5", + "cost": { "input": 5.00, "output": 30.00 }, + "limit": { "context": 1050000, "output": 128000 }, + "reasoning": true, + "variants": { + "xhigh": { + "reasoningEffort": "xhigh", + "reasoningSummary": "auto" + } + } + }, "claude-sonnet-4-6": { "name": "Claude Sonnet 4.6", "cost": { "input": 3.00, "output": 15.00 },