Skip to content

Spark model rejects reasoning.summary with unsupported_parameter #13009

Closed

Description

@ozan-s

What version of Codex CLI is running?

codex-cli 0.106.0

What subscription do you have?

ChatGPT Pro

Which model were you using?

gpt-5.3-codex-spark

What platform is your computer?

macOS

What terminal emulator and version are you using (if applicable)?

Not provided

What issue are you seeing?

Selecting the Spark model fails immediately with:

{
  "type": "error",
  "error": {
    "type": "invalid_request_error",
    "code": "unsupported_parameter",
    "message": "Unsupported parameter: 'reasoning.summary' is not supported with the 'gpt-5.3-codex-spark' model.",
    "param": "reasoning.summary"
  },
  "status": 400
}

What steps can reproduce the bug?

  1. Select gpt-5.3-codex-spark in Codex CLI.
  2. Submit a normal prompt.
  3. Request fails with unsupported_parameter on reasoning.summary.

What is the expected behavior?

Codex should not send reasoning.summary for models that do not support it, or Spark should advertise/support the parameter consistently.

Additional information

Findings from local repo analysis suggest this may be a recent capability mismatch/regression window:

  • Codex sends reasoning.summary only when model metadata indicates reasoning summaries are supported.
  • On Feb 26, 2026, commit ba41e84a5 changed summary fallback behavior to rely on model-catalog defaults.
  • On Feb 25, 2026, commit d45ffd583 updated 5.3 model visibility/metadata in bundled model data.

Hypothesis: Spark capability metadata/default summary handling and backend parameter support are out of sync, causing reasoning.summary to be sent for a model that rejects it.

Activity

  1. added
    bug
    CLI
    on Feb 27, 2026
  2. github-actions commented on Feb 27, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  3. ledmaster commented on Feb 27, 2026

    @ledmaster

    Found the same issue.

    I have custom "fast review" agents based on gpt-5.3-codex-spark and since updating to v0.106.0, the subagents fail due to:

    { "type": "error", "error": { "type": "invalid_request_error", "code": "unsupported_parameter", "message": "Unsupported parameter: 'reasoning.summary' is not supported with the 'gpt-5.3- codex-spark' model.", "param": "reasoning.summary" }, "status": 400 }

  4. added
    agent
    and removed
    CLI
    on Feb 27, 2026
  5. pakrym-oai commented on Feb 27, 2026

    @pakrym-oai
    Contributor

    Do you happen to have a model_reasoning_summary setting in the config?

  6. ozan-s commented on Feb 27, 2026

    @ozan-s
    Author

    Yes, I have this line in my config:
    model_reasoning_summary = "detailed"

  7. ledmaster commented on Feb 27, 2026

    @ledmaster

    Do you happen to have a model_reasoning_summary setting in the config?

    model_reasoning_summary_format="detailed"
    model_reasoning_summary="detailed"

  8. pakrym-oai commented on Feb 27, 2026

    @pakrym-oai
    Contributor

    After the recent change the CLI started respecting the setting. Before that it always used auto.

  9. ledmaster commented on Feb 27, 2026

    @ledmaster

    After the recent change the CLI started respecting the setting. Before that it always used auto.

    Is there a way to specify this config by model or is the recommended action to set it to auto?

    Thanks for the quick replies

  10. pakrym-oai commented on Feb 27, 2026

    @pakrym-oai
    Contributor

    I recommend removing the config all together, then the most optimal model setting will be used.

    I expect you won't get much more value out of detailed reasoning summaries.

  11. dbathily commented on Mar 17, 2026

    @dbathily

    I reproduced this again and there seems to be a narrower split in behavior.

    I removed:

    model_reasoning_summary = "detailed"

    from ~/.codex/config.toml.

    After that:

    • explicit spawn_agent(..., model="gpt-5.3-codex-spark") worked in a simple read-only smoke test
    • but role-based subagents still failed when their .codex/agents/*.toml had:
    model = "gpt-5.3-codex-spark"
    model_reasoning_effort = "high"

    Affected role configs in my repo:

    • .codex/agents/explorer.toml
    • .codex/agents/service_owner_investigator.toml
    • .codex/agents/integration_investigator.toml

    Role-based spawn still fails with:

    {
      "type": "error",
      "error": {
        "type": "invalid_request_error",
        "code": "unsupported_parameter",
        "message": "Unsupported parameter: 'reasoning.summary' is not supported with the 'gpt-5.3-codex-spark' model.",
        "param": "reasoning.summary"
      },
      "status": 400
    }

    So removing model_reasoning_summary fixes the explicit model path for me, but not the custom-role/subagent path. It looks like role-based spawns may still be attaching reasoning.summary somewhere separately.

  12. Morriz commented on Mar 19, 2026

    @Morriz

    yes, removing it still seems to persist somewhere

  13. nos1609 commented on May 16, 2026

    @nos1609

    got same behaviour here, gpt-5.5 is spawning a gpt-5.3-codex-spark with model_reasoning_summary=concise and as a result the agent fails to spawn.

  14. 3 remaining items

  15. miaoihan commented on Jul 10, 2026

    @miaoihan
    Image Still not fixed?
  16. martinmclee commented on Jul 10, 2026

    @martinmclee

    yep hitting this error for the first time after the newest update with the chatgpt codex thing, no such problem with the cli version

  17. bowenli86 commented on Jul 10, 2026

    @bowenli86

    run into this error as well when switching from 5.6 to 5.3-spark

  18. Mahkhmood9 commented on Jul 10, 2026

    @Mahkhmood9

    Image Still not fixed?

    I recomend you DO NOT USE 5.3 , attempt to move to Terra or Luna(luna is the cheapest standing at even cheaper than 5.3)
    (I also think its cool , that its not called like the 5.4mini with the word "mini"... people gave it unjust - considering how much fun you can have with 5.4mini! even of analysing documents and pdfs! )

    I wouldnt even put much weight if the prompts you give it be used in the next generation of models of training

    I recomend you try the smaller 5;6 models, as I guess you , use 5.3 for cost and speed reason (5.6 will also solve things with less steps - so its very -very good :) )

    Image

    Thanks for reading))))

  19. martinmclee commented on Jul 10, 2026

    @martinmclee

    are you a bot? 5.3-spark is not 5.3, 5.3 is not even available in codex.

  20. Mahkhmood9 commented on Jul 10, 2026

    @Mahkhmood9

    are you a bot? 5.3-spark is not 5.3, 5.3 is not even available in codex.

    thats a good thing if its not in codex anymore

    Image this guy commented it so he clearly tried to use 5.3
  21. nos1609 commented on Jul 10, 2026

    @nos1609

    Codex Spark is still there, but requires a Pro subscription
    Image

  22. Mahkhmood9 commented on Jul 11, 2026

    @Mahkhmood9

    Codex Spark is still there, but requires a Pro subscription Image

    I recomend not to use spark, because codex has changed a lot since then - and things can be broken fast with gpt 5.3 -- there are COUTLESS behavior issues that got fix in 5.4 (5,5 I consider already perfect, but so many "model behaviors" got fixed)

    as per what you might want it, the answer is "economics" and "get more token usage"

    as per what prompts are the best,,, its up to openai to see 80% of the prompts and what users try to use it for

    i personally think using SOL is pointless, but you should try it
    as for usage Terra is great, and luna is very cheap .....

    I recomend trying to get work done with Terra , and if you can, I recomend trying to get things done even with luna , I get with high-luna(the 6$;per;mill output token model)

    I understand how annoying it is hitting your usage limit (as 5,5 was released and it was a heavier models [either if openai has a bigger model , or the models has an higher cpu usage? not sure what drove the cost higher--- but you clearly get more usage out of it other than 5.4 which if you choose you get more usage] )

    if your issues is not ratelimits,, but you like things get faster
    know for a fact 5.6luna (($1.00 input / $6.00 output, $0.10 cached input reads)) is literally better than 5.3 ... also dont forget my point bro, 5.3 had a lot of behavioral issues

    so please dont use 5.3.... openai has released luna and terra,,,, for the reason so people dont uses older models -- but I think as things go now --- models are better [[adjusted for more and more use cases ]] which is the same intellegance you expected from a human to be good at few tasks at once, and use concepts for other ideas --- the fact that its not neurons doing that, buy logic via words and logic is very coool (despite some how still relaying on the concept of predicting the next token ,, and being limited by tokens-per-second and its not diffused the same way you diffusion and iteration for the generative image models --- and how everything is being viewed from a realestate betting on the idea the moorse law is dead ,,, and now chips become cars that you use for 6 years ---- not that xeon cpus cant be used for 20 years but okay)

    Image
  23. Mahkhmood9 commented on Jul 11, 2026

    @Mahkhmood9

    for the 1.2million context window , do you rather serve a single user; or 5 users ?

  24. 2yxh commented on Jul 12, 2026

    @2yxh

    I am having the same issue. no such setting in my config. no such issue in cli. this is annoying as we literally cannot use the service I pay £200 for...

  25. Mahkhmood9 commented on Jul 12, 2026

    @Mahkhmood9

    I am having the same issue. no such setting in my config. no such issue in cli. this is annoying as we literally cannot use the service I pay £200 for...

    I recomend , please try giving a shot the , gpt Terra model (i understand why you wouldnt want SOL, because 5.3 give you so called higher usage) I think Terra is right for you

  26. 2yxh commented on Jul 13, 2026

    @2yxh

    I am having the same issue. no such setting in my config. no such issue in cli. this is annoying as we literally cannot use the service I pay £200 for...

    I recomend , please try giving a shot the , gpt Terra model (i understand why you wouldnt want SOL, because 5.3 give you so called higher usage) I think Terra is right for you

    this doesnt help at all. I want to use spark

  27. Mahkhmood9 commented on Jul 13, 2026

    @Mahkhmood9

    I am having the same issue. no such setting in my config. no such issue in cli. this is annoying as we literally cannot use the service I pay £200 for...

    I recomend , please try giving a shot the , gpt Terra model (i understand why you wouldnt want SOL, because 5.3 give you so called higher usage) I think Terra is right for you

    this doesnt help at all. I want to use spark

    I recomend not get too attached to any models, I recomend trying to use Terra or Luna (I am having a lot of fun with Luna)

    see it this way, the newer models seen a lot more use cases where older models fail and repeat themselves

    the newer models do a better job at even understanding intent and executing what you want- so you wont be disapointed!
    Image

  28. Mahkhmood9 commented on Jul 13, 2026

    @Mahkhmood9

    @2yxh , see message above

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

    agentbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions