Drop opencode-go/hy3-preview from catalog
Live probe rejected it with model_not_supported on the Go lite model list, and OpenCode publishes no Go pricing for it. Keep the verified kimi-k3/mimo entries only.
- commit
- f2dbc48517e8604b1736fd8c779abe79663166c8
- author
- mi-skam · · 2026-07-21 14:43 UTC
- parent
- 3557782
- signature
- SSH Unverified
SHA256:Yu1uEv3+xppM2hvm7BsWney9tUWafRiTe/kq8zX8X0wThe key is unknown
2 files · +2 -4
M packages/provider/catalog_builtin.go +0 -1
| @@ -306,7 +306,6 @@ var builtinCatalog = []Model{ | |||
| 306 | 306 | {Provider: "opencode-go", ID: "glm-5.1", DisplayName: "GLM-5.1", ContextWindow: 202752, MaxOutput: 32768, Reasoning: true, PriceInput: 1.4, PriceOutput: 4.4, PriceCacheRead: 0.26, BaseURL: "https://opencode.ai/zen/go/v1"}, | |
| 307 | 307 | {Provider: "opencode-go", ID: "glm-5.2", DisplayName: "GLM-5.2", ContextWindow: 1024000, MaxOutput: 128000, Reasoning: true, PriceInput: 0.91, PriceOutput: 2.86, PriceCacheRead: 0.169, BaseURL: "https://opencode.ai/zen/go/v1"}, | |
| 308 | 308 | {Provider: "opencode-go", ID: "grok-4.5", DisplayName: "Grok 4.5", ContextWindow: 500000, MaxOutput: 500000, Reasoning: true, PriceInput: 2, PriceOutput: 6, PriceCacheRead: 0.3, BaseURL: "https://opencode.ai/zen/go/v1"}, | |
| 309 | - | {Provider: "opencode-go", ID: "hy3-preview", DisplayName: "Hy3 Preview", ContextWindow: 256000, MaxOutput: 64000, Reasoning: true, PriceInput: 0.063, PriceOutput: 0.21, PriceCacheRead: 0.021, BaseURL: "https://opencode.ai/zen/go/v1"}, | |
| 310 | 309 | {Provider: "opencode-go", ID: "kimi-k2.5", DisplayName: "Kimi K2.5", ContextWindow: 262144, MaxOutput: 65536, Reasoning: true, PriceInput: 0.6, PriceOutput: 3, PriceCacheRead: 0.1, BaseURL: "https://opencode.ai/zen/go/v1"}, | |
| 311 | 310 | {Provider: "opencode-go", ID: "kimi-k2.6", DisplayName: "Kimi K2.6", ContextWindow: 262144, MaxOutput: 65536, Reasoning: true, PriceInput: 0.95, PriceOutput: 4, PriceCacheRead: 0.16, BaseURL: "https://opencode.ai/zen/go/v1"}, | |
| 312 | 311 | {Provider: "opencode-go", ID: "kimi-k2.7-code", DisplayName: "Kimi K2.7 Code", ContextWindow: 262144, MaxOutput: 16384, Reasoning: true, PriceInput: 0.74, PriceOutput: 3.5, PriceCacheRead: 0.15, BaseURL: "https://opencode.ai/zen/go/v1"}, | |
| @@ -306,7 +306,6 @@ var builtinCatalog = []Model{ | |||||
| 306 | {Provider: "opencode-go", ID: "glm-5.1", DisplayName: "GLM-5.1", ContextWindow: 202752, MaxOutput: 32768, Reasoning: true, PriceInput: 1.4, PriceOutput: 4.4, PriceCacheRead: 0.26, BaseURL: "https://opencode.ai/zen/go/v1"}, | 306 | {Provider: "opencode-go", ID: "glm-5.1", DisplayName: "GLM-5.1", ContextWindow: 202752, MaxOutput: 32768, Reasoning: true, PriceInput: 1.4, PriceOutput: 4.4, PriceCacheRead: 0.26, BaseURL: "https://opencode.ai/zen/go/v1"}, | ||
| 307 | {Provider: "opencode-go", ID: "glm-5.2", DisplayName: "GLM-5.2", ContextWindow: 1024000, MaxOutput: 128000, Reasoning: true, PriceInput: 0.91, PriceOutput: 2.86, PriceCacheRead: 0.169, BaseURL: "https://opencode.ai/zen/go/v1"}, | 307 | {Provider: "opencode-go", ID: "glm-5.2", DisplayName: "GLM-5.2", ContextWindow: 1024000, MaxOutput: 128000, Reasoning: true, PriceInput: 0.91, PriceOutput: 2.86, PriceCacheRead: 0.169, BaseURL: "https://opencode.ai/zen/go/v1"}, | ||
| 308 | {Provider: "opencode-go", ID: "grok-4.5", DisplayName: "Grok 4.5", ContextWindow: 500000, MaxOutput: 500000, Reasoning: true, PriceInput: 2, PriceOutput: 6, PriceCacheRead: 0.3, BaseURL: "https://opencode.ai/zen/go/v1"}, | 308 | {Provider: "opencode-go", ID: "grok-4.5", DisplayName: "Grok 4.5", ContextWindow: 500000, MaxOutput: 500000, Reasoning: true, PriceInput: 2, PriceOutput: 6, PriceCacheRead: 0.3, BaseURL: "https://opencode.ai/zen/go/v1"}, | ||
| 309 | - | {Provider: "opencode-go", ID: "hy3-preview", DisplayName: "Hy3 Preview", ContextWindow: 256000, MaxOutput: 64000, Reasoning: true, PriceInput: 0.063, PriceOutput: 0.21, PriceCacheRead: 0.021, BaseURL: "https://opencode.ai/zen/go/v1"}, | |||
| 310 | {Provider: "opencode-go", ID: "kimi-k2.5", DisplayName: "Kimi K2.5", ContextWindow: 262144, MaxOutput: 65536, Reasoning: true, PriceInput: 0.6, PriceOutput: 3, PriceCacheRead: 0.1, BaseURL: "https://opencode.ai/zen/go/v1"}, | 309 | {Provider: "opencode-go", ID: "kimi-k2.5", DisplayName: "Kimi K2.5", ContextWindow: 262144, MaxOutput: 65536, Reasoning: true, PriceInput: 0.6, PriceOutput: 3, PriceCacheRead: 0.1, BaseURL: "https://opencode.ai/zen/go/v1"}, | ||
| 311 | {Provider: "opencode-go", ID: "kimi-k2.6", DisplayName: "Kimi K2.6", ContextWindow: 262144, MaxOutput: 65536, Reasoning: true, PriceInput: 0.95, PriceOutput: 4, PriceCacheRead: 0.16, BaseURL: "https://opencode.ai/zen/go/v1"}, | 310 | {Provider: "opencode-go", ID: "kimi-k2.6", DisplayName: "Kimi K2.6", ContextWindow: 262144, MaxOutput: 65536, Reasoning: true, PriceInput: 0.95, PriceOutput: 4, PriceCacheRead: 0.16, BaseURL: "https://opencode.ai/zen/go/v1"}, | ||
| 312 | {Provider: "opencode-go", ID: "kimi-k2.7-code", DisplayName: "Kimi K2.7 Code", ContextWindow: 262144, MaxOutput: 16384, Reasoning: true, PriceInput: 0.74, PriceOutput: 3.5, PriceCacheRead: 0.15, BaseURL: "https://opencode.ai/zen/go/v1"}, | 311 | {Provider: "opencode-go", ID: "kimi-k2.7-code", DisplayName: "Kimi K2.7 Code", ContextWindow: 262144, MaxOutput: 16384, Reasoning: true, PriceInput: 0.74, PriceOutput: 3.5, PriceCacheRead: 0.15, BaseURL: "https://opencode.ai/zen/go/v1"}, | ||
M packages/provider/provider_test.go +2 -3
| @@ -449,8 +449,8 @@ func TestGPT56CatalogEntries(t *testing.T) { | |||
| 449 | 449 | ||
| 450 | 450 | // TestOpenCodeGoCatalog pins the OpenCode Go catalog entries that were | |
| 451 | 451 | // missing from the baked-in list. grok-4.5 and kimi-k3 are on the vendor | |
| 452 | - | // Go docs (https://opencode.ai/docs/go); mimo-v2-omni, mimo-v2-pro, and | |
| 453 | - | // hy3-preview are served by https://opencode.ai/zen/go/v1/models. | |
| 452 | + | // Go docs (https://opencode.ai/docs/go); mimo-v2-omni and mimo-v2-pro are | |
| 453 | + | // served by https://opencode.ai/zen/go/v1/models. | |
| 454 | 454 | func TestOpenCodeGoCatalog(t *testing.T) { | |
| 455 | 455 | cases := []struct { | |
| 456 | 456 | id string | |
| @@ -461,7 +461,6 @@ func TestOpenCodeGoCatalog(t *testing.T) { | |||
| 461 | 461 | cacheRead float64 | |
| 462 | 462 | }{ | |
| 463 | 463 | {"grok-4.5", 500000, 500000, 2, 6, 0.3}, | |
| 464 | - | {"hy3-preview", 256000, 64000, 0.063, 0.21, 0.021}, | |
| 465 | 464 | {"kimi-k3", 262144, 131072, 3, 15, 0.3}, | |
| 466 | 465 | {"mimo-v2-omni", 262144, 128000, 0.4, 2, 0.08}, | |
| 467 | 466 | {"mimo-v2-pro", 1048576, 128000, 1, 3, 0.2}, | |
| @@ -449,8 +449,8 @@ func TestGPT56CatalogEntries(t *testing.T) { | |||||
| 449 | 449 | ||||
| 450 | // TestOpenCodeGoCatalog pins the OpenCode Go catalog entries that were | 450 | // TestOpenCodeGoCatalog pins the OpenCode Go catalog entries that were | ||
| 451 | // missing from the baked-in list. grok-4.5 and kimi-k3 are on the vendor | 451 | // missing from the baked-in list. grok-4.5 and kimi-k3 are on the vendor | ||
| 452 | - | // Go docs (https://opencode.ai/docs/go); mimo-v2-omni, mimo-v2-pro, and | 452 | + | // Go docs (https://opencode.ai/docs/go); mimo-v2-omni and mimo-v2-pro are |
| 453 | - | // hy3-preview are served by https://opencode.ai/zen/go/v1/models. | 453 | + | // served by https://opencode.ai/zen/go/v1/models. |
| 454 | func TestOpenCodeGoCatalog(t *testing.T) { | 454 | func TestOpenCodeGoCatalog(t *testing.T) { | ||
| 455 | cases := []struct { | 455 | cases := []struct { | ||
| 456 | id string | 456 | id string | ||
| @@ -461,7 +461,6 @@ func TestOpenCodeGoCatalog(t *testing.T) { | |||||
| 461 | cacheRead float64 | 461 | cacheRead float64 | ||
| 462 | }{ | 462 | }{ | ||
| 463 | {"grok-4.5", 500000, 500000, 2, 6, 0.3}, | 463 | {"grok-4.5", 500000, 500000, 2, 6, 0.3}, | ||
| 464 | - | {"hy3-preview", 256000, 64000, 0.063, 0.21, 0.021}, | |||
| 465 | {"kimi-k3", 262144, 131072, 3, 15, 0.3}, | 464 | {"kimi-k3", 262144, 131072, 3, 15, 0.3}, | ||
| 466 | {"mimo-v2-omni", 262144, 128000, 0.4, 2, 0.08}, | 465 | {"mimo-v2-omni", 262144, 128000, 0.4, 2, 0.08}, | ||
| 467 | {"mimo-v2-pro", 1048576, 128000, 1, 3, 0.2}, | 466 | {"mimo-v2-pro", 1048576, 128000, 1, 3, 0.2}, | ||