@@ -24,6 +24,7 @@ pub const entries = [_]ModelInfo{
2424 .{ .provider = "opencode", .id = "claude-fable-5", .name = "Claude Fable 5", .api = "anthropic-messages", .base_url = "https://opencode.ai/zen/v1", .images = true, .reasoning = true, .context = 1000000, .max_output = 128000, .effort = &.{ "low", "medium", "high", "xhigh", "max" }, .cost_input = 10.0, .cost_output = 50.0, .cost_cache_read = 1.0 },
2525 .{ .provider = "opencode", .id = "claude-fable-5-1", .name = "Claude Fable 5.1", .api = "anthropic-messages", .base_url = "https://opencode.ai/zen/v1", .images = true, .reasoning = true, .context = 1000000, .max_output = 128000, .effort = &.{ "low", "medium", "high", "xhigh", "max" }, .cost_input = 10.0, .cost_output = 50.0, .cost_cache_read = 0.25 },
2626 .{ .provider = "opencode", .id = "claude-haiku-4-5", .name = "Claude Haiku 4.5", .api = "anthropic-messages", .base_url = "https://opencode.ai/zen/v1", .images = true, .reasoning = true, .context = 200000, .max_output = 64000, .effort = &.{}, .cost_input = 1.0, .cost_output = 5.0, .cost_cache_read = 0.1 },
27+ .{ .provider = "opencode", .id = "claude-haiku-5-5", .name = "Claude Haiku 5.5", .api = "anthropic-messages", .base_url = "https://opencode.ai/zen/v1", .images = true, .reasoning = true, .context = 1000000, .max_output = 128000, .effort = &.{ "low", "medium", "high", "xhigh", "max" }, .cost_input = 0.1, .cost_output = 0.5, .cost_cache_read = 0.01 },
2728 .{ .provider = "opencode", .id = "claude-opus-4-5", .name = "Claude Opus 4.5", .api = "anthropic-messages", .base_url = "https://opencode.ai/zen/v1", .images = true, .reasoning = true, .context = 200000, .max_output = 64000, .effort = &.{ "low", "medium", "high" }, .cost_input = 5.0, .cost_output = 25.0, .cost_cache_read = 0.5 },
2829 .{ .provider = "opencode", .id = "claude-opus-4-6", .name = "Claude Opus 4.6", .api = "anthropic-messages", .base_url = "https://opencode.ai/zen/v1", .images = true, .reasoning = true, .context = 1000000, .max_output = 128000, .effort = &.{ "low", "medium", "high", "max" }, .cost_input = 5.0, .cost_output = 25.0, .cost_cache_read = 0.5 },
2930 .{ .provider = "opencode", .id = "claude-opus-4-7", .name = "Claude Opus 4.7", .api = "anthropic-messages", .base_url = "https://opencode.ai/zen/v1", .images = true, .reasoning = true, .context = 1000000, .max_output = 128000, .effort = &.{ "low", "medium", "high", "xhigh", "max" }, .cost_input = 5.0, .cost_output = 25.0, .cost_cache_read = 0.5 },
@@ -34,13 +35,12 @@ pub const entries = [_]ModelInfo{
3435 .{ .provider = "opencode", .id = "claude-sonnet-4-5", .name = "Claude Sonnet 4.5", .api = "anthropic-messages", .base_url = "https://opencode.ai/zen/v1", .images = true, .reasoning = true, .context = 1000000, .max_output = 64000, .effort = &.{}, .cost_input = 3.0, .cost_output = 15.0, .cost_cache_read = 0.3 },
3536 .{ .provider = "opencode", .id = "claude-sonnet-4-6", .name = "Claude Sonnet 4.6", .api = "anthropic-messages", .base_url = "https://opencode.ai/zen/v1", .images = true, .reasoning = true, .context = 1000000, .max_output = 64000, .effort = &.{ "low", "medium", "high", "max" }, .cost_input = 3.0, .cost_output = 15.0, .cost_cache_read = 0.3 },
3637 .{ .provider = "opencode", .id = "claude-sonnet-5", .name = "Claude Sonnet 5", .api = "anthropic-messages", .base_url = "https://opencode.ai/zen/v1", .images = true, .reasoning = true, .context = 1000000, .max_output = 128000, .effort = &.{ "low", "medium", "high", "xhigh", "max" }, .cost_input = 2.0, .cost_output = 10.0, .cost_cache_read = 0.2 },
37- .{ .provider = "opencode", .id = "claude-sonnet-5-5", .name = "Claude Sonnet 5.5", .api = "openai-completions", .base_url = "https://opencode.ai/zen/v1", .images = true, .reasoning = true, .context = 1000000, .max_output = 128000, .effort = &.{ "low", "medium", "high", "xhigh", "max" }, .cost_input = 2.0, .cost_output = 10.0, .cost_cache_read = 0.2 },
38+ .{ .provider = "opencode", .id = "claude-sonnet-5-5", .name = "Claude Sonnet 5.5", .api = "anthropic-messages", .base_url = "https://opencode.ai/zen/v1", .images = true, .reasoning = true, .context = 1000000, .max_output = 128000, .effort = &.{ "low", "medium", "high", "xhigh", "max" }, .cost_input = 2.0, .cost_output = 10.0, .cost_cache_read = 0.2 },
3839 .{ .provider = "opencode", .id = "deepseek-v4-flash", .name = "DeepSeek V4 Flash", .api = "openai-completions", .base_url = "https://opencode.ai/zen/v1", .images = false, .reasoning = true, .context = 1000000, .max_output = 384000, .effort = &.{ "low", "high", "max" }, .cost_input = 0.14, .cost_output = 0.28, .cost_cache_read = 0.028 },
39- .{ .provider = "opencode", .id = "deepseek-v4-flash-free", .name = "DeepSeek V4 Flash Free", .api = "openai-completions", .base_url = "https://opencode.ai/zen/v1", .images = false, .reasoning = true, .context = 200000, .max_output = 128000, .effort = &.{ "low", "high", "max" }, .cost_input = 0.0, .cost_output = 0.0, .cost_cache_read = 0.0 },
4040 .{ .provider = "opencode", .id = "deepseek-v4-flash-vision-exp", .name = "DeepSeek V4 Flash Vision Exp", .api = "openai-completions", .base_url = "https://opencode.ai/zen/v1", .images = true, .reasoning = true, .context = 1000000, .max_output = 384000, .effort = &.{ "low", "high", "max" }, .cost_input = 0.14, .cost_output = 0.28, .cost_cache_read = 0.028 },
4141 .{ .provider = "opencode", .id = "deepseek-v4-pro", .name = "DeepSeek V4 Pro", .api = "openai-completions", .base_url = "https://opencode.ai/zen/v1", .images = false, .reasoning = true, .context = 1000000, .max_output = 384000, .effort = &.{ "high", "max" }, .cost_input = 1.74, .cost_output = 3.84, .cost_cache_read = 0.145 },
4242 .{ .provider = "opencode", .id = "deepseek-v4.1-flash", .name = "DeepSeek V4.1 Flash", .api = "openai-completions", .base_url = "https://opencode.ai/zen/v1", .images = true, .reasoning = true, .context = 1000000, .max_output = 384000, .effort = &.{ "low", "high", "max" }, .cost_input = 0.3, .cost_output = 1.2, .cost_cache_read = 0.006 },
43- .{ .provider = "opencode", .id = "fledge-alpha-free", .name = "Fledge Alpha Free", .api = "openai-completions", .base_url = "https://opencode.ai/zen/v1", .images = true, .reasoning = true, .context = 1048576, .max_output = 131072, .effort = &.{ "low", "high", "max" }, .cost_input = 0.0, .cost_output = 0.0, .cost_cache_read = 0.0 },
43+ .{ .provider = "opencode", .id = "exo-free", .name = "Exo Free", .api = "openai-completions", .base_url = "https://opencode.ai/zen/v1", .images = true, .reasoning = true, .context = 1048576, .max_output = 131072, .effort = &.{"high"}, .cost_input = 0.0, .cost_output = 0.0, .cost_cache_read = 0.0 },
4444 .{ .provider = "opencode", .id = "gemini-3-flash", .name = "Gemini 3 Flash", .api = "google-generative-ai", .base_url = "https://opencode.ai/zen/v1", .images = true, .reasoning = true, .context = 1048576, .max_output = 65536, .effort = &.{ "minimal", "low", "medium", "high" }, .cost_input = 0.5, .cost_output = 3.0, .cost_cache_read = 0.05 },
4545 .{ .provider = "opencode", .id = "gemini-3.1-pro", .name = "Gemini 3.1 Pro Preview", .api = "google-generative-ai", .base_url = "https://opencode.ai/zen/v1", .images = true, .reasoning = true, .context = 1048576, .max_output = 65536, .effort = &.{ "low", "medium", "high" }, .cost_input = 2.0, .cost_output = 12.0, .cost_cache_read = 0.2 },
4646 .{ .provider = "opencode", .id = "gemini-3.5-flash", .name = "Gemini 3.5 Flash", .api = "google-generative-ai", .base_url = "https://opencode.ai/zen/v1", .images = true, .reasoning = true, .context = 1048576, .max_output = 65536, .effort = &.{ "minimal", "low", "medium", "high" }, .cost_input = 1.5, .cost_output = 9.0, .cost_cache_read = 0.15 },
@@ -88,11 +88,11 @@ pub const entries = [_]ModelInfo{
8888 .{ .provider = "opencode", .id = "ling-3.0-flash-fin-free", .name = "Ling 3.0 Flash Fin Free", .api = "openai-completions", .base_url = "https://opencode.ai/zen/v1", .images = false, .reasoning = true, .context = 262144, .max_output = 32768, .effort = &.{}, .cost_input = 0.0, .cost_output = 0.0, .cost_cache_read = 0.0 },
8989 .{ .provider = "opencode", .id = "ling-3.1-flash-free", .name = "Ling 3.1 Flash Free", .api = "openai-completions", .base_url = "https://opencode.ai/zen/v1", .images = false, .reasoning = true, .context = 262144, .max_output = 32768, .effort = &.{}, .cost_input = 0.0, .cost_output = 0.0, .cost_cache_read = 0.0 },
9090 .{ .provider = "opencode", .id = "longcat-2.5-preview-free", .name = "LongCat 2.5 Preview Free", .api = "openai-completions", .base_url = "https://opencode.ai/zen/v1", .images = true, .reasoning = true, .context = 1000000, .max_output = 131072, .effort = &.{}, .cost_input = 0.0, .cost_output = 0.0, .cost_cache_read = 0.0 },
91- .{ .provider = "opencode", .id = "mimo-v2.5-free", .name = "MiMo V2.5 Free", .api = "openai-completions", .base_url = "https://opencode.ai/zen/v1", .images = true, .reasoning = true, .context = 200000, .max_output = 32000, .effort = &.{}, .cost_input = 0.0, .cost_output = 0.0, .cost_cache_read = 0.0 },
9291 .{ .provider = "opencode", .id = "mimo-v2.6-flash-free", .name = "MiMo-V2.6-Flash Free", .api = "openai-completions", .base_url = "https://opencode.ai/zen/v1", .images = true, .reasoning = true, .context = 200000, .max_output = 32000, .effort = &.{}, .cost_input = 0.0, .cost_output = 0.0, .cost_cache_read = 0.0 },
9392 .{ .provider = "opencode", .id = "minimax-m2.5", .name = "MiniMax-M2.5", .api = "openai-completions", .base_url = "https://opencode.ai/zen/v1", .images = false, .reasoning = true, .context = 204800, .max_output = 131072, .effort = &.{}, .cost_input = 0.3, .cost_output = 1.2, .cost_cache_read = 0.06 },
9493 .{ .provider = "opencode", .id = "minimax-m2.7", .name = "MiniMax-M2.7", .api = "openai-completions", .base_url = "https://opencode.ai/zen/v1", .images = false, .reasoning = true, .context = 204800, .max_output = 131072, .effort = &.{}, .cost_input = 0.3, .cost_output = 1.2, .cost_cache_read = 0.06 },
9594 .{ .provider = "opencode", .id = "minimax-m3", .name = "MiniMax-M3", .api = "openai-completions", .base_url = "https://opencode.ai/zen/v1", .images = true, .reasoning = true, .context = 512000, .max_output = 128000, .effort = &.{}, .cost_input = 0.3, .cost_output = 1.2, .cost_cache_read = 0.06 },
95+ .{ .provider = "opencode", .id = "mistral-large-4", .name = "Mistral Large 4", .api = "openai-completions", .base_url = "https://opencode.ai/zen/v1", .images = true, .reasoning = true, .context = 524288, .max_output = 262144, .effort = &.{ "none", "high" }, .cost_input = 0.68, .cost_output = 2.09, .cost_cache_read = 0.07 },
9696 .{ .provider = "opencode", .id = "muse-spark-1.2", .name = "Muse Spark 1.2", .api = "openai-responses", .base_url = "https://opencode.ai/zen/v1", .images = true, .reasoning = true, .context = 1048576, .max_output = 131072, .effort = &.{ "minimal", "low", "medium", "high", "xhigh" }, .cost_input = 1.25, .cost_output = 4.25, .cost_cache_read = 0.15 },
9797 .{ .provider = "opencode", .id = "muse-spark-1.2-contributor-free", .name = "Muse Spark 1.2 Free", .api = "openai-completions", .base_url = "https://opencode.ai/zen/v1", .images = true, .reasoning = true, .context = 1048576, .max_output = 131072, .effort = &.{ "minimal", "low", "medium", "high", "xhigh" }, .cost_input = 0.0, .cost_output = 0.0, .cost_cache_read = 0.0 },
9898 .{ .provider = "opencode", .id = "muse-spark-1.3", .name = "Muse Spark 1.3", .api = "openai-responses", .base_url = "https://opencode.ai/zen/v1", .images = true, .reasoning = true, .context = 1048576, .max_output = 131072, .effort = &.{ "minimal", "low", "medium", "high", "xhigh" }, .cost_input = 1.25, .cost_output = 4.25, .cost_cache_read = 0.15 },
@@ -104,6 +104,8 @@ pub const entries = [_]ModelInfo{
104104 .{ .provider = "opencode", .id = "qwen3.8-flash", .name = "Qwen3.8 Flash", .api = "anthropic-messages", .base_url = "https://opencode.ai/zen/v1", .images = true, .reasoning = true, .context = 1000000, .max_output = 131072, .effort = &.{ "low", "medium", "xhigh" }, .cost_input = 0.15, .cost_output = 0.47, .cost_cache_read = 0.016 },
105105 .{ .provider = "opencode", .id = "qwen3.8-max", .name = "Qwen3.8 Max", .api = "openai-completions", .base_url = "https://opencode.ai/zen/v1", .images = true, .reasoning = true, .context = 262144, .max_output = 131072, .effort = &.{}, .cost_input = 2.0, .cost_output = 6.0, .cost_cache_read = 0.25 },
106106 .{ .provider = "opencode", .id = "space-bunny-free", .name = "Space Bunny Free", .api = "openai-completions", .base_url = "https://opencode.ai/zen/v1", .images = true, .reasoning = true, .context = 1048576, .max_output = 524288, .effort = &.{ "low", "medium", "high", "xhigh", "max" }, .cost_input = 0.0, .cost_output = 0.0, .cost_cache_read = 0.0 },
107+ .{ .provider = "opencode", .id = "step-5-preview-free", .name = "Step 5 Preview Free", .api = "openai-completions", .base_url = "https://opencode.ai/zen/v1", .images = true, .reasoning = true, .context = 1000000, .max_output = 65536, .effort = &.{ "low", "medium", "high" }, .cost_input = 0.0, .cost_output = 0.0, .cost_cache_read = 0.0 },
108+ .{ .provider = "opencode-go", .id = "claude-haiku-5-5", .name = "Claude Haiku 5.5", .api = "anthropic-messages", .base_url = "https://opencode.ai/zen/go/v1", .images = true, .reasoning = true, .context = 1000000, .max_output = 128000, .effort = &.{ "low", "medium", "high", "xhigh", "max" }, .cost_input = 0.1, .cost_output = 0.5, .cost_cache_read = 0.01 },
107109 .{ .provider = "opencode-go", .id = "deepseek-flash", .name = "deepseek-flash", .api = "openai-completions", .base_url = "https://opencode.ai/zen/go/v1", .images = false, .reasoning = false, .context = 0, .max_output = 0, .effort = &.{}, .cost_input = 0.0, .cost_output = 0.0, .cost_cache_read = 0.0 },
108110 .{ .provider = "opencode-go", .id = "deepseek-v4-flash", .name = "DeepSeek V4 Flash", .api = "openai-completions", .base_url = "https://opencode.ai/zen/go/v1", .images = false, .reasoning = true, .context = 1000000, .max_output = 384000, .effort = &.{ "low", "high", "max" }, .cost_input = 0.15, .cost_output = 0.6, .cost_cache_read = 0.003 },
109111 .{ .provider = "opencode-go", .id = "deepseek-v4-flash-vision-exp", .name = "DeepSeek V4 Flash Vision Exp", .api = "openai-completions", .base_url = "https://opencode.ai/zen/go/v1", .images = true, .reasoning = true, .context = 1000000, .max_output = 384000, .effort = &.{ "low", "high", "max" }, .cost_input = 0.15, .cost_output = 0.6, .cost_cache_read = 0.003 },
@@ -146,7 +148,8 @@ pub const entries = [_]ModelInfo{
146148 .{ .provider = "opencode-go", .id = "qwen3.7-plus", .name = "Qwen3.7 Plus", .api = "anthropic-messages", .base_url = "https://opencode.ai/zen/go/v1", .images = true, .reasoning = true, .context = 1000000, .max_output = 65536, .effort = &.{}, .cost_input = 0.4, .cost_output = 1.6, .cost_cache_read = 0.04 },
147149 .{ .provider = "opencode-go", .id = "qwen3.8-flash", .name = "Qwen3.8 Flash", .api = "anthropic-messages", .base_url = "https://opencode.ai/zen/go/v1", .images = true, .reasoning = true, .context = 1000000, .max_output = 131072, .effort = &.{ "low", "medium", "xhigh" }, .cost_input = 0.15, .cost_output = 0.47, .cost_cache_read = 0.016 },
148150 .{ .provider = "opencode-go", .id = "qwen3.8-max", .name = "Qwen3.8 Max", .api = "anthropic-messages", .base_url = "https://opencode.ai/zen/go/v1", .images = true, .reasoning = true, .context = 1000000, .max_output = 131072, .effort = &.{ "low", "medium", "xhigh" }, .cost_input = 2.0, .cost_output = 6.0, .cost_cache_read = 0.25 },
149- .{ .provider = "opencode-go", .id = "space-bunny-free", .name = "Space Bunny Free", .api = "openai-completions", .base_url = "https://opencode.ai/zen/go/v1", .images = true, .reasoning = true, .context = 1048576, .max_output = 524288, .effort = &.{ "low", "medium", "high", "xhigh", "max" }, .cost_input = 0.0, .cost_output = 0.0, .cost_cache_read = 0.0 },
151+ .{ .provider = "opencode-go", .id = "space-bunny", .name = "Space Bunny", .api = "openai-completions", .base_url = "https://opencode.ai/zen/go/v1", .images = true, .reasoning = true, .context = 1048576, .max_output = 524288, .effort = &.{ "low", "medium", "high", "xhigh", "max" }, .cost_input = 0.15, .cost_output = 0.6, .cost_cache_read = 0.03 },
152+ .{ .provider = "opencode-go", .id = "step-5-preview-free", .name = "Step 5 Preview Free", .api = "openai-completions", .base_url = "https://opencode.ai/zen/go/v1", .images = true, .reasoning = true, .context = 1000000, .max_output = 65536, .effort = &.{ "low", "medium", "high" }, .cost_input = 0.0, .cost_output = 0.0, .cost_cache_read = 0.0 },
150153 };
151154
152155 pub fn lookup(provider: []const u8, id: []const u8) ?*const ModelInfo {