@oh-my-pi/pi-catalog 18.1.2 → 18.1.3

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.
package/src/models.json CHANGED
@@ -30705,6 +30705,99 @@
30705
30705
  "supportsDeveloperRole": false
30706
30706
  }
30707
30707
  },
30708
+ "qwen3.8-flash": {
30709
+ "id": "qwen3.8-flash",
30710
+ "name": "Qwen3.8 Flash",
30711
+ "api": "openai-completions",
30712
+ "provider": "alibaba-token-plan",
30713
+ "baseUrl": "https://token-plan.ap-southeast-1.maas.aliyuncs.com/compatible-mode/v1",
30714
+ "reasoning": true,
30715
+ "input": [
30716
+ "text",
30717
+ "image"
30718
+ ],
30719
+ "cost": {
30720
+ "input": 0,
30721
+ "output": 0,
30722
+ "cacheRead": 0,
30723
+ "cacheWrite": 0
30724
+ },
30725
+ "contextWindow": 1000000,
30726
+ "maxTokens": 131072,
30727
+ "thinking": {
30728
+ "mode": "effort",
30729
+ "efforts": [
30730
+ "minimal",
30731
+ "low",
30732
+ "medium",
30733
+ "high"
30734
+ ]
30735
+ },
30736
+ "compat": {
30737
+ "supportsStore": false,
30738
+ "supportsDeveloperRole": false,
30739
+ "supportsMultipleSystemMessages": false,
30740
+ "supportsReasoningEffort": true,
30741
+ "supportsReasoningParams": true,
30742
+ "supportsSamplingParams": true,
30743
+ "supportsPenaltyAndStopParams": true,
30744
+ "reasoningEffortMap": {},
30745
+ "supportsUsageInStreaming": true,
30746
+ "alwaysSendMaxTokens": false,
30747
+ "disableReasoningOnForcedToolChoice": false,
30748
+ "disableReasoningOnToolChoice": false,
30749
+ "supportsToolChoice": true,
30750
+ "supportsForcedToolChoice": true,
30751
+ "supportsNamedToolChoice": true,
30752
+ "maxTokensField": "max_completion_tokens",
30753
+ "requiresToolResultName": false,
30754
+ "requiresAssistantAfterToolResult": false,
30755
+ "requiresThinkingAsText": false,
30756
+ "requiresMistralToolIds": false,
30757
+ "thinkingFormat": "qwen",
30758
+ "reasoningDisableMode": "qwen-enable-thinking-false",
30759
+ "omitReasoningEffort": false,
30760
+ "includeEncryptedReasoning": true,
30761
+ "filterReasoningHistory": false,
30762
+ "reasoningContentField": "reasoning_content",
30763
+ "requiresReasoningContentForToolCalls": false,
30764
+ "requiresReasoningContentForAllAssistantTurns": false,
30765
+ "allowsSyntheticReasoningContentForToolCalls": true,
30766
+ "replayReasoningContent": false,
30767
+ "qwenPreserveThinking": false,
30768
+ "qwenTemplateReasoningEffort": false,
30769
+ "requiresAssistantContentForToolCalls": false,
30770
+ "supportsPromptCacheBreakpoints": false,
30771
+ "isOpenRouterHost": false,
30772
+ "wireModelIdMode": "raw",
30773
+ "isVercelGatewayHost": false,
30774
+ "supportsStrictMode": false,
30775
+ "toolStrictMode": "mixed",
30776
+ "stripDeepseekSpecialTokens": false,
30777
+ "streamMarkupHealingPattern": "thinking",
30778
+ "reasoningDeltasMayBeCumulative": false,
30779
+ "emptyLengthFinishIsContextError": false,
30780
+ "usesOpenAIToolCallIdLimit": false,
30781
+ "dropThinkingWhenReasoningEffort": false,
30782
+ "nativeKimiK3Reasoning": false,
30783
+ "zaiReasoningEffortDialect": false,
30784
+ "clampOutputToModelMax": false,
30785
+ "stripImageInput": false,
30786
+ "rejectRootObjectUnion": false,
30787
+ "retryWithoutStrictOnGrammarError": false,
30788
+ "supportsPromptCacheKey": false
30789
+ },
30790
+ "identity": {
30791
+ "class": "qwen",
30792
+ "revision": "3.8.0"
30793
+ },
30794
+ "requiresGlyphTokenization": false,
30795
+ "tokenizer": "qwen3",
30796
+ "supportsComputerUse": false,
30797
+ "compatConfig": {
30798
+ "supportsDeveloperRole": false
30799
+ }
30800
+ },
30708
30801
  "qwen3.8-max": {
30709
30802
  "id": "qwen3.8-max",
30710
30803
  "name": "Qwen3.8 Max",
@@ -38303,7 +38396,7 @@
38303
38396
  "allowAnthropicHeaderOverrides": false,
38304
38397
  "supportsEagerToolInputStreaming": true,
38305
38398
  "supportsLongCacheRetention": true,
38306
- "supportsMidConversationSystem": true,
38399
+ "supportsMidConversationSystem": false,
38307
38400
  "supportsTurnScopedSystem": false,
38308
38401
  "supportsMidConversationToolChanges": false,
38309
38402
  "supportsPerMessageEffort": false,
@@ -55590,6 +55683,7 @@
55590
55683
  "effort": "high",
55591
55684
  "logicalId": "claude-fable-5"
55592
55685
  },
