Skip to content

gpt-5.3-codex-spark fails on official OpenAI path with unsupported reasoning.summary #18791

@50sotero

Description

@50sotero

Description

Using the official OpenAI provider path in OpenCode, selecting openai/gpt-5.3-codex-spark fails with:

Unsupported parameter: 'reasoning.summary' is not supported with the 'gpt-5.3-codex-spark' model.

This does not look like a local-config-only problem, and it does not appear to have been introduced specifically by v1.3.0.

What I verified:

  1. Exact repro on current OpenCode 1.3.0

    • Command used:
      opencode --model openai/gpt-5.3-codex-spark --prompt "Reply with the single word pong."
    • OpenCode displayed the exact error above in the session UI.
  2. Not caused by my local routing config

    • My active ~/.config/opencode/oh-my-opencode.json is currently routed to gpt-5.4 / gpt-5.4-mini, not Spark.
    • With a clean temporary home and only minimal config:
      OPENCODE_CONFIG_CONTENT='{"provider":{"openai":{}}}' HOME="$tmpdir" XDG_CONFIG_HOME="$tmpdir/.config" opencode models openai --verbose
      stock OpenCode still lists openai/gpt-5.3-codex-spark and its variants still include reasoningSummary.
  3. The relevant behavior predates 1.3.0

    • packages/opencode/src/provider/transform.ts in v1.2.24, v1.2.27, and v1.3.0 all auto-set GPT-5 defaults including:
      • reasoningEffort = "medium"
      • reasoningSummary = "auto"
    • packages/opencode/src/provider/sdk/copilot/responses/openai-responses-language-model.ts in v1.2.27 and v1.3.0 maps reasoningSummary into the Responses API request body as:
      "reasoning": { "summary": ... }
  4. Related external evidence

    • OpenAI Codex issue: openai/codex#13009
    • That issue reports the same official-model failure:
      Unsupported parameter: 'reasoning.summary' is not supported with the 'gpt-5.3-codex-spark' model.
      

Why this seems actionable in OpenCode

Even if the backend/model metadata is inconsistent upstream, OpenCode currently advertises/uses Spark with reasoningSummary defaults that lead to an immediate request failure.

So from an OpenCode user perspective, the model is selectable but broken on the official OpenAI path.

Expected behavior

At least one of:

  1. Do not send reasoning.summary for gpt-5.3-codex-spark.
  2. Hide/disable Spark variants/settings that imply reasoning summaries if the model rejects them.
  3. Gate reasoningSummary based on model-specific compatibility rather than broad GPT-5 defaults.
  4. Surface a clearer compatibility warning before request submission.

Existing near-matches I found

These seem related but not exact matches for this specific failure mode:

  • #13469 — Spark unsupported with ChatGPT account
  • #17309 — Spark unsupported / Codex issues after upgrade
  • #16154 — reasoning parameter mismatch on @ai-sdk/openai-compatible custom providers

This report is specifically about the official OpenAI provider path returning unsupported_parameter for reasoning.summary on gpt-5.3-codex-spark.

Plugins

OhMyOpenCode 3.12.3

OpenCode version

v1.3.0

Steps to reproduce

  1. Authenticate with OpenAI / Codex OAuth path.
  2. Run:
    opencode --model openai/gpt-5.3-codex-spark --prompt "Reply with the single word pong."
  3. Observe request failure with:
    Unsupported parameter: 'reasoning.summary' is not supported with the 'gpt-5.3-codex-spark' model.
    

Screenshot and/or share link

No share link. Reproduced locally and confirmed with source/tag comparison.

Operating System

WSL2 / Linux

Terminal

OpenCode CLI / Windows Terminal

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions