From 9e5fc6a77614010fe3f987342edeb2fd18c17d2d Mon Sep 17 00:00:00 2001 From: Aiden Cline Date: Thu, 11 Jun 2026 23:57:17 -0500 Subject: [PATCH 1/2] [opencode] Add reasoning options --- providers/opencode/models/big-pickle.toml | 1 + providers/opencode/models/claude-haiku-4-5.toml | 1 + providers/opencode/models/claude-opus-4-1.toml | 3 ++- providers/opencode/models/claude-opus-4-5.toml | 3 ++- providers/opencode/models/claude-opus-4-6.toml | 1 + providers/opencode/models/claude-opus-4-7.toml | 1 + providers/opencode/models/claude-opus-4-8.toml | 1 + providers/opencode/models/claude-sonnet-4-5.toml | 1 + providers/opencode/models/claude-sonnet-4-6.toml | 1 + providers/opencode/models/claude-sonnet-4.toml | 3 ++- providers/opencode/models/deepseek-v4-flash-free.toml | 3 ++- providers/opencode/models/deepseek-v4-flash.toml | 1 + providers/opencode/models/deepseek-v4-pro.toml | 1 + providers/opencode/models/gemini-3-flash.toml | 3 ++- providers/opencode/models/gemini-3-pro.toml | 3 ++- providers/opencode/models/gemini-3.1-pro.toml | 3 ++- providers/opencode/models/gemini-3.5-flash.toml | 3 ++- providers/opencode/models/glm-4.6.toml | 3 ++- providers/opencode/models/glm-4.7-free.toml | 1 + providers/opencode/models/glm-4.7.toml | 3 ++- providers/opencode/models/glm-5-free.toml | 1 + providers/opencode/models/glm-5.1.toml | 3 ++- providers/opencode/models/glm-5.toml | 3 ++- providers/opencode/models/gpt-5-codex.toml | 1 + providers/opencode/models/gpt-5-nano.toml | 1 + providers/opencode/models/gpt-5.1-codex-max.toml | 1 + providers/opencode/models/gpt-5.1-codex-mini.toml | 1 + providers/opencode/models/gpt-5.1-codex.toml | 1 + providers/opencode/models/gpt-5.1.toml | 1 + providers/opencode/models/gpt-5.2-codex.toml | 1 + providers/opencode/models/gpt-5.2.toml | 1 + providers/opencode/models/gpt-5.3-codex-spark.toml | 1 + providers/opencode/models/gpt-5.3-codex.toml | 1 + providers/opencode/models/gpt-5.4-mini.toml | 1 + providers/opencode/models/gpt-5.4-nano.toml | 1 + providers/opencode/models/gpt-5.4-pro.toml | 1 + providers/opencode/models/gpt-5.4.toml | 1 + providers/opencode/models/gpt-5.5-pro.toml | 1 + providers/opencode/models/gpt-5.5.toml | 1 + providers/opencode/models/gpt-5.toml | 1 + providers/opencode/models/grok-build-0.1.toml | 1 + providers/opencode/models/grok-code.toml | 1 + providers/opencode/models/hy3-preview-free.toml | 1 + providers/opencode/models/kimi-k2-thinking.toml | 1 + providers/opencode/models/kimi-k2.5-free.toml | 1 + providers/opencode/models/kimi-k2.5.toml | 1 + providers/opencode/models/kimi-k2.6.toml | 1 + providers/opencode/models/mimo-v2-flash-free.toml | 1 + providers/opencode/models/mimo-v2-omni-free.toml | 1 + providers/opencode/models/mimo-v2-pro-free.toml | 1 + providers/opencode/models/mimo-v2.5-free.toml | 3 ++- providers/opencode/models/minimax-m2.1-free.toml | 1 + providers/opencode/models/minimax-m2.1.toml | 3 ++- providers/opencode/models/minimax-m2.5-free.toml | 3 ++- providers/opencode/models/minimax-m2.5.toml | 3 ++- providers/opencode/models/minimax-m2.7.toml | 3 ++- providers/opencode/models/minimax-m3-free.toml | 3 ++- providers/opencode/models/nemotron-3-super-free.toml | 1 + providers/opencode/models/nemotron-3-ultra-free.toml | 1 + providers/opencode/models/qwen3.5-plus.toml | 3 ++- providers/opencode/models/qwen3.6-plus-free.toml | 3 ++- providers/opencode/models/qwen3.6-plus.toml | 3 ++- providers/opencode/models/ring-2.6-1t-free.toml | 1 + 63 files changed, 84 insertions(+), 21 deletions(-) diff --git a/providers/opencode/models/big-pickle.toml b/providers/opencode/models/big-pickle.toml index 8b7a4e141e7..996af85e525 100644 --- a/providers/opencode/models/big-pickle.toml +++ b/providers/opencode/models/big-pickle.toml @@ -4,6 +4,7 @@ release_date = "2025-10-17" last_updated = "2025-10-17" attachment = false reasoning = true +reasoning_options = [] temperature = true knowledge = "2025-01" tool_call = true diff --git a/providers/opencode/models/claude-haiku-4-5.toml b/providers/opencode/models/claude-haiku-4-5.toml index 76b45650d32..82496206f62 100644 --- a/providers/opencode/models/claude-haiku-4-5.toml +++ b/providers/opencode/models/claude-haiku-4-5.toml @@ -4,6 +4,7 @@ release_date = "2025-10-15" last_updated = "2025-10-15" attachment = true reasoning = true +reasoning_options = [{ type = "effort", values = ["high", "max"] }] temperature = true tool_call = true knowledge = "2025-02-28" diff --git a/providers/opencode/models/claude-opus-4-1.toml b/providers/opencode/models/claude-opus-4-1.toml index 203d7307189..b8c17274818 100644 --- a/providers/opencode/models/claude-opus-4-1.toml +++ b/providers/opencode/models/claude-opus-4-1.toml @@ -4,6 +4,7 @@ release_date = "2025-08-05" last_updated = "2025-08-05" attachment = true reasoning = true +reasoning_options = [{ type = "effort", values = ["high", "max"] }] temperature = true tool_call = true knowledge = "2025-03-31" @@ -24,4 +25,4 @@ input = ["text", "image", "pdf"] output = ["text"] [provider] -npm = "@ai-sdk/anthropic" \ No newline at end of file +npm = "@ai-sdk/anthropic" diff --git a/providers/opencode/models/claude-opus-4-5.toml b/providers/opencode/models/claude-opus-4-5.toml index cfa5c4dd289..7d2bf54c6d7 100644 --- a/providers/opencode/models/claude-opus-4-5.toml +++ b/providers/opencode/models/claude-opus-4-5.toml @@ -4,6 +4,7 @@ release_date = "2025-11-24" last_updated = "2025-11-24" attachment = true reasoning = true +reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }] temperature = true tool_call = true knowledge = "2025-03-31" @@ -24,4 +25,4 @@ input = ["text", "image", "pdf"] output = ["text"] [provider] -npm = "@ai-sdk/anthropic" \ No newline at end of file +npm = "@ai-sdk/anthropic" diff --git a/providers/opencode/models/claude-opus-4-6.toml b/providers/opencode/models/claude-opus-4-6.toml index 0a19f041373..931a7114afe 100644 --- a/providers/opencode/models/claude-opus-4-6.toml +++ b/providers/opencode/models/claude-opus-4-6.toml @@ -1,4 +1,5 @@ base_model = "anthropic/claude-opus-4-6" +reasoning_options = [{ type = "effort", values = ["low", "medium", "high", "max"] }] [cost] input = 5 diff --git a/providers/opencode/models/claude-opus-4-7.toml b/providers/opencode/models/claude-opus-4-7.toml index 8090ecc511f..30d511eeb48 100644 --- a/providers/opencode/models/claude-opus-4-7.toml +++ b/providers/opencode/models/claude-opus-4-7.toml @@ -4,6 +4,7 @@ release_date = "2026-04-16" last_updated = "2026-04-16" attachment = true reasoning = true +reasoning_options = [{ type = "effort", values = ["low", "medium", "high", "xhigh", "max"] }] temperature = false tool_call = true knowledge = "2026-01-31" diff --git a/providers/opencode/models/claude-opus-4-8.toml b/providers/opencode/models/claude-opus-4-8.toml index 29bab66e1a3..74e79e86656 100644 --- a/providers/opencode/models/claude-opus-4-8.toml +++ b/providers/opencode/models/claude-opus-4-8.toml @@ -1,4 +1,5 @@ base_model = "anthropic/claude-opus-4-8" +reasoning_options = [{ type = "effort", values = ["low", "medium", "high", "xhigh", "max"] }] [cost] input = 5 diff --git a/providers/opencode/models/claude-sonnet-4-5.toml b/providers/opencode/models/claude-sonnet-4-5.toml index 17603471bdd..04031dd068d 100644 --- a/providers/opencode/models/claude-sonnet-4-5.toml +++ b/providers/opencode/models/claude-sonnet-4-5.toml @@ -4,6 +4,7 @@ release_date = "2025-09-29" last_updated = "2025-09-29" attachment = true reasoning = true +reasoning_options = [{ type = "effort", values = ["high", "max"] }] temperature = true tool_call = true interleaved = true diff --git a/providers/opencode/models/claude-sonnet-4-6.toml b/providers/opencode/models/claude-sonnet-4-6.toml index 6d259ebf7e6..dee2f893c0f 100644 --- a/providers/opencode/models/claude-sonnet-4-6.toml +++ b/providers/opencode/models/claude-sonnet-4-6.toml @@ -4,6 +4,7 @@ release_date = "2026-02-17" last_updated = "2026-02-17" attachment = true reasoning = true +reasoning_options = [{ type = "effort", values = ["low", "medium", "high", "max"] }] temperature = true tool_call = true interleaved = true diff --git a/providers/opencode/models/claude-sonnet-4.toml b/providers/opencode/models/claude-sonnet-4.toml index 00d763fd293..f16c7d540e7 100644 --- a/providers/opencode/models/claude-sonnet-4.toml +++ b/providers/opencode/models/claude-sonnet-4.toml @@ -4,6 +4,7 @@ release_date = "2025-05-22" last_updated = "2025-05-22" attachment = true reasoning = true +reasoning_options = [{ type = "effort", values = ["high", "max"] }] temperature = true tool_call = true knowledge = "2025-03-31" @@ -31,4 +32,4 @@ input = ["text", "image", "pdf"] output = ["text"] [provider] -npm = "@ai-sdk/anthropic" \ No newline at end of file +npm = "@ai-sdk/anthropic" diff --git a/providers/opencode/models/deepseek-v4-flash-free.toml b/providers/opencode/models/deepseek-v4-flash-free.toml index 841c0562b9f..753ce8e6fb7 100644 --- a/providers/opencode/models/deepseek-v4-flash-free.toml +++ b/providers/opencode/models/deepseek-v4-flash-free.toml @@ -4,6 +4,7 @@ release_date = "2026-04-24" last_updated = "2026-04-24" attachment = false reasoning = true +reasoning_options = [{ type = "effort", values = ["low", "medium", "high", "max"] }] temperature = true knowledge = "2025-05" tool_call = true @@ -24,4 +25,4 @@ output = 128_000 [modalities] input = ["text"] -output = ["text"] \ No newline at end of file +output = ["text"] diff --git a/providers/opencode/models/deepseek-v4-flash.toml b/providers/opencode/models/deepseek-v4-flash.toml index e416485cb79..de3d046a86c 100644 --- a/providers/opencode/models/deepseek-v4-flash.toml +++ b/providers/opencode/models/deepseek-v4-flash.toml @@ -1,4 +1,5 @@ base_model = "deepseek/deepseek-v4-flash" +reasoning_options = [{ type = "effort", values = ["low", "medium", "high", "max"] }] [interleaved] field = "reasoning_content" diff --git a/providers/opencode/models/deepseek-v4-pro.toml b/providers/opencode/models/deepseek-v4-pro.toml index 2123f5ccc2d..b134b25d93a 100644 --- a/providers/opencode/models/deepseek-v4-pro.toml +++ b/providers/opencode/models/deepseek-v4-pro.toml @@ -1,4 +1,5 @@ base_model = "deepseek/deepseek-v4-pro" +reasoning_options = [{ type = "effort", values = ["low", "medium", "high", "max"] }] [interleaved] field = "reasoning_content" diff --git a/providers/opencode/models/gemini-3-flash.toml b/providers/opencode/models/gemini-3-flash.toml index 1b8246b2888..ba140aaf8fc 100644 --- a/providers/opencode/models/gemini-3-flash.toml +++ b/providers/opencode/models/gemini-3-flash.toml @@ -4,6 +4,7 @@ release_date = "2025-12-17" last_updated = "2025-12-17" attachment = true reasoning = true +reasoning_options = [{ type = "effort", values = ["minimal", "low", "medium", "high"] }] temperature = true tool_call = true structured_output = true @@ -24,4 +25,4 @@ input = ["text", "image", "video", "audio", "pdf"] output = ["text"] [provider] -npm = "@ai-sdk/google" \ No newline at end of file +npm = "@ai-sdk/google" diff --git a/providers/opencode/models/gemini-3-pro.toml b/providers/opencode/models/gemini-3-pro.toml index 645afd58b34..3c2780ff4c9 100644 --- a/providers/opencode/models/gemini-3-pro.toml +++ b/providers/opencode/models/gemini-3-pro.toml @@ -4,6 +4,7 @@ release_date = "2025-11-18" last_updated = "2025-11-18" attachment = true reasoning = true +reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }] temperature = true tool_call = true structured_output = true @@ -31,4 +32,4 @@ input = ["text", "image", "video", "audio", "pdf"] output = ["text"] [provider] -npm = "@ai-sdk/google" \ No newline at end of file +npm = "@ai-sdk/google" diff --git a/providers/opencode/models/gemini-3.1-pro.toml b/providers/opencode/models/gemini-3.1-pro.toml index f92b3d6221f..5ce4f5b4955 100644 --- a/providers/opencode/models/gemini-3.1-pro.toml +++ b/providers/opencode/models/gemini-3.1-pro.toml @@ -4,6 +4,7 @@ release_date = "2026-02-19" last_updated = "2026-02-19" attachment = true reasoning = true +reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }] temperature = true tool_call = true structured_output = true @@ -30,4 +31,4 @@ input = ["text", "image", "video", "audio", "pdf"] output = ["text"] [provider] -npm = "@ai-sdk/google" \ No newline at end of file +npm = "@ai-sdk/google" diff --git a/providers/opencode/models/gemini-3.5-flash.toml b/providers/opencode/models/gemini-3.5-flash.toml index 675e10ce9a5..386d0747b0c 100644 --- a/providers/opencode/models/gemini-3.5-flash.toml +++ b/providers/opencode/models/gemini-3.5-flash.toml @@ -4,6 +4,7 @@ release_date = "2026-05-19" last_updated = "2026-05-19" attachment = true reasoning = true +reasoning_options = [{ type = "effort", values = ["minimal", "low", "medium", "high"] }] temperature = true tool_call = true structured_output = true @@ -25,4 +26,4 @@ input = ["text", "image", "video", "audio", "pdf"] output = ["text"] [provider] -npm = "@ai-sdk/google" \ No newline at end of file +npm = "@ai-sdk/google" diff --git a/providers/opencode/models/glm-4.6.toml b/providers/opencode/models/glm-4.6.toml index cdb6dd4e0ca..e17ac193562 100644 --- a/providers/opencode/models/glm-4.6.toml +++ b/providers/opencode/models/glm-4.6.toml @@ -4,6 +4,7 @@ release_date = "2025-09-30" last_updated = "2025-09-30" attachment = false reasoning = true +reasoning_options = [] temperature = true tool_call = true knowledge = "2025-04" @@ -21,4 +22,4 @@ output = 131072 [modalities] input = ["text"] -output = ["text"] \ No newline at end of file +output = ["text"] diff --git a/providers/opencode/models/glm-4.7-free.toml b/providers/opencode/models/glm-4.7-free.toml index c074b41152e..ab82e8d7aec 100644 --- a/providers/opencode/models/glm-4.7-free.toml +++ b/providers/opencode/models/glm-4.7-free.toml @@ -4,6 +4,7 @@ release_date = "2025-12-22" last_updated = "2025-12-22" attachment = false reasoning = true +reasoning_options = [] temperature = true tool_call = true knowledge = "2025-04" diff --git a/providers/opencode/models/glm-4.7.toml b/providers/opencode/models/glm-4.7.toml index 66606deb60a..87b864b9b4e 100644 --- a/providers/opencode/models/glm-4.7.toml +++ b/providers/opencode/models/glm-4.7.toml @@ -4,6 +4,7 @@ release_date = "2025-12-22" last_updated = "2025-12-22" attachment = false reasoning = true +reasoning_options = [] temperature = true tool_call = true knowledge = "2025-04" @@ -24,4 +25,4 @@ output = 131072 [modalities] input = ["text"] -output = ["text"] \ No newline at end of file +output = ["text"] diff --git a/providers/opencode/models/glm-5-free.toml b/providers/opencode/models/glm-5-free.toml index 86e24ba3848..134addb7cf5 100644 --- a/providers/opencode/models/glm-5-free.toml +++ b/providers/opencode/models/glm-5-free.toml @@ -4,6 +4,7 @@ release_date = "2026-02-11" last_updated = "2026-02-11" attachment = false reasoning = true +reasoning_options = [] temperature = true tool_call = true knowledge = "2025-04" diff --git a/providers/opencode/models/glm-5.1.toml b/providers/opencode/models/glm-5.1.toml index 03292d542c3..b04fac4c3dd 100644 --- a/providers/opencode/models/glm-5.1.toml +++ b/providers/opencode/models/glm-5.1.toml @@ -4,6 +4,7 @@ release_date = "2026-04-07" last_updated = "2026-04-07" attachment = false reasoning = true +reasoning_options = [] temperature = true tool_call = true knowledge = "2025-04" @@ -23,4 +24,4 @@ output = 131_072 [modalities] input = ["text"] -output = ["text"] \ No newline at end of file +output = ["text"] diff --git a/providers/opencode/models/glm-5.toml b/providers/opencode/models/glm-5.toml index 7fd60508820..7addda80fcf 100644 --- a/providers/opencode/models/glm-5.toml +++ b/providers/opencode/models/glm-5.toml @@ -4,6 +4,7 @@ release_date = "2026-02-11" last_updated = "2026-02-11" attachment = false reasoning = true +reasoning_options = [] temperature = true tool_call = true knowledge = "2025-04" @@ -23,4 +24,4 @@ output = 131072 [modalities] input = ["text"] -output = ["text"] \ No newline at end of file +output = ["text"] diff --git a/providers/opencode/models/gpt-5-codex.toml b/providers/opencode/models/gpt-5-codex.toml index 146b3ecfea6..8e8153a5b46 100644 --- a/providers/opencode/models/gpt-5-codex.toml +++ b/providers/opencode/models/gpt-5-codex.toml @@ -4,6 +4,7 @@ release_date = "2025-09-15" last_updated = "2025-09-15" attachment = true reasoning = true +reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }] temperature = false knowledge = "2024-09-30" tool_call = true diff --git a/providers/opencode/models/gpt-5-nano.toml b/providers/opencode/models/gpt-5-nano.toml index 5ad2b2276d2..f736294eb2b 100644 --- a/providers/opencode/models/gpt-5-nano.toml +++ b/providers/opencode/models/gpt-5-nano.toml @@ -4,6 +4,7 @@ release_date = "2025-08-07" last_updated = "2025-08-07" attachment = true reasoning = true +reasoning_options = [{ type = "effort", values = ["minimal", "low", "medium", "high"] }] temperature = false knowledge = "2024-05-30" tool_call = true diff --git a/providers/opencode/models/gpt-5.1-codex-max.toml b/providers/opencode/models/gpt-5.1-codex-max.toml index 47f510ca8c0..38c1f7c1aee 100644 --- a/providers/opencode/models/gpt-5.1-codex-max.toml +++ b/providers/opencode/models/gpt-5.1-codex-max.toml @@ -4,6 +4,7 @@ release_date = "2025-11-13" last_updated = "2025-11-13" attachment = true reasoning = true +reasoning_options = [{ type = "effort", values = ["low", "medium", "high", "xhigh"] }] temperature = false knowledge = "2024-09-30" tool_call = true diff --git a/providers/opencode/models/gpt-5.1-codex-mini.toml b/providers/opencode/models/gpt-5.1-codex-mini.toml index c25eb84f97d..529ccfb4c09 100644 --- a/providers/opencode/models/gpt-5.1-codex-mini.toml +++ b/providers/opencode/models/gpt-5.1-codex-mini.toml @@ -4,6 +4,7 @@ release_date = "2025-11-13" last_updated = "2025-11-13" attachment = true reasoning = true +reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }] temperature = false knowledge = "2024-09-30" tool_call = true diff --git a/providers/opencode/models/gpt-5.1-codex.toml b/providers/opencode/models/gpt-5.1-codex.toml index 95a26b731c7..5279e637b37 100644 --- a/providers/opencode/models/gpt-5.1-codex.toml +++ b/providers/opencode/models/gpt-5.1-codex.toml @@ -4,6 +4,7 @@ release_date = "2025-11-13" last_updated = "2025-11-13" attachment = true reasoning = true +reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }] temperature = false knowledge = "2024-09-30" tool_call = true diff --git a/providers/opencode/models/gpt-5.1.toml b/providers/opencode/models/gpt-5.1.toml index 5eabc81c2f4..a115a94555d 100644 --- a/providers/opencode/models/gpt-5.1.toml +++ b/providers/opencode/models/gpt-5.1.toml @@ -4,6 +4,7 @@ release_date = "2025-11-13" last_updated = "2025-11-13" attachment = true reasoning = true +reasoning_options = [{ type = "effort", values = ["none", "low", "medium", "high"] }] temperature = false knowledge = "2024-09-30" tool_call = true diff --git a/providers/opencode/models/gpt-5.2-codex.toml b/providers/opencode/models/gpt-5.2-codex.toml index 4ef7ffc3c85..71b305f84bd 100644 --- a/providers/opencode/models/gpt-5.2-codex.toml +++ b/providers/opencode/models/gpt-5.2-codex.toml @@ -4,6 +4,7 @@ release_date = "2026-01-14" last_updated = "2026-01-14" attachment = true reasoning = true +reasoning_options = [{ type = "effort", values = ["low", "medium", "high", "xhigh"] }] temperature = false knowledge = "2025-08-31" tool_call = true diff --git a/providers/opencode/models/gpt-5.2.toml b/providers/opencode/models/gpt-5.2.toml index 6158cc47ce9..99040b9dd45 100644 --- a/providers/opencode/models/gpt-5.2.toml +++ b/providers/opencode/models/gpt-5.2.toml @@ -4,6 +4,7 @@ release_date = "2025-12-11" last_updated = "2025-12-11" attachment = true reasoning = true +reasoning_options = [{ type = "effort", values = ["none", "low", "medium", "high", "xhigh"] }] temperature = false knowledge = "2025-08-31" tool_call = true diff --git a/providers/opencode/models/gpt-5.3-codex-spark.toml b/providers/opencode/models/gpt-5.3-codex-spark.toml index f5fb0d2b9b5..684a574459f 100644 --- a/providers/opencode/models/gpt-5.3-codex-spark.toml +++ b/providers/opencode/models/gpt-5.3-codex-spark.toml @@ -4,6 +4,7 @@ release_date = "2026-02-12" last_updated = "2026-02-12" attachment = false reasoning = true +reasoning_options = [{ type = "effort", values = ["none", "low", "medium", "high", "xhigh"] }] temperature = false knowledge = "2025-08-31" tool_call = true diff --git a/providers/opencode/models/gpt-5.3-codex.toml b/providers/opencode/models/gpt-5.3-codex.toml index 6b6cf2f6fe4..be105bb114f 100644 --- a/providers/opencode/models/gpt-5.3-codex.toml +++ b/providers/opencode/models/gpt-5.3-codex.toml @@ -4,6 +4,7 @@ release_date = "2026-02-24" last_updated = "2026-02-24" attachment = true reasoning = true +reasoning_options = [{ type = "effort", values = ["none", "low", "medium", "high", "xhigh"] }] temperature = false knowledge = "2025-08-31" tool_call = true diff --git a/providers/opencode/models/gpt-5.4-mini.toml b/providers/opencode/models/gpt-5.4-mini.toml index 929e53d5e27..c4025044c6c 100644 --- a/providers/opencode/models/gpt-5.4-mini.toml +++ b/providers/opencode/models/gpt-5.4-mini.toml @@ -4,6 +4,7 @@ release_date = "2026-03-17" last_updated = "2026-03-17" attachment = true reasoning = true +reasoning_options = [{ type = "effort", values = ["none", "low", "medium", "high", "xhigh"] }] temperature = false knowledge = "2025-08-31" tool_call = true diff --git a/providers/opencode/models/gpt-5.4-nano.toml b/providers/opencode/models/gpt-5.4-nano.toml index c68c024fb31..d408a350a90 100644 --- a/providers/opencode/models/gpt-5.4-nano.toml +++ b/providers/opencode/models/gpt-5.4-nano.toml @@ -4,6 +4,7 @@ release_date = "2026-03-17" last_updated = "2026-03-17" attachment = true reasoning = true +reasoning_options = [{ type = "effort", values = ["none", "low", "medium", "high", "xhigh"] }] temperature = false knowledge = "2025-08-31" tool_call = true diff --git a/providers/opencode/models/gpt-5.4-pro.toml b/providers/opencode/models/gpt-5.4-pro.toml index 9e6eec0df85..4e63b4b66a9 100644 --- a/providers/opencode/models/gpt-5.4-pro.toml +++ b/providers/opencode/models/gpt-5.4-pro.toml @@ -4,6 +4,7 @@ release_date = "2026-03-05" last_updated = "2026-03-05" attachment = true reasoning = true +reasoning_options = [{ type = "effort", values = ["medium", "high", "xhigh"] }] temperature = false knowledge = "2025-08-31" tool_call = true diff --git a/providers/opencode/models/gpt-5.4.toml b/providers/opencode/models/gpt-5.4.toml index 42b1addda4b..e8ca491def5 100644 --- a/providers/opencode/models/gpt-5.4.toml +++ b/providers/opencode/models/gpt-5.4.toml @@ -1,4 +1,5 @@ base_model = "openai/gpt-5.4" +reasoning_options = [{ type = "effort", values = ["none", "low", "medium", "high", "xhigh"] }] [cost] input = 2.5 diff --git a/providers/opencode/models/gpt-5.5-pro.toml b/providers/opencode/models/gpt-5.5-pro.toml index c608ce3d9a8..1a2f82faaac 100644 --- a/providers/opencode/models/gpt-5.5-pro.toml +++ b/providers/opencode/models/gpt-5.5-pro.toml @@ -4,6 +4,7 @@ release_date = "2026-04-24" last_updated = "2026-04-24" attachment = true reasoning = true +reasoning_options = [{ type = "effort", values = ["medium", "high", "xhigh"] }] temperature = false knowledge = "2025-12-01" tool_call = true diff --git a/providers/opencode/models/gpt-5.5.toml b/providers/opencode/models/gpt-5.5.toml index ae1a42d2fac..b8cf4ec1e09 100644 --- a/providers/opencode/models/gpt-5.5.toml +++ b/providers/opencode/models/gpt-5.5.toml @@ -1,4 +1,5 @@ base_model = "openai/gpt-5.5" +reasoning_options = [{ type = "effort", values = ["none", "low", "medium", "high", "xhigh"] }] [cost] input = 5 diff --git a/providers/opencode/models/gpt-5.toml b/providers/opencode/models/gpt-5.toml index 54bbf7c1ac3..04e2f445620 100644 --- a/providers/opencode/models/gpt-5.toml +++ b/providers/opencode/models/gpt-5.toml @@ -4,6 +4,7 @@ release_date = "2025-08-07" last_updated = "2025-08-07" attachment = true reasoning = true +reasoning_options = [{ type = "effort", values = ["minimal", "low", "medium", "high"] }] temperature = false knowledge = "2024-09-30" tool_call = true diff --git a/providers/opencode/models/grok-build-0.1.toml b/providers/opencode/models/grok-build-0.1.toml index 141c4e31088..7dd92fc6739 100644 --- a/providers/opencode/models/grok-build-0.1.toml +++ b/providers/opencode/models/grok-build-0.1.toml @@ -4,6 +4,7 @@ release_date = "2026-05-20" last_updated = "2026-05-20" attachment = true reasoning = true +reasoning_options = [] temperature = true tool_call = true structured_output = true diff --git a/providers/opencode/models/grok-code.toml b/providers/opencode/models/grok-code.toml index 756100c61f1..10cb7134913 100644 --- a/providers/opencode/models/grok-code.toml +++ b/providers/opencode/models/grok-code.toml @@ -4,6 +4,7 @@ release_date = "2025-08-20" last_updated = "2025-08-20" attachment = true reasoning = true +reasoning_options = [] temperature = true tool_call = true open_weights = false diff --git a/providers/opencode/models/hy3-preview-free.toml b/providers/opencode/models/hy3-preview-free.toml index 22eec3160e7..b3f0872a982 100644 --- a/providers/opencode/models/hy3-preview-free.toml +++ b/providers/opencode/models/hy3-preview-free.toml @@ -4,6 +4,7 @@ release_date = "2026-04-20" last_updated = "2026-04-20" attachment = false reasoning = true +reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }] temperature = true knowledge = "2025-06" tool_call = true diff --git a/providers/opencode/models/kimi-k2-thinking.toml b/providers/opencode/models/kimi-k2-thinking.toml index fd122799d88..b64dd74b5ec 100644 --- a/providers/opencode/models/kimi-k2-thinking.toml +++ b/providers/opencode/models/kimi-k2-thinking.toml @@ -4,6 +4,7 @@ release_date = "2025-09-05" last_updated = "2025-09-05" attachment = false reasoning = true +reasoning_options = [] temperature = true tool_call = true knowledge = "2024-10" diff --git a/providers/opencode/models/kimi-k2.5-free.toml b/providers/opencode/models/kimi-k2.5-free.toml index 7acd8fea036..7d74406fdc6 100644 --- a/providers/opencode/models/kimi-k2.5-free.toml +++ b/providers/opencode/models/kimi-k2.5-free.toml @@ -4,6 +4,7 @@ release_date = "2026-01-27" last_updated = "2026-01-27" attachment = true reasoning = true +reasoning_options = [] temperature = true tool_call = true knowledge = "2024-10" diff --git a/providers/opencode/models/kimi-k2.5.toml b/providers/opencode/models/kimi-k2.5.toml index 2487b7b2654..6b51b670256 100644 --- a/providers/opencode/models/kimi-k2.5.toml +++ b/providers/opencode/models/kimi-k2.5.toml @@ -4,6 +4,7 @@ release_date = "2026-01-27" last_updated = "2026-01-27" attachment = true reasoning = true +reasoning_options = [] temperature = true tool_call = true knowledge = "2024-10" diff --git a/providers/opencode/models/kimi-k2.6.toml b/providers/opencode/models/kimi-k2.6.toml index 60bd13f42b9..40e5039e8fe 100644 --- a/providers/opencode/models/kimi-k2.6.toml +++ b/providers/opencode/models/kimi-k2.6.toml @@ -4,6 +4,7 @@ release_date = "2026-04-21" last_updated = "2026-04-21" attachment = true reasoning = true +reasoning_options = [] temperature = true tool_call = true knowledge = "2024-10" diff --git a/providers/opencode/models/mimo-v2-flash-free.toml b/providers/opencode/models/mimo-v2-flash-free.toml index f4dc0a38a8c..30a2811accf 100644 --- a/providers/opencode/models/mimo-v2-flash-free.toml +++ b/providers/opencode/models/mimo-v2-flash-free.toml @@ -4,6 +4,7 @@ release_date = "2025-12-16" last_updated = "2025-12-16" attachment = false reasoning = true +reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }] temperature = true tool_call = true knowledge = "2024-12" diff --git a/providers/opencode/models/mimo-v2-omni-free.toml b/providers/opencode/models/mimo-v2-omni-free.toml index d3396fd9cf7..b1561367ae2 100644 --- a/providers/opencode/models/mimo-v2-omni-free.toml +++ b/providers/opencode/models/mimo-v2-omni-free.toml @@ -4,6 +4,7 @@ release_date = "2026-03-18" last_updated = "2026-03-18" attachment = true reasoning = true +reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }] temperature = true tool_call = true knowledge = "2024-12" diff --git a/providers/opencode/models/mimo-v2-pro-free.toml b/providers/opencode/models/mimo-v2-pro-free.toml index 766b1175eb7..8716bee9c8a 100644 --- a/providers/opencode/models/mimo-v2-pro-free.toml +++ b/providers/opencode/models/mimo-v2-pro-free.toml @@ -4,6 +4,7 @@ release_date = "2026-03-18" last_updated = "2026-03-18" attachment = true reasoning = true +reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }] temperature = true tool_call = true knowledge = "2024-12" diff --git a/providers/opencode/models/mimo-v2.5-free.toml b/providers/opencode/models/mimo-v2.5-free.toml index b19882a7c3d..2d46cfa1730 100644 --- a/providers/opencode/models/mimo-v2.5-free.toml +++ b/providers/opencode/models/mimo-v2.5-free.toml @@ -4,6 +4,7 @@ release_date = "2026-04-24" last_updated = "2026-04-24" attachment = true reasoning = true +reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }] temperature = true tool_call = true knowledge = "2024-12" @@ -23,4 +24,4 @@ output = 32_000 [modalities] input = ["text", "image", "audio", "video"] -output = ["text"] \ No newline at end of file +output = ["text"] diff --git a/providers/opencode/models/minimax-m2.1-free.toml b/providers/opencode/models/minimax-m2.1-free.toml index 1589849567d..483e3c277da 100644 --- a/providers/opencode/models/minimax-m2.1-free.toml +++ b/providers/opencode/models/minimax-m2.1-free.toml @@ -4,6 +4,7 @@ release_date = "2025-12-23" last_updated = "2025-12-23" attachment = false reasoning = true +reasoning_options = [] temperature = true tool_call = true knowledge = "2025-01" diff --git a/providers/opencode/models/minimax-m2.1.toml b/providers/opencode/models/minimax-m2.1.toml index d6d662da1b0..1f7ced6dccd 100644 --- a/providers/opencode/models/minimax-m2.1.toml +++ b/providers/opencode/models/minimax-m2.1.toml @@ -4,6 +4,7 @@ release_date = "2025-12-23" last_updated = "2025-12-23" attachment = false reasoning = true +reasoning_options = [] temperature = true tool_call = true knowledge = "2025-01" @@ -24,4 +25,4 @@ output = 131072 [modalities] input = ["text"] -output = ["text"] \ No newline at end of file +output = ["text"] diff --git a/providers/opencode/models/minimax-m2.5-free.toml b/providers/opencode/models/minimax-m2.5-free.toml index e7501483e5f..16ce0da3a02 100644 --- a/providers/opencode/models/minimax-m2.5-free.toml +++ b/providers/opencode/models/minimax-m2.5-free.toml @@ -4,6 +4,7 @@ release_date = "2026-02-12" last_updated = "2026-02-12" attachment = false reasoning = true +reasoning_options = [] temperature = true tool_call = true knowledge = "2025-01" @@ -24,4 +25,4 @@ input = ["text"] output = ["text"] [provider] -npm = "@ai-sdk/anthropic" \ No newline at end of file +npm = "@ai-sdk/anthropic" diff --git a/providers/opencode/models/minimax-m2.5.toml b/providers/opencode/models/minimax-m2.5.toml index 40b3b89f266..360067c1bc3 100644 --- a/providers/opencode/models/minimax-m2.5.toml +++ b/providers/opencode/models/minimax-m2.5.toml @@ -4,6 +4,7 @@ release_date = "2026-02-12" last_updated = "2026-02-12" attachment = false reasoning = true +reasoning_options = [] temperature = true tool_call = true knowledge = "2025-01" @@ -23,4 +24,4 @@ output = 131072 [modalities] input = ["text"] -output = ["text"] \ No newline at end of file +output = ["text"] diff --git a/providers/opencode/models/minimax-m2.7.toml b/providers/opencode/models/minimax-m2.7.toml index 6f2af8a9751..cc6cb439de6 100644 --- a/providers/opencode/models/minimax-m2.7.toml +++ b/providers/opencode/models/minimax-m2.7.toml @@ -4,6 +4,7 @@ release_date = "2026-03-18" last_updated = "2026-03-18" attachment = false reasoning = true +reasoning_options = [] temperature = true tool_call = true knowledge = "2025-01" @@ -23,4 +24,4 @@ output = 131_072 [modalities] input = ["text"] -output = ["text"] \ No newline at end of file +output = ["text"] diff --git a/providers/opencode/models/minimax-m3-free.toml b/providers/opencode/models/minimax-m3-free.toml index 39c4e7456f7..30bc275afc3 100644 --- a/providers/opencode/models/minimax-m3-free.toml +++ b/providers/opencode/models/minimax-m3-free.toml @@ -4,6 +4,7 @@ release_date = "2026-05-31" last_updated = "2026-05-31" attachment = false reasoning = true +reasoning_options = [{ type = "toggle" }] temperature = true tool_call = true knowledge = "2025-01" @@ -24,4 +25,4 @@ input = ["text", "image", "video"] output = ["text"] [provider] -npm = "@ai-sdk/anthropic" \ No newline at end of file +npm = "@ai-sdk/anthropic" diff --git a/providers/opencode/models/nemotron-3-super-free.toml b/providers/opencode/models/nemotron-3-super-free.toml index 05fc5a13382..e8bb1b5946c 100644 --- a/providers/opencode/models/nemotron-3-super-free.toml +++ b/providers/opencode/models/nemotron-3-super-free.toml @@ -5,6 +5,7 @@ release_date = "2026-03-11" last_updated = "2026-03-11" attachment = false reasoning = true +reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }] temperature = true tool_call = true knowledge = "2026-02" diff --git a/providers/opencode/models/nemotron-3-ultra-free.toml b/providers/opencode/models/nemotron-3-ultra-free.toml index cb5790f5a1d..efcb228e253 100644 --- a/providers/opencode/models/nemotron-3-ultra-free.toml +++ b/providers/opencode/models/nemotron-3-ultra-free.toml @@ -5,6 +5,7 @@ release_date = "2026-06-04" last_updated = "2026-06-04" attachment = false reasoning = true +reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }] temperature = true tool_call = true knowledge = "2026-02" diff --git a/providers/opencode/models/qwen3.5-plus.toml b/providers/opencode/models/qwen3.5-plus.toml index 0743e3be27f..3818aafd335 100644 --- a/providers/opencode/models/qwen3.5-plus.toml +++ b/providers/opencode/models/qwen3.5-plus.toml @@ -4,6 +4,7 @@ release_date = "2026-02-16" last_updated = "2026-02-16" attachment = true reasoning = true +reasoning_options = [] temperature = true tool_call = true knowledge = "2025-04" @@ -24,4 +25,4 @@ input = ["text", "image", "video"] output = ["text"] [provider] -npm = "@ai-sdk/anthropic" \ No newline at end of file +npm = "@ai-sdk/anthropic" diff --git a/providers/opencode/models/qwen3.6-plus-free.toml b/providers/opencode/models/qwen3.6-plus-free.toml index 56b14018aa1..db6621153d5 100644 --- a/providers/opencode/models/qwen3.6-plus-free.toml +++ b/providers/opencode/models/qwen3.6-plus-free.toml @@ -4,6 +4,7 @@ release_date = "2026-04-02" last_updated = "2026-04-02" attachment = true reasoning = true +reasoning_options = [] temperature = true tool_call = true knowledge = "2025-04" @@ -24,4 +25,4 @@ input = ["text", "image", "video"] output = ["text"] [provider] -npm = "@ai-sdk/anthropic" \ No newline at end of file +npm = "@ai-sdk/anthropic" diff --git a/providers/opencode/models/qwen3.6-plus.toml b/providers/opencode/models/qwen3.6-plus.toml index 4b9e78473b3..9b504b26575 100644 --- a/providers/opencode/models/qwen3.6-plus.toml +++ b/providers/opencode/models/qwen3.6-plus.toml @@ -4,6 +4,7 @@ release_date = "2026-04-02" last_updated = "2026-04-02" attachment = true reasoning = true +reasoning_options = [] temperature = true tool_call = true knowledge = "2025-04" @@ -24,4 +25,4 @@ input = ["text", "image", "video"] output = ["text"] [provider] -npm = "@ai-sdk/anthropic" \ No newline at end of file +npm = "@ai-sdk/anthropic" diff --git a/providers/opencode/models/ring-2.6-1t-free.toml b/providers/opencode/models/ring-2.6-1t-free.toml index 81b0fada48f..9b6097b6afd 100644 --- a/providers/opencode/models/ring-2.6-1t-free.toml +++ b/providers/opencode/models/ring-2.6-1t-free.toml @@ -4,6 +4,7 @@ release_date = "2026-05-08" last_updated = "2026-05-08" attachment = false reasoning = true +reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }] temperature = true knowledge = "2025-06" tool_call = true From 7f047e290312f4d8e38d7e21e982e26ddbd1ecb8 Mon Sep 17 00:00:00 2001 From: Aiden Cline Date: Sat, 13 Jun 2026 00:34:11 -0500 Subject: [PATCH 2/2] [opencode] Correct reasoning controls by lab --- providers/opencode/models/claude-haiku-4-5.toml | 2 +- providers/opencode/models/claude-opus-4-1.toml | 2 +- providers/opencode/models/claude-opus-4-5.toml | 2 +- providers/opencode/models/claude-opus-4-6.toml | 2 +- providers/opencode/models/claude-sonnet-4-5.toml | 2 +- providers/opencode/models/claude-sonnet-4-6.toml | 2 +- providers/opencode/models/claude-sonnet-4.toml | 2 +- providers/opencode/models/deepseek-v4-flash-free.toml | 2 +- providers/opencode/models/deepseek-v4-flash.toml | 2 +- providers/opencode/models/deepseek-v4-pro.toml | 2 +- providers/opencode/models/gemini-3-pro.toml | 2 +- providers/opencode/models/glm-4.6.toml | 2 +- providers/opencode/models/glm-4.7-free.toml | 2 +- providers/opencode/models/glm-4.7.toml | 2 +- providers/opencode/models/glm-5-free.toml | 2 +- providers/opencode/models/glm-5.1.toml | 2 +- providers/opencode/models/glm-5.toml | 2 +- providers/opencode/models/hy3-preview-free.toml | 2 +- providers/opencode/models/kimi-k2.5-free.toml | 2 +- providers/opencode/models/kimi-k2.5.toml | 2 +- providers/opencode/models/kimi-k2.6.toml | 2 +- providers/opencode/models/mimo-v2-flash-free.toml | 2 +- providers/opencode/models/mimo-v2-omni-free.toml | 2 +- providers/opencode/models/mimo-v2-pro-free.toml | 2 +- providers/opencode/models/mimo-v2.5-free.toml | 2 +- providers/opencode/models/nemotron-3-super-free.toml | 2 +- providers/opencode/models/nemotron-3-ultra-free.toml | 2 +- providers/opencode/models/qwen3.5-plus.toml | 2 +- providers/opencode/models/qwen3.6-plus-free.toml | 2 +- providers/opencode/models/qwen3.6-plus.toml | 2 +- providers/opencode/models/ring-2.6-1t-free.toml | 2 +- 31 files changed, 31 insertions(+), 31 deletions(-) diff --git a/providers/opencode/models/claude-haiku-4-5.toml b/providers/opencode/models/claude-haiku-4-5.toml index 82496206f62..aba57a465f7 100644 --- a/providers/opencode/models/claude-haiku-4-5.toml +++ b/providers/opencode/models/claude-haiku-4-5.toml @@ -4,7 +4,7 @@ release_date = "2025-10-15" last_updated = "2025-10-15" attachment = true reasoning = true -reasoning_options = [{ type = "effort", values = ["high", "max"] }] +reasoning_options = [{ type = "budget_tokens", min = 1_024, max = 63_999 }] temperature = true tool_call = true knowledge = "2025-02-28" diff --git a/providers/opencode/models/claude-opus-4-1.toml b/providers/opencode/models/claude-opus-4-1.toml index b8c17274818..9a28ee83f8c 100644 --- a/providers/opencode/models/claude-opus-4-1.toml +++ b/providers/opencode/models/claude-opus-4-1.toml @@ -4,7 +4,7 @@ release_date = "2025-08-05" last_updated = "2025-08-05" attachment = true reasoning = true -reasoning_options = [{ type = "effort", values = ["high", "max"] }] +reasoning_options = [{ type = "budget_tokens", min = 1_024, max = 31_999 }] temperature = true tool_call = true knowledge = "2025-03-31" diff --git a/providers/opencode/models/claude-opus-4-5.toml b/providers/opencode/models/claude-opus-4-5.toml index 7d2bf54c6d7..cf87d0b20b9 100644 --- a/providers/opencode/models/claude-opus-4-5.toml +++ b/providers/opencode/models/claude-opus-4-5.toml @@ -4,7 +4,7 @@ release_date = "2025-11-24" last_updated = "2025-11-24" attachment = true reasoning = true -reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }] +reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }, { type = "budget_tokens", min = 1_024, max = 63_999 }] temperature = true tool_call = true knowledge = "2025-03-31" diff --git a/providers/opencode/models/claude-opus-4-6.toml b/providers/opencode/models/claude-opus-4-6.toml index 931a7114afe..bd49be0739e 100644 --- a/providers/opencode/models/claude-opus-4-6.toml +++ b/providers/opencode/models/claude-opus-4-6.toml @@ -1,5 +1,5 @@ base_model = "anthropic/claude-opus-4-6" -reasoning_options = [{ type = "effort", values = ["low", "medium", "high", "max"] }] +reasoning_options = [{ type = "effort", values = ["low", "medium", "high", "max"] }, { type = "budget_tokens", min = 1_024, max = 127_999 }] [cost] input = 5 diff --git a/providers/opencode/models/claude-sonnet-4-5.toml b/providers/opencode/models/claude-sonnet-4-5.toml index 04031dd068d..44fd3a579ef 100644 --- a/providers/opencode/models/claude-sonnet-4-5.toml +++ b/providers/opencode/models/claude-sonnet-4-5.toml @@ -4,7 +4,7 @@ release_date = "2025-09-29" last_updated = "2025-09-29" attachment = true reasoning = true -reasoning_options = [{ type = "effort", values = ["high", "max"] }] +reasoning_options = [{ type = "budget_tokens", min = 1_024, max = 63_999 }] temperature = true tool_call = true interleaved = true diff --git a/providers/opencode/models/claude-sonnet-4-6.toml b/providers/opencode/models/claude-sonnet-4-6.toml index dee2f893c0f..4aecd941951 100644 --- a/providers/opencode/models/claude-sonnet-4-6.toml +++ b/providers/opencode/models/claude-sonnet-4-6.toml @@ -4,7 +4,7 @@ release_date = "2026-02-17" last_updated = "2026-02-17" attachment = true reasoning = true -reasoning_options = [{ type = "effort", values = ["low", "medium", "high", "max"] }] +reasoning_options = [{ type = "effort", values = ["low", "medium", "high", "max"] }, { type = "budget_tokens", min = 1_024, max = 63_999 }] temperature = true tool_call = true interleaved = true diff --git a/providers/opencode/models/claude-sonnet-4.toml b/providers/opencode/models/claude-sonnet-4.toml index f16c7d540e7..208ce43e993 100644 --- a/providers/opencode/models/claude-sonnet-4.toml +++ b/providers/opencode/models/claude-sonnet-4.toml @@ -4,7 +4,7 @@ release_date = "2025-05-22" last_updated = "2025-05-22" attachment = true reasoning = true -reasoning_options = [{ type = "effort", values = ["high", "max"] }] +reasoning_options = [{ type = "budget_tokens", min = 1_024, max = 63_999 }] temperature = true tool_call = true knowledge = "2025-03-31" diff --git a/providers/opencode/models/deepseek-v4-flash-free.toml b/providers/opencode/models/deepseek-v4-flash-free.toml index 753ce8e6fb7..d295e920d6f 100644 --- a/providers/opencode/models/deepseek-v4-flash-free.toml +++ b/providers/opencode/models/deepseek-v4-flash-free.toml @@ -4,7 +4,7 @@ release_date = "2026-04-24" last_updated = "2026-04-24" attachment = false reasoning = true -reasoning_options = [{ type = "effort", values = ["low", "medium", "high", "max"] }] +reasoning_options = [{ type = "toggle" }, { type = "effort", values = ["high", "max"] }] temperature = true knowledge = "2025-05" tool_call = true diff --git a/providers/opencode/models/deepseek-v4-flash.toml b/providers/opencode/models/deepseek-v4-flash.toml index de3d046a86c..e5ce07a422d 100644 --- a/providers/opencode/models/deepseek-v4-flash.toml +++ b/providers/opencode/models/deepseek-v4-flash.toml @@ -1,5 +1,5 @@ base_model = "deepseek/deepseek-v4-flash" -reasoning_options = [{ type = "effort", values = ["low", "medium", "high", "max"] }] +reasoning_options = [{ type = "toggle" }, { type = "effort", values = ["high", "max"] }] [interleaved] field = "reasoning_content" diff --git a/providers/opencode/models/deepseek-v4-pro.toml b/providers/opencode/models/deepseek-v4-pro.toml index b134b25d93a..12c91e0153b 100644 --- a/providers/opencode/models/deepseek-v4-pro.toml +++ b/providers/opencode/models/deepseek-v4-pro.toml @@ -1,5 +1,5 @@ base_model = "deepseek/deepseek-v4-pro" -reasoning_options = [{ type = "effort", values = ["low", "medium", "high", "max"] }] +reasoning_options = [{ type = "toggle" }, { type = "effort", values = ["high", "max"] }] [interleaved] field = "reasoning_content" diff --git a/providers/opencode/models/gemini-3-pro.toml b/providers/opencode/models/gemini-3-pro.toml index 3c2780ff4c9..f1410d93d0f 100644 --- a/providers/opencode/models/gemini-3-pro.toml +++ b/providers/opencode/models/gemini-3-pro.toml @@ -4,7 +4,7 @@ release_date = "2025-11-18" last_updated = "2025-11-18" attachment = true reasoning = true -reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }] +reasoning_options = [{ type = "effort", values = ["low", "high"] }] temperature = true tool_call = true structured_output = true diff --git a/providers/opencode/models/glm-4.6.toml b/providers/opencode/models/glm-4.6.toml index e17ac193562..b4f1edd3e44 100644 --- a/providers/opencode/models/glm-4.6.toml +++ b/providers/opencode/models/glm-4.6.toml @@ -4,7 +4,7 @@ release_date = "2025-09-30" last_updated = "2025-09-30" attachment = false reasoning = true -reasoning_options = [] +reasoning_options = [{ type = "toggle" }] temperature = true tool_call = true knowledge = "2025-04" diff --git a/providers/opencode/models/glm-4.7-free.toml b/providers/opencode/models/glm-4.7-free.toml index ab82e8d7aec..896ba994072 100644 --- a/providers/opencode/models/glm-4.7-free.toml +++ b/providers/opencode/models/glm-4.7-free.toml @@ -4,7 +4,7 @@ release_date = "2025-12-22" last_updated = "2025-12-22" attachment = false reasoning = true -reasoning_options = [] +reasoning_options = [{ type = "toggle" }] temperature = true tool_call = true knowledge = "2025-04" diff --git a/providers/opencode/models/glm-4.7.toml b/providers/opencode/models/glm-4.7.toml index 87b864b9b4e..c756a5f84ed 100644 --- a/providers/opencode/models/glm-4.7.toml +++ b/providers/opencode/models/glm-4.7.toml @@ -4,7 +4,7 @@ release_date = "2025-12-22" last_updated = "2025-12-22" attachment = false reasoning = true -reasoning_options = [] +reasoning_options = [{ type = "toggle" }] temperature = true tool_call = true knowledge = "2025-04" diff --git a/providers/opencode/models/glm-5-free.toml b/providers/opencode/models/glm-5-free.toml index 134addb7cf5..2e2a6b88d48 100644 --- a/providers/opencode/models/glm-5-free.toml +++ b/providers/opencode/models/glm-5-free.toml @@ -4,7 +4,7 @@ release_date = "2026-02-11" last_updated = "2026-02-11" attachment = false reasoning = true -reasoning_options = [] +reasoning_options = [{ type = "toggle" }] temperature = true tool_call = true knowledge = "2025-04" diff --git a/providers/opencode/models/glm-5.1.toml b/providers/opencode/models/glm-5.1.toml index b04fac4c3dd..bf50b560351 100644 --- a/providers/opencode/models/glm-5.1.toml +++ b/providers/opencode/models/glm-5.1.toml @@ -4,7 +4,7 @@ release_date = "2026-04-07" last_updated = "2026-04-07" attachment = false reasoning = true -reasoning_options = [] +reasoning_options = [{ type = "toggle" }] temperature = true tool_call = true knowledge = "2025-04" diff --git a/providers/opencode/models/glm-5.toml b/providers/opencode/models/glm-5.toml index 7addda80fcf..36b2f00477d 100644 --- a/providers/opencode/models/glm-5.toml +++ b/providers/opencode/models/glm-5.toml @@ -4,7 +4,7 @@ release_date = "2026-02-11" last_updated = "2026-02-11" attachment = false reasoning = true -reasoning_options = [] +reasoning_options = [{ type = "toggle" }] temperature = true tool_call = true knowledge = "2025-04" diff --git a/providers/opencode/models/hy3-preview-free.toml b/providers/opencode/models/hy3-preview-free.toml index b3f0872a982..aa3cd619782 100644 --- a/providers/opencode/models/hy3-preview-free.toml +++ b/providers/opencode/models/hy3-preview-free.toml @@ -4,7 +4,7 @@ release_date = "2026-04-20" last_updated = "2026-04-20" attachment = false reasoning = true -reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }] +reasoning_options = [] temperature = true knowledge = "2025-06" tool_call = true diff --git a/providers/opencode/models/kimi-k2.5-free.toml b/providers/opencode/models/kimi-k2.5-free.toml index 7d74406fdc6..19aa20aa039 100644 --- a/providers/opencode/models/kimi-k2.5-free.toml +++ b/providers/opencode/models/kimi-k2.5-free.toml @@ -4,7 +4,7 @@ release_date = "2026-01-27" last_updated = "2026-01-27" attachment = true reasoning = true -reasoning_options = [] +reasoning_options = [{ type = "toggle" }] temperature = true tool_call = true knowledge = "2024-10" diff --git a/providers/opencode/models/kimi-k2.5.toml b/providers/opencode/models/kimi-k2.5.toml index 6b51b670256..89fc8518c77 100644 --- a/providers/opencode/models/kimi-k2.5.toml +++ b/providers/opencode/models/kimi-k2.5.toml @@ -4,7 +4,7 @@ release_date = "2026-01-27" last_updated = "2026-01-27" attachment = true reasoning = true -reasoning_options = [] +reasoning_options = [{ type = "toggle" }] temperature = true tool_call = true knowledge = "2024-10" diff --git a/providers/opencode/models/kimi-k2.6.toml b/providers/opencode/models/kimi-k2.6.toml index 40e5039e8fe..300e235f261 100644 --- a/providers/opencode/models/kimi-k2.6.toml +++ b/providers/opencode/models/kimi-k2.6.toml @@ -4,7 +4,7 @@ release_date = "2026-04-21" last_updated = "2026-04-21" attachment = true reasoning = true -reasoning_options = [] +reasoning_options = [{ type = "toggle" }] temperature = true tool_call = true knowledge = "2024-10" diff --git a/providers/opencode/models/mimo-v2-flash-free.toml b/providers/opencode/models/mimo-v2-flash-free.toml index 30a2811accf..5eaf11251dc 100644 --- a/providers/opencode/models/mimo-v2-flash-free.toml +++ b/providers/opencode/models/mimo-v2-flash-free.toml @@ -4,7 +4,7 @@ release_date = "2025-12-16" last_updated = "2025-12-16" attachment = false reasoning = true -reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }] +reasoning_options = [{ type = "toggle" }] temperature = true tool_call = true knowledge = "2024-12" diff --git a/providers/opencode/models/mimo-v2-omni-free.toml b/providers/opencode/models/mimo-v2-omni-free.toml index b1561367ae2..c2c935bc760 100644 --- a/providers/opencode/models/mimo-v2-omni-free.toml +++ b/providers/opencode/models/mimo-v2-omni-free.toml @@ -4,7 +4,7 @@ release_date = "2026-03-18" last_updated = "2026-03-18" attachment = true reasoning = true -reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }] +reasoning_options = [{ type = "toggle" }] temperature = true tool_call = true knowledge = "2024-12" diff --git a/providers/opencode/models/mimo-v2-pro-free.toml b/providers/opencode/models/mimo-v2-pro-free.toml index 8716bee9c8a..6f5d2a0da24 100644 --- a/providers/opencode/models/mimo-v2-pro-free.toml +++ b/providers/opencode/models/mimo-v2-pro-free.toml @@ -4,7 +4,7 @@ release_date = "2026-03-18" last_updated = "2026-03-18" attachment = true reasoning = true -reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }] +reasoning_options = [{ type = "toggle" }] temperature = true tool_call = true knowledge = "2024-12" diff --git a/providers/opencode/models/mimo-v2.5-free.toml b/providers/opencode/models/mimo-v2.5-free.toml index 2d46cfa1730..ca7e0fb31f8 100644 --- a/providers/opencode/models/mimo-v2.5-free.toml +++ b/providers/opencode/models/mimo-v2.5-free.toml @@ -4,7 +4,7 @@ release_date = "2026-04-24" last_updated = "2026-04-24" attachment = true reasoning = true -reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }] +reasoning_options = [{ type = "toggle" }] temperature = true tool_call = true knowledge = "2024-12" diff --git a/providers/opencode/models/nemotron-3-super-free.toml b/providers/opencode/models/nemotron-3-super-free.toml index e8bb1b5946c..b5a37ab1b01 100644 --- a/providers/opencode/models/nemotron-3-super-free.toml +++ b/providers/opencode/models/nemotron-3-super-free.toml @@ -5,7 +5,7 @@ release_date = "2026-03-11" last_updated = "2026-03-11" attachment = false reasoning = true -reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }] +reasoning_options = [] temperature = true tool_call = true knowledge = "2026-02" diff --git a/providers/opencode/models/nemotron-3-ultra-free.toml b/providers/opencode/models/nemotron-3-ultra-free.toml index efcb228e253..278146022aa 100644 --- a/providers/opencode/models/nemotron-3-ultra-free.toml +++ b/providers/opencode/models/nemotron-3-ultra-free.toml @@ -5,7 +5,7 @@ release_date = "2026-06-04" last_updated = "2026-06-04" attachment = false reasoning = true -reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }] +reasoning_options = [] temperature = true tool_call = true knowledge = "2026-02" diff --git a/providers/opencode/models/qwen3.5-plus.toml b/providers/opencode/models/qwen3.5-plus.toml index 3818aafd335..e0ff5014c09 100644 --- a/providers/opencode/models/qwen3.5-plus.toml +++ b/providers/opencode/models/qwen3.5-plus.toml @@ -4,7 +4,7 @@ release_date = "2026-02-16" last_updated = "2026-02-16" attachment = true reasoning = true -reasoning_options = [] +reasoning_options = [{ type = "toggle" }, { type = "budget_tokens", max = 81_920 }] temperature = true tool_call = true knowledge = "2025-04" diff --git a/providers/opencode/models/qwen3.6-plus-free.toml b/providers/opencode/models/qwen3.6-plus-free.toml index db6621153d5..f2e25f32fb9 100644 --- a/providers/opencode/models/qwen3.6-plus-free.toml +++ b/providers/opencode/models/qwen3.6-plus-free.toml @@ -4,7 +4,7 @@ release_date = "2026-04-02" last_updated = "2026-04-02" attachment = true reasoning = true -reasoning_options = [] +reasoning_options = [{ type = "toggle" }, { type = "budget_tokens", max = 81_920 }] temperature = true tool_call = true knowledge = "2025-04" diff --git a/providers/opencode/models/qwen3.6-plus.toml b/providers/opencode/models/qwen3.6-plus.toml index 9b504b26575..cee2d18ad29 100644 --- a/providers/opencode/models/qwen3.6-plus.toml +++ b/providers/opencode/models/qwen3.6-plus.toml @@ -4,7 +4,7 @@ release_date = "2026-04-02" last_updated = "2026-04-02" attachment = true reasoning = true -reasoning_options = [] +reasoning_options = [{ type = "toggle" }, { type = "budget_tokens", max = 81_920 }] temperature = true tool_call = true knowledge = "2025-04" diff --git a/providers/opencode/models/ring-2.6-1t-free.toml b/providers/opencode/models/ring-2.6-1t-free.toml index 9b6097b6afd..f56bf885065 100644 --- a/providers/opencode/models/ring-2.6-1t-free.toml +++ b/providers/opencode/models/ring-2.6-1t-free.toml @@ -4,7 +4,7 @@ release_date = "2026-05-08" last_updated = "2026-05-08" attachment = false reasoning = true -reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }] +reasoning_options = [] temperature = true knowledge = "2025-06" tool_call = true