55686
+ "requiresCursorToolSchemaProjection": true,
55593
55687
  "supportsComputerUse": false,
55594
55688
  "supportsComputerUseConfig": false
55595
55689
  },
@@ -55638,6 +55732,7 @@
55638
55732
  "effort": "low",
55639
55733
  "logicalId": "claude-fable-5"
55640
55734
  },
55735
+ "requiresCursorToolSchemaProjection": true,
55641
55736
  "supportsComputerUse": false,
55642
55737
  "supportsComputerUseConfig": false
55643
55738
  },
@@ -55686,6 +55781,7 @@
55686
55781
  "effort": "max",
55687
55782
  "logicalId": "claude-fable-5"
55688
55783
  },
55784
+ "requiresCursorToolSchemaProjection": true,
55689
55785
  "supportsComputerUse": false,
55690
55786
  "supportsComputerUseConfig": false
55691
55787
  },
@@ -55734,6 +55830,7 @@
55734
55830
  "effort": "medium",
55735
55831
  "logicalId": "claude-fable-5"
55736
55832
  },
55833
+ "requiresCursorToolSchemaProjection": true,
55737
55834
  "supportsComputerUse": false,
55738
55835
  "supportsComputerUseConfig": false
55739
55836
  },
@@ -55782,6 +55879,7 @@
55782
55879
  "effort": "xhigh",
55783
55880
  "logicalId": "claude-fable-5"
55784
55881
  },
55882
+ "requiresCursorToolSchemaProjection": true,
55785
55883
  "supportsComputerUse": false,
55786
55884
  "supportsComputerUseConfig": false
55787
55885
  },
