From 6f9d7d45893c17591092fa35b924f39d0fe34c7d Mon Sep 17 00:00:00 2001 From: Frank Date: Thu, 30 Jul 2026 17:31:00 +0000 Subject: [PATCH 1/2] chore: update GPT-5.6 pricing --- providers/openai/models/gpt-5.6-luna.toml | 18 +++++++++--------- providers/openai/models/gpt-5.6-terra.toml | 18 +++++++++--------- providers/opencode/models/gpt-5.6-luna.toml | 16 ++++++++-------- .../opencode/models/gpt-5.6-sol-fast.toml | 12 ++++++++++++ providers/opencode/models/gpt-5.6-terra.toml | 16 ++++++++-------- 5 files changed, 46 insertions(+), 34 deletions(-) create mode 100644 providers/opencode/models/gpt-5.6-sol-fast.toml diff --git a/providers/openai/models/gpt-5.6-luna.toml b/providers/openai/models/gpt-5.6-luna.toml index 52112d9628..9c5c84d1eb 100644 --- a/providers/openai/models/gpt-5.6-luna.toml +++ b/providers/openai/models/gpt-5.6-luna.toml @@ -2,20 +2,20 @@ base_model = "openai/gpt-5.6-luna" reasoning_options = [{ type = "effort", values = ["none", "low", "medium", "high", "xhigh", "max"] }] [cost] -input = 1.00 -output = 6.00 -cache_read = 0.10 -cache_write = 1.25 +input = 0.20 +output = 1.20 +cache_read = 0.02 +cache_write = 0.25 [[cost.tiers]] tier = { size = 272_000 } -input = 2.00 -output = 9.00 -cache_read = 0.20 -cache_write = 2.50 +input = 0.40 +output = 1.80 +cache_read = 0.04 +cache_write = 0.50 [experimental.modes.fast] -cost = { input = 2.00, output = 12.00, cache_read = 0.20, cache_write = 2.50 } +cost = { input = 0.40, output = 2.40, cache_read = 0.04, cache_write = 0.50 } provider = { body = { service_tier = "priority" } } [experimental.modes.pro] diff --git a/providers/openai/models/gpt-5.6-terra.toml b/providers/openai/models/gpt-5.6-terra.toml index 5f251b6a07..9c0e4e0333 100644 --- a/providers/openai/models/gpt-5.6-terra.toml +++ b/providers/openai/models/gpt-5.6-terra.toml @@ -2,20 +2,20 @@ base_model = "openai/gpt-5.6-terra" reasoning_options = [{ type = "effort", values = ["none", "low", "medium", "high", "xhigh", "max"] }] [cost] -input = 2.50 -output = 15.00 -cache_read = 0.25 -cache_write = 3.125 +input = 2.00 +output = 12.00 +cache_read = 0.20 +cache_write = 2.50 [[cost.tiers]] tier = { size = 272_000 } -input = 5.00 -output = 22.50 -cache_read = 0.50 -cache_write = 6.25 +input = 4.00 +output = 18.00 +cache_read = 0.40 +cache_write = 5.00 [experimental.modes.fast] -cost = { input = 5.00, output = 30.00, cache_read = 0.50, cache_write = 6.25 } +cost = { input = 4.00, output = 24.00, cache_read = 0.40, cache_write = 5.00 } provider = { body = { service_tier = "priority" } } [experimental.modes.pro] diff --git a/providers/opencode/models/gpt-5.6-luna.toml b/providers/opencode/models/gpt-5.6-luna.toml index 30038db527..ac586c6bfc 100644 --- a/providers/opencode/models/gpt-5.6-luna.toml +++ b/providers/opencode/models/gpt-5.6-luna.toml @@ -2,17 +2,17 @@ base_model = "openai/gpt-5.6-luna" reasoning_options = [{ type = "effort", values = ["none", "low", "medium", "high", "xhigh", "max"] }] [cost] -input = 1 -output = 6 -cache_read = 0.1 -cache_write = 1.25 +input = 0.2 +output = 1.2 +cache_read = 0.02 +cache_write = 0.25 [[cost.tiers]] tier = { type = "context", size = 272_000 } -input = 2 -output = 9 -cache_read = 0.2 -cache_write = 2.5 +input = 0.4 +output = 1.8 +cache_read = 0.04 +cache_write = 0.5 [provider] npm = "@ai-sdk/openai" diff --git a/providers/opencode/models/gpt-5.6-sol-fast.toml b/providers/opencode/models/gpt-5.6-sol-fast.toml new file mode 100644 index 0000000000..f2defc0948 --- /dev/null +++ b/providers/opencode/models/gpt-5.6-sol-fast.toml @@ -0,0 +1,12 @@ +base_model = "openai/gpt-5.6-sol" +name = "GPT-5.6 Sol Fast" +reasoning_options = [{ type = "effort", values = ["none", "low", "medium", "high", "xhigh", "max"] }] + +[cost] +input = 10 +output = 60 +cache_read = 1 +cache_write = 12.5 + +[provider] +npm = "@ai-sdk/openai" diff --git a/providers/opencode/models/gpt-5.6-terra.toml b/providers/opencode/models/gpt-5.6-terra.toml index 40a3182b7e..8c1bf8d3b2 100644 --- a/providers/opencode/models/gpt-5.6-terra.toml +++ b/providers/opencode/models/gpt-5.6-terra.toml @@ -2,17 +2,17 @@ base_model = "openai/gpt-5.6-terra" reasoning_options = [{ type = "effort", values = ["none", "low", "medium", "high", "xhigh", "max"] }] [cost] -input = 2.5 -output = 15 -cache_read = 0.25 -cache_write = 3.125 +input = 2 +output = 12 +cache_read = 0.2 +cache_write = 2.5 [[cost.tiers]] tier = { type = "context", size = 272_000 } -input = 5 -output = 22.5 -cache_read = 0.5 -cache_write = 6.25 +input = 4 +output = 18 +cache_read = 0.4 +cache_write = 5 [provider] npm = "@ai-sdk/openai" From 6b9a04ef06bd1657b073c98b388a7a9f436652c6 Mon Sep 17 00:00:00 2001 From: Aiden Cline <63023139+rekram1-node@users.noreply.github.com> Date: Thu, 30 Jul 2026 16:10:27 -0500 Subject: [PATCH 2/2] Delete providers/opencode/models/gpt-5.6-sol-fast.toml --- providers/opencode/models/gpt-5.6-sol-fast.toml | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 providers/opencode/models/gpt-5.6-sol-fast.toml diff --git a/providers/opencode/models/gpt-5.6-sol-fast.toml b/providers/opencode/models/gpt-5.6-sol-fast.toml deleted file mode 100644 index f2defc0948..0000000000 --- a/providers/opencode/models/gpt-5.6-sol-fast.toml +++ /dev/null @@ -1,12 +0,0 @@ -base_model = "openai/gpt-5.6-sol" -name = "GPT-5.6 Sol Fast" -reasoning_options = [{ type = "effort", values = ["none", "low", "medium", "high", "xhigh", "max"] }] - -[cost] -input = 10 -output = 60 -cache_read = 1 -cache_write = 12.5 - -[provider] -npm = "@ai-sdk/openai"