@ashx-j/lunr-ai 0.2.7 → 0.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -63,7 +63,7 @@ export declare const OPENCODE_MODELS: {
63
63
  contextWindow: number;
64
64
  maxTokens: number;
65
65
  };
66
- readonly "claude-opus-4-1": {
66
+ readonly "claude-opus-4-5": {
67
67
  id: string;
68
68
  name: string;
69
69
  api: "anthropic-messages";
@@ -80,13 +80,19 @@ export declare const OPENCODE_MODELS: {
80
80
  contextWindow: number;
81
81
  maxTokens: number;
82
82
  };
83
- readonly "claude-opus-4-5": {
83
+ readonly "claude-opus-4-6": {
84
84
  id: string;
85
85
  name: string;
86
86
  api: "anthropic-messages";
87
87
  provider: string;
88
88
  baseUrl: string;
89
+ compat: {
90
+ forceAdaptiveThinking: true;
91
+ };
89
92
  reasoning: true;
93
+ thinkingLevelMap: {
94
+ max: string;
95
+ };
90
96
  input: ("image" | "text")[];
91
97
  cost: {
92
98
  input: number;
@@ -97,7 +103,7 @@ export declare const OPENCODE_MODELS: {
97
103
  contextWindow: number;
98
104
  maxTokens: number;
99
105
  };
100
- readonly "claude-opus-4-6": {
106
+ readonly "claude-opus-4-7": {
101
107
  id: string;
102
108
  name: string;
103
109
  api: "anthropic-messages";
@@ -105,9 +111,11 @@ export declare const OPENCODE_MODELS: {
105
111
  baseUrl: string;
106
112
  compat: {
107
113
  forceAdaptiveThinking: true;
114
+ supportsTemperature: false;
108
115
  };
109
116
  reasoning: true;
110
117
  thinkingLevelMap: {
118
+ xhigh: string;
111
119
  max: string;
112
120
  };
113
121
  input: ("image" | "text")[];
@@ -120,7 +128,7 @@ export declare const OPENCODE_MODELS: {
120
128
  contextWindow: number;
121
129
  maxTokens: number;
122
130
  };
123
- readonly "claude-opus-4-7": {
131
+ readonly "claude-opus-4-8": {
124
132
  id: string;
125
133
  name: string;
126
134
  api: "anthropic-messages";
@@ -145,21 +153,13 @@ export declare const OPENCODE_MODELS: {
145
153
  contextWindow: number;
146
154
  maxTokens: number;
147
155
  };
148
- readonly "claude-opus-4-8": {
156
+ readonly "claude-opus-5": {
149
157
  id: string;
150
158
  name: string;
151
159
  api: "anthropic-messages";
152
160
  provider: string;
153
161
  baseUrl: string;
154
- compat: {
155
- forceAdaptiveThinking: true;
156
- supportsTemperature: false;
157
- };
158
162
  reasoning: true;
159
- thinkingLevelMap: {
160
- xhigh: string;
161
- max: string;
162
- };
163
163
  input: ("image" | "text")[];
164
164
  cost: {
165
165
  input: number;
@@ -407,6 +407,66 @@ export declare const OPENCODE_MODELS: {
407
407
  contextWindow: number;
408
408
  maxTokens: number;
409
409
  };
410
+ readonly "gemini-3.5-flash-lite": {
411
+ id: string;
412
+ name: string;
413
+ api: "google-generative-ai";
414
+ provider: string;
415
+ baseUrl: string;
416
+ reasoning: true;
417
+ thinkingLevelMap: {
418
+ off: null;
419
+ };
420
+ input: ("image" | "text")[];
421
+ cost: {
422
+ input: number;
423
+ output: number;
424
+ cacheRead: number;
425
+ cacheWrite: number;
426
+ };
427
+ contextWindow: number;
428
+ maxTokens: number;
429
+ };
430
+ readonly "gemini-3.6-flash": {
431
+ id: string;
432
+ name: string;
433
+ api: "google-generative-ai";
434
+ provider: string;
435
+ baseUrl: string;
436
+ reasoning: true;
437
+ thinkingLevelMap: {
438
+ off: null;
439
+ };
440
+ input: ("image" | "text")[];
441
+ cost: {
442
+ input: number;
443
+ output: number;
444
+ cacheRead: number;
445
+ cacheWrite: number;
446
+ };
447
+ contextWindow: number;
448
+ maxTokens: number;
449
+ };
450
+ readonly "gemini-3.7-flash": {
451
+ id: string;
452
+ name: string;
453
+ api: "google-generative-ai";
454
+ provider: string;
455
+ baseUrl: string;
456
+ reasoning: true;
457
+ thinkingLevelMap: {
458
+ off: null;
459
+ };
460
+ input: ("image" | "text")[];
461
+ cost: {
462
+ input: number;
463
+ output: number;
464
+ cacheRead: number;
465
+ cacheWrite: number;
466
+ };
467
+ contextWindow: number;
468
+ maxTokens: number;
469
+ };
410
470
  readonly "glm-5": {
411
471
  id: string;
412
472
  name: string;
@@ -930,13 +990,31 @@ export declare const OPENCODE_MODELS: {
930
990
  readonly "grok-4.5": {
931
991
  id: string;
932
992
  name: string;
933
- api: "openai-completions";
993
+ api: "openai-responses";
934
994
  provider: string;
935
995
  baseUrl: string;
936
996
  compat: {
937
- supportsStore: false;
938
- supportsDeveloperRole: false;
939
- maxTokensField: "max_tokens";
997
+ sessionAffinityFormat: "openai-nosession";
998
+ };
999
+ reasoning: true;
1000
+ input: ("image" | "text")[];
1001
+ cost: {
1002
+ input: number;
1003
+ output: number;
1004
+ cacheRead: number;
1005
+ cacheWrite: number;
1006
+ };
1007
+ contextWindow: number;
1008
+ maxTokens: number;
1009
+ };
1010
+ readonly "grok-4.6": {
1011
+ id: string;
1012
+ name: string;
1013
+ api: "openai-responses";
1014
+ provider: string;
1015
+ baseUrl: string;
1016
+ compat: {
1017
+ sessionAffinityFormat: "openai-nosession";
940
1018
  };
941
1019
  reasoning: true;
942
1020
  input: ("image" | "text")[];
@@ -952,14 +1030,12 @@ export declare const OPENCODE_MODELS: {
952
1030
  readonly "grok-build-0.1": {
953
1031
  id: string;
954
1032
  name: string;
955
- api: "openai-completions";
1033
+ api: "openai-responses";
956
1034
  provider: string;
957
1035
  baseUrl: string;
958
1036
  compat: {
959
- supportsStore: false;
960
- supportsDeveloperRole: false;
1037
+ sessionAffinityFormat: "openai-nosession";
961
1038
  supportsReasoningEffort: false;
962
- maxTokensField: "max_tokens";
963
1039
  };
964
1040
  reasoning: true;
965
1041
  thinkingLevelMap: {
@@ -1070,6 +1146,50 @@ export declare const OPENCODE_MODELS: {
1070
1146
  contextWindow: number;
1071
1147
  maxTokens: number;
1072
1148
  };
1149
+ readonly "kimi-k3": {
1150
+ id: string;
1151
+ name: string;
1152
+ api: "openai-completions";
1153
+ provider: string;
1154
+ baseUrl: string;
1155
+ compat: {
1156
+ supportsStore: false;
1157
+ supportsDeveloperRole: false;
1158
+ maxTokensField: "max_tokens";
1159
+ };
1160
+ reasoning: true;
1161
+ input: ("image" | "text")[];
1162
+ cost: {
1163
+ input: number;
1164
+ output: number;
1165
+ cacheRead: number;
1166
+ cacheWrite: number;
1167
+ };
1168
+ contextWindow: number;
1169
+ maxTokens: number;
1170
+ };
1171
+ readonly "laguna-s-2.1-free": {
1172
+ id: string;
1173
+ name: string;
1174
+ api: "openai-completions";
1175
+ provider: string;
1176
+ baseUrl: string;
1177
+ compat: {
1178
+ supportsStore: false;
1179
+ supportsDeveloperRole: false;
1180
+ maxTokensField: "max_tokens";
1181
+ };
1182
+ reasoning: true;
1183
+ input: "text"[];
1184
+ cost: {
1185
+ input: number;
1186
+ output: number;
1187
+ cacheRead: number;
1188
+ cacheWrite: number;
1189
+ };
1190
+ contextWindow: number;
1191
+ maxTokens: number;
1192
+ };
1073
1193
  readonly "mimo-v2.5-free": {
1074
1194
  id: string;
1075
1195
  name: string;
@@ -1159,6 +1279,46 @@ export declare const OPENCODE_MODELS: {
1159
1279
  contextWindow: number;
1160
1280
  maxTokens: number;
1161
1281
  };
1282
+ readonly "muse-spark-1.2": {
1283
+ id: string;
1284
+ name: string;
1285
+ api: "openai-responses";
1286
+ provider: string;
1287
+ baseUrl: string;
1288
+ compat: {
1289
+ sessionAffinityFormat: "openai-nosession";
1290
+ };
1291
+ reasoning: true;
1292
+ input: ("image" | "text")[];
1293
+ cost: {
1294
+ input: number;
1295
+ output: number;
1296
+ cacheRead: number;
1297
+ cacheWrite: number;
1298
+ };
1299
+ contextWindow: number;
1300
+ maxTokens: number;
1301
+ };
1302
+ readonly "muse-spark-1.2-contributor-free": {
1303
+ id: string;
1304
+ name: string;
1305
+ api: "openai-responses";
1306
+ provider: string;
1307
+ baseUrl: string;
1308
+ compat: {
1309
+ sessionAffinityFormat: "openai-nosession";
1310
+ };
1311
+ reasoning: true;
1312
+ input: ("image" | "text")[];
1313
+ cost: {
1314
+ input: number;
1315
+ output: number;
1316
+ cacheRead: number;
1317
+ cacheWrite: number;
1318
+ };
1319
+ contextWindow: number;
1320
+ maxTokens: number;
1321
+ };
1162
1322
  readonly "nemotron-3-ultra-free": {
1163
1323
  id: string;
1164
1324
  name: string;
@@ -1181,7 +1341,7 @@ export declare const OPENCODE_MODELS: {
1181
1341
  contextWindow: number;
1182
1342
  maxTokens: number;
1183
1343
  };
1184
- readonly "north-mini-code-free": {
1344
+ readonly "nemotron-3.5-lightning-free": {
1185
1345
  id: string;
1186
1346
  name: string;
1187
1347
  api: "openai-completions";
@@ -1237,5 +1397,27 @@ export declare const OPENCODE_MODELS: {
1237
1397
  contextWindow: number;
1238
1398
  maxTokens: number;
1239
1399
  };
1400
+ readonly "x-preview-f-free": {
1401
+ id: string;
1402
+ name: string;
1403
+ api: "openai-completions";
1404
+ provider: string;
1405
+ baseUrl: string;
1406
+ compat: {
1407
+ supportsStore: false;
1408
+ supportsDeveloperRole: false;
1409
+ maxTokensField: "max_tokens";
1410
+ };
1411
+ reasoning: true;
1412
+ input: ("image" | "text")[];
1413
+ cost: {
1414
+ input: number;
1415
+ output: number;
1416
+ cacheRead: number;
1417
+ cacheWrite: number;
1418
+ };
1419
+ contextWindow: number;
1420
+ maxTokens: number;
1421
+ };
1240
1422
  };
1241
1423
  //# sourceMappingURL=opencode.models.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"opencode.models.d.ts","sourceRoot":"","sources":["../../src/providers/opencode.models.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAm+BlB,CAAC","sourcesContent":["// This file is auto-generated by scripts/generate-models.ts\n// Do not edit manually - run 'npm run generate-models' to update\n\nimport type { Model } from \"../types.ts\";\n\nexport const OPENCODE_MODELS = {\n\t\"big-pickle\": {\n\t\tid: \"big-pickle\",\n\t\tname: \"Big Pickle\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"maxTokensField\":\"max_tokens\"},\n\t\treasoning: true,\n\t\tinput: [\"text\"],\n\t\tcost: {\n\t\t\tinput: 0,\n\t\t\toutput: 0,\n\t\t\tcacheRead: 0,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 32000,\n\t} satisfies Model<\"openai-completions\">,\n\t\"claude-fable-5\": {\n\t\tid: \"claude-fable-5\",\n\t\tname: \"Claude Fable 5\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen\",\n\t\tcompat: {\"forceAdaptiveThinking\":true},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"xhigh\":\"xhigh\",\"max\":\"max\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 10,\n\t\t\toutput: 50,\n\t\t\tcacheRead: 1,\n\t\t\tcacheWrite: 12.5,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-haiku-4-5\": {\n\t\tid: \"claude-haiku-4-5\",\n\t\tname: \"Claude Haiku 4.5\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1,\n\t\t\toutput: 5,\n\t\t\tcacheRead: 0.1,\n\t\t\tcacheWrite: 1.25,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 64000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-opus-4-1\": {\n\t\tid: \"claude-opus-4-1\",\n\t\tname: \"Claude Opus 4.1\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 15,\n\t\t\toutput: 75,\n\t\t\tcacheRead: 1.5,\n\t\t\tcacheWrite: 18.75,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 32000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-opus-4-5\": {\n\t\tid: \"claude-opus-4-5\",\n\t\tname: \"Claude Opus 4.5\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 5,\n\t\t\toutput: 25,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 6.25,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 64000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-opus-4-6\": {\n\t\tid: \"claude-opus-4-6\",\n\t\tname: \"Claude Opus 4.6\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen\",\n\t\tcompat: {\"forceAdaptiveThinking\":true},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"max\":\"max\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 5,\n\t\t\toutput: 25,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 6.25,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-opus-4-7\": {\n\t\tid: \"claude-opus-4-7\",\n\t\tname: \"Claude Opus 4.7\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen\",\n\t\tcompat: {\"forceAdaptiveThinking\":true,\"supportsTemperature\":false},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"xhigh\":\"xhigh\",\"max\":\"max\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 5,\n\t\t\toutput: 25,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 6.25,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-opus-4-8\": {\n\t\tid: \"claude-opus-4-8\",\n\t\tname: \"Claude Opus 4.8\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen\",\n\t\tcompat: {\"forceAdaptiveThinking\":true,\"supportsTemperature\":false},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"xhigh\":\"xhigh\",\"max\":\"max\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 5,\n\t\t\toutput: 25,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 6.25,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-sonnet-4\": {\n\t\tid: \"claude-sonnet-4\",\n\t\tname: \"Claude Sonnet 4\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 3,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0.3,\n\t\t\tcacheWrite: 3.75,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 64000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-sonnet-4-5\": {\n\t\tid: \"claude-sonnet-4-5\",\n\t\tname: \"Claude Sonnet 4.5\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 3,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0.3,\n\t\t\tcacheWrite: 3.75,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 64000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-sonnet-4-6\": {\n\t\tid: \"claude-sonnet-4-6\",\n\t\tname: \"Claude Sonnet 4.6\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen\",\n\t\tcompat: {\"forceAdaptiveThinking\":true},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"max\":\"max\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 3,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0.3,\n\t\t\tcacheWrite: 3.75,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 64000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-sonnet-5\": {\n\t\tid: \"claude-sonnet-5\",\n\t\tname: \"Claude Sonnet 5\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen\",\n\t\tcompat: {\"forceAdaptiveThinking\":true},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"xhigh\":\"xhigh\",\"max\":\"max\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 2,\n\t\t\toutput: 10,\n\t\t\tcacheRead: 0.2,\n\t\t\tcacheWrite: 2.5,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"deepseek-v4-flash\": {\n\t\tid: \"deepseek-v4-flash\",\n\t\tname: \"DeepSeek V4 Flash\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"maxTokensField\":\"max_tokens\",\"supportsLongCacheRetention\":false,\"requiresReasoningContentOnAssistantMessages\":true},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"minimal\":null,\"low\":null,\"medium\":null,\"high\":\"high\",\"max\":\"max\"},\n\t\tinput: [\"text\"],\n\t\tcost: {\n\t\t\tinput: 0.14,\n\t\t\toutput: 0.28,\n\t\t\tcacheRead: 0.028,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 384000,\n\t} satisfies Model<\"openai-completions\">,\n\t\"deepseek-v4-flash-free\": {\n\t\tid: \"deepseek-v4-flash-free\",\n\t\tname: \"DeepSeek V4 Flash Free\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"maxTokensField\":\"max_tokens\",\"requiresReasoningContentOnAssistantMessages\":true},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"minimal\":null,\"low\":null,\"medium\":null,\"high\":\"high\",\"max\":\"max\"},\n\t\tinput: [\"text\"],\n\t\tcost: {\n\t\t\tinput: 0,\n\t\t\toutput: 0,\n\t\t\tcacheRead: 0,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-completions\">,\n\t\"deepseek-v4-pro\": {\n\t\tid: \"deepseek-v4-pro\",\n\t\tname: \"DeepSeek V4 Pro\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"maxTokensField\":\"max_tokens\",\"supportsLongCacheRetention\":false,\"requiresReasoningContentOnAssistantMessages\":true},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"minimal\":null,\"low\":null,\"medium\":null,\"high\":\"high\",\"max\":\"max\"},\n\t\tinput: [\"text\"],\n\t\tcost: {\n\t\t\tinput: 1.74,\n\t\t\toutput: 3.84,\n\t\t\tcacheRead: 0.145,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 384000,\n\t} satisfies Model<\"openai-completions\">,\n\t\"gemini-3-flash\": {\n\t\tid: \"gemini-3-flash\",\n\t\tname: \"Gemini 3 Flash\",\n\t\tapi: \"google-generative-ai\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0.5,\n\t\t\toutput: 3,\n\t\t\tcacheRead: 0.05,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 1048576,\n\t\tmaxTokens: 65536,\n\t} satisfies Model<\"google-generative-ai\">,\n\t\"gemini-3.1-pro\": {\n\t\tid: \"gemini-3.1-pro\",\n\t\tname: \"Gemini 3.1 Pro Preview\",\n\t\tapi: \"google-generative-ai\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"minimal\":null,\"low\":\"LOW\",\"medium\":null,\"high\":\"HIGH\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 2,\n\t\t\toutput: 12,\n\t\t\tcacheRead: 0.2,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 1048576,\n\t\tmaxTokens: 65536,\n\t} satisfies Model<\"google-generative-ai\">,\n\t\"gemini-3.5-flash\": {\n\t\tid: \"gemini-3.5-flash\",\n\t\tname: \"Gemini 3.5 Flash\",\n\t\tapi: \"google-generative-ai\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.5,\n\t\t\toutput: 9,\n\t\t\tcacheRead: 0.15,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 1048576,\n\t\tmaxTokens: 65536,\n\t} satisfies Model<\"google-generative-ai\">,\n\t\"glm-5\": {\n\t\tid: \"glm-5\",\n\t\tname: \"GLM-5\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"maxTokensField\":\"max_tokens\"},\n\t\treasoning: true,\n\t\tinput: [\"text\"],\n\t\tcost: {\n\t\t\tinput: 1,\n\t\t\toutput: 3.2,\n\t\t\tcacheRead: 0.2,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 204800,\n\t\tmaxTokens: 131072,\n\t} satisfies Model<\"openai-completions\">,\n\t\"glm-5.1\": {\n\t\tid: \"glm-5.1\",\n\t\tname: \"GLM-5.1\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"maxTokensField\":\"max_tokens\"},\n\t\treasoning: true,\n\t\tinput: [\"text\"],\n\t\tcost: {\n\t\t\tinput: 1.4,\n\t\t\toutput: 4.4,\n\t\t\tcacheRead: 0.26,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 204800,\n\t\tmaxTokens: 131072,\n\t} satisfies Model<\"openai-completions\">,\n\t\"glm-5.2\": {\n\t\tid: \"glm-5.2\",\n\t\tname: \"GLM-5.2\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"maxTokensField\":\"max_tokens\"},\n\t\treasoning: true,\n\t\tinput: [\"text\"],\n\t\tcost: {\n\t\t\tinput: 1.4,\n\t\t\toutput: 4.4,\n\t\t\tcacheRead: 0.26,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 131072,\n\t} satisfies Model<\"openai-completions\">,\n\t\"gpt-5\": {\n\t\tid: \"gpt-5\",\n\t\tname: \"GPT-5\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"sessionAffinityFormat\":\"openai-nosession\"},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.07,\n\t\t\toutput: 8.5,\n\t\t\tcacheRead: 0.107,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5-codex\": {\n\t\tid: \"gpt-5-codex\",\n\t\tname: \"GPT-5 Codex\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"sessionAffinityFormat\":\"openai-nosession\"},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.07,\n\t\t\toutput: 8.5,\n\t\t\tcacheRead: 0.107,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5-nano\": {\n\t\tid: \"gpt-5-nano\",\n\t\tname: \"GPT-5 Nano\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"sessionAffinityFormat\":\"openai-nosession\"},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0.05,\n\t\t\toutput: 0.4,\n\t\t\tcacheRead: 0.005,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.1\": {\n\t\tid: \"gpt-5.1\",\n\t\tname: \"GPT-5.1\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"sessionAffinityFormat\":\"openai-nosession\"},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.07,\n\t\t\toutput: 8.5,\n\t\t\tcacheRead: 0.107,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.1-codex\": {\n\t\tid: \"gpt-5.1-codex\",\n\t\tname: \"GPT-5.1 Codex\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"sessionAffinityFormat\":\"openai-nosession\"},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.07,\n\t\t\toutput: 8.5,\n\t\t\tcacheRead: 0.107,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.1-codex-max\": {\n\t\tid: \"gpt-5.1-codex-max\",\n\t\tname: \"GPT-5.1 Codex Max\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"sessionAffinityFormat\":\"openai-nosession\"},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.25,\n\t\t\toutput: 10,\n\t\t\tcacheRead: 0.125,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.1-codex-mini\": {\n\t\tid: \"gpt-5.1-codex-mini\",\n\t\tname: \"GPT-5.1 Codex Mini\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"sessionAffinityFormat\":\"openai-nosession\"},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0.25,\n\t\t\toutput: 2,\n\t\t\tcacheRead: 0.025,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.2\": {\n\t\tid: \"gpt-5.2\",\n\t\tname: \"GPT-5.2\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"sessionAffinityFormat\":\"openai-nosession\"},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"xhigh\":\"xhigh\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.75,\n\t\t\toutput: 14,\n\t\t\tcacheRead: 0.175,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.2-codex\": {\n\t\tid: \"gpt-5.2-codex\",\n\t\tname: \"GPT-5.2 Codex\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"sessionAffinityFormat\":\"openai-nosession\"},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"xhigh\":\"xhigh\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.75,\n\t\t\toutput: 14,\n\t\t\tcacheRead: 0.175,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.3-codex\": {\n\t\tid: \"gpt-5.3-codex\",\n\t\tname: \"GPT-5.3 Codex\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"sessionAffinityFormat\":\"openai-nosession\"},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"xhigh\":\"xhigh\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.75,\n\t\t\toutput: 14,\n\t\t\tcacheRead: 0.175,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.4\": {\n\t\tid: \"gpt-5.4\",\n\t\tname: \"GPT-5.4\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"sessionAffinityFormat\":\"openai-nosession\"},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"xhigh\":\"xhigh\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 2.5,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0.25,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 272000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.4-mini\": {\n\t\tid: \"gpt-5.4-mini\",\n\t\tname: \"GPT-5.4 Mini\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"sessionAffinityFormat\":\"openai-nosession\"},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"xhigh\":\"xhigh\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0.75,\n\t\t\toutput: 4.5,\n\t\t\tcacheRead: 0.075,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.4-nano\": {\n\t\tid: \"gpt-5.4-nano\",\n\t\tname: \"GPT-5.4 Nano\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"sessionAffinityFormat\":\"openai-nosession\"},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"xhigh\":\"xhigh\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0.2,\n\t\t\toutput: 1.25,\n\t\t\tcacheRead: 0.02,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.4-pro\": {\n\t\tid: \"gpt-5.4-pro\",\n\t\tname: \"GPT-5.4 Pro\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"sessionAffinityFormat\":\"openai-nosession\"},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"xhigh\":\"xhigh\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 30,\n\t\t\toutput: 180,\n\t\t\tcacheRead: 30,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 1050000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.5\": {\n\t\tid: \"gpt-5.5\",\n\t\tname: \"GPT-5.5\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"sessionAffinityFormat\":\"openai-nosession\"},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"xhigh\":\"xhigh\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 5,\n\t\t\toutput: 30,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 1050000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.5-pro\": {\n\t\tid: \"gpt-5.5-pro\",\n\t\tname: \"GPT-5.5 Pro\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"sessionAffinityFormat\":\"openai-nosession\"},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"xhigh\":\"xhigh\",\"minimal\":null,\"low\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 30,\n\t\t\toutput: 180,\n\t\t\tcacheRead: 30,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 1050000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.6-luna\": {\n\t\tid: \"gpt-5.6-luna\",\n\t\tname: \"GPT-5.6 Luna\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"sessionAffinityFormat\":\"openai-nosession\"},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"xhigh\":\"xhigh\",\"max\":\"max\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1,\n\t\t\toutput: 6,\n\t\t\tcacheRead: 0.1,\n\t\t\tcacheWrite: 1.25,\n\t\t},\n\t\tcontextWindow: 1050000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.6-sol\": {\n\t\tid: \"gpt-5.6-sol\",\n\t\tname: \"GPT-5.6 Sol\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"sessionAffinityFormat\":\"openai-nosession\"},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"xhigh\":\"xhigh\",\"max\":\"max\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 5,\n\t\t\toutput: 30,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 6.25,\n\t\t},\n\t\tcontextWindow: 1050000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.6-terra\": {\n\t\tid: \"gpt-5.6-terra\",\n\t\tname: \"GPT-5.6 Terra\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"sessionAffinityFormat\":\"openai-nosession\"},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"xhigh\":\"xhigh\",\"max\":\"max\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 2.5,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0.25,\n\t\t\tcacheWrite: 3.125,\n\t\t},\n\t\tcontextWindow: 1050000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"grok-4.5\": {\n\t\tid: \"grok-4.5\",\n\t\tname: \"Grok 4.5\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"maxTokensField\":\"max_tokens\"},\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 2,\n\t\t\toutput: 6,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 500000,\n\t\tmaxTokens: 500000,\n\t} satisfies Model<\"openai-completions\">,\n\t\"grok-build-0.1\": {\n\t\tid: \"grok-build-0.1\",\n\t\tname: \"Grok Build 0.1\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"supportsReasoningEffort\":false,\"maxTokensField\":\"max_tokens\"},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"minimal\":null,\"low\":null,\"medium\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1,\n\t\t\toutput: 2,\n\t\t\tcacheRead: 0.2,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 256000,\n\t\tmaxTokens: 256000,\n\t} satisfies Model<\"openai-completions\">,\n\t\"hy3-free\": {\n\t\tid: \"hy3-free\",\n\t\tname: \"Hy3 Free\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"maxTokensField\":\"max_tokens\"},\n\t\treasoning: true,\n\t\tinput: [\"text\"],\n\t\tcost: {\n\t\t\tinput: 0,\n\t\t\toutput: 0,\n\t\t\tcacheRead: 0,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 190000,\n\t\tmaxTokens: 64000,\n\t} satisfies Model<\"openai-completions\">,\n\t\"kimi-k2.5\": {\n\t\tid: \"kimi-k2.5\",\n\t\tname: \"Kimi K2.5\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"maxTokensField\":\"max_tokens\",\"supportsLongCacheRetention\":false},\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0.6,\n\t\t\toutput: 3,\n\t\t\tcacheRead: 0.08,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 262144,\n\t\tmaxTokens: 65536,\n\t} satisfies Model<\"openai-completions\">,\n\t\"kimi-k2.6\": {\n\t\tid: \"kimi-k2.6\",\n\t\tname: \"Kimi K2.6\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"thinkingFormat\":\"deepseek\",\"supportsReasoningEffort\":false,\"maxTokensField\":\"max_tokens\",\"supportsLongCacheRetention\":false},\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0.95,\n\t\t\toutput: 4,\n\t\t\tcacheRead: 0.16,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 262144,\n\t\tmaxTokens: 65536,\n\t} satisfies Model<\"openai-completions\">,\n\t\"kimi-k2.7-code\": {\n\t\tid: \"kimi-k2.7-code\",\n\t\tname: \"Kimi K2.7 Code\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"maxTokensField\":\"max_tokens\"},\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0.95,\n\t\t\toutput: 4,\n\t\t\tcacheRead: 0.19,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 262144,\n\t\tmaxTokens: 262144,\n\t} satisfies Model<\"openai-completions\">,\n\t\"mimo-v2.5-free\": {\n\t\tid: \"mimo-v2.5-free\",\n\t\tname: \"MiMo V2.5 Free\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"maxTokensField\":\"max_tokens\"},\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0,\n\t\t\toutput: 0,\n\t\t\tcacheRead: 0,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 32000,\n\t} satisfies Model<\"openai-completions\">,\n\t\"minimax-m2.5\": {\n\t\tid: \"minimax-m2.5\",\n\t\tname: \"MiniMax-M2.5\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"maxTokensField\":\"max_tokens\"},\n\t\treasoning: true,\n\t\tinput: [\"text\"],\n\t\tcost: {\n\t\t\tinput: 0.3,\n\t\t\toutput: 1.2,\n\t\t\tcacheRead: 0.06,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 204800,\n\t\tmaxTokens: 131072,\n\t} satisfies Model<\"openai-completions\">,\n\t\"minimax-m2.7\": {\n\t\tid: \"minimax-m2.7\",\n\t\tname: \"MiniMax-M2.7\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"maxTokensField\":\"max_tokens\",\"supportsLongCacheRetention\":false},\n\t\treasoning: true,\n\t\tinput: [\"text\"],\n\t\tcost: {\n\t\t\tinput: 0.3,\n\t\t\toutput: 1.2,\n\t\t\tcacheRead: 0.06,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 204800,\n\t\tmaxTokens: 131072,\n\t} satisfies Model<\"openai-completions\">,\n\t\"minimax-m3\": {\n\t\tid: \"minimax-m3\",\n\t\tname: \"MiniMax-M3\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"maxTokensField\":\"max_tokens\"},\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0.3,\n\t\t\toutput: 1.2,\n\t\t\tcacheRead: 0.06,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 512000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-completions\">,\n\t\"nemotron-3-ultra-free\": {\n\t\tid: \"nemotron-3-ultra-free\",\n\t\tname: \"Nemotron 3 Ultra Free\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"maxTokensField\":\"max_tokens\"},\n\t\treasoning: true,\n\t\tinput: [\"text\"],\n\t\tcost: {\n\t\t\tinput: 0,\n\t\t\toutput: 0,\n\t\t\tcacheRead: 0,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-completions\">,\n\t\"north-mini-code-free\": {\n\t\tid: \"north-mini-code-free\",\n\t\tname: \"North Mini Code Free\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"maxTokensField\":\"max_tokens\"},\n\t\treasoning: true,\n\t\tinput: [\"text\"],\n\t\tcost: {\n\t\t\tinput: 0,\n\t\t\toutput: 0,\n\t\t\tcacheRead: 0,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 256000,\n\t\tmaxTokens: 64000,\n\t} satisfies Model<\"openai-completions\">,\n\t\"qwen3.5-plus\": {\n\t\tid: \"qwen3.5-plus\",\n\t\tname: \"Qwen3.5 Plus\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0.2,\n\t\t\toutput: 1.2,\n\t\t\tcacheRead: 0.02,\n\t\t\tcacheWrite: 0.25,\n\t\t},\n\t\tcontextWindow: 262144,\n\t\tmaxTokens: 65536,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"qwen3.6-plus\": {\n\t\tid: \"qwen3.6-plus\",\n\t\tname: \"Qwen3.6 Plus\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0.5,\n\t\t\toutput: 3,\n\t\t\tcacheRead: 0.05,\n\t\t\tcacheWrite: 0.625,\n\t\t},\n\t\tcontextWindow: 262144,\n\t\tmaxTokens: 65536,\n\t} satisfies Model<\"anthropic-messages\">,\n} as const;\n"]}
1
+ {"version":3,"file":"opencode.models.d.ts","sourceRoot":"","sources":["../../src/providers/opencode.models.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqoClB,CAAC","sourcesContent":["// This file is auto-generated by scripts/generate-models.ts\n// Do not edit manually - run 'npm run generate-models' to update\n\nimport type { Model } from \"../types.ts\";\n\nexport const OPENCODE_MODELS = {\n\t\"big-pickle\": {\n\t\tid: \"big-pickle\",\n\t\tname: \"Big Pickle\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"maxTokensField\":\"max_tokens\"},\n\t\treasoning: true,\n\t\tinput: [\"text\"],\n\t\tcost: {\n\t\t\tinput: 0,\n\t\t\toutput: 0,\n\t\t\tcacheRead: 0,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 32000,\n\t} satisfies Model<\"openai-completions\">,\n\t\"claude-fable-5\": {\n\t\tid: \"claude-fable-5\",\n\t\tname: \"Claude Fable 5\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen\",\n\t\tcompat: {\"forceAdaptiveThinking\":true},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"xhigh\":\"xhigh\",\"max\":\"max\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 10,\n\t\t\toutput: 50,\n\t\t\tcacheRead: 1,\n\t\t\tcacheWrite: 12.5,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-haiku-4-5\": {\n\t\tid: \"claude-haiku-4-5\",\n\t\tname: \"Claude Haiku 4.5\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1,\n\t\t\toutput: 5,\n\t\t\tcacheRead: 0.1,\n\t\t\tcacheWrite: 1.25,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 64000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-opus-4-5\": {\n\t\tid: \"claude-opus-4-5\",\n\t\tname: \"Claude Opus 4.5\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 5,\n\t\t\toutput: 25,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 6.25,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 64000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-opus-4-6\": {\n\t\tid: \"claude-opus-4-6\",\n\t\tname: \"Claude Opus 4.6\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen\",\n\t\tcompat: {\"forceAdaptiveThinking\":true},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"max\":\"max\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 5,\n\t\t\toutput: 25,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 6.25,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-opus-4-7\": {\n\t\tid: \"claude-opus-4-7\",\n\t\tname: \"Claude Opus 4.7\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen\",\n\t\tcompat: {\"forceAdaptiveThinking\":true,\"supportsTemperature\":false},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"xhigh\":\"xhigh\",\"max\":\"max\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 5,\n\t\t\toutput: 25,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 6.25,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-opus-4-8\": {\n\t\tid: \"claude-opus-4-8\",\n\t\tname: \"Claude Opus 4.8\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen\",\n\t\tcompat: {\"forceAdaptiveThinking\":true,\"supportsTemperature\":false},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"xhigh\":\"xhigh\",\"max\":\"max\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 5,\n\t\t\toutput: 25,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 6.25,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-opus-5\": {\n\t\tid: \"claude-opus-5\",\n\t\tname: \"Claude Opus 5\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 5,\n\t\t\toutput: 25,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 6.25,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-sonnet-4\": {\n\t\tid: \"claude-sonnet-4\",\n\t\tname: \"Claude Sonnet 4\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 3,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0.3,\n\t\t\tcacheWrite: 3.75,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 64000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-sonnet-4-5\": {\n\t\tid: \"claude-sonnet-4-5\",\n\t\tname: \"Claude Sonnet 4.5\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 3,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0.3,\n\t\t\tcacheWrite: 3.75,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 64000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-sonnet-4-6\": {\n\t\tid: \"claude-sonnet-4-6\",\n\t\tname: \"Claude Sonnet 4.6\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen\",\n\t\tcompat: {\"forceAdaptiveThinking\":true},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"max\":\"max\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 3,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0.3,\n\t\t\tcacheWrite: 3.75,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 64000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"claude-sonnet-5\": {\n\t\tid: \"claude-sonnet-5\",\n\t\tname: \"Claude Sonnet 5\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen\",\n\t\tcompat: {\"forceAdaptiveThinking\":true},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"xhigh\":\"xhigh\",\"max\":\"max\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 2,\n\t\t\toutput: 10,\n\t\t\tcacheRead: 0.2,\n\t\t\tcacheWrite: 2.5,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"deepseek-v4-flash\": {\n\t\tid: \"deepseek-v4-flash\",\n\t\tname: \"DeepSeek V4 Flash\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"maxTokensField\":\"max_tokens\",\"supportsLongCacheRetention\":false,\"requiresReasoningContentOnAssistantMessages\":true},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"minimal\":null,\"low\":null,\"medium\":null,\"high\":\"high\",\"max\":\"max\"},\n\t\tinput: [\"text\"],\n\t\tcost: {\n\t\t\tinput: 0.14,\n\t\t\toutput: 0.28,\n\t\t\tcacheRead: 0.028,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 384000,\n\t} satisfies Model<\"openai-completions\">,\n\t\"deepseek-v4-flash-free\": {\n\t\tid: \"deepseek-v4-flash-free\",\n\t\tname: \"DeepSeek V4 Flash Free\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"maxTokensField\":\"max_tokens\",\"requiresReasoningContentOnAssistantMessages\":true},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"minimal\":null,\"low\":null,\"medium\":null,\"high\":\"high\",\"max\":\"max\"},\n\t\tinput: [\"text\"],\n\t\tcost: {\n\t\t\tinput: 0,\n\t\t\toutput: 0,\n\t\t\tcacheRead: 0,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-completions\">,\n\t\"deepseek-v4-pro\": {\n\t\tid: \"deepseek-v4-pro\",\n\t\tname: \"DeepSeek V4 Pro\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"maxTokensField\":\"max_tokens\",\"supportsLongCacheRetention\":false,\"requiresReasoningContentOnAssistantMessages\":true},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"minimal\":null,\"low\":null,\"medium\":null,\"high\":\"high\",\"max\":\"max\"},\n\t\tinput: [\"text\"],\n\t\tcost: {\n\t\t\tinput: 1.74,\n\t\t\toutput: 3.84,\n\t\t\tcacheRead: 0.145,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 384000,\n\t} satisfies Model<\"openai-completions\">,\n\t\"gemini-3-flash\": {\n\t\tid: \"gemini-3-flash\",\n\t\tname: \"Gemini 3 Flash\",\n\t\tapi: \"google-generative-ai\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0.5,\n\t\t\toutput: 3,\n\t\t\tcacheRead: 0.05,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 1048576,\n\t\tmaxTokens: 65536,\n\t} satisfies Model<\"google-generative-ai\">,\n\t\"gemini-3.1-pro\": {\n\t\tid: \"gemini-3.1-pro\",\n\t\tname: \"Gemini 3.1 Pro Preview\",\n\t\tapi: \"google-generative-ai\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"minimal\":null,\"low\":\"LOW\",\"medium\":null,\"high\":\"HIGH\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 2,\n\t\t\toutput: 12,\n\t\t\tcacheRead: 0.2,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 1048576,\n\t\tmaxTokens: 65536,\n\t} satisfies Model<\"google-generative-ai\">,\n\t\"gemini-3.5-flash\": {\n\t\tid: \"gemini-3.5-flash\",\n\t\tname: \"Gemini 3.5 Flash\",\n\t\tapi: \"google-generative-ai\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.5,\n\t\t\toutput: 9,\n\t\t\tcacheRead: 0.15,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 1048576,\n\t\tmaxTokens: 65536,\n\t} satisfies Model<\"google-generative-ai\">,\n\t\"gemini-3.5-flash-lite\": {\n\t\tid: \"gemini-3.5-flash-lite\",\n\t\tname: \"Gemini 3.5 Flash Lite\",\n\t\tapi: \"google-generative-ai\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0.3,\n\t\t\toutput: 2.5,\n\t\t\tcacheRead: 0.03,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 1048576,\n\t\tmaxTokens: 65536,\n\t} satisfies Model<\"google-generative-ai\">,\n\t\"gemini-3.6-flash\": {\n\t\tid: \"gemini-3.6-flash\",\n\t\tname: \"Gemini 3.6 Flash\",\n\t\tapi: \"google-generative-ai\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.5,\n\t\t\toutput: 7.5,\n\t\t\tcacheRead: 0.15,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 1048576,\n\t\tmaxTokens: 65536,\n\t} satisfies Model<\"google-generative-ai\">,\n\t\"gemini-3.7-flash\": {\n\t\tid: \"gemini-3.7-flash\",\n\t\tname: \"Gemini 3.7 Flash\",\n\t\tapi: \"google-generative-ai\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.5,\n\t\t\toutput: 7.5,\n\t\t\tcacheRead: 0.15,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 1048576,\n\t\tmaxTokens: 65536,\n\t} satisfies Model<\"google-generative-ai\">,\n\t\"glm-5\": {\n\t\tid: \"glm-5\",\n\t\tname: \"GLM-5\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"maxTokensField\":\"max_tokens\"},\n\t\treasoning: true,\n\t\tinput: [\"text\"],\n\t\tcost: {\n\t\t\tinput: 1,\n\t\t\toutput: 3.2,\n\t\t\tcacheRead: 0.2,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 204800,\n\t\tmaxTokens: 131072,\n\t} satisfies Model<\"openai-completions\">,\n\t\"glm-5.1\": {\n\t\tid: \"glm-5.1\",\n\t\tname: \"GLM-5.1\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"maxTokensField\":\"max_tokens\"},\n\t\treasoning: true,\n\t\tinput: [\"text\"],\n\t\tcost: {\n\t\t\tinput: 1.4,\n\t\t\toutput: 4.4,\n\t\t\tcacheRead: 0.26,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 204800,\n\t\tmaxTokens: 131072,\n\t} satisfies Model<\"openai-completions\">,\n\t\"glm-5.2\": {\n\t\tid: \"glm-5.2\",\n\t\tname: \"GLM-5.2\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"maxTokensField\":\"max_tokens\"},\n\t\treasoning: true,\n\t\tinput: [\"text\"],\n\t\tcost: {\n\t\t\tinput: 1.4,\n\t\t\toutput: 4.4,\n\t\t\tcacheRead: 0.26,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 131072,\n\t} satisfies Model<\"openai-completions\">,\n\t\"gpt-5\": {\n\t\tid: \"gpt-5\",\n\t\tname: \"GPT-5\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"sessionAffinityFormat\":\"openai-nosession\"},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.07,\n\t\t\toutput: 8.5,\n\t\t\tcacheRead: 0.107,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5-codex\": {\n\t\tid: \"gpt-5-codex\",\n\t\tname: \"GPT-5 Codex\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"sessionAffinityFormat\":\"openai-nosession\"},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.07,\n\t\t\toutput: 8.5,\n\t\t\tcacheRead: 0.107,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5-nano\": {\n\t\tid: \"gpt-5-nano\",\n\t\tname: \"GPT-5 Nano\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"sessionAffinityFormat\":\"openai-nosession\"},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0.05,\n\t\t\toutput: 0.4,\n\t\t\tcacheRead: 0.005,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.1\": {\n\t\tid: \"gpt-5.1\",\n\t\tname: \"GPT-5.1\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"sessionAffinityFormat\":\"openai-nosession\"},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.07,\n\t\t\toutput: 8.5,\n\t\t\tcacheRead: 0.107,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.1-codex\": {\n\t\tid: \"gpt-5.1-codex\",\n\t\tname: \"GPT-5.1 Codex\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"sessionAffinityFormat\":\"openai-nosession\"},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.07,\n\t\t\toutput: 8.5,\n\t\t\tcacheRead: 0.107,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.1-codex-max\": {\n\t\tid: \"gpt-5.1-codex-max\",\n\t\tname: \"GPT-5.1 Codex Max\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"sessionAffinityFormat\":\"openai-nosession\"},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.25,\n\t\t\toutput: 10,\n\t\t\tcacheRead: 0.125,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.1-codex-mini\": {\n\t\tid: \"gpt-5.1-codex-mini\",\n\t\tname: \"GPT-5.1 Codex Mini\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"sessionAffinityFormat\":\"openai-nosession\"},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0.25,\n\t\t\toutput: 2,\n\t\t\tcacheRead: 0.025,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.2\": {\n\t\tid: \"gpt-5.2\",\n\t\tname: \"GPT-5.2\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"sessionAffinityFormat\":\"openai-nosession\"},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"xhigh\":\"xhigh\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.75,\n\t\t\toutput: 14,\n\t\t\tcacheRead: 0.175,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.2-codex\": {\n\t\tid: \"gpt-5.2-codex\",\n\t\tname: \"GPT-5.2 Codex\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"sessionAffinityFormat\":\"openai-nosession\"},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"xhigh\":\"xhigh\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.75,\n\t\t\toutput: 14,\n\t\t\tcacheRead: 0.175,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.3-codex\": {\n\t\tid: \"gpt-5.3-codex\",\n\t\tname: \"GPT-5.3 Codex\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"sessionAffinityFormat\":\"openai-nosession\"},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"xhigh\":\"xhigh\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.75,\n\t\t\toutput: 14,\n\t\t\tcacheRead: 0.175,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.4\": {\n\t\tid: \"gpt-5.4\",\n\t\tname: \"GPT-5.4\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"sessionAffinityFormat\":\"openai-nosession\"},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"xhigh\":\"xhigh\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 2.5,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0.25,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 272000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.4-mini\": {\n\t\tid: \"gpt-5.4-mini\",\n\t\tname: \"GPT-5.4 Mini\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"sessionAffinityFormat\":\"openai-nosession\"},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"xhigh\":\"xhigh\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0.75,\n\t\t\toutput: 4.5,\n\t\t\tcacheRead: 0.075,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.4-nano\": {\n\t\tid: \"gpt-5.4-nano\",\n\t\tname: \"GPT-5.4 Nano\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"sessionAffinityFormat\":\"openai-nosession\"},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"xhigh\":\"xhigh\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0.2,\n\t\t\toutput: 1.25,\n\t\t\tcacheRead: 0.02,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.4-pro\": {\n\t\tid: \"gpt-5.4-pro\",\n\t\tname: \"GPT-5.4 Pro\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"sessionAffinityFormat\":\"openai-nosession\"},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"xhigh\":\"xhigh\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 30,\n\t\t\toutput: 180,\n\t\t\tcacheRead: 30,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 1050000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.5\": {\n\t\tid: \"gpt-5.5\",\n\t\tname: \"GPT-5.5\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"sessionAffinityFormat\":\"openai-nosession\"},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"xhigh\":\"xhigh\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 5,\n\t\t\toutput: 30,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 1050000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.5-pro\": {\n\t\tid: \"gpt-5.5-pro\",\n\t\tname: \"GPT-5.5 Pro\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"sessionAffinityFormat\":\"openai-nosession\"},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"xhigh\":\"xhigh\",\"minimal\":null,\"low\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 30,\n\t\t\toutput: 180,\n\t\t\tcacheRead: 30,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 1050000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.6-luna\": {\n\t\tid: \"gpt-5.6-luna\",\n\t\tname: \"GPT-5.6 Luna\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"sessionAffinityFormat\":\"openai-nosession\"},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"xhigh\":\"xhigh\",\"max\":\"max\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0.2,\n\t\t\toutput: 1.2,\n\t\t\tcacheRead: 0.02,\n\t\t\tcacheWrite: 0.25,\n\t\t},\n\t\tcontextWindow: 1050000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.6-sol\": {\n\t\tid: \"gpt-5.6-sol\",\n\t\tname: \"GPT-5.6 Sol (50% Off)\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"sessionAffinityFormat\":\"openai-nosession\"},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"xhigh\":\"xhigh\",\"max\":\"max\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 2.5,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0.25,\n\t\t\tcacheWrite: 3.125,\n\t\t},\n\t\tcontextWindow: 1050000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.6-terra\": {\n\t\tid: \"gpt-5.6-terra\",\n\t\tname: \"GPT-5.6 Terra\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"sessionAffinityFormat\":\"openai-nosession\"},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"xhigh\":\"xhigh\",\"max\":\"max\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 2.5,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0.25,\n\t\t\tcacheWrite: 3.125,\n\t\t},\n\t\tcontextWindow: 1050000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"grok-4.5\": {\n\t\tid: \"grok-4.5\",\n\t\tname: \"Grok 4.5\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"sessionAffinityFormat\":\"openai-nosession\"},\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 2,\n\t\t\toutput: 6,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 500000,\n\t\tmaxTokens: 500000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"grok-4.6\": {\n\t\tid: \"grok-4.6\",\n\t\tname: \"Grok 4.6\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"sessionAffinityFormat\":\"openai-nosession\"},\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 2,\n\t\t\toutput: 6,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 500000,\n\t\tmaxTokens: 500000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"grok-build-0.1\": {\n\t\tid: \"grok-build-0.1\",\n\t\tname: \"Grok Build 0.1\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"sessionAffinityFormat\":\"openai-nosession\",\"supportsReasoningEffort\":false},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"minimal\":null,\"low\":null,\"medium\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1,\n\t\t\toutput: 2,\n\t\t\tcacheRead: 0.2,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 256000,\n\t\tmaxTokens: 256000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"hy3-free\": {\n\t\tid: \"hy3-free\",\n\t\tname: \"Hy3 Free\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"maxTokensField\":\"max_tokens\"},\n\t\treasoning: true,\n\t\tinput: [\"text\"],\n\t\tcost: {\n\t\t\tinput: 0,\n\t\t\toutput: 0,\n\t\t\tcacheRead: 0,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 190000,\n\t\tmaxTokens: 64000,\n\t} satisfies Model<\"openai-completions\">,\n\t\"kimi-k2.5\": {\n\t\tid: \"kimi-k2.5\",\n\t\tname: \"Kimi K2.5\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"maxTokensField\":\"max_tokens\",\"supportsLongCacheRetention\":false},\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0.6,\n\t\t\toutput: 3,\n\t\t\tcacheRead: 0.08,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 262144,\n\t\tmaxTokens: 65536,\n\t} satisfies Model<\"openai-completions\">,\n\t\"kimi-k2.6\": {\n\t\tid: \"kimi-k2.6\",\n\t\tname: \"Kimi K2.6\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"thinkingFormat\":\"deepseek\",\"supportsReasoningEffort\":false,\"maxTokensField\":\"max_tokens\",\"supportsLongCacheRetention\":false},\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0.95,\n\t\t\toutput: 4,\n\t\t\tcacheRead: 0.16,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 262144,\n\t\tmaxTokens: 65536,\n\t} satisfies Model<\"openai-completions\">,\n\t\"kimi-k2.7-code\": {\n\t\tid: \"kimi-k2.7-code\",\n\t\tname: \"Kimi K2.7 Code\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"maxTokensField\":\"max_tokens\"},\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0.95,\n\t\t\toutput: 4,\n\t\t\tcacheRead: 0.19,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 262144,\n\t\tmaxTokens: 262144,\n\t} satisfies Model<\"openai-completions\">,\n\t\"kimi-k3\": {\n\t\tid: \"kimi-k3\",\n\t\tname: \"Kimi K3\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"maxTokensField\":\"max_tokens\"},\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 3,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0.3,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 1048576,\n\t\tmaxTokens: 131072,\n\t} satisfies Model<\"openai-completions\">,\n\t\"laguna-s-2.1-free\": {\n\t\tid: \"laguna-s-2.1-free\",\n\t\tname: \"Laguna S 2.1 Free\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"maxTokensField\":\"max_tokens\"},\n\t\treasoning: true,\n\t\tinput: [\"text\"],\n\t\tcost: {\n\t\t\tinput: 0,\n\t\t\toutput: 0,\n\t\t\tcacheRead: 0,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 256000,\n\t\tmaxTokens: 32000,\n\t} satisfies Model<\"openai-completions\">,\n\t\"mimo-v2.5-free\": {\n\t\tid: \"mimo-v2.5-free\",\n\t\tname: \"MiMo V2.5 Free\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"maxTokensField\":\"max_tokens\"},\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0,\n\t\t\toutput: 0,\n\t\t\tcacheRead: 0,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 32000,\n\t} satisfies Model<\"openai-completions\">,\n\t\"minimax-m2.5\": {\n\t\tid: \"minimax-m2.5\",\n\t\tname: \"MiniMax-M2.5\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"maxTokensField\":\"max_tokens\"},\n\t\treasoning: true,\n\t\tinput: [\"text\"],\n\t\tcost: {\n\t\t\tinput: 0.3,\n\t\t\toutput: 1.2,\n\t\t\tcacheRead: 0.06,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 204800,\n\t\tmaxTokens: 131072,\n\t} satisfies Model<\"openai-completions\">,\n\t\"minimax-m2.7\": {\n\t\tid: \"minimax-m2.7\",\n\t\tname: \"MiniMax-M2.7\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"maxTokensField\":\"max_tokens\",\"supportsLongCacheRetention\":false},\n\t\treasoning: true,\n\t\tinput: [\"text\"],\n\t\tcost: {\n\t\t\tinput: 0.3,\n\t\t\toutput: 1.2,\n\t\t\tcacheRead: 0.06,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 204800,\n\t\tmaxTokens: 131072,\n\t} satisfies Model<\"openai-completions\">,\n\t\"minimax-m3\": {\n\t\tid: \"minimax-m3\",\n\t\tname: \"MiniMax-M3\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"maxTokensField\":\"max_tokens\"},\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0.3,\n\t\t\toutput: 1.2,\n\t\t\tcacheRead: 0.06,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 512000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-completions\">,\n\t\"muse-spark-1.2\": {\n\t\tid: \"muse-spark-1.2\",\n\t\tname: \"Muse Spark 1.2\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"sessionAffinityFormat\":\"openai-nosession\"},\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.25,\n\t\t\toutput: 4.25,\n\t\t\tcacheRead: 0.15,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 1048576,\n\t\tmaxTokens: 131072,\n\t} satisfies Model<\"openai-responses\">,\n\t\"muse-spark-1.2-contributor-free\": {\n\t\tid: \"muse-spark-1.2-contributor-free\",\n\t\tname: \"Muse Spark 1.2 Free\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"sessionAffinityFormat\":\"openai-nosession\"},\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0,\n\t\t\toutput: 0,\n\t\t\tcacheRead: 0,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 1048576,\n\t\tmaxTokens: 131072,\n\t} satisfies Model<\"openai-responses\">,\n\t\"nemotron-3-ultra-free\": {\n\t\tid: \"nemotron-3-ultra-free\",\n\t\tname: \"Nemotron 3 Ultra Free\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"maxTokensField\":\"max_tokens\"},\n\t\treasoning: true,\n\t\tinput: [\"text\"],\n\t\tcost: {\n\t\t\tinput: 0,\n\t\t\toutput: 0,\n\t\t\tcacheRead: 0,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-completions\">,\n\t\"nemotron-3.5-lightning-free\": {\n\t\tid: \"nemotron-3.5-lightning-free\",\n\t\tname: \"Nemotron 3.5 Lightning Free\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"maxTokensField\":\"max_tokens\"},\n\t\treasoning: true,\n\t\tinput: [\"text\"],\n\t\tcost: {\n\t\t\tinput: 0,\n\t\t\toutput: 0,\n\t\t\tcacheRead: 0,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 262144,\n\t\tmaxTokens: 262144,\n\t} satisfies Model<\"openai-completions\">,\n\t\"qwen3.5-plus\": {\n\t\tid: \"qwen3.5-plus\",\n\t\tname: \"Qwen3.5 Plus\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0.2,\n\t\t\toutput: 1.2,\n\t\t\tcacheRead: 0.02,\n\t\t\tcacheWrite: 0.25,\n\t\t},\n\t\tcontextWindow: 262144,\n\t\tmaxTokens: 65536,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"qwen3.6-plus\": {\n\t\tid: \"qwen3.6-plus\",\n\t\tname: \"Qwen3.6 Plus\",\n\t\tapi: \"anthropic-messages\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0.5,\n\t\t\toutput: 3,\n\t\t\tcacheRead: 0.05,\n\t\t\tcacheWrite: 0.625,\n\t\t},\n\t\tcontextWindow: 262144,\n\t\tmaxTokens: 65536,\n\t} satisfies Model<\"anthropic-messages\">,\n\t\"x-preview-f-free\": {\n\t\tid: \"x-preview-f-free\",\n\t\tname: \"Ox Alpha Free (Unlimited)\",\n\t\tapi: \"openai-completions\",\n\t\tprovider: \"opencode\",\n\t\tbaseUrl: \"https://opencode.ai/zen/v1\",\n\t\tcompat: {\"supportsStore\":false,\"supportsDeveloperRole\":false,\"maxTokensField\":\"max_tokens\"},\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0,\n\t\t\toutput: 0,\n\t\t\tcacheRead: 0,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 1000000,\n\t\tmaxTokens: 131072,\n\t} satisfies Model<\"openai-completions\">,\n} as const;\n"]}