@@ -79300,7 +79398,6 @@
79300
79398
  "thinking": {
79301
79399
  "mode": "google-level",
79302
79400
  "efforts": [
79303
- "minimal",
79304
79401
  "low",
79305
79402
  "medium",
79306
79403
  "high"
@@ -80351,7 +80448,7 @@
80351
80448
  "supportsComputerUse": false,
80352
80449
  "compat": {
80353
80450
  "supportsFunctionPartId": false,
80354
- "requiresSkipThoughtSignature": true,
80451
+ "requiresSkipThoughtSignature": false,
80355
80452
  "dropUnsignedThinking": false,
80356
80453
  "ccaLegacyParametersSchema": false,
80357
80454
  "multimodalFunctionResponse": true,
@@ -80405,7 +80502,7 @@
80405
80502
  },
80406
80503
  "compat": {
80407
80504
  "supportsFunctionPartId": false,
80408
- "requiresSkipThoughtSignature": true,
80505
+ "requiresSkipThoughtSignature": false,
80409
80506
  "dropUnsignedThinking": false,
80410
80507
  "ccaLegacyParametersSchema": false,
80411
80508
  "multimodalFunctionResponse": true,
@@ -80444,7 +80541,7 @@
80444
80541
  "supportsComputerUse": false,
80445
80542
  "compat": {
80446
80543
  "supportsFunctionPartId": false,
80447
- "requiresSkipThoughtSignature": true,
80544
+ "requiresSkipThoughtSignature": false,
80448
80545
  "dropUnsignedThinking": false,
80449
80546
  "ccaLegacyParametersSchema": false,
80450
80547
  "multimodalFunctionResponse": true,
@@ -80494,7 +80591,7 @@
80494
80591
  "supportsComputerUse": false,
80495
80592
  "compat": {
80496
80593
  "supportsFunctionPartId": false,
80497
- "requiresSkipThoughtSignature": true,
80594
+ "requiresSkipThoughtSignature": false,
80498
80595
  "dropUnsignedThinking": false,
80499
80596
  "ccaLegacyParametersSchema": false,
80500
80597
  "multimodalFunctionResponse": true,
@@ -80552,7 +80649,7 @@
80552
80649
  "supportsComputerUse": false,
80553
80650
  "compat": {
80554
80651
  "supportsFunctionPartId": false,
80555
- "requiresSkipThoughtSignature": true,
80652
+ "requiresSkipThoughtSignature": false,
80556
80653
  "dropUnsignedThinking": false,
80557
80654
  "ccaLegacyParametersSchema": false,
80558
80655
  "multimodalFunctionResponse": true,
@@ -80616,7 +80713,7 @@
80616
80713
  "supportsComputerUse": false,
80617
80714
  "compat": {
80618
80715
  "supportsFunctionPartId": false,
80619
- "requiresSkipThoughtSignature": true,
80716
+ "requiresSkipThoughtSignature": false,
80620
80717
  "dropUnsignedThinking": false,
80621
80718
  "ccaLegacyParametersSchema": false,
80622
80719
  "multimodalFunctionResponse": true,
@@ -80673,7 +80770,7 @@
80673
80770
  "supportsComputerUse": false,
80674
80771
  "compat": {
80675
80772
  "supportsFunctionPartId": false,
80676
- "requiresSkipThoughtSignature": true,
80773
+ "requiresSkipThoughtSignature": false,
80677
80774
  "dropUnsignedThinking": false,
80678
80775
  "ccaLegacyParametersSchema": false,
80679
80776
  "multimodalFunctionResponse": true,
@@ -80730,7 +80827,7 @@
80730
80827
  "supportsComputerUse": false,
80731
80828
  "compat": {
80732
80829
  "supportsFunctionPartId": false,
80733
- "requiresSkipThoughtSignature": true,
80830
+ "requiresSkipThoughtSignature": false,
80734
80831
  "dropUnsignedThinking": false,
80735
80832
  "ccaLegacyParametersSchema": false,
80736
80833
  "multimodalFunctionResponse": true,
@@ -81042,7 +81139,7 @@
81042
81139
  },
81043
81140
  "compat": {
81044
81141
  "supportsFunctionPartId": false,
81045
- "requiresSkipThoughtSignature": true,
81142
+ "requiresSkipThoughtSignature": false,
81046
81143
  "dropUnsignedThinking": false,
81047
81144
  "ccaLegacyParametersSchema": false,
81048
81145
  "multimodalFunctionResponse": true,
@@ -81090,7 +81187,7 @@
81090
81187
  },
81091
81188
  "compat": {
81092
81189
  "supportsFunctionPartId": false,
81093
- "requiresSkipThoughtSignature": true,
81190
+ "requiresSkipThoughtSignature": false,
81094
81191
  "dropUnsignedThinking": false,
81095
81192
  "ccaLegacyParametersSchema": false,
81096
81193
  "multimodalFunctionResponse": true,
@@ -81139,7 +81236,7 @@
81139
81236
  },
81140
81237
  "compat": {
81141
81238
  "supportsFunctionPartId": false,
81142
- "requiresSkipThoughtSignature": true,
81239
+ "requiresSkipThoughtSignature": false,
81143
81240
  "dropUnsignedThinking": false,
81144
81241
  "ccaLegacyParametersSchema": false,
81145
81242
  "multimodalFunctionResponse": true,
@@ -81186,7 +81283,7 @@
81186
81283
  },
81187
81284
  "compat": {
81188
81285
  "supportsFunctionPartId": false,
81189
- "requiresSkipThoughtSignature": true,
81286
+ "requiresSkipThoughtSignature": false,
81190
81287
  "dropUnsignedThinking": false,
81191
81288
  "ccaLegacyParametersSchema": false,
81192
81289
  "multimodalFunctionResponse": true,
@@ -82093,7 +82190,7 @@
82093
82190
  "supportsComputerUse": false,
82094
82191
  "compat": {
82095
82192
  "supportsFunctionPartId": false,
82096
- "requiresSkipThoughtSignature": true,
82193
+ "requiresSkipThoughtSignature": false,
82097
82194
  "dropUnsignedThinking": false,
82098
82195
  "ccaLegacyParametersSchema": false,
82099
82196
  "multimodalFunctionResponse": true,
@@ -82142,7 +82239,7 @@
82142
82239
  "supportsComputerUse": false,
82143
82240
  "compat": {
82144
82241
  "supportsFunctionPartId": false,
82145
- "requiresSkipThoughtSignature": true,
82242
+ "requiresSkipThoughtSignature": false,
82146
82243
  "dropUnsignedThinking": false,
82147
82244
  "ccaLegacyParametersSchema": false,
82148
82245
  "multimodalFunctionResponse": true,
@@ -82189,7 +82286,7 @@
82189
82286
  "supportsComputerUse": false,
82190
82287
  "compat": {
82191
82288
  "supportsFunctionPartId": false,
82192
- "requiresSkipThoughtSignature": true,
82289
+ "requiresSkipThoughtSignature": false,
82193
82290
  "dropUnsignedThinking": false,
82194
82291
  "ccaLegacyParametersSchema": false,
82195
82292
  "multimodalFunctionResponse": true,
@@ -82236,7 +82333,7 @@
82236
82333
  "supportsComputerUse": false,
82237
82334
  "compat": {
82238
82335
  "supportsFunctionPartId": false,
82239
- "requiresSkipThoughtSignature": true,
82336
+ "requiresSkipThoughtSignature": false,
82240
82337
  "dropUnsignedThinking": false,
82241
82338
  "ccaLegacyParametersSchema": false,
82242
82339
  "multimodalFunctionResponse": true,
@@ -82285,7 +82382,7 @@
82285
82382
  "supportsComputerUse": false,
82286
82383
  "compat": {
82287
82384
  "supportsFunctionPartId": false,
82288
- "requiresSkipThoughtSignature": true,
82385
+ "requiresSkipThoughtSignature": false,
82289
82386
  "dropUnsignedThinking": false,
82290
82387
  "ccaLegacyParametersSchema": false,
82291
82388
  "multimodalFunctionResponse": true,
@@ -82334,7 +82431,7 @@
82334
82431
  "supportsComputerUse": false,
82335
82432
  "compat": {
82336
82433
  "supportsFunctionPartId": false,
82337
- "requiresSkipThoughtSignature": true,
82434
+ "requiresSkipThoughtSignature": false,
82338
82435
  "dropUnsignedThinking": false,
82339
82436
  "ccaLegacyParametersSchema": false,
82340
82437
  "multimodalFunctionResponse": true,
@@ -82383,7 +82480,7 @@
82383
82480
  "supportsComputerUse": false,
82384
82481
  "compat": {
82385
82482
  "supportsFunctionPartId": false,
82386
- "requiresSkipThoughtSignature": true,
82483
+ "requiresSkipThoughtSignature": false,
82387
82484
  "dropUnsignedThinking": false,
82388
82485
  "ccaLegacyParametersSchema": false,
82389
82486
  "multimodalFunctionResponse": true,
@@ -82416,7 +82513,6 @@
82416
82513
  "thinking": {
82417
82514
  "mode": "google-level",
82418
82515
  "efforts": [
82419
- "minimal",
82420
82516
  "low",
82421
82517
  "medium",
82422
82518
  "high"
@@ -82432,7 +82528,7 @@
82432
82528
  "supportsComputerUse": false,
82433
82529
  "compat": {
82434
82530
  "supportsFunctionPartId": false,
82435
- "requiresSkipThoughtSignature": true,
82531
+ "requiresSkipThoughtSignature": false,
82436
82532
  "dropUnsignedThinking": false,
82437
82533
  "ccaLegacyParametersSchema": false,
82438
82534
  "multimodalFunctionResponse": true,
@@ -90615,7 +90711,7 @@
90615
90711
  "cost": {
90616
90712
  "input": 10,
90617
90713
  "output": 50,
90618
- "cacheRead": 1,
90714
+ "cacheRead": 0.25,
90619
90715
  "cacheWrite": 12.5
90620
90716
  },
90621
90717
  "contextWindow": 1000000,
@@ -99728,8 +99824,8 @@
99728
99824
  "cacheRead": 0.135,
99729
99825
  "cacheWrite": 0
99730
99826
  },
99731
- "contextWindow": 1048576,
99732
- "maxTokens": 393216,
99827
+ "contextWindow": 1024000,
99828
+ "maxTokens": 384000,
99733
99829
  "thinking": {
99734
99830
  "mode": "effort",
99735
99831
  "efforts": [
@@ -146356,6 +146452,99 @@
146356
146452
  "supportsPromptCacheKey": false
146357
146453
  }
146358
146454
  },
146455
+ "anthropic/claude-fable-5.1": {
146456
+ "id": "anthropic/claude-fable-5.1",
146457
+ "name": "Claude Fable 5.1",
146458
+ "api": "openai-completions",
146459
+ "provider": "nanogpt",
146460
+ "baseUrl": "https://nano-gpt.com/api/v1",
146461
+ "reasoning": true,
146462
+ "input": [
146463
+ "text",
146464
+ "image"
146465
+ ],
146466
+ "cost": {
146467
+ "input": 10,
146468
+ "output": 50,
146469
+ "cacheRead": 0.25,
146470
+ "cacheWrite": 12.5
146471
+ },
146472
+ "contextWindow": 1000000,
146473
+ "maxTokens": 128000,
146474
+ "thinking": {
146475
+ "mode": "effort",
146476
+ "efforts": [
146477
+ "minimal",
146478
+ "low",
146479
+ "medium",
146480
+ "high",
146481
+ "xhigh"
146482
+ ],
146483
+ "prefixBinding": true
146484
+ },
146485
+ "identity": {
146486
+ "class": "anthropic",
146487
+ "family": "fable",
146488
+ "revision": "5.1.0"
146489
+ },
146490
+ "requiresGlyphTokenization": true,
146491
+ "tokenizer": "claude-v5-sonnet",
146492
+ "supportsComputerUse": false,
146493
+ "compat": {
146494
+ "supportsStore": true,
146495
+ "supportsDeveloperRole": false,
146496
+ "supportsMultipleSystemMessages": false,
146497
+ "supportsReasoningEffort": true,
146498
+ "supportsReasoningParams": true,
146499
+ "supportsSamplingParams": true,
146500
+ "supportsPenaltyAndStopParams": true,
146501
+ "reasoningEffortMap": {},
146502
+ "supportsUsageInStreaming": true,
146503
+ "alwaysSendMaxTokens": false,
146504
+ "disableReasoningOnForcedToolChoice": true,
146505
+ "disableReasoningOnToolChoice": false,
146506
+ "supportsToolChoice": true,
146507
+ "supportsForcedToolChoice": true,
146508
+ "supportsNamedToolChoice": true,
146509
+ "maxTokensField": "max_completion_tokens",
146510
+ "requiresToolResultName": false,
146511
+ "requiresAssistantAfterToolResult": false,
146512
+ "requiresThinkingAsText": false,
146513
+ "requiresMistralToolIds": false,
146514
+ "thinkingFormat": "openai",
146515
+ "reasoningDisableMode": "lowest-effort",
146516
+ "omitReasoningEffort": false,
146517
+ "includeEncryptedReasoning": true,
146518
+ "filterReasoningHistory": false,
146519
+ "reasoningContentField": "reasoning_content",
146520
+ "requiresReasoningContentForToolCalls": false,
146521
+ "requiresReasoningContentForAllAssistantTurns": false,
146522
+ "allowsSyntheticReasoningContentForToolCalls": true,
146523
+ "replayReasoningContent": false,
146524
+ "qwenPreserveThinking": false,
146525
+ "qwenTemplateReasoningEffort": false,
146526
+ "requiresAssistantContentForToolCalls": false,
146527
+ "supportsPromptCacheBreakpoints": false,
146528
+ "isOpenRouterHost": false,
146529
+ "wireModelIdMode": "raw",
146530
+ "isVercelGatewayHost": false,
146531
+ "supportsStrictMode": false,
146532
+ "toolStrictMode": "mixed",
146533
+ "stripDeepseekSpecialTokens": false,
146534
+ "streamMarkupHealingPattern": "thinking",
146535
+ "reasoningDeltasMayBeCumulative": false,
146536
+ "emptyLengthFinishIsContextError": false,
146537
+ "usesOpenAIToolCallIdLimit": false,
146538
+ "dropThinkingWhenReasoningEffort": false,
146539
+ "nativeKimiK3Reasoning": false,
146540
+ "zaiReasoningEffortDialect": false,
146541
+ "clampOutputToModelMax": false,
146542
+ "stripImageInput": false,
146543
+ "rejectRootObjectUnion": false,
146544
+ "retryWithoutStrictOnGrammarError": false,
146545
+ "supportsPromptCacheKey": false
146546
+ }
146547
+ },
146359
146548
  "anthropic/claude-fable-latest": {
146360
146549
  "id": "anthropic/claude-fable-latest",
146361
146550
  "name": "Claude Fable Latest",
@@ -261345,7 +261534,6 @@
261345
261534
  },
261346
261535
  "requiresGlyphTokenization": true,
261347
261536
  "tokenizer": "claude-v5-sonnet",
261348
- "supportsComputerUse": false,
261349
261537
  "compat": {
261350
261538
  "officialEndpoint": false,
261351
261539
  "signingEndpoint": false,
@@ -261369,7 +261557,8 @@
261369
261557
  "escapeBuiltinToolNames": false,
261370
261558
  "injectClaudeCodeInstruction": true,
261371
261559
  "stripImageInput": false
261372
- }
261560
+ },
261561
+ "supportsComputerUse": false
261373
261562
  },
261374
261563
  "claude-haiku-4-5": {
261375
261564
  "id": "claude-haiku-4-5",
@@ -262798,7 +262987,6 @@
262798
262987
  "thinking": {
262799
262988
  "mode": "google-level",
262800
262989
  "efforts": [
262801
- "minimal",
262802
262990
  "low",
262803
262991
  "medium",
262804
262992
  "high"
@@ -278655,9 +278843,9 @@
278655
278843
  "text"
278656
278844
  ],
278657
278845
  "cost": {
278658
- "input": 0.07322000000000001,
278659
- "output": 0.14644000000000001,
278660
- "cacheRead": 0.014644,
278846
+ "input": 0.07168000000000001,
278847
+ "output": 0.14336000000000002,
278848
+ "cacheRead": 0.014336,
278661
278849
  "cacheWrite": 0
278662
278850
  },
278663
278851
  "contextWindow": 1048576,
@@ -279149,13 +279337,13 @@
279149
279337
  "text"
279150
279338
  ],
279151
279339
  "cost": {
279152
- "input": 1.5999999999999999,
279153
- "output": 3.1999999999999997,
279154
- "cacheRead": 0.135,
279340
+ "input": 1.0274699999999999,
279341
+ "output": 2.0549399999999998,
279342
+ "cacheRead": 0.0856225,
279155
279343
  "cacheWrite": 0
279156
279344
  },
279157
279345
  "contextWindow": 1048576,
279158
- "maxTokens": 393216,
279346
+ "maxTokens": 384000,
279159
279347
  "thinking": {
279160
279348
  "mode": "effort",
279161
279349
  "efforts": [
@@ -324102,20 +324290,13 @@
324102
324290
  "image"
324103
324291
  ],
324104
324292
  "cost": {
324105
- "input": 0,
324106
- "output": 0,
324107
- "cacheRead": 0,
324108
- "cacheWrite": 0
324293
+ "input": 12,
324294
+ "output": 60,
324295
+ "cacheRead": 0.3,
324296
+ "cacheWrite": 15
324109
324297
  },
324110
324298
  "contextWindow": 1000000,
324111
324299
  "maxTokens": 128000,
324112
- "identity": {
324113
- "class": "anthropic",
324114
- "family": "fable",
324115
- "revision": "5.1.0"
324116
- },
324117
- "requiresGlyphTokenization": true,
324118
- "tokenizer": "claude-v5-sonnet",
324119
324300
  "thinking": {
324120
324301
  "mode": "effort",
324121
324302
  "efforts": [
@@ -324127,6 +324308,14 @@
324127
324308
  ],
324128
324309
  "prefixBinding": true
324129
324310
  },
324311
+ "identity": {
324312
+ "class": "anthropic",
324313
+ "family": "fable",
324314
+ "revision": "5.1.0"
324315
+ },
324316
+ "requiresGlyphTokenization": true,
324317
+ "tokenizer": "claude-v5-sonnet",
324318
+ "supportsComputerUse": false,
324130
324319
  "compat": {
324131
324320
  "supportsStore": true,
324132
324321
  "supportsDeveloperRole": false,
@@ -324136,7 +324325,7 @@
324136
324325
  "supportsSamplingParams": true,
324137
324326
  "supportsPenaltyAndStopParams": true,
324138
324327
  "reasoningEffortMap": {},
324139
- "supportsUsageInStreaming": false,
324328
+ "supportsUsageInStreaming": true,
324140
324329
  "alwaysSendMaxTokens": false,
324141
324330
  "disableReasoningOnForcedToolChoice": true,
324142
324331
  "disableReasoningOnToolChoice": false,
@@ -324180,10 +324369,6 @@
324180
324369
  "rejectRootObjectUnion": false,
324181
324370
  "retryWithoutStrictOnGrammarError": false,
324182
324371
  "supportsPromptCacheKey": false
324183
- },
324184
- "supportsComputerUse": false,
324185
- "compatConfig": {
324186
- "supportsUsageInStreaming": false
324187
324372
  }
324188
324373
  },
324189
324374
  "claude-opus-4-5": {
@@ -361393,9 +361578,9 @@
361393
361578
  "glm-5.3-flash": {
361394
361579
  "id": "glm-5.3-flash",
361395
361580
  "name": "GLM-5.3-Flash",
361396
- "api": "anthropic-messages",
361581
+ "api": "openai-completions",
361397
361582
  "provider": "zai",
361398
- "baseUrl": "https://api.z.ai/api/anthropic",
361583
+ "baseUrl": "https://api.z.ai/api/coding/paas/v4",
361399
361584
  "reasoning": true,
361400
361585
  "input": [
361401
361586
  "text",
@@ -361428,28 +361613,59 @@
361428
361613
  "tokenizer": "glm5",
361429
361614
  "supportsComputerUse": false,
361430
361615
  "compat": {
361431
- "officialEndpoint": false,
361432
- "signingEndpoint": false,
361433
- "supportsContextManagement": true,
361434
- "supportsOutputEffort": true,
361435
- "disableStrictTools": false,
361436
- "disableAdaptiveThinking": false,
361437
- "allowAnthropicHeaderOverrides": false,
361438
- "supportsEagerToolInputStreaming": false,
361439
- "supportsLongCacheRetention": false,
361440
- "supportsMidConversationSystem": false,
361441
- "supportsTurnScopedSystem": false,
361442
- "supportsMidConversationToolChanges": false,
361443
- "supportsPerMessageEffort": false,
361444
- "supportsThinkingBindingControls": false,
361445
- "supportsForcedToolChoice": true,
361616
+ "supportsStore": false,
361617
+ "supportsDeveloperRole": false,
361618
+ "supportsMultipleSystemMessages": true,
361619
+ "supportsReasoningEffort": true,
361620
+ "supportsReasoningParams": true,
361446
361621
  "supportsSamplingParams": true,
361447
- "requiresToolResultId": true,
361448
- "requiresThinkingEnabled": false,
361449
- "replayUnsignedThinking": true,
361450
- "escapeBuiltinToolNames": false,
361451
- "injectClaudeCodeInstruction": true,
361452
- "stripImageInput": false
361622
+ "supportsPenaltyAndStopParams": true,
361623
+ "reasoningEffortMap": {},
361624
+ "supportsUsageInStreaming": true,
361625
+ "alwaysSendMaxTokens": false,
361626
+ "disableReasoningOnForcedToolChoice": false,
361627
+ "disableReasoningOnToolChoice": false,
361628
+ "supportsToolChoice": true,
361629
+ "supportsForcedToolChoice": true,
361630
+ "supportsNamedToolChoice": true,
361631
+ "maxTokensField": "max_tokens",
361632
+ "requiresToolResultName": false,
361633
+ "requiresAssistantAfterToolResult": false,
361634
+ "requiresThinkingAsText": false,
361635
+ "requiresMistralToolIds": false,
361636
+ "thinkingFormat": "zai",
361637
+ "reasoningDisableMode": "zai-thinking-disabled",
361638
+ "omitReasoningEffort": false,
361639
+ "includeEncryptedReasoning": true,
361640
+ "filterReasoningHistory": false,
361641
+ "reasoningContentField": "reasoning_content",
361642
+ "requiresReasoningContentForToolCalls": false,
361643
+ "requiresReasoningContentForAllAssistantTurns": false,
361644
+ "allowsSyntheticReasoningContentForToolCalls": true,
361645
+ "replayReasoningContent": false,
361646
+ "qwenPreserveThinking": false,
361647
+ "qwenTemplateReasoningEffort": false,
361648
+ "requiresAssistantContentForToolCalls": false,
361649
+ "supportsPromptCacheBreakpoints": false,
361650
+ "isOpenRouterHost": false,
361651
+ "wireModelIdMode": "raw",
361652
+ "isVercelGatewayHost": false,
361653
+ "supportsStrictMode": false,
361654
+ "toolStrictMode": "mixed",
361655
+ "streamIdleTimeoutMs": 600000,
361656
+ "stripDeepseekSpecialTokens": false,
361657
+ "streamMarkupHealingPattern": "thinking",
361658
+ "reasoningDeltasMayBeCumulative": false,
361659
+ "emptyLengthFinishIsContextError": false,
361660
+ "usesOpenAIToolCallIdLimit": false,
361661
+ "dropThinkingWhenReasoningEffort": false,
361662
+ "nativeKimiK3Reasoning": false,
361663
+ "zaiReasoningEffortDialect": false,
361664
+ "clampOutputToModelMax": true,
361665
+ "stripImageInput": false,
361666
+ "rejectRootObjectUnion": false,
361667
+ "retryWithoutStrictOnGrammarError": false,
361668
+ "supportsPromptCacheKey": false
361453
361669
  }
361454
361670
  },
361455
361671
  "glm-5v-turbo": {
@@ -382486,4 +382702,4 @@
382486
382702
  }
382487
382703
  }
382488
382704
  }
382489
- }
382705
+ }
@@ -34,6 +34,7 @@ export interface GoogleGeminiCliModelManagerConfig {
34
34
  }
35
35
 
36
36
  const CLOUD_CODE_ASSIST_ENDPOINT = "https://cloudcode-pa.googleapis.com";
37
+ const GEMINI_37_FLASH_CACHE_MIGRATION_MODEL_IDS = ["gemini-3.7-flash"] as const;
37
38
 
38
39
  function toDiscoveryFetch(fetchImpl: FetchImpl | undefined): typeof fetch | undefined {
39
40
  if (!fetchImpl) {
@@ -51,6 +52,7 @@ export function googleModelManagerOptions(
51
52
  const apiKey = config?.apiKey;
52
53
  return {
53
54
  providerId: "google",
55
+ dropCachedModelIdsOnStaticMismatch: GEMINI_37_FLASH_CACHE_MIGRATION_MODEL_IDS,
54
56
  ...(apiKey
55
57
  ? { fetchDynamicModels: () => fetchGeminiModels({ apiKey, fetch: toDiscoveryFetch(config?.fetch) }) }
56
58
  : undefined),
@@ -58,7 +60,10 @@ export function googleModelManagerOptions(
58
60
  }
59
61
 
60
62
  export function googleVertexModelManagerOptions(_config?: GoogleVertexModelManagerConfig): ModelManagerOptions {
61
- return { providerId: "google-vertex" };
63
+ return {
64
+ providerId: "google-vertex",
65
+ dropCachedModelIdsOnStaticMismatch: GEMINI_37_FLASH_CACHE_MIGRATION_MODEL_IDS,
66
+ };
62
67
  }
63
68
 
64
69
  export function googleAntigravityModelManagerOptions(