@desplega.ai/agent-swarm 1.105.0 → 1.106.0
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/README.md +1 -0
- package/dist/{actions-45g8tvc8.js → actions-pk6xqa2y.js} +6 -6
- package/dist/{anthropic-messages-8q7p5vyq.js → anthropic-messages-8nc6r2dw.js} +10 -4
- package/dist/{app-18x5k1cj.js → app-pmfvefkh.js} +3 -3
- package/dist/{assistant-ka281qe8.js → assistant-wcjpqxk6.js} +9 -9
- package/dist/{azure-openai-responses-0dmr2hzc.js → azure-openai-responses-6yfzw3qw.js} +10 -18
- package/dist/{boot-reembed-f38vbxw8.js → boot-reembed-atv4kcrh.js} +3 -3
- package/dist/{boot-reembed-rp2gba79.js → boot-reembed-zanbm36c.js} +4 -4
- package/dist/{boot-scrub-logs-nsnc9f1a.js → boot-scrub-logs-asq051ff.js} +2 -2
- package/dist/{claude-adapter-e3dhkq85.js → claude-adapter-w96mzan4.js} +2 -2
- package/dist/{claude-managed-adapter-z29hjgzz.js → claude-managed-adapter-vj9kzegz.js} +4 -4
- package/dist/{claude-managed-setup-ftbmvmvx.js → claude-managed-setup-t0wkvzgz.js} +1 -1
- package/dist/{cli-92fqyjcv.js → cli-07er7wrs.js} +1 -1
- package/dist/{cli-yzr0qxx1.js → cli-08fnz4jm.js} +3 -3
- package/dist/{cli-ehcjr5vs.js → cli-39jaysbv.js} +6 -6
- package/dist/{cli-dd6tegmp.js → cli-4fwzc50f.js} +2 -2
- package/dist/{cli-p03mawph.js → cli-50nss8e8.js} +928 -335
- package/dist/{cli-0s37sw3k.js → cli-6hqvenfv.js} +1 -1
- package/dist/{cli-wztagmpk.js → cli-6xn2xv4r.js} +24 -8
- package/dist/{cli-yd29d4n4.js → cli-842gfjn1.js} +1 -1
- package/dist/{cli-0e24r2b6.js → cli-84gyjn6h.js} +146 -3
- package/dist/{cli-7b9ctyfq.js → cli-8da61htc.js} +1 -1
- package/dist/{cli-0n4xxmy0.js → cli-8fhhmzbh.js} +1 -1
- package/dist/{cli-khe4x17a.js → cli-anrn8brw.js} +3 -3
- package/dist/{cli-2q1ct4en.js → cli-bsyka9ta.js} +104 -3
- package/dist/{cli-p04j6hjv.js → cli-dqhz8451.js} +1 -1
- package/dist/{cli-87fj1jk4.js → cli-f7ypwjgh.js} +1 -1
- package/dist/{cli-634jy7sa.js → cli-hmqkes02.js} +1 -1
- package/dist/{cli-2hg6bj31.js → cli-j1172z85.js} +26 -18
- package/dist/{cli-yp2krx5r.js → cli-jk4tj5m6.js} +9 -3
- package/dist/{cli-4df7btj0.js → cli-k7gt5r0p.js} +1 -1
- package/dist/{cli-v2fb1fxf.js → cli-n38fcvhe.js} +6 -6
- package/dist/{cli-ba47wf2q.js → cli-p7hff99g.js} +3 -3
- package/dist/cli-pscrc6tw.js +73 -0
- package/dist/{cli-yfyqsqzj.js → cli-pxddwmyc.js} +1 -1
- package/dist/{cli-ncg70f07.js → cli-q44nxhwq.js} +1 -1
- package/dist/{cli-vpwffend.js → cli-qtr61agf.js} +3 -3
- package/dist/{cli-gzmv1371.js → cli-rp5kaak8.js} +5 -5
- package/dist/{cli-0fxvpa2q.js → cli-sdpnhajn.js} +150 -163
- package/dist/{cli-8y7y1vmp.js → cli-sp3c9fwf.js} +2 -2
- package/dist/{cli-c4h8m0m3.js → cli-tfcrm7ds.js} +1 -1
- package/dist/{cli-0k9dc6ks.js → cli-tghre7g6.js} +1 -0
- package/dist/{cli-sdf2qwkt.js → cli-v90vvqt8.js} +394 -125
- package/dist/{cli-gq7gvvrn.js → cli-v9853xza.js} +1 -1
- package/dist/{cli-sm9yseh1.js → cli-wfhe4tgs.js} +1 -1
- package/dist/{cli-7esh9fda.js → cli-xgssgdqn.js} +2 -2
- package/dist/{cli-zmta7t3y.js → cli-xvs40j7w.js} +4 -4
- package/dist/{cli-jntqphs0.js → cli-ygcrdkqt.js} +15 -9
- package/dist/{cli-2957pqpj.js → cli-yv9dttkh.js} +32 -9
- package/dist/cli.js +18 -17
- package/dist/{codex-adapter-w0xharsg.js → codex-adapter-h9rj59tj.js} +5 -5
- package/dist/{codex-session-runner-kzbjcm2k.js → codex-session-runner-2ybavr0w.js} +5 -5
- package/dist/{commands-tn8zj0an.js → commands-075ak6vf.js} +2 -2
- package/dist/{db-gtqymk7r.js → db-60fj8j7t.js} +2 -2
- package/dist/{google-generative-ai-mdn340ga.js → google-generative-ai-rf42vj2h.js} +9 -4
- package/dist/{google-vertex-mkdewpwe.js → google-vertex-m92pj5fb.js} +9 -4
- package/dist/{handlers-5xdqk40d.js → handlers-96j9z4gk.js} +9 -9
- package/dist/{hook-gj6j6zwj.js → hook-f58wyvmy.js} +3 -3
- package/dist/{http-4pceba9h.js → http-naqhj1n0.js} +467 -51
- package/dist/{index-0rfp6wh2.js → index-45bqm6xc.js} +5 -5
- package/dist/{index-as4evz9g.js → index-f5e873a5.js} +10 -10
- package/dist/{index-wf0q4k03.js → index-jscerv2x.js} +10 -6
- package/dist/{index-paaw4xt5.js → index-v3r40ak0.js} +8 -8
- package/dist/{keepalive-akbzjt41.js → keepalive-8gbgeg21.js} +4 -4
- package/dist/{lead-g8v85nf4.js → lead-hj6stakm.js} +26 -26
- package/dist/{maintenance-9yrzmrh8.js → maintenance-1nvd0jva.js} +4 -4
- package/dist/{mistral-conversations-j380wd2q.js → mistral-conversations-26yrnbf1.js} +2 -2
- package/dist/{onboard-v5bx0kpy.js → onboard-8myqe0jh.js} +2 -2
- package/dist/{openai-codex-responses-v80z7kgx.js → openai-codex-responses-8h6kvfv8.js} +16 -25
- package/dist/{openai-completions-39vefwrq.js → openai-completions-x6kjnqjd.js} +11 -5
- package/dist/{openai-responses-dp5bkm3q.js → openai-responses-7jwyz3ds.js} +8 -16
- package/dist/{opencode-adapter-s8vsmzpy.js → opencode-adapter-p2w6efwc.js} +2 -2
- package/dist/{openrouter-images-54cva05t.js → openrouter-images-537nmn1r.js} +5 -1
- package/dist/{otel-impl-530442da.js → otel-impl-tddx9x81.js} +1 -1
- package/dist/{pi-mono-adapter-zf7dt1wg.js → pi-mono-adapter-y037wnp4.js} +596 -297
- package/dist/{pricing-refresh-dt289v11.js → pricing-refresh-f6cgj5br.js} +4 -4
- package/dist/{seed-pricing-183er9b3.js → seed-pricing-3tqmbe0p.js} +3 -3
- package/dist/{setup-tjgsvznx.js → setup-tq3ept9k.js} +2 -2
- package/dist/{worker-nxcxk5pb.js → worker-526psbtb.js} +26 -26
- package/openapi.json +315 -1
- package/package.json +6 -6
- package/src/be/db.ts +6 -2
- package/src/be/memory/access.ts +5 -0
- package/src/be/migrations/102_script_apis.sql +31 -0
- package/src/be/modelsdev-cache.json +22170 -7247
- package/src/be/scripts/db.ts +214 -1
- package/src/be/seed-pricing.ts +1 -1
- package/src/commands/claude-managed-setup.ts +1 -1
- package/src/hooks/tool-loop-detection.test.ts +81 -1
- package/src/hooks/tool-loop-detection.ts +53 -10
- package/src/http/index.ts +11 -1
- package/src/http/mcp.ts +49 -0
- package/src/http/memory.ts +21 -11
- package/src/http/scripts.ts +213 -0
- package/src/http/x.ts +244 -0
- package/src/prompts/session-templates.ts +5 -1
- package/src/providers/claude-managed-models.ts +9 -0
- package/src/server.ts +2 -0
- package/src/tests/agents-list-model-display.test.ts +5 -0
- package/src/tests/bedrock-model-groups.test.ts +3 -0
- package/src/tests/claude-managed-adapter.test.ts +14 -0
- package/src/tests/claude-managed-setup.test.ts +3 -3
- package/src/tests/context-window.test.ts +1 -0
- package/src/tests/harness-provider-resolution.test.ts +39 -0
- package/src/tests/http-api-integration.test.ts +1 -1
- package/src/tests/mcp-user-route.test.ts +70 -5
- package/src/tests/memory-get-tool.test.ts +132 -0
- package/src/tests/memory-http-recall-gating.test.ts +17 -1
- package/src/tests/migration-046-budgets.test.ts +32 -0
- package/src/tests/preload.ts +26 -0
- package/src/tests/register-service-security.test.ts +194 -0
- package/src/tests/script-apis-mcp.test.ts +308 -0
- package/src/tests/scripts-external-api.test.ts +449 -0
- package/src/tests/session-costs-model-key-normalize.test.ts +1 -0
- package/src/tests/update-profile-auth.test.ts +35 -1
- package/src/tools/memory-get.ts +17 -2
- package/src/tools/register-service.ts +68 -4
- package/src/tools/script-apis.ts +158 -0
- package/src/tools/script-common.ts +1 -1
- package/src/tools/tool-config.ts +2 -1
- package/src/tools/update-profile.ts +84 -1
- package/src/types.ts +27 -1
- package/src/utils/context-window.ts +1 -0
- package/src/utils/harness-provider.ts +35 -6
- package/src/utils/short-id.ts +44 -0
- package/templates/community/code-health-reports/run.sh +12 -6
- package/templates/community/dora-metrics/run.sh +10 -2
- package/templates/official/coder/start-up.sh +2 -2
- package/templates/official/content-reviewer/start-up.sh +2 -2
- package/templates/official/content-strategist/start-up.sh +2 -2
- package/templates/official/content-writer/start-up.sh +2 -2
- package/templates/official/discoverability-optimizer/start-up.sh +2 -2
- package/templates/official/ux-principles/start-up.sh +5 -5
- package/templates/skills/swarm-scripts/SKILL.md +4 -0
- package/templates/skills/swarm-scripts/content.md +4 -0
|
@@ -391,6 +391,23 @@ var AMAZON_BEDROCK_MODELS = {
|
|
|
391
391
|
contextWindow: 1e6,
|
|
392
392
|
maxTokens: 64000
|
|
393
393
|
},
|
|
394
|
+
"anthropic.claude-sonnet-5": {
|
|
395
|
+
id: "anthropic.claude-sonnet-5",
|
|
396
|
+
name: "Claude Sonnet 5",
|
|
397
|
+
api: "bedrock-converse-stream",
|
|
398
|
+
provider: "amazon-bedrock",
|
|
399
|
+
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
400
|
+
reasoning: true,
|
|
401
|
+
input: ["text", "image"],
|
|
402
|
+
cost: {
|
|
403
|
+
input: 2,
|
|
404
|
+
output: 10,
|
|
405
|
+
cacheRead: 0.2,
|
|
406
|
+
cacheWrite: 2.5
|
|
407
|
+
},
|
|
408
|
+
contextWindow: 1e6,
|
|
409
|
+
maxTokens: 128000
|
|
410
|
+
},
|
|
394
411
|
"au.anthropic.claude-haiku-4-5-20251001-v1:0": {
|
|
395
412
|
id: "au.anthropic.claude-haiku-4-5-20251001-v1:0",
|
|
396
413
|
name: "Claude Haiku 4.5 (AU)",
|
|
@@ -478,6 +495,23 @@ var AMAZON_BEDROCK_MODELS = {
|
|
|
478
495
|
contextWindow: 1e6,
|
|
479
496
|
maxTokens: 128000
|
|
480
497
|
},
|
|
498
|
+
"au.anthropic.claude-sonnet-5": {
|
|
499
|
+
id: "au.anthropic.claude-sonnet-5",
|
|
500
|
+
name: "Claude Sonnet 5 (AU)",
|
|
501
|
+
api: "bedrock-converse-stream",
|
|
502
|
+
provider: "amazon-bedrock",
|
|
503
|
+
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
504
|
+
reasoning: true,
|
|
505
|
+
input: ["text", "image"],
|
|
506
|
+
cost: {
|
|
507
|
+
input: 2,
|
|
508
|
+
output: 10,
|
|
509
|
+
cacheRead: 0.2,
|
|
510
|
+
cacheWrite: 2.5
|
|
511
|
+
},
|
|
512
|
+
contextWindow: 1e6,
|
|
513
|
+
maxTokens: 128000
|
|
514
|
+
},
|
|
481
515
|
"deepseek.r1-v1:0": {
|
|
482
516
|
id: "deepseek.r1-v1:0",
|
|
483
517
|
name: "DeepSeek-R1",
|
|
@@ -556,10 +590,10 @@ var AMAZON_BEDROCK_MODELS = {
|
|
|
556
590
|
reasoning: true,
|
|
557
591
|
input: ["text", "image"],
|
|
558
592
|
cost: {
|
|
559
|
-
input: 1,
|
|
560
|
-
output: 5,
|
|
561
|
-
cacheRead: 0.
|
|
562
|
-
cacheWrite: 1.
|
|
593
|
+
input: 1.1,
|
|
594
|
+
output: 5.5,
|
|
595
|
+
cacheRead: 0.11,
|
|
596
|
+
cacheWrite: 1.375
|
|
563
597
|
},
|
|
564
598
|
contextWindow: 200000,
|
|
565
599
|
maxTokens: 64000
|
|
@@ -573,10 +607,10 @@ var AMAZON_BEDROCK_MODELS = {
|
|
|
573
607
|
reasoning: true,
|
|
574
608
|
input: ["text", "image"],
|
|
575
609
|
cost: {
|
|
576
|
-
input: 5,
|
|
577
|
-
output:
|
|
578
|
-
cacheRead: 0.
|
|
579
|
-
cacheWrite: 6.
|
|
610
|
+
input: 5.5,
|
|
611
|
+
output: 27.5,
|
|
612
|
+
cacheRead: 0.55,
|
|
613
|
+
cacheWrite: 6.875
|
|
580
614
|
},
|
|
581
615
|
contextWindow: 200000,
|
|
582
616
|
maxTokens: 64000
|
|
@@ -669,6 +703,23 @@ var AMAZON_BEDROCK_MODELS = {
|
|
|
669
703
|
contextWindow: 1e6,
|
|
670
704
|
maxTokens: 64000
|
|
671
705
|
},
|
|
706
|
+
"eu.anthropic.claude-sonnet-5": {
|
|
707
|
+
id: "eu.anthropic.claude-sonnet-5",
|
|
708
|
+
name: "Claude Sonnet 5 (EU)",
|
|
709
|
+
api: "bedrock-converse-stream",
|
|
710
|
+
provider: "amazon-bedrock",
|
|
711
|
+
baseUrl: "https://bedrock-runtime.eu-central-1.amazonaws.com",
|
|
712
|
+
reasoning: true,
|
|
713
|
+
input: ["text", "image"],
|
|
714
|
+
cost: {
|
|
715
|
+
input: 2.2,
|
|
716
|
+
output: 11,
|
|
717
|
+
cacheRead: 0.22,
|
|
718
|
+
cacheWrite: 2.75
|
|
719
|
+
},
|
|
720
|
+
contextWindow: 1e6,
|
|
721
|
+
maxTokens: 128000
|
|
722
|
+
},
|
|
672
723
|
"global.anthropic.claude-fable-5": {
|
|
673
724
|
id: "global.anthropic.claude-fable-5",
|
|
674
725
|
name: "Claude Fable 5 (Global)",
|
|
@@ -809,6 +860,23 @@ var AMAZON_BEDROCK_MODELS = {
|
|
|
809
860
|
contextWindow: 1e6,
|
|
810
861
|
maxTokens: 64000
|
|
811
862
|
},
|
|
863
|
+
"global.anthropic.claude-sonnet-5": {
|
|
864
|
+
id: "global.anthropic.claude-sonnet-5",
|
|
865
|
+
name: "Claude Sonnet 5 (Global)",
|
|
866
|
+
api: "bedrock-converse-stream",
|
|
867
|
+
provider: "amazon-bedrock",
|
|
868
|
+
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
869
|
+
reasoning: true,
|
|
870
|
+
input: ["text", "image"],
|
|
871
|
+
cost: {
|
|
872
|
+
input: 2,
|
|
873
|
+
output: 10,
|
|
874
|
+
cacheRead: 0.2,
|
|
875
|
+
cacheWrite: 2.5
|
|
876
|
+
},
|
|
877
|
+
contextWindow: 1e6,
|
|
878
|
+
maxTokens: 128000
|
|
879
|
+
},
|
|
812
880
|
"google.gemma-3-27b-it": {
|
|
813
881
|
id: "google.gemma-3-27b-it",
|
|
814
882
|
name: "Google Gemma 3 27B Instruct",
|
|
@@ -913,6 +981,23 @@ var AMAZON_BEDROCK_MODELS = {
|
|
|
913
981
|
contextWindow: 1e6,
|
|
914
982
|
maxTokens: 64000
|
|
915
983
|
},
|
|
984
|
+
"jp.anthropic.claude-sonnet-5": {
|
|
985
|
+
id: "jp.anthropic.claude-sonnet-5",
|
|
986
|
+
name: "Claude Sonnet 5 (JP)",
|
|
987
|
+
api: "bedrock-converse-stream",
|
|
988
|
+
provider: "amazon-bedrock",
|
|
989
|
+
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
990
|
+
reasoning: true,
|
|
991
|
+
input: ["text", "image"],
|
|
992
|
+
cost: {
|
|
993
|
+
input: 2,
|
|
994
|
+
output: 10,
|
|
995
|
+
cacheRead: 0.2,
|
|
996
|
+
cacheWrite: 2.5
|
|
997
|
+
},
|
|
998
|
+
contextWindow: 1e6,
|
|
999
|
+
maxTokens: 128000
|
|
1000
|
+
},
|
|
916
1001
|
"meta.llama3-1-70b-instruct-v1:0": {
|
|
917
1002
|
id: "meta.llama3-1-70b-instruct-v1:0",
|
|
918
1003
|
name: "Llama 3.1 70B Instruct",
|
|
@@ -1718,6 +1803,23 @@ var AMAZON_BEDROCK_MODELS = {
|
|
|
1718
1803
|
contextWindow: 1e6,
|
|
1719
1804
|
maxTokens: 64000
|
|
1720
1805
|
},
|
|
1806
|
+
"us.anthropic.claude-sonnet-5": {
|
|
1807
|
+
id: "us.anthropic.claude-sonnet-5",
|
|
1808
|
+
name: "Claude Sonnet 5 (US)",
|
|
1809
|
+
api: "bedrock-converse-stream",
|
|
1810
|
+
provider: "amazon-bedrock",
|
|
1811
|
+
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
1812
|
+
reasoning: true,
|
|
1813
|
+
input: ["text", "image"],
|
|
1814
|
+
cost: {
|
|
1815
|
+
input: 2,
|
|
1816
|
+
output: 10,
|
|
1817
|
+
cacheRead: 0.2,
|
|
1818
|
+
cacheWrite: 2.5
|
|
1819
|
+
},
|
|
1820
|
+
contextWindow: 1e6,
|
|
1821
|
+
maxTokens: 128000
|
|
1822
|
+
},
|
|
1721
1823
|
"us.deepseek.r1-v1:0": {
|
|
1722
1824
|
id: "us.deepseek.r1-v1:0",
|
|
1723
1825
|
name: "DeepSeek-R1 (US)",
|
|
@@ -1803,6 +1905,23 @@ var AMAZON_BEDROCK_MODELS = {
|
|
|
1803
1905
|
contextWindow: 1040000,
|
|
1804
1906
|
maxTokens: 8192
|
|
1805
1907
|
},
|
|
1908
|
+
"xai.grok-4.3": {
|
|
1909
|
+
id: "xai.grok-4.3",
|
|
1910
|
+
name: "Grok 4.3",
|
|
1911
|
+
api: "bedrock-converse-stream",
|
|
1912
|
+
provider: "amazon-bedrock",
|
|
1913
|
+
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
1914
|
+
reasoning: true,
|
|
1915
|
+
input: ["text", "image"],
|
|
1916
|
+
cost: {
|
|
1917
|
+
input: 1.25,
|
|
1918
|
+
output: 2.5,
|
|
1919
|
+
cacheRead: 0.2,
|
|
1920
|
+
cacheWrite: 0
|
|
1921
|
+
},
|
|
1922
|
+
contextWindow: 1e6,
|
|
1923
|
+
maxTokens: 131072
|
|
1924
|
+
},
|
|
1806
1925
|
"zai.glm-4.7": {
|
|
1807
1926
|
id: "zai.glm-4.7",
|
|
1808
1927
|
name: "GLM-4.7",
|
|
@@ -1917,40 +2036,6 @@ var ANT_LING_MODELS = {
|
|
|
1917
2036
|
|
|
1918
2037
|
// node_modules/@earendil-works/pi-ai/dist/providers/anthropic.models.js
|
|
1919
2038
|
var ANTHROPIC_MODELS = {
|
|
1920
|
-
"claude-3-5-haiku-20241022": {
|
|
1921
|
-
id: "claude-3-5-haiku-20241022",
|
|
1922
|
-
name: "Claude Haiku 3.5",
|
|
1923
|
-
api: "anthropic-messages",
|
|
1924
|
-
provider: "anthropic",
|
|
1925
|
-
baseUrl: "https://api.anthropic.com",
|
|
1926
|
-
reasoning: false,
|
|
1927
|
-
input: ["text", "image"],
|
|
1928
|
-
cost: {
|
|
1929
|
-
input: 0.8,
|
|
1930
|
-
output: 4,
|
|
1931
|
-
cacheRead: 0.08,
|
|
1932
|
-
cacheWrite: 1
|
|
1933
|
-
},
|
|
1934
|
-
contextWindow: 200000,
|
|
1935
|
-
maxTokens: 8192
|
|
1936
|
-
},
|
|
1937
|
-
"claude-3-5-haiku-latest": {
|
|
1938
|
-
id: "claude-3-5-haiku-latest",
|
|
1939
|
-
name: "Claude Haiku 3.5 (latest)",
|
|
1940
|
-
api: "anthropic-messages",
|
|
1941
|
-
provider: "anthropic",
|
|
1942
|
-
baseUrl: "https://api.anthropic.com",
|
|
1943
|
-
reasoning: false,
|
|
1944
|
-
input: ["text", "image"],
|
|
1945
|
-
cost: {
|
|
1946
|
-
input: 0.8,
|
|
1947
|
-
output: 4,
|
|
1948
|
-
cacheRead: 0.08,
|
|
1949
|
-
cacheWrite: 1
|
|
1950
|
-
},
|
|
1951
|
-
contextWindow: 200000,
|
|
1952
|
-
maxTokens: 8192
|
|
1953
|
-
},
|
|
1954
2039
|
"claude-3-5-sonnet-20240620": {
|
|
1955
2040
|
id: "claude-3-5-sonnet-20240620",
|
|
1956
2041
|
name: "Claude Sonnet 3.5",
|
|
@@ -2350,6 +2435,24 @@ var ANTHROPIC_MODELS = {
|
|
|
2350
2435
|
},
|
|
2351
2436
|
contextWindow: 1e6,
|
|
2352
2437
|
maxTokens: 64000
|
|
2438
|
+
},
|
|
2439
|
+
"claude-sonnet-5": {
|
|
2440
|
+
id: "claude-sonnet-5",
|
|
2441
|
+
name: "Claude Sonnet 5",
|
|
2442
|
+
api: "anthropic-messages",
|
|
2443
|
+
provider: "anthropic",
|
|
2444
|
+
baseUrl: "https://api.anthropic.com",
|
|
2445
|
+
compat: { forceAdaptiveThinking: true },
|
|
2446
|
+
reasoning: true,
|
|
2447
|
+
input: ["text", "image"],
|
|
2448
|
+
cost: {
|
|
2449
|
+
input: 2,
|
|
2450
|
+
output: 10,
|
|
2451
|
+
cacheRead: 0.2,
|
|
2452
|
+
cacheWrite: 2.5
|
|
2453
|
+
},
|
|
2454
|
+
contextWindow: 1e6,
|
|
2455
|
+
maxTokens: 128000
|
|
2353
2456
|
}
|
|
2354
2457
|
};
|
|
2355
2458
|
|
|
@@ -4152,7 +4255,7 @@ var FIREWORKS_MODELS = {
|
|
|
4152
4255
|
cacheRead: 0.26,
|
|
4153
4256
|
cacheWrite: 0
|
|
4154
4257
|
},
|
|
4155
|
-
contextWindow:
|
|
4258
|
+
contextWindow: 1048575,
|
|
4156
4259
|
maxTokens: 131072
|
|
4157
4260
|
},
|
|
4158
4261
|
"accounts/fireworks/models/gpt-oss-120b": {
|
|
@@ -4299,6 +4402,24 @@ var FIREWORKS_MODELS = {
|
|
|
4299
4402
|
contextWindow: 202800,
|
|
4300
4403
|
maxTokens: 131072
|
|
4301
4404
|
},
|
|
4405
|
+
"accounts/fireworks/routers/glm-5p2-fast": {
|
|
4406
|
+
id: "accounts/fireworks/routers/glm-5p2-fast",
|
|
4407
|
+
name: "GLM 5.2 Fast",
|
|
4408
|
+
api: "anthropic-messages",
|
|
4409
|
+
provider: "fireworks",
|
|
4410
|
+
baseUrl: "https://api.fireworks.ai/inference",
|
|
4411
|
+
compat: { sendSessionAffinityHeaders: true, supportsEagerToolInputStreaming: false, supportsCacheControlOnTools: false, supportsLongCacheRetention: false },
|
|
4412
|
+
reasoning: true,
|
|
4413
|
+
input: ["text"],
|
|
4414
|
+
cost: {
|
|
4415
|
+
input: 2.1,
|
|
4416
|
+
output: 6.6,
|
|
4417
|
+
cacheRead: 0.21,
|
|
4418
|
+
cacheWrite: 0
|
|
4419
|
+
},
|
|
4420
|
+
contextWindow: 1048575,
|
|
4421
|
+
maxTokens: 131072
|
|
4422
|
+
},
|
|
4302
4423
|
"accounts/fireworks/routers/kimi-k2p6-fast": {
|
|
4303
4424
|
id: "accounts/fireworks/routers/kimi-k2p6-fast",
|
|
4304
4425
|
name: "Kimi K2.6 Fast",
|
|
@@ -5346,7 +5467,7 @@ var GROQ_MODELS = {
|
|
|
5346
5467
|
cost: {
|
|
5347
5468
|
input: 0.075,
|
|
5348
5469
|
output: 0.3,
|
|
5349
|
-
cacheRead: 0
|
|
5470
|
+
cacheRead: 0,
|
|
5350
5471
|
cacheWrite: 0
|
|
5351
5472
|
},
|
|
5352
5473
|
contextWindow: 131072,
|
|
@@ -5698,6 +5819,24 @@ var HUGGINGFACE_MODELS = {
|
|
|
5698
5819
|
contextWindow: 262144,
|
|
5699
5820
|
maxTokens: 65536
|
|
5700
5821
|
},
|
|
5822
|
+
"Qwen/Qwen3.6-27B": {
|
|
5823
|
+
id: "Qwen/Qwen3.6-27B",
|
|
5824
|
+
name: "Qwen3.6 27B",
|
|
5825
|
+
api: "openai-completions",
|
|
5826
|
+
provider: "huggingface",
|
|
5827
|
+
baseUrl: "https://router.huggingface.co/v1",
|
|
5828
|
+
compat: { supportsDeveloperRole: false },
|
|
5829
|
+
reasoning: true,
|
|
5830
|
+
input: ["text", "image"],
|
|
5831
|
+
cost: {
|
|
5832
|
+
input: 0.47,
|
|
5833
|
+
output: 3.19,
|
|
5834
|
+
cacheRead: 0,
|
|
5835
|
+
cacheWrite: 0
|
|
5836
|
+
},
|
|
5837
|
+
contextWindow: 262144,
|
|
5838
|
+
maxTokens: 65536
|
|
5839
|
+
},
|
|
5701
5840
|
"Qwen/Qwen3.6-35B-A3B": {
|
|
5702
5841
|
id: "Qwen/Qwen3.6-35B-A3B",
|
|
5703
5842
|
name: "Qwen3.6 35B-A3B",
|
|
@@ -5734,6 +5873,24 @@ var HUGGINGFACE_MODELS = {
|
|
|
5734
5873
|
contextWindow: 262144,
|
|
5735
5874
|
maxTokens: 4096
|
|
5736
5875
|
},
|
|
5876
|
+
"XiaomiMiMo/MiMo-V2.5-Pro": {
|
|
5877
|
+
id: "XiaomiMiMo/MiMo-V2.5-Pro",
|
|
5878
|
+
name: "MiMo-V2.5-Pro",
|
|
5879
|
+
api: "openai-completions",
|
|
5880
|
+
provider: "huggingface",
|
|
5881
|
+
baseUrl: "https://router.huggingface.co/v1",
|
|
5882
|
+
compat: { supportsDeveloperRole: false },
|
|
5883
|
+
reasoning: true,
|
|
5884
|
+
input: ["text"],
|
|
5885
|
+
cost: {
|
|
5886
|
+
input: 1,
|
|
5887
|
+
output: 3,
|
|
5888
|
+
cacheRead: 0,
|
|
5889
|
+
cacheWrite: 0
|
|
5890
|
+
},
|
|
5891
|
+
contextWindow: 1048576,
|
|
5892
|
+
maxTokens: 131072
|
|
5893
|
+
},
|
|
5737
5894
|
"deepseek-ai/DeepSeek-R1": {
|
|
5738
5895
|
id: "deepseek-ai/DeepSeek-R1",
|
|
5739
5896
|
name: "DeepSeek-R1",
|
|
@@ -5986,6 +6143,24 @@ var HUGGINGFACE_MODELS = {
|
|
|
5986
6143
|
contextWindow: 262144,
|
|
5987
6144
|
maxTokens: 262144
|
|
5988
6145
|
},
|
|
6146
|
+
"openai/gpt-oss-120b": {
|
|
6147
|
+
id: "openai/gpt-oss-120b",
|
|
6148
|
+
name: "GPT OSS 120B",
|
|
6149
|
+
api: "openai-completions",
|
|
6150
|
+
provider: "huggingface",
|
|
6151
|
+
baseUrl: "https://router.huggingface.co/v1",
|
|
6152
|
+
compat: { supportsDeveloperRole: false },
|
|
6153
|
+
reasoning: true,
|
|
6154
|
+
input: ["text"],
|
|
6155
|
+
cost: {
|
|
6156
|
+
input: 0.25,
|
|
6157
|
+
output: 0.69,
|
|
6158
|
+
cacheRead: 0,
|
|
6159
|
+
cacheWrite: 0
|
|
6160
|
+
},
|
|
6161
|
+
contextWindow: 131072,
|
|
6162
|
+
maxTokens: 32768
|
|
6163
|
+
},
|
|
5989
6164
|
"stepfun-ai/Step-3.5-Flash": {
|
|
5990
6165
|
id: "stepfun-ai/Step-3.5-Flash",
|
|
5991
6166
|
name: "Step 3.5 Flash",
|
|
@@ -6004,6 +6179,24 @@ var HUGGINGFACE_MODELS = {
|
|
|
6004
6179
|
contextWindow: 262144,
|
|
6005
6180
|
maxTokens: 256000
|
|
6006
6181
|
},
|
|
6182
|
+
"stepfun-ai/Step-3.7-Flash": {
|
|
6183
|
+
id: "stepfun-ai/Step-3.7-Flash",
|
|
6184
|
+
name: "Step 3.7 Flash",
|
|
6185
|
+
api: "openai-completions",
|
|
6186
|
+
provider: "huggingface",
|
|
6187
|
+
baseUrl: "https://router.huggingface.co/v1",
|
|
6188
|
+
compat: { supportsDeveloperRole: false },
|
|
6189
|
+
reasoning: true,
|
|
6190
|
+
input: ["text", "image"],
|
|
6191
|
+
cost: {
|
|
6192
|
+
input: 0.2,
|
|
6193
|
+
output: 1.15,
|
|
6194
|
+
cacheRead: 0,
|
|
6195
|
+
cacheWrite: 0
|
|
6196
|
+
},
|
|
6197
|
+
contextWindow: 262144,
|
|
6198
|
+
maxTokens: 256000
|
|
6199
|
+
},
|
|
6007
6200
|
"zai-org/GLM-4.5": {
|
|
6008
6201
|
id: "zai-org/GLM-4.5",
|
|
6009
6202
|
name: "GLM-4.5",
|
|
@@ -6271,12 +6464,12 @@ var MINIMAX_MODELS = {
|
|
|
6271
6464
|
reasoning: true,
|
|
6272
6465
|
input: ["text", "image"],
|
|
6273
6466
|
cost: {
|
|
6274
|
-
input: 0.
|
|
6275
|
-
output: 2
|
|
6276
|
-
cacheRead: 0.
|
|
6467
|
+
input: 0.3,
|
|
6468
|
+
output: 1.2,
|
|
6469
|
+
cacheRead: 0.06,
|
|
6277
6470
|
cacheWrite: 0
|
|
6278
6471
|
},
|
|
6279
|
-
contextWindow:
|
|
6472
|
+
contextWindow: 1e6,
|
|
6280
6473
|
maxTokens: 128000
|
|
6281
6474
|
}
|
|
6282
6475
|
};
|
|
@@ -6326,12 +6519,12 @@ var MINIMAX_CN_MODELS = {
|
|
|
6326
6519
|
reasoning: true,
|
|
6327
6520
|
input: ["text", "image"],
|
|
6328
6521
|
cost: {
|
|
6329
|
-
input: 0.
|
|
6330
|
-
output: 2
|
|
6331
|
-
cacheRead: 0.
|
|
6522
|
+
input: 0.3,
|
|
6523
|
+
output: 1.2,
|
|
6524
|
+
cacheRead: 0.06,
|
|
6332
6525
|
cacheWrite: 0
|
|
6333
6526
|
},
|
|
6334
|
-
contextWindow:
|
|
6527
|
+
contextWindow: 1e6,
|
|
6335
6528
|
maxTokens: 128000
|
|
6336
6529
|
}
|
|
6337
6530
|
};
|
|
@@ -7283,6 +7476,25 @@ var NVIDIA_MODELS = {
|
|
|
7283
7476
|
contextWindow: 128000,
|
|
7284
7477
|
maxTokens: 4096
|
|
7285
7478
|
},
|
|
7479
|
+
"minimaxai/minimax-m3": {
|
|
7480
|
+
id: "minimaxai/minimax-m3",
|
|
7481
|
+
name: "MiniMax-M3",
|
|
7482
|
+
api: "openai-completions",
|
|
7483
|
+
provider: "nvidia",
|
|
7484
|
+
baseUrl: "https://integrate.api.nvidia.com/v1",
|
|
7485
|
+
headers: { "NVCF-POLL-SECONDS": "3600" },
|
|
7486
|
+
compat: { supportsStore: false, supportsDeveloperRole: false, supportsReasoningEffort: false, maxTokensField: "max_tokens", supportsStrictMode: false, supportsLongCacheRetention: false },
|
|
7487
|
+
reasoning: true,
|
|
7488
|
+
input: ["text", "image"],
|
|
7489
|
+
cost: {
|
|
7490
|
+
input: 0,
|
|
7491
|
+
output: 0,
|
|
7492
|
+
cacheRead: 0,
|
|
7493
|
+
cacheWrite: 0
|
|
7494
|
+
},
|
|
7495
|
+
contextWindow: 1e6,
|
|
7496
|
+
maxTokens: 16384
|
|
7497
|
+
},
|
|
7286
7498
|
"mistralai/mistral-large-3-675b-instruct-2512": {
|
|
7287
7499
|
id: "mistralai/mistral-large-3-675b-instruct-2512",
|
|
7288
7500
|
name: "Mistral Large 3 675B Instruct 2512",
|
|
@@ -9360,12 +9572,12 @@ var OPENCODE_GO_MODELS = {
|
|
|
9360
9572
|
reasoning: true,
|
|
9361
9573
|
input: ["text", "image"],
|
|
9362
9574
|
cost: {
|
|
9363
|
-
input: 0.
|
|
9364
|
-
output:
|
|
9365
|
-
cacheRead: 0.
|
|
9575
|
+
input: 0.3,
|
|
9576
|
+
output: 1.2,
|
|
9577
|
+
cacheRead: 0.06,
|
|
9366
9578
|
cacheWrite: 0
|
|
9367
9579
|
},
|
|
9368
|
-
contextWindow:
|
|
9580
|
+
contextWindow: 1e6,
|
|
9369
9581
|
maxTokens: 131072
|
|
9370
9582
|
},
|
|
9371
9583
|
"qwen3.6-plus": {
|
|
@@ -9659,25 +9871,6 @@ var OPENROUTER_MODELS = {
|
|
|
9659
9871
|
contextWindow: 1e6,
|
|
9660
9872
|
maxTokens: 128000
|
|
9661
9873
|
},
|
|
9662
|
-
"anthropic/claude-opus-4.6-fast": {
|
|
9663
|
-
id: "anthropic/claude-opus-4.6-fast",
|
|
9664
|
-
name: "Anthropic: Claude Opus 4.6 (Fast)",
|
|
9665
|
-
api: "openai-completions",
|
|
9666
|
-
provider: "openrouter",
|
|
9667
|
-
baseUrl: "https://openrouter.ai/api/v1",
|
|
9668
|
-
compat: { thinkingFormat: "openrouter", cacheControlFormat: "anthropic" },
|
|
9669
|
-
reasoning: true,
|
|
9670
|
-
thinkingLevelMap: { xhigh: "max" },
|
|
9671
|
-
input: ["text", "image"],
|
|
9672
|
-
cost: {
|
|
9673
|
-
input: 30,
|
|
9674
|
-
output: 150,
|
|
9675
|
-
cacheRead: 3,
|
|
9676
|
-
cacheWrite: 37.5
|
|
9677
|
-
},
|
|
9678
|
-
contextWindow: 1e6,
|
|
9679
|
-
maxTokens: 128000
|
|
9680
|
-
},
|
|
9681
9874
|
"anthropic/claude-opus-4.7": {
|
|
9682
9875
|
id: "anthropic/claude-opus-4.7",
|
|
9683
9876
|
name: "Anthropic: Claude Opus 4.7",
|
|
@@ -9808,6 +10001,24 @@ var OPENROUTER_MODELS = {
|
|
|
9808
10001
|
contextWindow: 1e6,
|
|
9809
10002
|
maxTokens: 128000
|
|
9810
10003
|
},
|
|
10004
|
+
"anthropic/claude-sonnet-5": {
|
|
10005
|
+
id: "anthropic/claude-sonnet-5",
|
|
10006
|
+
name: "Anthropic: Claude Sonnet 5",
|
|
10007
|
+
api: "openai-completions",
|
|
10008
|
+
provider: "openrouter",
|
|
10009
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
10010
|
+
compat: { thinkingFormat: "openrouter", cacheControlFormat: "anthropic" },
|
|
10011
|
+
reasoning: true,
|
|
10012
|
+
input: ["text", "image"],
|
|
10013
|
+
cost: {
|
|
10014
|
+
input: 2,
|
|
10015
|
+
output: 10,
|
|
10016
|
+
cacheRead: 0.2,
|
|
10017
|
+
cacheWrite: 2.5
|
|
10018
|
+
},
|
|
10019
|
+
contextWindow: 1e6,
|
|
10020
|
+
maxTokens: 128000
|
|
10021
|
+
},
|
|
9811
10022
|
"arcee-ai/trinity-large-thinking": {
|
|
9812
10023
|
id: "arcee-ai/trinity-large-thinking",
|
|
9813
10024
|
name: "Arcee AI: Trinity Large Thinking",
|
|
@@ -10126,7 +10337,7 @@ var OPENROUTER_MODELS = {
|
|
|
10126
10337
|
cost: {
|
|
10127
10338
|
input: 0.2288,
|
|
10128
10339
|
output: 0.3432,
|
|
10129
|
-
cacheRead: 0,
|
|
10340
|
+
cacheRead: 0.02288,
|
|
10130
10341
|
cacheWrite: 0
|
|
10131
10342
|
},
|
|
10132
10343
|
contextWindow: 131072,
|
|
@@ -10161,13 +10372,13 @@ var OPENROUTER_MODELS = {
|
|
|
10161
10372
|
thinkingLevelMap: { minimal: null, low: null, medium: null, high: "high", xhigh: "xhigh" },
|
|
10162
10373
|
input: ["text"],
|
|
10163
10374
|
cost: {
|
|
10164
|
-
input: 0.
|
|
10165
|
-
output: 0.
|
|
10375
|
+
input: 0.098,
|
|
10376
|
+
output: 0.196,
|
|
10166
10377
|
cacheRead: 0.02,
|
|
10167
10378
|
cacheWrite: 0
|
|
10168
10379
|
},
|
|
10169
10380
|
contextWindow: 1048576,
|
|
10170
|
-
maxTokens:
|
|
10381
|
+
maxTokens: 4096
|
|
10171
10382
|
},
|
|
10172
10383
|
"deepseek/deepseek-v4-pro": {
|
|
10173
10384
|
id: "deepseek/deepseek-v4-pro",
|
|
@@ -10329,7 +10540,7 @@ var OPENROUTER_MODELS = {
|
|
|
10329
10540
|
cacheRead: 0.2,
|
|
10330
10541
|
cacheWrite: 0.375
|
|
10331
10542
|
},
|
|
10332
|
-
contextWindow:
|
|
10543
|
+
contextWindow: 65536,
|
|
10333
10544
|
maxTokens: 32768
|
|
10334
10545
|
},
|
|
10335
10546
|
"google/gemini-3.1-flash-lite": {
|
|
@@ -10528,7 +10739,7 @@ var OPENROUTER_MODELS = {
|
|
|
10528
10739
|
cacheWrite: 0
|
|
10529
10740
|
},
|
|
10530
10741
|
contextWindow: 262144,
|
|
10531
|
-
maxTokens:
|
|
10742
|
+
maxTokens: 8192
|
|
10532
10743
|
},
|
|
10533
10744
|
"ibm-granite/granite-4.1-8b": {
|
|
10534
10745
|
id: "ibm-granite/granite-4.1-8b",
|
|
@@ -10636,8 +10847,8 @@ var OPENROUTER_MODELS = {
|
|
|
10636
10847
|
cacheRead: 0.06,
|
|
10637
10848
|
cacheWrite: 0
|
|
10638
10849
|
},
|
|
10639
|
-
contextWindow:
|
|
10640
|
-
maxTokens:
|
|
10850
|
+
contextWindow: 256000,
|
|
10851
|
+
maxTokens: 80000
|
|
10641
10852
|
},
|
|
10642
10853
|
"liquid/lfm-2.5-1.2b-thinking:free": {
|
|
10643
10854
|
id: "liquid/lfm-2.5-1.2b-thinking:free",
|
|
@@ -10829,9 +11040,9 @@ var OPENROUTER_MODELS = {
|
|
|
10829
11040
|
reasoning: true,
|
|
10830
11041
|
input: ["text"],
|
|
10831
11042
|
cost: {
|
|
10832
|
-
input: 0.
|
|
10833
|
-
output: 0.
|
|
10834
|
-
cacheRead: 0
|
|
11043
|
+
input: 0.12,
|
|
11044
|
+
output: 0.48,
|
|
11045
|
+
cacheRead: 0,
|
|
10835
11046
|
cacheWrite: 0
|
|
10836
11047
|
},
|
|
10837
11048
|
contextWindow: 204800,
|
|
@@ -10847,8 +11058,8 @@ var OPENROUTER_MODELS = {
|
|
|
10847
11058
|
reasoning: true,
|
|
10848
11059
|
input: ["text"],
|
|
10849
11060
|
cost: {
|
|
10850
|
-
input: 0.
|
|
10851
|
-
output: 0.
|
|
11061
|
+
input: 0.18,
|
|
11062
|
+
output: 0.72,
|
|
10852
11063
|
cacheRead: 0,
|
|
10853
11064
|
cacheWrite: 0
|
|
10854
11065
|
},
|
|
@@ -10871,7 +11082,7 @@ var OPENROUTER_MODELS = {
|
|
|
10871
11082
|
cacheWrite: 0
|
|
10872
11083
|
},
|
|
10873
11084
|
contextWindow: 1048576,
|
|
10874
|
-
maxTokens:
|
|
11085
|
+
maxTokens: 512000
|
|
10875
11086
|
},
|
|
10876
11087
|
"mistralai/codestral-2508": {
|
|
10877
11088
|
id: "mistralai/codestral-2508",
|
|
@@ -11195,7 +11406,7 @@ var OPENROUTER_MODELS = {
|
|
|
11195
11406
|
cacheWrite: 0
|
|
11196
11407
|
},
|
|
11197
11408
|
contextWindow: 131072,
|
|
11198
|
-
maxTokens:
|
|
11409
|
+
maxTokens: 100352
|
|
11199
11410
|
},
|
|
11200
11411
|
"moonshotai/kimi-k2-0905": {
|
|
11201
11412
|
id: "moonshotai/kimi-k2-0905",
|
|
@@ -11213,7 +11424,7 @@ var OPENROUTER_MODELS = {
|
|
|
11213
11424
|
cacheWrite: 0
|
|
11214
11425
|
},
|
|
11215
11426
|
contextWindow: 262144,
|
|
11216
|
-
maxTokens:
|
|
11427
|
+
maxTokens: 100352
|
|
11217
11428
|
},
|
|
11218
11429
|
"moonshotai/kimi-k2-thinking": {
|
|
11219
11430
|
id: "moonshotai/kimi-k2-thinking",
|
|
@@ -11261,9 +11472,9 @@ var OPENROUTER_MODELS = {
|
|
|
11261
11472
|
reasoning: true,
|
|
11262
11473
|
input: ["text", "image"],
|
|
11263
11474
|
cost: {
|
|
11264
|
-
input: 0.
|
|
11265
|
-
output: 3.
|
|
11266
|
-
cacheRead: 0.
|
|
11475
|
+
input: 0.55,
|
|
11476
|
+
output: 3.2,
|
|
11477
|
+
cacheRead: 0.11,
|
|
11267
11478
|
cacheWrite: 0
|
|
11268
11479
|
},
|
|
11269
11480
|
contextWindow: 262144,
|
|
@@ -11369,13 +11580,13 @@ var OPENROUTER_MODELS = {
|
|
|
11369
11580
|
reasoning: true,
|
|
11370
11581
|
input: ["text"],
|
|
11371
11582
|
cost: {
|
|
11372
|
-
input: 0.
|
|
11373
|
-
output: 0.
|
|
11583
|
+
input: 0.085,
|
|
11584
|
+
output: 0.4,
|
|
11374
11585
|
cacheRead: 0,
|
|
11375
11586
|
cacheWrite: 0
|
|
11376
11587
|
},
|
|
11377
11588
|
contextWindow: 1e6,
|
|
11378
|
-
maxTokens:
|
|
11589
|
+
maxTokens: 16384
|
|
11379
11590
|
},
|
|
11380
11591
|
"nvidia/nemotron-3-super-120b-a12b:free": {
|
|
11381
11592
|
id: "nvidia/nemotron-3-super-120b-a12b:free",
|
|
@@ -11609,7 +11820,7 @@ var OPENROUTER_MODELS = {
|
|
|
11609
11820
|
cacheWrite: 0
|
|
11610
11821
|
},
|
|
11611
11822
|
contextWindow: 1047576,
|
|
11612
|
-
maxTokens:
|
|
11823
|
+
maxTokens: 32768
|
|
11613
11824
|
},
|
|
11614
11825
|
"openai/gpt-4.1-nano": {
|
|
11615
11826
|
id: "openai/gpt-4.1-nano",
|
|
@@ -11641,7 +11852,7 @@ var OPENROUTER_MODELS = {
|
|
|
11641
11852
|
cost: {
|
|
11642
11853
|
input: 2.5,
|
|
11643
11854
|
output: 10,
|
|
11644
|
-
cacheRead:
|
|
11855
|
+
cacheRead: 0,
|
|
11645
11856
|
cacheWrite: 0
|
|
11646
11857
|
},
|
|
11647
11858
|
contextWindow: 128000,
|
|
@@ -11785,11 +11996,11 @@ var OPENROUTER_MODELS = {
|
|
|
11785
11996
|
cost: {
|
|
11786
11997
|
input: 0.25,
|
|
11787
11998
|
output: 2,
|
|
11788
|
-
cacheRead: 0.
|
|
11999
|
+
cacheRead: 0.025,
|
|
11789
12000
|
cacheWrite: 0
|
|
11790
12001
|
},
|
|
11791
12002
|
contextWindow: 400000,
|
|
11792
|
-
maxTokens:
|
|
12003
|
+
maxTokens: 128000
|
|
11793
12004
|
},
|
|
11794
12005
|
"openai/gpt-5-nano": {
|
|
11795
12006
|
id: "openai/gpt-5-nano",
|
|
@@ -11857,11 +12068,11 @@ var OPENROUTER_MODELS = {
|
|
|
11857
12068
|
cost: {
|
|
11858
12069
|
input: 1.25,
|
|
11859
12070
|
output: 10,
|
|
11860
|
-
cacheRead: 0.
|
|
12071
|
+
cacheRead: 0.13,
|
|
11861
12072
|
cacheWrite: 0
|
|
11862
12073
|
},
|
|
11863
12074
|
contextWindow: 128000,
|
|
11864
|
-
maxTokens:
|
|
12075
|
+
maxTokens: 32000
|
|
11865
12076
|
},
|
|
11866
12077
|
"openai/gpt-5.1-codex": {
|
|
11867
12078
|
id: "openai/gpt-5.1-codex",
|
|
@@ -11953,7 +12164,7 @@ var OPENROUTER_MODELS = {
|
|
|
11953
12164
|
cacheWrite: 0
|
|
11954
12165
|
},
|
|
11955
12166
|
contextWindow: 128000,
|
|
11956
|
-
maxTokens:
|
|
12167
|
+
maxTokens: 16384
|
|
11957
12168
|
},
|
|
11958
12169
|
"openai/gpt-5.2-codex": {
|
|
11959
12170
|
id: "openai/gpt-5.2-codex",
|
|
@@ -12209,13 +12420,13 @@ var OPENROUTER_MODELS = {
|
|
|
12209
12420
|
reasoning: true,
|
|
12210
12421
|
input: ["text"],
|
|
12211
12422
|
cost: {
|
|
12212
|
-
input: 0.
|
|
12213
|
-
output: 0.
|
|
12423
|
+
input: 0.03,
|
|
12424
|
+
output: 0.15,
|
|
12214
12425
|
cacheRead: 0,
|
|
12215
12426
|
cacheWrite: 0
|
|
12216
12427
|
},
|
|
12217
12428
|
contextWindow: 131072,
|
|
12218
|
-
maxTokens:
|
|
12429
|
+
maxTokens: 131072
|
|
12219
12430
|
},
|
|
12220
12431
|
"openai/gpt-oss-120b:free": {
|
|
12221
12432
|
id: "openai/gpt-oss-120b:free",
|
|
@@ -12505,24 +12716,6 @@ var OPENROUTER_MODELS = {
|
|
|
12505
12716
|
contextWindow: 1e6,
|
|
12506
12717
|
maxTokens: 30000
|
|
12507
12718
|
},
|
|
12508
|
-
"openrouter/owl-alpha": {
|
|
12509
|
-
id: "openrouter/owl-alpha",
|
|
12510
|
-
name: "Owl Alpha",
|
|
12511
|
-
api: "openai-completions",
|
|
12512
|
-
provider: "openrouter",
|
|
12513
|
-
baseUrl: "https://openrouter.ai/api/v1",
|
|
12514
|
-
compat: { supportsDeveloperRole: false, thinkingFormat: "openrouter" },
|
|
12515
|
-
reasoning: false,
|
|
12516
|
-
input: ["text"],
|
|
12517
|
-
cost: {
|
|
12518
|
-
input: 0,
|
|
12519
|
-
output: 0,
|
|
12520
|
-
cacheRead: 0,
|
|
12521
|
-
cacheWrite: 0
|
|
12522
|
-
},
|
|
12523
|
-
contextWindow: 1048756,
|
|
12524
|
-
maxTokens: 262144
|
|
12525
|
-
},
|
|
12526
12719
|
"poolside/laguna-m.1": {
|
|
12527
12720
|
id: "poolside/laguna-m.1",
|
|
12528
12721
|
name: "Poolside: Laguna M.1",
|
|
@@ -12749,13 +12942,13 @@ var OPENROUTER_MODELS = {
|
|
|
12749
12942
|
reasoning: true,
|
|
12750
12943
|
input: ["text"],
|
|
12751
12944
|
cost: {
|
|
12752
|
-
input: 0.
|
|
12753
|
-
output:
|
|
12754
|
-
cacheRead: 0
|
|
12945
|
+
input: 0.1495,
|
|
12946
|
+
output: 1.495,
|
|
12947
|
+
cacheRead: 0,
|
|
12755
12948
|
cacheWrite: 0
|
|
12756
12949
|
},
|
|
12757
12950
|
contextWindow: 262144,
|
|
12758
|
-
maxTokens:
|
|
12951
|
+
maxTokens: 4096
|
|
12759
12952
|
},
|
|
12760
12953
|
"qwen/qwen3-30b-a3b": {
|
|
12761
12954
|
id: "qwen/qwen3-30b-a3b",
|
|
@@ -13258,8 +13451,8 @@ var OPENROUTER_MODELS = {
|
|
|
13258
13451
|
cacheRead: 0,
|
|
13259
13452
|
cacheWrite: 0
|
|
13260
13453
|
},
|
|
13261
|
-
contextWindow:
|
|
13262
|
-
maxTokens:
|
|
13454
|
+
contextWindow: 262144,
|
|
13455
|
+
maxTokens: 262144
|
|
13263
13456
|
},
|
|
13264
13457
|
"qwen/qwen3.5-flash-02-23": {
|
|
13265
13458
|
id: "qwen/qwen3.5-flash-02-23",
|
|
@@ -13325,8 +13518,8 @@ var OPENROUTER_MODELS = {
|
|
|
13325
13518
|
reasoning: true,
|
|
13326
13519
|
input: ["text", "image"],
|
|
13327
13520
|
cost: {
|
|
13328
|
-
input: 0.
|
|
13329
|
-
output:
|
|
13521
|
+
input: 0.285,
|
|
13522
|
+
output: 2.4,
|
|
13330
13523
|
cacheRead: 0,
|
|
13331
13524
|
cacheWrite: 0
|
|
13332
13525
|
},
|
|
@@ -13477,6 +13670,24 @@ var OPENROUTER_MODELS = {
|
|
|
13477
13670
|
contextWindow: 256000,
|
|
13478
13671
|
maxTokens: 128000
|
|
13479
13672
|
},
|
|
13673
|
+
"sakana/fugu-ultra": {
|
|
13674
|
+
id: "sakana/fugu-ultra",
|
|
13675
|
+
name: "Sakana: Fugu Ultra",
|
|
13676
|
+
api: "openai-completions",
|
|
13677
|
+
provider: "openrouter",
|
|
13678
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
13679
|
+
compat: { supportsDeveloperRole: false, thinkingFormat: "openrouter" },
|
|
13680
|
+
reasoning: true,
|
|
13681
|
+
input: ["text", "image"],
|
|
13682
|
+
cost: {
|
|
13683
|
+
input: 5,
|
|
13684
|
+
output: 30,
|
|
13685
|
+
cacheRead: 0.5,
|
|
13686
|
+
cacheWrite: 0
|
|
13687
|
+
},
|
|
13688
|
+
contextWindow: 1e6,
|
|
13689
|
+
maxTokens: 128000
|
|
13690
|
+
},
|
|
13480
13691
|
"sao10k/l3.1-euryale-70b": {
|
|
13481
13692
|
id: "sao10k/l3.1-euryale-70b",
|
|
13482
13693
|
name: "Sao10K: Llama 3.1 Euryale 70B v2.2",
|
|
@@ -13505,13 +13716,13 @@ var OPENROUTER_MODELS = {
|
|
|
13505
13716
|
reasoning: true,
|
|
13506
13717
|
input: ["text"],
|
|
13507
13718
|
cost: {
|
|
13508
|
-
input: 0.
|
|
13719
|
+
input: 0.1,
|
|
13509
13720
|
output: 0.3,
|
|
13510
|
-
cacheRead: 0
|
|
13721
|
+
cacheRead: 0,
|
|
13511
13722
|
cacheWrite: 0
|
|
13512
13723
|
},
|
|
13513
13724
|
contextWindow: 262144,
|
|
13514
|
-
maxTokens:
|
|
13725
|
+
maxTokens: 65536
|
|
13515
13726
|
},
|
|
13516
13727
|
"stepfun/step-3.7-flash": {
|
|
13517
13728
|
id: "stepfun/step-3.7-flash",
|
|
@@ -13649,13 +13860,13 @@ var OPENROUTER_MODELS = {
|
|
|
13649
13860
|
reasoning: true,
|
|
13650
13861
|
input: ["text", "image"],
|
|
13651
13862
|
cost: {
|
|
13652
|
-
input: 0.
|
|
13863
|
+
input: 0.105,
|
|
13653
13864
|
output: 0.28,
|
|
13654
|
-
cacheRead: 0
|
|
13865
|
+
cacheRead: 0,
|
|
13655
13866
|
cacheWrite: 0
|
|
13656
13867
|
},
|
|
13657
13868
|
contextWindow: 1048576,
|
|
13658
|
-
maxTokens:
|
|
13869
|
+
maxTokens: 4096
|
|
13659
13870
|
},
|
|
13660
13871
|
"xiaomi/mimo-v2.5-pro": {
|
|
13661
13872
|
id: "xiaomi/mimo-v2.5-pro",
|
|
@@ -13847,9 +14058,9 @@ var OPENROUTER_MODELS = {
|
|
|
13847
14058
|
reasoning: true,
|
|
13848
14059
|
input: ["text"],
|
|
13849
14060
|
cost: {
|
|
13850
|
-
input: 0.
|
|
13851
|
-
output: 3
|
|
13852
|
-
cacheRead: 0
|
|
14061
|
+
input: 0.975,
|
|
14062
|
+
output: 4.3,
|
|
14063
|
+
cacheRead: 0,
|
|
13853
14064
|
cacheWrite: 0
|
|
13854
14065
|
},
|
|
13855
14066
|
contextWindow: 202752,
|
|
@@ -13866,7 +14077,7 @@ var OPENROUTER_MODELS = {
|
|
|
13866
14077
|
thinkingLevelMap: { xhigh: "xhigh" },
|
|
13867
14078
|
input: ["text"],
|
|
13868
14079
|
cost: {
|
|
13869
|
-
input: 0.
|
|
14080
|
+
input: 0.93,
|
|
13870
14081
|
output: 3,
|
|
13871
14082
|
cacheRead: 0.18,
|
|
13872
14083
|
cacheWrite: 0
|
|
@@ -13956,10 +14167,10 @@ var OPENROUTER_MODELS = {
|
|
|
13956
14167
|
reasoning: true,
|
|
13957
14168
|
input: ["text", "image"],
|
|
13958
14169
|
cost: {
|
|
13959
|
-
input:
|
|
13960
|
-
output:
|
|
13961
|
-
cacheRead: 0.
|
|
13962
|
-
cacheWrite:
|
|
14170
|
+
input: 2,
|
|
14171
|
+
output: 10,
|
|
14172
|
+
cacheRead: 0.2,
|
|
14173
|
+
cacheWrite: 2.5
|
|
13963
14174
|
},
|
|
13964
14175
|
contextWindow: 1e6,
|
|
13965
14176
|
maxTokens: 128000
|
|
@@ -14010,9 +14221,9 @@ var OPENROUTER_MODELS = {
|
|
|
14010
14221
|
reasoning: true,
|
|
14011
14222
|
input: ["text", "image"],
|
|
14012
14223
|
cost: {
|
|
14013
|
-
input: 0.
|
|
14014
|
-
output: 3.
|
|
14015
|
-
cacheRead: 0.
|
|
14224
|
+
input: 0.55,
|
|
14225
|
+
output: 3.2,
|
|
14226
|
+
cacheRead: 0.11,
|
|
14016
14227
|
cacheWrite: 0
|
|
14017
14228
|
},
|
|
14018
14229
|
contextWindow: 262144,
|
|
@@ -14413,6 +14624,25 @@ var TOGETHER_MODELS = {
|
|
|
14413
14624
|
},
|
|
14414
14625
|
contextWindow: 202752,
|
|
14415
14626
|
maxTokens: 131072
|
|
14627
|
+
},
|
|
14628
|
+
"zai-org/GLM-5.2": {
|
|
14629
|
+
id: "zai-org/GLM-5.2",
|
|
14630
|
+
name: "GLM-5.2",
|
|
14631
|
+
api: "openai-completions",
|
|
14632
|
+
provider: "together",
|
|
14633
|
+
baseUrl: "https://api.together.ai/v1",
|
|
14634
|
+
compat: { supportsStore: false, supportsDeveloperRole: false, supportsReasoningEffort: false, maxTokensField: "max_tokens", thinkingFormat: "together", supportsStrictMode: false, supportsLongCacheRetention: false },
|
|
14635
|
+
reasoning: true,
|
|
14636
|
+
thinkingLevelMap: { minimal: null, low: null, medium: null },
|
|
14637
|
+
input: ["text"],
|
|
14638
|
+
cost: {
|
|
14639
|
+
input: 1.4,
|
|
14640
|
+
output: 4.4,
|
|
14641
|
+
cacheRead: 0.26,
|
|
14642
|
+
cacheWrite: 0
|
|
14643
|
+
},
|
|
14644
|
+
contextWindow: 262144,
|
|
14645
|
+
maxTokens: 164000
|
|
14416
14646
|
}
|
|
14417
14647
|
};
|
|
14418
14648
|
|
|
@@ -14526,7 +14756,7 @@ var VERCEL_AI_GATEWAY_MODELS = {
|
|
|
14526
14756
|
api: "anthropic-messages",
|
|
14527
14757
|
provider: "vercel-ai-gateway",
|
|
14528
14758
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
14529
|
-
reasoning:
|
|
14759
|
+
reasoning: false,
|
|
14530
14760
|
input: ["text"],
|
|
14531
14761
|
cost: {
|
|
14532
14762
|
input: 1.5,
|
|
@@ -14543,7 +14773,7 @@ var VERCEL_AI_GATEWAY_MODELS = {
|
|
|
14543
14773
|
api: "anthropic-messages",
|
|
14544
14774
|
provider: "vercel-ai-gateway",
|
|
14545
14775
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
14546
|
-
reasoning:
|
|
14776
|
+
reasoning: false,
|
|
14547
14777
|
input: ["text"],
|
|
14548
14778
|
cost: {
|
|
14549
14779
|
input: 0.15,
|
|
@@ -14560,7 +14790,7 @@ var VERCEL_AI_GATEWAY_MODELS = {
|
|
|
14560
14790
|
api: "anthropic-messages",
|
|
14561
14791
|
provider: "vercel-ai-gateway",
|
|
14562
14792
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
14563
|
-
reasoning:
|
|
14793
|
+
reasoning: false,
|
|
14564
14794
|
input: ["text"],
|
|
14565
14795
|
cost: {
|
|
14566
14796
|
input: 0.5,
|
|
@@ -14673,6 +14903,40 @@ var VERCEL_AI_GATEWAY_MODELS = {
|
|
|
14673
14903
|
contextWindow: 131072,
|
|
14674
14904
|
maxTokens: 32768
|
|
14675
14905
|
},
|
|
14906
|
+
"alibaba/qwen3-vl-235b-a22b-instruct": {
|
|
14907
|
+
id: "alibaba/qwen3-vl-235b-a22b-instruct",
|
|
14908
|
+
name: "Qwen3 VL 235B A22B Instruct",
|
|
14909
|
+
api: "anthropic-messages",
|
|
14910
|
+
provider: "vercel-ai-gateway",
|
|
14911
|
+
baseUrl: "https://ai-gateway.vercel.sh",
|
|
14912
|
+
reasoning: false,
|
|
14913
|
+
input: ["text", "image"],
|
|
14914
|
+
cost: {
|
|
14915
|
+
input: 0.4,
|
|
14916
|
+
output: 1.6,
|
|
14917
|
+
cacheRead: 0,
|
|
14918
|
+
cacheWrite: 0
|
|
14919
|
+
},
|
|
14920
|
+
contextWindow: 131072,
|
|
14921
|
+
maxTokens: 129024
|
|
14922
|
+
},
|
|
14923
|
+
"alibaba/qwen3-vl-instruct": {
|
|
14924
|
+
id: "alibaba/qwen3-vl-instruct",
|
|
14925
|
+
name: "Qwen3 VL 235B A22B Instruct",
|
|
14926
|
+
api: "anthropic-messages",
|
|
14927
|
+
provider: "vercel-ai-gateway",
|
|
14928
|
+
baseUrl: "https://ai-gateway.vercel.sh",
|
|
14929
|
+
reasoning: false,
|
|
14930
|
+
input: ["text", "image"],
|
|
14931
|
+
cost: {
|
|
14932
|
+
input: 0.4,
|
|
14933
|
+
output: 1.6,
|
|
14934
|
+
cacheRead: 0,
|
|
14935
|
+
cacheWrite: 0
|
|
14936
|
+
},
|
|
14937
|
+
contextWindow: 131072,
|
|
14938
|
+
maxTokens: 129024
|
|
14939
|
+
},
|
|
14676
14940
|
"alibaba/qwen3-vl-thinking": {
|
|
14677
14941
|
id: "alibaba/qwen3-vl-thinking",
|
|
14678
14942
|
name: "Qwen3 VL 235B A22B Thinking",
|
|
@@ -14792,6 +15056,74 @@ var VERCEL_AI_GATEWAY_MODELS = {
|
|
|
14792
15056
|
contextWindow: 1e6,
|
|
14793
15057
|
maxTokens: 64000
|
|
14794
15058
|
},
|
|
15059
|
+
"amazon/nova-2-lite": {
|
|
15060
|
+
id: "amazon/nova-2-lite",
|
|
15061
|
+
name: "Nova 2 Lite",
|
|
15062
|
+
api: "anthropic-messages",
|
|
15063
|
+
provider: "vercel-ai-gateway",
|
|
15064
|
+
baseUrl: "https://ai-gateway.vercel.sh",
|
|
15065
|
+
reasoning: true,
|
|
15066
|
+
input: ["text", "image"],
|
|
15067
|
+
cost: {
|
|
15068
|
+
input: 0.3,
|
|
15069
|
+
output: 2.5,
|
|
15070
|
+
cacheRead: 0.075,
|
|
15071
|
+
cacheWrite: 0
|
|
15072
|
+
},
|
|
15073
|
+
contextWindow: 1e6,
|
|
15074
|
+
maxTokens: 1e6
|
|
15075
|
+
},
|
|
15076
|
+
"amazon/nova-lite": {
|
|
15077
|
+
id: "amazon/nova-lite",
|
|
15078
|
+
name: "Nova Lite",
|
|
15079
|
+
api: "anthropic-messages",
|
|
15080
|
+
provider: "vercel-ai-gateway",
|
|
15081
|
+
baseUrl: "https://ai-gateway.vercel.sh",
|
|
15082
|
+
reasoning: false,
|
|
15083
|
+
input: ["text", "image"],
|
|
15084
|
+
cost: {
|
|
15085
|
+
input: 0.06,
|
|
15086
|
+
output: 0.24,
|
|
15087
|
+
cacheRead: 0,
|
|
15088
|
+
cacheWrite: 0
|
|
15089
|
+
},
|
|
15090
|
+
contextWindow: 300000,
|
|
15091
|
+
maxTokens: 8192
|
|
15092
|
+
},
|
|
15093
|
+
"amazon/nova-micro": {
|
|
15094
|
+
id: "amazon/nova-micro",
|
|
15095
|
+
name: "Nova Micro",
|
|
15096
|
+
api: "anthropic-messages",
|
|
15097
|
+
provider: "vercel-ai-gateway",
|
|
15098
|
+
baseUrl: "https://ai-gateway.vercel.sh",
|
|
15099
|
+
reasoning: false,
|
|
15100
|
+
input: ["text"],
|
|
15101
|
+
cost: {
|
|
15102
|
+
input: 0.035,
|
|
15103
|
+
output: 0.14,
|
|
15104
|
+
cacheRead: 0,
|
|
15105
|
+
cacheWrite: 0
|
|
15106
|
+
},
|
|
15107
|
+
contextWindow: 128000,
|
|
15108
|
+
maxTokens: 8192
|
|
15109
|
+
},
|
|
15110
|
+
"amazon/nova-pro": {
|
|
15111
|
+
id: "amazon/nova-pro",
|
|
15112
|
+
name: "Nova Pro",
|
|
15113
|
+
api: "anthropic-messages",
|
|
15114
|
+
provider: "vercel-ai-gateway",
|
|
15115
|
+
baseUrl: "https://ai-gateway.vercel.sh",
|
|
15116
|
+
reasoning: false,
|
|
15117
|
+
input: ["text", "image"],
|
|
15118
|
+
cost: {
|
|
15119
|
+
input: 0.8,
|
|
15120
|
+
output: 3.2,
|
|
15121
|
+
cacheRead: 0,
|
|
15122
|
+
cacheWrite: 0
|
|
15123
|
+
},
|
|
15124
|
+
contextWindow: 300000,
|
|
15125
|
+
maxTokens: 8192
|
|
15126
|
+
},
|
|
14795
15127
|
"anthropic/claude-3-haiku": {
|
|
14796
15128
|
id: "anthropic/claude-3-haiku",
|
|
14797
15129
|
name: "Claude 3 Haiku",
|
|
@@ -15003,6 +15335,24 @@ var VERCEL_AI_GATEWAY_MODELS = {
|
|
|
15003
15335
|
contextWindow: 1e6,
|
|
15004
15336
|
maxTokens: 128000
|
|
15005
15337
|
},
|
|
15338
|
+
"anthropic/claude-sonnet-5": {
|
|
15339
|
+
id: "anthropic/claude-sonnet-5",
|
|
15340
|
+
name: "Claude Sonnet 5",
|
|
15341
|
+
api: "anthropic-messages",
|
|
15342
|
+
provider: "vercel-ai-gateway",
|
|
15343
|
+
baseUrl: "https://ai-gateway.vercel.sh",
|
|
15344
|
+
compat: { forceAdaptiveThinking: true },
|
|
15345
|
+
reasoning: true,
|
|
15346
|
+
input: ["text", "image"],
|
|
15347
|
+
cost: {
|
|
15348
|
+
input: 2,
|
|
15349
|
+
output: 10,
|
|
15350
|
+
cacheRead: 0.2,
|
|
15351
|
+
cacheWrite: 2.5
|
|
15352
|
+
},
|
|
15353
|
+
contextWindow: 1e6,
|
|
15354
|
+
maxTokens: 128000
|
|
15355
|
+
},
|
|
15006
15356
|
"arcee-ai/trinity-large-preview": {
|
|
15007
15357
|
id: "arcee-ai/trinity-large-preview",
|
|
15008
15358
|
name: "Trinity Large Preview",
|
|
@@ -15037,6 +15387,23 @@ var VERCEL_AI_GATEWAY_MODELS = {
|
|
|
15037
15387
|
contextWindow: 262100,
|
|
15038
15388
|
maxTokens: 80000
|
|
15039
15389
|
},
|
|
15390
|
+
"arcee-ai/trinity-mini": {
|
|
15391
|
+
id: "arcee-ai/trinity-mini",
|
|
15392
|
+
name: "Trinity Mini",
|
|
15393
|
+
api: "anthropic-messages",
|
|
15394
|
+
provider: "vercel-ai-gateway",
|
|
15395
|
+
baseUrl: "https://ai-gateway.vercel.sh",
|
|
15396
|
+
reasoning: false,
|
|
15397
|
+
input: ["text"],
|
|
15398
|
+
cost: {
|
|
15399
|
+
input: 0.045,
|
|
15400
|
+
output: 0.15,
|
|
15401
|
+
cacheRead: 0,
|
|
15402
|
+
cacheWrite: 0
|
|
15403
|
+
},
|
|
15404
|
+
contextWindow: 131072,
|
|
15405
|
+
maxTokens: 131072
|
|
15406
|
+
},
|
|
15040
15407
|
"bytedance/seed-1.6": {
|
|
15041
15408
|
id: "bytedance/seed-1.6",
|
|
15042
15409
|
name: "Seed 1.6",
|
|
@@ -15044,7 +15411,7 @@ var VERCEL_AI_GATEWAY_MODELS = {
|
|
|
15044
15411
|
provider: "vercel-ai-gateway",
|
|
15045
15412
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
15046
15413
|
reasoning: true,
|
|
15047
|
-
input: ["text"],
|
|
15414
|
+
input: ["text", "image"],
|
|
15048
15415
|
cost: {
|
|
15049
15416
|
input: 0.25,
|
|
15050
15417
|
output: 2,
|
|
@@ -15054,6 +15421,23 @@ var VERCEL_AI_GATEWAY_MODELS = {
|
|
|
15054
15421
|
contextWindow: 256000,
|
|
15055
15422
|
maxTokens: 32000
|
|
15056
15423
|
},
|
|
15424
|
+
"bytedance/seed-1.8": {
|
|
15425
|
+
id: "bytedance/seed-1.8",
|
|
15426
|
+
name: "Bytedance Seed 1.8",
|
|
15427
|
+
api: "anthropic-messages",
|
|
15428
|
+
provider: "vercel-ai-gateway",
|
|
15429
|
+
baseUrl: "https://ai-gateway.vercel.sh",
|
|
15430
|
+
reasoning: true,
|
|
15431
|
+
input: ["text", "image"],
|
|
15432
|
+
cost: {
|
|
15433
|
+
input: 0.25,
|
|
15434
|
+
output: 2,
|
|
15435
|
+
cacheRead: 0.05,
|
|
15436
|
+
cacheWrite: 0
|
|
15437
|
+
},
|
|
15438
|
+
contextWindow: 256000,
|
|
15439
|
+
maxTokens: 64000
|
|
15440
|
+
},
|
|
15057
15441
|
"cohere/command-a": {
|
|
15058
15442
|
id: "cohere/command-a",
|
|
15059
15443
|
name: "Command A",
|
|
@@ -15114,13 +15498,13 @@ var VERCEL_AI_GATEWAY_MODELS = {
|
|
|
15114
15498
|
reasoning: true,
|
|
15115
15499
|
input: ["text"],
|
|
15116
15500
|
cost: {
|
|
15117
|
-
input: 0.
|
|
15118
|
-
output: 1.
|
|
15119
|
-
cacheRead: 0
|
|
15501
|
+
input: 0.6,
|
|
15502
|
+
output: 1.7,
|
|
15503
|
+
cacheRead: 0,
|
|
15120
15504
|
cacheWrite: 0
|
|
15121
15505
|
},
|
|
15122
|
-
contextWindow:
|
|
15123
|
-
maxTokens:
|
|
15506
|
+
contextWindow: 128000,
|
|
15507
|
+
maxTokens: 128000
|
|
15124
15508
|
},
|
|
15125
15509
|
"deepseek/deepseek-v3.1-terminus": {
|
|
15126
15510
|
id: "deepseek/deepseek-v3.1-terminus",
|
|
@@ -15145,8 +15529,8 @@ var VERCEL_AI_GATEWAY_MODELS = {
|
|
|
15145
15529
|
api: "anthropic-messages",
|
|
15146
15530
|
provider: "vercel-ai-gateway",
|
|
15147
15531
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
15148
|
-
reasoning:
|
|
15149
|
-
input: ["text"
|
|
15532
|
+
reasoning: false,
|
|
15533
|
+
input: ["text"],
|
|
15150
15534
|
cost: {
|
|
15151
15535
|
input: 0.28,
|
|
15152
15536
|
output: 0.42,
|
|
@@ -15163,7 +15547,7 @@ var VERCEL_AI_GATEWAY_MODELS = {
|
|
|
15163
15547
|
provider: "vercel-ai-gateway",
|
|
15164
15548
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
15165
15549
|
reasoning: true,
|
|
15166
|
-
input: ["text"
|
|
15550
|
+
input: ["text"],
|
|
15167
15551
|
cost: {
|
|
15168
15552
|
input: 0.62,
|
|
15169
15553
|
output: 1.85,
|
|
@@ -15180,7 +15564,7 @@ var VERCEL_AI_GATEWAY_MODELS = {
|
|
|
15180
15564
|
provider: "vercel-ai-gateway",
|
|
15181
15565
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
15182
15566
|
reasoning: true,
|
|
15183
|
-
input: ["text"
|
|
15567
|
+
input: ["text"],
|
|
15184
15568
|
cost: {
|
|
15185
15569
|
input: 0.14,
|
|
15186
15570
|
output: 0.28,
|
|
@@ -15383,7 +15767,7 @@ var VERCEL_AI_GATEWAY_MODELS = {
|
|
|
15383
15767
|
api: "anthropic-messages",
|
|
15384
15768
|
provider: "vercel-ai-gateway",
|
|
15385
15769
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
15386
|
-
reasoning:
|
|
15770
|
+
reasoning: true,
|
|
15387
15771
|
input: ["text", "image"],
|
|
15388
15772
|
cost: {
|
|
15389
15773
|
input: 0.14,
|
|
@@ -15428,6 +15812,40 @@ var VERCEL_AI_GATEWAY_MODELS = {
|
|
|
15428
15812
|
contextWindow: 32000,
|
|
15429
15813
|
maxTokens: 16384
|
|
15430
15814
|
},
|
|
15815
|
+
"interfaze/interfaze-beta": {
|
|
15816
|
+
id: "interfaze/interfaze-beta",
|
|
15817
|
+
name: "Interfaze Beta",
|
|
15818
|
+
api: "anthropic-messages",
|
|
15819
|
+
provider: "vercel-ai-gateway",
|
|
15820
|
+
baseUrl: "https://ai-gateway.vercel.sh",
|
|
15821
|
+
reasoning: true,
|
|
15822
|
+
input: ["text", "image"],
|
|
15823
|
+
cost: {
|
|
15824
|
+
input: 1.5,
|
|
15825
|
+
output: 3.5,
|
|
15826
|
+
cacheRead: 0,
|
|
15827
|
+
cacheWrite: 0
|
|
15828
|
+
},
|
|
15829
|
+
contextWindow: 1e6,
|
|
15830
|
+
maxTokens: 32000
|
|
15831
|
+
},
|
|
15832
|
+
"kwaipilot/kat-coder-pro-v1": {
|
|
15833
|
+
id: "kwaipilot/kat-coder-pro-v1",
|
|
15834
|
+
name: "KAT-Coder-Pro V1",
|
|
15835
|
+
api: "anthropic-messages",
|
|
15836
|
+
provider: "vercel-ai-gateway",
|
|
15837
|
+
baseUrl: "https://ai-gateway.vercel.sh",
|
|
15838
|
+
reasoning: false,
|
|
15839
|
+
input: ["text"],
|
|
15840
|
+
cost: {
|
|
15841
|
+
input: 0.3,
|
|
15842
|
+
output: 1.2,
|
|
15843
|
+
cacheRead: 0.06,
|
|
15844
|
+
cacheWrite: 0
|
|
15845
|
+
},
|
|
15846
|
+
contextWindow: 256000,
|
|
15847
|
+
maxTokens: 32000
|
|
15848
|
+
},
|
|
15431
15849
|
"kwaipilot/kat-coder-pro-v2": {
|
|
15432
15850
|
id: "kwaipilot/kat-coder-pro-v2",
|
|
15433
15851
|
name: "Kat Coder Pro V2",
|
|
@@ -15462,6 +15880,23 @@ var VERCEL_AI_GATEWAY_MODELS = {
|
|
|
15462
15880
|
contextWindow: 128000,
|
|
15463
15881
|
maxTokens: 1e5
|
|
15464
15882
|
},
|
|
15883
|
+
"meituan/longcat-flash-thinking-2601": {
|
|
15884
|
+
id: "meituan/longcat-flash-thinking-2601",
|
|
15885
|
+
name: "LongCat Flash Thinking 2601",
|
|
15886
|
+
api: "anthropic-messages",
|
|
15887
|
+
provider: "vercel-ai-gateway",
|
|
15888
|
+
baseUrl: "https://ai-gateway.vercel.sh",
|
|
15889
|
+
reasoning: true,
|
|
15890
|
+
input: ["text"],
|
|
15891
|
+
cost: {
|
|
15892
|
+
input: 0,
|
|
15893
|
+
output: 0,
|
|
15894
|
+
cacheRead: 0,
|
|
15895
|
+
cacheWrite: 0
|
|
15896
|
+
},
|
|
15897
|
+
contextWindow: 32768,
|
|
15898
|
+
maxTokens: 32768
|
|
15899
|
+
},
|
|
15465
15900
|
"meta/llama-3.1-70b": {
|
|
15466
15901
|
id: "meta/llama-3.1-70b",
|
|
15467
15902
|
name: "Llama 3.1 70B Instruct",
|
|
@@ -15775,7 +16210,7 @@ var VERCEL_AI_GATEWAY_MODELS = {
|
|
|
15775
16210
|
provider: "vercel-ai-gateway",
|
|
15776
16211
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
15777
16212
|
reasoning: false,
|
|
15778
|
-
input: ["text"],
|
|
16213
|
+
input: ["text", "image"],
|
|
15779
16214
|
cost: {
|
|
15780
16215
|
input: 0.1,
|
|
15781
16216
|
output: 0.3,
|
|
@@ -15785,6 +16220,57 @@ var VERCEL_AI_GATEWAY_MODELS = {
|
|
|
15785
16220
|
contextWindow: 256000,
|
|
15786
16221
|
maxTokens: 256000
|
|
15787
16222
|
},
|
|
16223
|
+
"mistral/magistral-medium": {
|
|
16224
|
+
id: "mistral/magistral-medium",
|
|
16225
|
+
name: "Magistral Medium 2509",
|
|
16226
|
+
api: "anthropic-messages",
|
|
16227
|
+
provider: "vercel-ai-gateway",
|
|
16228
|
+
baseUrl: "https://ai-gateway.vercel.sh",
|
|
16229
|
+
reasoning: true,
|
|
16230
|
+
input: ["text", "image"],
|
|
16231
|
+
cost: {
|
|
16232
|
+
input: 2,
|
|
16233
|
+
output: 5,
|
|
16234
|
+
cacheRead: 0,
|
|
16235
|
+
cacheWrite: 0
|
|
16236
|
+
},
|
|
16237
|
+
contextWindow: 128000,
|
|
16238
|
+
maxTokens: 64000
|
|
16239
|
+
},
|
|
16240
|
+
"mistral/magistral-small": {
|
|
16241
|
+
id: "mistral/magistral-small",
|
|
16242
|
+
name: "Magistral Small 2509",
|
|
16243
|
+
api: "anthropic-messages",
|
|
16244
|
+
provider: "vercel-ai-gateway",
|
|
16245
|
+
baseUrl: "https://ai-gateway.vercel.sh",
|
|
16246
|
+
reasoning: true,
|
|
16247
|
+
input: ["text", "image"],
|
|
16248
|
+
cost: {
|
|
16249
|
+
input: 0.5,
|
|
16250
|
+
output: 1.5,
|
|
16251
|
+
cacheRead: 0,
|
|
16252
|
+
cacheWrite: 0
|
|
16253
|
+
},
|
|
16254
|
+
contextWindow: 128000,
|
|
16255
|
+
maxTokens: 64000
|
|
16256
|
+
},
|
|
16257
|
+
"mistral/ministral-14b": {
|
|
16258
|
+
id: "mistral/ministral-14b",
|
|
16259
|
+
name: "Ministral 14B",
|
|
16260
|
+
api: "anthropic-messages",
|
|
16261
|
+
provider: "vercel-ai-gateway",
|
|
16262
|
+
baseUrl: "https://ai-gateway.vercel.sh",
|
|
16263
|
+
reasoning: false,
|
|
16264
|
+
input: ["text", "image"],
|
|
16265
|
+
cost: {
|
|
16266
|
+
input: 0.2,
|
|
16267
|
+
output: 0.2,
|
|
16268
|
+
cacheRead: 0,
|
|
16269
|
+
cacheWrite: 0
|
|
16270
|
+
},
|
|
16271
|
+
contextWindow: 256000,
|
|
16272
|
+
maxTokens: 256000
|
|
16273
|
+
},
|
|
15788
16274
|
"mistral/ministral-3b": {
|
|
15789
16275
|
id: "mistral/ministral-3b",
|
|
15790
16276
|
name: "Ministral 3B",
|
|
@@ -15819,6 +16305,23 @@ var VERCEL_AI_GATEWAY_MODELS = {
|
|
|
15819
16305
|
contextWindow: 128000,
|
|
15820
16306
|
maxTokens: 4000
|
|
15821
16307
|
},
|
|
16308
|
+
"mistral/mistral-large-3": {
|
|
16309
|
+
id: "mistral/mistral-large-3",
|
|
16310
|
+
name: "Mistral Large 3",
|
|
16311
|
+
api: "anthropic-messages",
|
|
16312
|
+
provider: "vercel-ai-gateway",
|
|
16313
|
+
baseUrl: "https://ai-gateway.vercel.sh",
|
|
16314
|
+
reasoning: false,
|
|
16315
|
+
input: ["text", "image"],
|
|
16316
|
+
cost: {
|
|
16317
|
+
input: 0.5,
|
|
16318
|
+
output: 1.5,
|
|
16319
|
+
cacheRead: 0,
|
|
16320
|
+
cacheWrite: 0
|
|
16321
|
+
},
|
|
16322
|
+
contextWindow: 256000,
|
|
16323
|
+
maxTokens: 256000
|
|
16324
|
+
},
|
|
15822
16325
|
"mistral/mistral-medium": {
|
|
15823
16326
|
id: "mistral/mistral-medium",
|
|
15824
16327
|
name: "Mistral Medium 3.1",
|
|
@@ -15843,7 +16346,7 @@ var VERCEL_AI_GATEWAY_MODELS = {
|
|
|
15843
16346
|
provider: "vercel-ai-gateway",
|
|
15844
16347
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
15845
16348
|
reasoning: true,
|
|
15846
|
-
input: ["text"],
|
|
16349
|
+
input: ["text", "image"],
|
|
15847
16350
|
cost: {
|
|
15848
16351
|
input: 1.5,
|
|
15849
16352
|
output: 7.5,
|
|
@@ -15947,13 +16450,13 @@ var VERCEL_AI_GATEWAY_MODELS = {
|
|
|
15947
16450
|
reasoning: true,
|
|
15948
16451
|
input: ["text"],
|
|
15949
16452
|
cost: {
|
|
15950
|
-
input: 0.
|
|
15951
|
-
output: 2
|
|
15952
|
-
cacheRead: 0.
|
|
16453
|
+
input: 0.47,
|
|
16454
|
+
output: 2,
|
|
16455
|
+
cacheRead: 0.141,
|
|
15953
16456
|
cacheWrite: 0
|
|
15954
16457
|
},
|
|
15955
|
-
contextWindow:
|
|
15956
|
-
maxTokens:
|
|
16458
|
+
contextWindow: 216144,
|
|
16459
|
+
maxTokens: 216144
|
|
15957
16460
|
},
|
|
15958
16461
|
"moonshotai/kimi-k2.5": {
|
|
15959
16462
|
id: "moonshotai/kimi-k2.5",
|
|
@@ -16023,6 +16526,23 @@ var VERCEL_AI_GATEWAY_MODELS = {
|
|
|
16023
16526
|
contextWindow: 262144,
|
|
16024
16527
|
maxTokens: 32768
|
|
16025
16528
|
},
|
|
16529
|
+
"nvidia/nemotron-3-nano-30b-a3b": {
|
|
16530
|
+
id: "nvidia/nemotron-3-nano-30b-a3b",
|
|
16531
|
+
name: "Nemotron 3 Nano 30B A3B",
|
|
16532
|
+
api: "anthropic-messages",
|
|
16533
|
+
provider: "vercel-ai-gateway",
|
|
16534
|
+
baseUrl: "https://ai-gateway.vercel.sh",
|
|
16535
|
+
reasoning: true,
|
|
16536
|
+
input: ["text"],
|
|
16537
|
+
cost: {
|
|
16538
|
+
input: 0.05,
|
|
16539
|
+
output: 0.24,
|
|
16540
|
+
cacheRead: 0,
|
|
16541
|
+
cacheWrite: 0
|
|
16542
|
+
},
|
|
16543
|
+
contextWindow: 262144,
|
|
16544
|
+
maxTokens: 262144
|
|
16545
|
+
},
|
|
16026
16546
|
"nvidia/nemotron-3-super-120b-a12b": {
|
|
16027
16547
|
id: "nvidia/nemotron-3-super-120b-a12b",
|
|
16028
16548
|
name: "NVIDIA Nemotron 3 Super 120B A12B",
|
|
@@ -16091,6 +16611,23 @@ var VERCEL_AI_GATEWAY_MODELS = {
|
|
|
16091
16611
|
contextWindow: 131072,
|
|
16092
16612
|
maxTokens: 131072
|
|
16093
16613
|
},
|
|
16614
|
+
"openai/gpt-3.5-turbo": {
|
|
16615
|
+
id: "openai/gpt-3.5-turbo",
|
|
16616
|
+
name: "GPT-3.5 Turbo",
|
|
16617
|
+
api: "anthropic-messages",
|
|
16618
|
+
provider: "vercel-ai-gateway",
|
|
16619
|
+
baseUrl: "https://ai-gateway.vercel.sh",
|
|
16620
|
+
reasoning: false,
|
|
16621
|
+
input: ["text"],
|
|
16622
|
+
cost: {
|
|
16623
|
+
input: 0.5,
|
|
16624
|
+
output: 1.5,
|
|
16625
|
+
cacheRead: 0,
|
|
16626
|
+
cacheWrite: 0
|
|
16627
|
+
},
|
|
16628
|
+
contextWindow: 16385,
|
|
16629
|
+
maxTokens: 4096
|
|
16630
|
+
},
|
|
16094
16631
|
"openai/gpt-4-turbo": {
|
|
16095
16632
|
id: "openai/gpt-4-turbo",
|
|
16096
16633
|
name: "GPT-4 Turbo",
|
|
@@ -16216,7 +16753,7 @@ var VERCEL_AI_GATEWAY_MODELS = {
|
|
|
16216
16753
|
api: "anthropic-messages",
|
|
16217
16754
|
provider: "vercel-ai-gateway",
|
|
16218
16755
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
16219
|
-
reasoning:
|
|
16756
|
+
reasoning: false,
|
|
16220
16757
|
input: ["text", "image"],
|
|
16221
16758
|
cost: {
|
|
16222
16759
|
input: 1.25,
|
|
@@ -16352,7 +16889,7 @@ var VERCEL_AI_GATEWAY_MODELS = {
|
|
|
16352
16889
|
api: "anthropic-messages",
|
|
16353
16890
|
provider: "vercel-ai-gateway",
|
|
16354
16891
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
16355
|
-
reasoning:
|
|
16892
|
+
reasoning: false,
|
|
16356
16893
|
input: ["text", "image"],
|
|
16357
16894
|
cost: {
|
|
16358
16895
|
input: 1.25,
|
|
@@ -16404,7 +16941,7 @@ var VERCEL_AI_GATEWAY_MODELS = {
|
|
|
16404
16941
|
api: "anthropic-messages",
|
|
16405
16942
|
provider: "vercel-ai-gateway",
|
|
16406
16943
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
16407
|
-
reasoning:
|
|
16944
|
+
reasoning: false,
|
|
16408
16945
|
thinkingLevelMap: { xhigh: "xhigh" },
|
|
16409
16946
|
input: ["text", "image"],
|
|
16410
16947
|
cost: {
|
|
@@ -16458,7 +16995,7 @@ var VERCEL_AI_GATEWAY_MODELS = {
|
|
|
16458
16995
|
api: "anthropic-messages",
|
|
16459
16996
|
provider: "vercel-ai-gateway",
|
|
16460
16997
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
16461
|
-
reasoning:
|
|
16998
|
+
reasoning: false,
|
|
16462
16999
|
thinkingLevelMap: { xhigh: "xhigh" },
|
|
16463
17000
|
input: ["text", "image"],
|
|
16464
17001
|
cost: {
|
|
@@ -16603,15 +17140,15 @@ var VERCEL_AI_GATEWAY_MODELS = {
|
|
|
16603
17140
|
provider: "vercel-ai-gateway",
|
|
16604
17141
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
16605
17142
|
reasoning: true,
|
|
16606
|
-
input: ["text"],
|
|
16607
|
-
cost: {
|
|
16608
|
-
input: 0.
|
|
16609
|
-
output: 0.
|
|
16610
|
-
cacheRead: 0
|
|
17143
|
+
input: ["text"],
|
|
17144
|
+
cost: {
|
|
17145
|
+
input: 0.1,
|
|
17146
|
+
output: 0.5,
|
|
17147
|
+
cacheRead: 0,
|
|
16611
17148
|
cacheWrite: 0
|
|
16612
17149
|
},
|
|
16613
17150
|
contextWindow: 131072,
|
|
16614
|
-
maxTokens:
|
|
17151
|
+
maxTokens: 131072
|
|
16615
17152
|
},
|
|
16616
17153
|
"openai/gpt-oss-20b": {
|
|
16617
17154
|
id: "openai/gpt-oss-20b",
|
|
@@ -16749,40 +17286,6 @@ var VERCEL_AI_GATEWAY_MODELS = {
|
|
|
16749
17286
|
contextWindow: 200000,
|
|
16750
17287
|
maxTokens: 1e5
|
|
16751
17288
|
},
|
|
16752
|
-
"perplexity/sonar": {
|
|
16753
|
-
id: "perplexity/sonar",
|
|
16754
|
-
name: "Sonar",
|
|
16755
|
-
api: "anthropic-messages",
|
|
16756
|
-
provider: "vercel-ai-gateway",
|
|
16757
|
-
baseUrl: "https://ai-gateway.vercel.sh",
|
|
16758
|
-
reasoning: false,
|
|
16759
|
-
input: ["text", "image"],
|
|
16760
|
-
cost: {
|
|
16761
|
-
input: 0,
|
|
16762
|
-
output: 0,
|
|
16763
|
-
cacheRead: 0,
|
|
16764
|
-
cacheWrite: 0
|
|
16765
|
-
},
|
|
16766
|
-
contextWindow: 127000,
|
|
16767
|
-
maxTokens: 8000
|
|
16768
|
-
},
|
|
16769
|
-
"perplexity/sonar-pro": {
|
|
16770
|
-
id: "perplexity/sonar-pro",
|
|
16771
|
-
name: "Sonar Pro",
|
|
16772
|
-
api: "anthropic-messages",
|
|
16773
|
-
provider: "vercel-ai-gateway",
|
|
16774
|
-
baseUrl: "https://ai-gateway.vercel.sh",
|
|
16775
|
-
reasoning: false,
|
|
16776
|
-
input: ["text", "image"],
|
|
16777
|
-
cost: {
|
|
16778
|
-
input: 0,
|
|
16779
|
-
output: 0,
|
|
16780
|
-
cacheRead: 0,
|
|
16781
|
-
cacheWrite: 0
|
|
16782
|
-
},
|
|
16783
|
-
contextWindow: 200000,
|
|
16784
|
-
maxTokens: 8000
|
|
16785
|
-
},
|
|
16786
17289
|
"sakana/fugu-ultra": {
|
|
16787
17290
|
id: "sakana/fugu-ultra",
|
|
16788
17291
|
name: "Fugu Ultra",
|
|
@@ -17062,7 +17565,7 @@ var VERCEL_AI_GATEWAY_MODELS = {
|
|
|
17062
17565
|
provider: "vercel-ai-gateway",
|
|
17063
17566
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
17064
17567
|
reasoning: true,
|
|
17065
|
-
input: ["text"
|
|
17568
|
+
input: ["text"],
|
|
17066
17569
|
cost: {
|
|
17067
17570
|
input: 0.435,
|
|
17068
17571
|
output: 0.87,
|
|
@@ -17074,7 +17577,7 @@ var VERCEL_AI_GATEWAY_MODELS = {
|
|
|
17074
17577
|
},
|
|
17075
17578
|
"zai/glm-4.5": {
|
|
17076
17579
|
id: "zai/glm-4.5",
|
|
17077
|
-
name: "GLM
|
|
17580
|
+
name: "GLM 4.5",
|
|
17078
17581
|
api: "anthropic-messages",
|
|
17079
17582
|
provider: "vercel-ai-gateway",
|
|
17080
17583
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
@@ -17183,13 +17686,13 @@ var VERCEL_AI_GATEWAY_MODELS = {
|
|
|
17183
17686
|
reasoning: true,
|
|
17184
17687
|
input: ["text"],
|
|
17185
17688
|
cost: {
|
|
17186
|
-
input:
|
|
17187
|
-
output: 2.
|
|
17188
|
-
cacheRead:
|
|
17689
|
+
input: 0.6,
|
|
17690
|
+
output: 2.2,
|
|
17691
|
+
cacheRead: 0.12,
|
|
17189
17692
|
cacheWrite: 0
|
|
17190
17693
|
},
|
|
17191
|
-
contextWindow:
|
|
17192
|
-
maxTokens:
|
|
17694
|
+
contextWindow: 200000,
|
|
17695
|
+
maxTokens: 120000
|
|
17193
17696
|
},
|
|
17194
17697
|
"zai/glm-4.7-flash": {
|
|
17195
17698
|
id: "zai/glm-4.7-flash",
|
|
@@ -17234,8 +17737,8 @@ var VERCEL_AI_GATEWAY_MODELS = {
|
|
|
17234
17737
|
reasoning: true,
|
|
17235
17738
|
input: ["text"],
|
|
17236
17739
|
cost: {
|
|
17237
|
-
input:
|
|
17238
|
-
output: 3.
|
|
17740
|
+
input: 0.95,
|
|
17741
|
+
output: 3.15,
|
|
17239
17742
|
cacheRead: 0.2,
|
|
17240
17743
|
cacheWrite: 0
|
|
17241
17744
|
},
|
|
@@ -17266,15 +17769,15 @@ var VERCEL_AI_GATEWAY_MODELS = {
|
|
|
17266
17769
|
provider: "vercel-ai-gateway",
|
|
17267
17770
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
17268
17771
|
reasoning: true,
|
|
17269
|
-
input: ["text"
|
|
17772
|
+
input: ["text"],
|
|
17270
17773
|
cost: {
|
|
17271
|
-
input: 1.
|
|
17272
|
-
output: 4.
|
|
17774
|
+
input: 1.3,
|
|
17775
|
+
output: 4.3,
|
|
17273
17776
|
cacheRead: 0.26,
|
|
17274
17777
|
cacheWrite: 0
|
|
17275
17778
|
},
|
|
17276
|
-
contextWindow:
|
|
17277
|
-
maxTokens:
|
|
17779
|
+
contextWindow: 202000,
|
|
17780
|
+
maxTokens: 202000
|
|
17278
17781
|
},
|
|
17279
17782
|
"zai/glm-5.2": {
|
|
17280
17783
|
id: "zai/glm-5.2",
|
|
@@ -17293,6 +17796,23 @@ var VERCEL_AI_GATEWAY_MODELS = {
|
|
|
17293
17796
|
contextWindow: 1e6,
|
|
17294
17797
|
maxTokens: 128000
|
|
17295
17798
|
},
|
|
17799
|
+
"zai/glm-5.2-fast": {
|
|
17800
|
+
id: "zai/glm-5.2-fast",
|
|
17801
|
+
name: "GLM 5.2 Fast",
|
|
17802
|
+
api: "anthropic-messages",
|
|
17803
|
+
provider: "vercel-ai-gateway",
|
|
17804
|
+
baseUrl: "https://ai-gateway.vercel.sh",
|
|
17805
|
+
reasoning: true,
|
|
17806
|
+
input: ["text"],
|
|
17807
|
+
cost: {
|
|
17808
|
+
input: 3,
|
|
17809
|
+
output: 10.25,
|
|
17810
|
+
cacheRead: 0.5,
|
|
17811
|
+
cacheWrite: 0
|
|
17812
|
+
},
|
|
17813
|
+
contextWindow: 1e6,
|
|
17814
|
+
maxTokens: 128000
|
|
17815
|
+
},
|
|
17296
17816
|
"zai/glm-5v-turbo": {
|
|
17297
17817
|
id: "zai/glm-5v-turbo",
|
|
17298
17818
|
name: "GLM 5V Turbo",
|
|
@@ -17454,9 +17974,9 @@ var XIAOMI_MODELS = {
|
|
|
17454
17974
|
reasoning: true,
|
|
17455
17975
|
input: ["text"],
|
|
17456
17976
|
cost: {
|
|
17457
|
-
input: 0.
|
|
17458
|
-
output: 0.
|
|
17459
|
-
cacheRead: 0.
|
|
17977
|
+
input: 0.14,
|
|
17978
|
+
output: 0.28,
|
|
17979
|
+
cacheRead: 0.0028,
|
|
17460
17980
|
cacheWrite: 0
|
|
17461
17981
|
},
|
|
17462
17982
|
contextWindow: 262144,
|
|
@@ -17472,9 +17992,9 @@ var XIAOMI_MODELS = {
|
|
|
17472
17992
|
reasoning: true,
|
|
17473
17993
|
input: ["text", "image"],
|
|
17474
17994
|
cost: {
|
|
17475
|
-
input: 0.
|
|
17476
|
-
output:
|
|
17477
|
-
cacheRead: 0.
|
|
17995
|
+
input: 0.14,
|
|
17996
|
+
output: 0.28,
|
|
17997
|
+
cacheRead: 0.0028,
|
|
17478
17998
|
cacheWrite: 0
|
|
17479
17999
|
},
|
|
17480
18000
|
contextWindow: 262144,
|
|
@@ -17490,9 +18010,9 @@ var XIAOMI_MODELS = {
|
|
|
17490
18010
|
reasoning: true,
|
|
17491
18011
|
input: ["text"],
|
|
17492
18012
|
cost: {
|
|
17493
|
-
input:
|
|
17494
|
-
output:
|
|
17495
|
-
cacheRead: 0.
|
|
18013
|
+
input: 0.435,
|
|
18014
|
+
output: 0.87,
|
|
18015
|
+
cacheRead: 0.0036,
|
|
17496
18016
|
cacheWrite: 0
|
|
17497
18017
|
},
|
|
17498
18018
|
contextWindow: 1048576,
|
|
@@ -17508,9 +18028,9 @@ var XIAOMI_MODELS = {
|
|
|
17508
18028
|
reasoning: true,
|
|
17509
18029
|
input: ["text", "image"],
|
|
17510
18030
|
cost: {
|
|
17511
|
-
input: 0.
|
|
17512
|
-
output:
|
|
17513
|
-
cacheRead: 0.
|
|
18031
|
+
input: 0.14,
|
|
18032
|
+
output: 0.28,
|
|
18033
|
+
cacheRead: 0.0028,
|
|
17514
18034
|
cacheWrite: 0
|
|
17515
18035
|
},
|
|
17516
18036
|
contextWindow: 1048576,
|
|
@@ -17526,9 +18046,9 @@ var XIAOMI_MODELS = {
|
|
|
17526
18046
|
reasoning: true,
|
|
17527
18047
|
input: ["text"],
|
|
17528
18048
|
cost: {
|
|
17529
|
-
input:
|
|
17530
|
-
output:
|
|
17531
|
-
cacheRead: 0.
|
|
18049
|
+
input: 0.435,
|
|
18050
|
+
output: 0.87,
|
|
18051
|
+
cacheRead: 0.0036,
|
|
17532
18052
|
cacheWrite: 0
|
|
17533
18053
|
},
|
|
17534
18054
|
contextWindow: 1048576,
|
|
@@ -17566,9 +18086,9 @@ var XIAOMI_TOKEN_PLAN_AMS_MODELS = {
|
|
|
17566
18086
|
reasoning: true,
|
|
17567
18087
|
input: ["text", "image"],
|
|
17568
18088
|
cost: {
|
|
17569
|
-
input: 0.
|
|
17570
|
-
output:
|
|
17571
|
-
cacheRead: 0.
|
|
18089
|
+
input: 0.14,
|
|
18090
|
+
output: 0.28,
|
|
18091
|
+
cacheRead: 0.0028,
|
|
17572
18092
|
cacheWrite: 0
|
|
17573
18093
|
},
|
|
17574
18094
|
contextWindow: 262144,
|
|
@@ -17584,9 +18104,9 @@ var XIAOMI_TOKEN_PLAN_AMS_MODELS = {
|
|
|
17584
18104
|
reasoning: true,
|
|
17585
18105
|
input: ["text"],
|
|
17586
18106
|
cost: {
|
|
17587
|
-
input:
|
|
17588
|
-
output:
|
|
17589
|
-
cacheRead: 0.
|
|
18107
|
+
input: 0.435,
|
|
18108
|
+
output: 0.87,
|
|
18109
|
+
cacheRead: 0.0036,
|
|
17590
18110
|
cacheWrite: 0
|
|
17591
18111
|
},
|
|
17592
18112
|
contextWindow: 1048576,
|
|
@@ -17602,9 +18122,9 @@ var XIAOMI_TOKEN_PLAN_AMS_MODELS = {
|
|
|
17602
18122
|
reasoning: true,
|
|
17603
18123
|
input: ["text", "image"],
|
|
17604
18124
|
cost: {
|
|
17605
|
-
input: 0.
|
|
17606
|
-
output:
|
|
17607
|
-
cacheRead: 0.
|
|
18125
|
+
input: 0.14,
|
|
18126
|
+
output: 0.28,
|
|
18127
|
+
cacheRead: 0.0028,
|
|
17608
18128
|
cacheWrite: 0
|
|
17609
18129
|
},
|
|
17610
18130
|
contextWindow: 1048576,
|
|
@@ -17620,9 +18140,9 @@ var XIAOMI_TOKEN_PLAN_AMS_MODELS = {
|
|
|
17620
18140
|
reasoning: true,
|
|
17621
18141
|
input: ["text"],
|
|
17622
18142
|
cost: {
|
|
17623
|
-
input:
|
|
17624
|
-
output:
|
|
17625
|
-
cacheRead: 0.
|
|
18143
|
+
input: 0.435,
|
|
18144
|
+
output: 0.87,
|
|
18145
|
+
cacheRead: 0.0036,
|
|
17626
18146
|
cacheWrite: 0
|
|
17627
18147
|
},
|
|
17628
18148
|
contextWindow: 1048576,
|
|
@@ -17660,9 +18180,9 @@ var XIAOMI_TOKEN_PLAN_CN_MODELS = {
|
|
|
17660
18180
|
reasoning: true,
|
|
17661
18181
|
input: ["text", "image"],
|
|
17662
18182
|
cost: {
|
|
17663
|
-
input: 0.
|
|
17664
|
-
output:
|
|
17665
|
-
cacheRead: 0.
|
|
18183
|
+
input: 0.14,
|
|
18184
|
+
output: 0.28,
|
|
18185
|
+
cacheRead: 0.0028,
|
|
17666
18186
|
cacheWrite: 0
|
|
17667
18187
|
},
|
|
17668
18188
|
contextWindow: 262144,
|
|
@@ -17678,9 +18198,9 @@ var XIAOMI_TOKEN_PLAN_CN_MODELS = {
|
|
|
17678
18198
|
reasoning: true,
|
|
17679
18199
|
input: ["text"],
|
|
17680
18200
|
cost: {
|
|
17681
|
-
input:
|
|
17682
|
-
output:
|
|
17683
|
-
cacheRead: 0.
|
|
18201
|
+
input: 0.435,
|
|
18202
|
+
output: 0.87,
|
|
18203
|
+
cacheRead: 0.0036,
|
|
17684
18204
|
cacheWrite: 0
|
|
17685
18205
|
},
|
|
17686
18206
|
contextWindow: 1048576,
|
|
@@ -17696,9 +18216,9 @@ var XIAOMI_TOKEN_PLAN_CN_MODELS = {
|
|
|
17696
18216
|
reasoning: true,
|
|
17697
18217
|
input: ["text", "image"],
|
|
17698
18218
|
cost: {
|
|
17699
|
-
input: 0.
|
|
17700
|
-
output:
|
|
17701
|
-
cacheRead: 0.
|
|
18219
|
+
input: 0.14,
|
|
18220
|
+
output: 0.28,
|
|
18221
|
+
cacheRead: 0.0028,
|
|
17702
18222
|
cacheWrite: 0
|
|
17703
18223
|
},
|
|
17704
18224
|
contextWindow: 1048576,
|
|
@@ -17714,9 +18234,9 @@ var XIAOMI_TOKEN_PLAN_CN_MODELS = {
|
|
|
17714
18234
|
reasoning: true,
|
|
17715
18235
|
input: ["text"],
|
|
17716
18236
|
cost: {
|
|
17717
|
-
input:
|
|
17718
|
-
output:
|
|
17719
|
-
cacheRead: 0.
|
|
18237
|
+
input: 0.435,
|
|
18238
|
+
output: 0.87,
|
|
18239
|
+
cacheRead: 0.0036,
|
|
17720
18240
|
cacheWrite: 0
|
|
17721
18241
|
},
|
|
17722
18242
|
contextWindow: 1048576,
|
|
@@ -17754,9 +18274,9 @@ var XIAOMI_TOKEN_PLAN_SGP_MODELS = {
|
|
|
17754
18274
|
reasoning: true,
|
|
17755
18275
|
input: ["text", "image"],
|
|
17756
18276
|
cost: {
|
|
17757
|
-
input: 0.
|
|
17758
|
-
output:
|
|
17759
|
-
cacheRead: 0.
|
|
18277
|
+
input: 0.14,
|
|
18278
|
+
output: 0.28,
|
|
18279
|
+
cacheRead: 0.0028,
|
|
17760
18280
|
cacheWrite: 0
|
|
17761
18281
|
},
|
|
17762
18282
|
contextWindow: 262144,
|
|
@@ -17772,9 +18292,9 @@ var XIAOMI_TOKEN_PLAN_SGP_MODELS = {
|
|
|
17772
18292
|
reasoning: true,
|
|
17773
18293
|
input: ["text"],
|
|
17774
18294
|
cost: {
|
|
17775
|
-
input:
|
|
17776
|
-
output:
|
|
17777
|
-
cacheRead: 0.
|
|
18295
|
+
input: 0.435,
|
|
18296
|
+
output: 0.87,
|
|
18297
|
+
cacheRead: 0.0036,
|
|
17778
18298
|
cacheWrite: 0
|
|
17779
18299
|
},
|
|
17780
18300
|
contextWindow: 1048576,
|
|
@@ -17790,9 +18310,9 @@ var XIAOMI_TOKEN_PLAN_SGP_MODELS = {
|
|
|
17790
18310
|
reasoning: true,
|
|
17791
18311
|
input: ["text", "image"],
|
|
17792
18312
|
cost: {
|
|
17793
|
-
input: 0.
|
|
17794
|
-
output:
|
|
17795
|
-
cacheRead: 0.
|
|
18313
|
+
input: 0.14,
|
|
18314
|
+
output: 0.28,
|
|
18315
|
+
cacheRead: 0.0028,
|
|
17796
18316
|
cacheWrite: 0
|
|
17797
18317
|
},
|
|
17798
18318
|
contextWindow: 1048576,
|
|
@@ -17808,9 +18328,9 @@ var XIAOMI_TOKEN_PLAN_SGP_MODELS = {
|
|
|
17808
18328
|
reasoning: true,
|
|
17809
18329
|
input: ["text"],
|
|
17810
18330
|
cost: {
|
|
17811
|
-
input:
|
|
17812
|
-
output:
|
|
17813
|
-
cacheRead: 0.
|
|
18331
|
+
input: 0.435,
|
|
18332
|
+
output: 0.87,
|
|
18333
|
+
cacheRead: 0.0036,
|
|
17814
18334
|
cacheWrite: 0
|
|
17815
18335
|
},
|
|
17816
18336
|
contextWindow: 1048576,
|
|
@@ -18134,7 +18654,7 @@ function amazonBedrockProvider() {
|
|
|
18134
18654
|
}
|
|
18135
18655
|
|
|
18136
18656
|
// node_modules/@earendil-works/pi-ai/dist/api/openai-completions.lazy.js
|
|
18137
|
-
var openAICompletionsApi = () => lazyApi(() => import("./openai-completions-
|
|
18657
|
+
var openAICompletionsApi = () => lazyApi(() => import("./openai-completions-x6kjnqjd.js"));
|
|
18138
18658
|
|
|
18139
18659
|
// node_modules/@earendil-works/pi-ai/dist/auth/helpers.js
|
|
18140
18660
|
function envApiKeyAuth(name, envVars) {
|
|
@@ -18183,7 +18703,7 @@ function antLingProvider() {
|
|
|
18183
18703
|
}
|
|
18184
18704
|
|
|
18185
18705
|
// node_modules/@earendil-works/pi-ai/dist/api/anthropic-messages.lazy.js
|
|
18186
|
-
var anthropicMessagesApi = () => lazyApi(() => import("./anthropic-messages-
|
|
18706
|
+
var anthropicMessagesApi = () => lazyApi(() => import("./anthropic-messages-8nc6r2dw.js"));
|
|
18187
18707
|
|
|
18188
18708
|
// node_modules/@earendil-works/pi-ai/dist/utils/oauth/load.js
|
|
18189
18709
|
var __rewriteRelativeImportExtension = function(path, preserveJsx) {
|
|
@@ -18218,7 +18738,7 @@ function anthropicProvider() {
|
|
|
18218
18738
|
}
|
|
18219
18739
|
|
|
18220
18740
|
// node_modules/@earendil-works/pi-ai/dist/api/azure-openai-responses.lazy.js
|
|
18221
|
-
var azureOpenAIResponsesApi = () => lazyApi(() => import("./azure-openai-responses-
|
|
18741
|
+
var azureOpenAIResponsesApi = () => lazyApi(() => import("./azure-openai-responses-6yfzw3qw.js"));
|
|
18222
18742
|
|
|
18223
18743
|
// node_modules/@earendil-works/pi-ai/dist/providers/azure-openai-responses.js
|
|
18224
18744
|
function azureOpenAIResponsesProvider() {
|
|
@@ -18244,7 +18764,7 @@ function cerebrasProvider() {
|
|
|
18244
18764
|
}
|
|
18245
18765
|
|
|
18246
18766
|
// node_modules/@earendil-works/pi-ai/dist/api/openai-responses.lazy.js
|
|
18247
|
-
var openAIResponsesApi = () => lazyApi(() => import("./openai-responses-
|
|
18767
|
+
var openAIResponsesApi = () => lazyApi(() => import("./openai-responses-7jwyz3ds.js"));
|
|
18248
18768
|
|
|
18249
18769
|
// node_modules/@earendil-works/pi-ai/dist/providers/cloudflare-auth.js
|
|
18250
18770
|
var CLOUDFLARE_API_KEY = "CLOUDFLARE_API_KEY";
|
|
@@ -18403,7 +18923,7 @@ function githubCopilotProvider() {
|
|
|
18403
18923
|
}
|
|
18404
18924
|
|
|
18405
18925
|
// node_modules/@earendil-works/pi-ai/dist/api/google-generative-ai.lazy.js
|
|
18406
|
-
var googleGenerativeAIApi = () => lazyApi(() => import("./google-generative-ai-
|
|
18926
|
+
var googleGenerativeAIApi = () => lazyApi(() => import("./google-generative-ai-rf42vj2h.js"));
|
|
18407
18927
|
|
|
18408
18928
|
// node_modules/@earendil-works/pi-ai/dist/providers/google.js
|
|
18409
18929
|
function googleProvider() {
|
|
@@ -18418,7 +18938,7 @@ function googleProvider() {
|
|
|
18418
18938
|
}
|
|
18419
18939
|
|
|
18420
18940
|
// node_modules/@earendil-works/pi-ai/dist/api/google-vertex.lazy.js
|
|
18421
|
-
var googleVertexApi = () => lazyApi(() => import("./google-vertex-
|
|
18941
|
+
var googleVertexApi = () => lazyApi(() => import("./google-vertex-m92pj5fb.js"));
|
|
18422
18942
|
|
|
18423
18943
|
// node_modules/@earendil-works/pi-ai/dist/providers/google-vertex.js
|
|
18424
18944
|
var VERTEX_ADC_PATH = "~/.config/gcloud/application_default_credentials.json";
|
|
@@ -18509,7 +19029,7 @@ function minimaxCnProvider() {
|
|
|
18509
19029
|
}
|
|
18510
19030
|
|
|
18511
19031
|
// node_modules/@earendil-works/pi-ai/dist/api/mistral-conversations.lazy.js
|
|
18512
|
-
var mistralConversationsApi = () => lazyApi(() => import("./mistral-conversations-
|
|
19032
|
+
var mistralConversationsApi = () => lazyApi(() => import("./mistral-conversations-26yrnbf1.js"));
|
|
18513
19033
|
|
|
18514
19034
|
// node_modules/@earendil-works/pi-ai/dist/providers/mistral.js
|
|
18515
19035
|
function mistralProvider() {
|
|
@@ -18572,7 +19092,7 @@ function openaiProvider() {
|
|
|
18572
19092
|
}
|
|
18573
19093
|
|
|
18574
19094
|
// node_modules/@earendil-works/pi-ai/dist/api/openai-codex-responses.lazy.js
|
|
18575
|
-
var openAICodexResponsesApi = () => lazyApi(() => import("./openai-codex-responses-
|
|
19095
|
+
var openAICodexResponsesApi = () => lazyApi(() => import("./openai-codex-responses-8h6kvfv8.js"));
|
|
18576
19096
|
|
|
18577
19097
|
// node_modules/@earendil-works/pi-ai/dist/providers/openai-codex.js
|
|
18578
19098
|
function openaiCodexProvider() {
|
|
@@ -18783,6 +19303,21 @@ var IMAGE_MODELS = {
|
|
|
18783
19303
|
cacheWrite: 0
|
|
18784
19304
|
}
|
|
18785
19305
|
},
|
|
19306
|
+
"google/gemini-3.1-flash-lite-image": {
|
|
19307
|
+
id: "google/gemini-3.1-flash-lite-image",
|
|
19308
|
+
name: "Google: Nano Banana 2 Lite (Gemini 3.1 Flash Lite Image)",
|
|
19309
|
+
api: "openrouter-images",
|
|
19310
|
+
provider: "openrouter",
|
|
19311
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
19312
|
+
input: ["image", "text"],
|
|
19313
|
+
output: ["image", "text"],
|
|
19314
|
+
cost: {
|
|
19315
|
+
input: 0.25,
|
|
19316
|
+
output: 1.5,
|
|
19317
|
+
cacheRead: 0,
|
|
19318
|
+
cacheWrite: 0
|
|
19319
|
+
}
|
|
19320
|
+
},
|
|
18786
19321
|
"microsoft/mai-image-2.5": {
|
|
18787
19322
|
id: "microsoft/mai-image-2.5",
|
|
18788
19323
|
name: "Microsoft: MAI-Image-2.5",
|
|
@@ -18843,6 +19378,51 @@ var IMAGE_MODELS = {
|
|
|
18843
19378
|
cacheWrite: 0
|
|
18844
19379
|
}
|
|
18845
19380
|
},
|
|
19381
|
+
"openai/gpt-image-1": {
|
|
19382
|
+
id: "openai/gpt-image-1",
|
|
19383
|
+
name: "OpenAI: GPT Image 1",
|
|
19384
|
+
api: "openrouter-images",
|
|
19385
|
+
provider: "openrouter",
|
|
19386
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
19387
|
+
input: ["text", "image"],
|
|
19388
|
+
output: ["image"],
|
|
19389
|
+
cost: {
|
|
19390
|
+
input: 10,
|
|
19391
|
+
output: 10,
|
|
19392
|
+
cacheRead: 1.25,
|
|
19393
|
+
cacheWrite: 0
|
|
19394
|
+
}
|
|
19395
|
+
},
|
|
19396
|
+
"openai/gpt-image-1-mini": {
|
|
19397
|
+
id: "openai/gpt-image-1-mini",
|
|
19398
|
+
name: "OpenAI: GPT Image 1 Mini",
|
|
19399
|
+
api: "openrouter-images",
|
|
19400
|
+
provider: "openrouter",
|
|
19401
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
19402
|
+
input: ["text", "image"],
|
|
19403
|
+
output: ["image"],
|
|
19404
|
+
cost: {
|
|
19405
|
+
input: 2.5,
|
|
19406
|
+
output: 2.5,
|
|
19407
|
+
cacheRead: 0.25,
|
|
19408
|
+
cacheWrite: 0
|
|
19409
|
+
}
|
|
19410
|
+
},
|
|
19411
|
+
"openai/gpt-image-2": {
|
|
19412
|
+
id: "openai/gpt-image-2",
|
|
19413
|
+
name: "OpenAI: GPT Image 2",
|
|
19414
|
+
api: "openrouter-images",
|
|
19415
|
+
provider: "openrouter",
|
|
19416
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
19417
|
+
input: ["text", "image"],
|
|
19418
|
+
output: ["image"],
|
|
19419
|
+
cost: {
|
|
19420
|
+
input: 8,
|
|
19421
|
+
output: 8,
|
|
19422
|
+
cacheRead: 2,
|
|
19423
|
+
cacheWrite: 0
|
|
19424
|
+
}
|
|
19425
|
+
},
|
|
18846
19426
|
"openrouter/auto": {
|
|
18847
19427
|
id: "openrouter/auto",
|
|
18848
19428
|
name: "Auto Router",
|
|
@@ -19038,36 +19618,6 @@ var IMAGE_MODELS = {
|
|
|
19038
19618
|
cacheWrite: 0
|
|
19039
19619
|
}
|
|
19040
19620
|
},
|
|
19041
|
-
"sourceful/riverflow-v2-fast-preview": {
|
|
19042
|
-
id: "sourceful/riverflow-v2-fast-preview",
|
|
19043
|
-
name: "Sourceful: Riverflow V2 Fast Preview",
|
|
19044
|
-
api: "openrouter-images",
|
|
19045
|
-
provider: "openrouter",
|
|
19046
|
-
baseUrl: "https://openrouter.ai/api/v1",
|
|
19047
|
-
input: ["text", "image"],
|
|
19048
|
-
output: ["image"],
|
|
19049
|
-
cost: {
|
|
19050
|
-
input: 0,
|
|
19051
|
-
output: 0,
|
|
19052
|
-
cacheRead: 0,
|
|
19053
|
-
cacheWrite: 0
|
|
19054
|
-
}
|
|
19055
|
-
},
|
|
19056
|
-
"sourceful/riverflow-v2-max-preview": {
|
|
19057
|
-
id: "sourceful/riverflow-v2-max-preview",
|
|
19058
|
-
name: "Sourceful: Riverflow V2 Max Preview",
|
|
19059
|
-
api: "openrouter-images",
|
|
19060
|
-
provider: "openrouter",
|
|
19061
|
-
baseUrl: "https://openrouter.ai/api/v1",
|
|
19062
|
-
input: ["text", "image"],
|
|
19063
|
-
output: ["image"],
|
|
19064
|
-
cost: {
|
|
19065
|
-
input: 0,
|
|
19066
|
-
output: 0,
|
|
19067
|
-
cacheRead: 0,
|
|
19068
|
-
cacheWrite: 0
|
|
19069
|
-
}
|
|
19070
|
-
},
|
|
19071
19621
|
"sourceful/riverflow-v2-pro": {
|
|
19072
19622
|
id: "sourceful/riverflow-v2-pro",
|
|
19073
19623
|
name: "Sourceful: Riverflow V2 Pro",
|
|
@@ -19083,21 +19633,6 @@ var IMAGE_MODELS = {
|
|
|
19083
19633
|
cacheWrite: 0
|
|
19084
19634
|
}
|
|
19085
19635
|
},
|
|
19086
|
-
"sourceful/riverflow-v2-standard-preview": {
|
|
19087
|
-
id: "sourceful/riverflow-v2-standard-preview",
|
|
19088
|
-
name: "Sourceful: Riverflow V2 Standard Preview",
|
|
19089
|
-
api: "openrouter-images",
|
|
19090
|
-
provider: "openrouter",
|
|
19091
|
-
baseUrl: "https://openrouter.ai/api/v1",
|
|
19092
|
-
input: ["text", "image"],
|
|
19093
|
-
output: ["image"],
|
|
19094
|
-
cost: {
|
|
19095
|
-
input: 0,
|
|
19096
|
-
output: 0,
|
|
19097
|
-
cacheRead: 0,
|
|
19098
|
-
cacheWrite: 0
|
|
19099
|
-
}
|
|
19100
|
-
},
|
|
19101
19636
|
"sourceful/riverflow-v2.5-fast": {
|
|
19102
19637
|
id: "sourceful/riverflow-v2.5-fast",
|
|
19103
19638
|
name: "Sourceful: Riverflow V2.5 Fast",
|
|
@@ -24219,6 +24754,7 @@ __export(exports_compat, {
|
|
|
24219
24754
|
lazyStream: () => lazyStream,
|
|
24220
24755
|
lazyOAuth: () => lazyOAuth,
|
|
24221
24756
|
lazyApi: () => lazyApi,
|
|
24757
|
+
isRetryableAssistantError: () => isRetryableAssistantError,
|
|
24222
24758
|
isContextOverflow: () => isContextOverflow,
|
|
24223
24759
|
hasApi: () => hasApi,
|
|
24224
24760
|
googleVertexApi: () => googleVertexApi,
|
|
@@ -24448,7 +24984,7 @@ function createLazyLoadErrorImages(model, error) {
|
|
|
24448
24984
|
};
|
|
24449
24985
|
}
|
|
24450
24986
|
function loadOpenRouterImagesProviderModule() {
|
|
24451
|
-
openRouterImagesProviderModulePromise ||= import("./openrouter-images-
|
|
24987
|
+
openRouterImagesProviderModulePromise ||= import("./openrouter-images-537nmn1r.js").then((module3) => module3);
|
|
24452
24988
|
return openRouterImagesProviderModulePromise;
|
|
24453
24989
|
}
|
|
24454
24990
|
var generateImagesOpenRouter = async (model, context, options3) => {
|
|
@@ -24914,6 +25450,63 @@ function isContextOverflow(message, contextWindow) {
|
|
|
24914
25450
|
function getOverflowPatterns() {
|
|
24915
25451
|
return [...OVERFLOW_PATTERNS];
|
|
24916
25452
|
}
|
|
25453
|
+
// node_modules/@earendil-works/pi-ai/dist/utils/retry.js
|
|
25454
|
+
function buildProviderErrorPattern(patterns2) {
|
|
25455
|
+
return new RegExp(patterns2.join("|"), "i");
|
|
25456
|
+
}
|
|
25457
|
+
var NON_RETRYABLE_PROVIDER_LIMIT_ERROR_PATTERN = buildProviderErrorPattern([
|
|
25458
|
+
"GoUsageLimitError",
|
|
25459
|
+
"FreeUsageLimitError",
|
|
25460
|
+
"Monthly usage limit reached",
|
|
25461
|
+
"available balance",
|
|
25462
|
+
"insufficient_quota",
|
|
25463
|
+
"out of budget",
|
|
25464
|
+
"quota exceeded",
|
|
25465
|
+
"billing"
|
|
25466
|
+
]);
|
|
25467
|
+
var RETRYABLE_PROVIDER_ERROR_PATTERN = buildProviderErrorPattern([
|
|
25468
|
+
"overloaded",
|
|
25469
|
+
"rate.?limit",
|
|
25470
|
+
"too many requests",
|
|
25471
|
+
"429",
|
|
25472
|
+
"500",
|
|
25473
|
+
"502",
|
|
25474
|
+
"503",
|
|
25475
|
+
"504",
|
|
25476
|
+
"service.?unavailable",
|
|
25477
|
+
"server.?error",
|
|
25478
|
+
"internal.?error",
|
|
25479
|
+
"provider.?returned.?error",
|
|
25480
|
+
"network.?error",
|
|
25481
|
+
"connection.?error",
|
|
25482
|
+
"connection.?refused",
|
|
25483
|
+
"connection.?lost",
|
|
25484
|
+
"other side closed",
|
|
25485
|
+
"fetch failed",
|
|
25486
|
+
"upstream.?connect",
|
|
25487
|
+
"reset before headers",
|
|
25488
|
+
"socket hang up",
|
|
25489
|
+
"timed? out",
|
|
25490
|
+
"timeout",
|
|
25491
|
+
"terminated",
|
|
25492
|
+
"websocket.?closed",
|
|
25493
|
+
"websocket.?error",
|
|
25494
|
+
"ended without",
|
|
25495
|
+
"stream ended before message_stop",
|
|
25496
|
+
"http2 request did not get a response",
|
|
25497
|
+
"retry delay",
|
|
25498
|
+
"you can retry your request",
|
|
25499
|
+
"try your request again",
|
|
25500
|
+
"please retry your request"
|
|
25501
|
+
]);
|
|
25502
|
+
function isRetryableAssistantError(message) {
|
|
25503
|
+
if (message.stopReason !== "error" || !message.errorMessage)
|
|
25504
|
+
return false;
|
|
25505
|
+
const errorMessage = message.errorMessage;
|
|
25506
|
+
if (NON_RETRYABLE_PROVIDER_LIMIT_ERROR_PATTERN.test(errorMessage))
|
|
25507
|
+
return false;
|
|
25508
|
+
return RETRYABLE_PROVIDER_ERROR_PATTERN.test(errorMessage);
|
|
25509
|
+
}
|
|
24917
25510
|
// node_modules/@earendil-works/pi-ai/dist/utils/typebox-helpers.js
|
|
24918
25511
|
function StringEnum(values, options3) {
|
|
24919
25512
|
return exports_typebox.Unsafe({
|
|
@@ -31532,4 +32125,4 @@ ${opts.transcript}`;
|
|
|
31532
32125
|
...opts._credentialOverride ? { _credentialOverride: opts._credentialOverride } : {}
|
|
31533
32126
|
});
|
|
31534
32127
|
}
|
|
31535
|
-
export { getBuiltinModel, getBuiltinModels, findEnvKeys, getEnvApiKey, exports_typebox, exports_build, isContextOverflow, exports_value2 as exports_value, Compile, exports_compile, validateToolArguments, getModels, getProviders, registerApiProvider, resetApiProviders, streamSimple, completeSimple, exports_compat, getOAuthProvider, registerOAuthProvider, resetOAuthProviders, getOAuthProviders, getOAuthApiKey, exports_oauth, summarizeSession };
|
|
32128
|
+
export { getBuiltinModel, getBuiltinModels, findEnvKeys, getEnvApiKey, exports_typebox, exports_build, isContextOverflow, isRetryableAssistantError, exports_value2 as exports_value, Compile, exports_compile, validateToolArguments, getModels, getProviders, registerApiProvider, resetApiProviders, streamSimple, completeSimple, exports_compat, getOAuthProvider, registerOAuthProvider, resetOAuthProviders, getOAuthProviders, getOAuthApiKey, exports_oauth, summarizeSession };
|