@qduc/term2 0.28.0 → 0.29.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.
Files changed (183) hide show
  1. package/dist/agent.d.ts +2 -1
  2. package/dist/agent.d.ts.map +1 -1
  3. package/dist/agent.js +8 -2
  4. package/dist/agent.js.map +1 -1
  5. package/dist/app.js +1 -1
  6. package/dist/app.js.map +1 -1
  7. package/dist/build-info.json +3 -3
  8. package/dist/cli.js +7 -5
  9. package/dist/cli.js.map +1 -1
  10. package/dist/components/layout/Banner.d.ts +7 -0
  11. package/dist/components/layout/Banner.d.ts.map +1 -1
  12. package/dist/components/layout/Banner.js +23 -3
  13. package/dist/components/layout/Banner.js.map +1 -1
  14. package/dist/components/menu/settings-value-formatter.d.ts.map +1 -1
  15. package/dist/components/menu/settings-value-formatter.js +1 -6
  16. package/dist/components/menu/settings-value-formatter.js.map +1 -1
  17. package/dist/contracts/streamed-model-turn.d.ts +8 -0
  18. package/dist/contracts/streamed-model-turn.d.ts.map +1 -1
  19. package/dist/contracts/streamed-model-turn.js +7 -1
  20. package/dist/contracts/streamed-model-turn.js.map +1 -1
  21. package/dist/gateway/gateway.d.ts.map +1 -1
  22. package/dist/gateway/gateway.js +5 -0
  23. package/dist/gateway/gateway.js.map +1 -1
  24. package/dist/hooks/settings-completion-config.d.ts.map +1 -1
  25. package/dist/hooks/settings-completion-config.js +0 -1
  26. package/dist/hooks/settings-completion-config.js.map +1 -1
  27. package/dist/hooks/use-conversation.d.ts +1 -1
  28. package/dist/hooks/use-conversation.d.ts.map +1 -1
  29. package/dist/hooks/use-conversation.js +1 -1
  30. package/dist/hooks/use-conversation.js.map +1 -1
  31. package/dist/lib/agent-client.d.ts +1 -4
  32. package/dist/lib/agent-client.d.ts.map +1 -1
  33. package/dist/lib/agent-client.js +3 -18
  34. package/dist/lib/agent-client.js.map +1 -1
  35. package/dist/lib/agent-configuration.d.ts +2 -0
  36. package/dist/lib/agent-configuration.d.ts.map +1 -1
  37. package/dist/lib/agent-configuration.js +11 -1
  38. package/dist/lib/agent-configuration.js.map +1 -1
  39. package/dist/lib/agent-factory.d.ts +1 -0
  40. package/dist/lib/agent-factory.d.ts.map +1 -1
  41. package/dist/lib/agent-factory.js +1 -0
  42. package/dist/lib/agent-factory.js.map +1 -1
  43. package/dist/prompts/explorer-delegation-contract.test.ts +1 -1
  44. package/dist/prompts/{gpt-5.6.md → gpt.md} +13 -1
  45. package/dist/prompts/prompt-constructor.d.ts +14 -3
  46. package/dist/prompts/prompt-constructor.d.ts.map +1 -1
  47. package/dist/prompts/prompt-constructor.js +4 -5
  48. package/dist/prompts/prompt-constructor.js.map +1 -1
  49. package/dist/prompts/prompt-constructor.test.ts +82 -114
  50. package/dist/prompts/prompt-constructor.ts +14 -8
  51. package/dist/prompts/prompt-profiles.d.ts.map +1 -1
  52. package/dist/prompts/prompt-profiles.js +3 -39
  53. package/dist/prompts/prompt-profiles.js.map +1 -1
  54. package/dist/prompts/prompt-profiles.ts +3 -40
  55. package/dist/prompts/tool-surface-guidance.d.ts +2 -1
  56. package/dist/prompts/tool-surface-guidance.d.ts.map +1 -1
  57. package/dist/prompts/tool-surface-guidance.js +22 -9
  58. package/dist/prompts/tool-surface-guidance.js.map +1 -1
  59. package/dist/prompts/tool-surface-guidance.ts +26 -8
  60. package/dist/prompts/unified-gpt-prompt.test.ts +53 -0
  61. package/dist/providers/ai-sdk-streamed-model.d.ts.map +1 -1
  62. package/dist/providers/ai-sdk-streamed-model.js +15 -6
  63. package/dist/providers/ai-sdk-streamed-model.js.map +1 -1
  64. package/dist/providers/codex-responses-model.js +2 -2
  65. package/dist/providers/codex-responses-model.js.map +1 -1
  66. package/dist/providers/model-catalog/catalog.generated.d.ts +145 -89
  67. package/dist/providers/model-catalog/catalog.generated.d.ts.map +1 -1
  68. package/dist/providers/model-catalog/catalog.generated.js +145 -89
  69. package/dist/providers/model-catalog/catalog.generated.js.map +1 -1
  70. package/dist/providers/model-catalog/generate-catalog.d.ts.map +1 -1
  71. package/dist/providers/model-catalog/generate-catalog.js +18 -1
  72. package/dist/providers/model-catalog/generate-catalog.js.map +1 -1
  73. package/dist/providers/openai-responses-model.d.ts +2 -0
  74. package/dist/providers/openai-responses-model.d.ts.map +1 -1
  75. package/dist/providers/openai-responses-model.js +9 -1
  76. package/dist/providers/openai-responses-model.js.map +1 -1
  77. package/dist/scripts/eval-gpt6-prompts.js +60 -25
  78. package/dist/scripts/eval-gpt6-prompts.js.map +1 -1
  79. package/dist/scripts/gpt6-probe-tools.d.ts +4 -0
  80. package/dist/scripts/gpt6-probe-tools.d.ts.map +1 -0
  81. package/dist/scripts/gpt6-probe-tools.js +43 -0
  82. package/dist/scripts/gpt6-probe-tools.js.map +1 -0
  83. package/dist/services/agent-runtime/application-run-loop.d.ts.map +1 -1
  84. package/dist/services/agent-runtime/application-run-loop.js +14 -4
  85. package/dist/services/agent-runtime/application-run-loop.js.map +1 -1
  86. package/dist/services/conversation/conversation-adapter.d.ts +1 -1
  87. package/dist/services/conversation/conversation-adapter.d.ts.map +1 -1
  88. package/dist/services/conversation/conversation-adapter.js +3 -5
  89. package/dist/services/conversation/conversation-adapter.js.map +1 -1
  90. package/dist/services/conversation/conversation-orchestrator.d.ts.map +1 -1
  91. package/dist/services/conversation/conversation-orchestrator.js +59 -3
  92. package/dist/services/conversation/conversation-orchestrator.js.map +1 -1
  93. package/dist/services/conversation-agent-client.d.ts +2 -4
  94. package/dist/services/conversation-agent-client.d.ts.map +1 -1
  95. package/dist/services/memory/memory-capabilities.d.ts +2 -20
  96. package/dist/services/memory/memory-capabilities.d.ts.map +1 -1
  97. package/dist/services/memory/memory-capabilities.js +23 -174
  98. package/dist/services/memory/memory-capabilities.js.map +1 -1
  99. package/dist/services/memory/memory-store.d.ts +5 -2
  100. package/dist/services/memory/memory-store.d.ts.map +1 -1
  101. package/dist/services/memory/memory-store.js +18 -13
  102. package/dist/services/memory/memory-store.js.map +1 -1
  103. package/dist/services/sandboxed-code-host/host-types.d.ts +4 -2
  104. package/dist/services/sandboxed-code-host/host-types.d.ts.map +1 -1
  105. package/dist/services/sandboxed-code-host/host-types.js.map +1 -1
  106. package/dist/services/sandboxed-code-host/host-worker.d.ts.map +1 -1
  107. package/dist/services/sandboxed-code-host/host-worker.js +6 -3
  108. package/dist/services/sandboxed-code-host/host-worker.js.map +1 -1
  109. package/dist/services/session/session-composition.d.ts.map +1 -1
  110. package/dist/services/session/session-composition.js +1 -0
  111. package/dist/services/session/session-composition.js.map +1 -1
  112. package/dist/services/session/turn-attempt-factory.d.ts +0 -2
  113. package/dist/services/session/turn-attempt-factory.d.ts.map +1 -1
  114. package/dist/services/session/turn-attempt-factory.js.map +1 -1
  115. package/dist/services/session/turn-attempt.d.ts +0 -5
  116. package/dist/services/session/turn-attempt.d.ts.map +1 -1
  117. package/dist/services/session/turn-attempt.js +0 -9
  118. package/dist/services/session/turn-attempt.js.map +1 -1
  119. package/dist/services/session/turn-coordinator.d.ts +2 -1
  120. package/dist/services/session/turn-coordinator.d.ts.map +1 -1
  121. package/dist/services/session/turn-coordinator.js +1 -1
  122. package/dist/services/session/turn-coordinator.js.map +1 -1
  123. package/dist/services/session/turn-workflow.d.ts.map +1 -1
  124. package/dist/services/session/turn-workflow.js +0 -53
  125. package/dist/services/session/turn-workflow.js.map +1 -1
  126. package/dist/services/settings/settings-schema.d.ts +0 -4
  127. package/dist/services/settings/settings-schema.d.ts.map +1 -1
  128. package/dist/services/settings/settings-schema.js +0 -4
  129. package/dist/services/settings/settings-schema.js.map +1 -1
  130. package/dist/services/settings/settings-sources.d.ts +0 -1
  131. package/dist/services/settings/settings-sources.d.ts.map +1 -1
  132. package/dist/services/settings/settings-sources.js +0 -1
  133. package/dist/services/settings/settings-sources.js.map +1 -1
  134. package/dist/services/settings/settings-ui-metadata.d.ts.map +1 -1
  135. package/dist/services/settings/settings-ui-metadata.js +0 -1
  136. package/dist/services/settings/settings-ui-metadata.js.map +1 -1
  137. package/dist/services/settings/test-helpers/settings-consumer-inventory.d.ts +1 -1
  138. package/dist/services/settings/test-helpers/settings-consumer-inventory.d.ts.map +1 -1
  139. package/dist/services/settings/test-helpers/settings-consumer-inventory.js +0 -1
  140. package/dist/services/settings/test-helpers/settings-consumer-inventory.js.map +1 -1
  141. package/dist/tools/file/apply-patch.d.ts.map +1 -1
  142. package/dist/tools/file/apply-patch.js +10 -2
  143. package/dist/tools/file/apply-patch.js.map +1 -1
  144. package/dist/tools/file/grep.d.ts.map +1 -1
  145. package/dist/tools/file/grep.js +5 -1
  146. package/dist/tools/file/grep.js.map +1 -1
  147. package/dist/tools/file/upstream-apply-patch.d.ts.map +1 -1
  148. package/dist/tools/file/upstream-apply-patch.js +17 -4
  149. package/dist/tools/file/upstream-apply-patch.js.map +1 -1
  150. package/dist/tools/system/run-code/run-code-runtime.d.ts +2 -0
  151. package/dist/tools/system/run-code/run-code-runtime.d.ts.map +1 -1
  152. package/dist/tools/system/run-code/run-code-runtime.js +47 -3
  153. package/dist/tools/system/run-code/run-code-runtime.js.map +1 -1
  154. package/dist/tools/system/run-code/run-code.d.ts.map +1 -1
  155. package/dist/tools/system/run-code/run-code.js +12 -0
  156. package/dist/tools/system/run-code/run-code.js.map +1 -1
  157. package/dist/tools/system/shell.d.ts +0 -2
  158. package/dist/tools/system/shell.d.ts.map +1 -1
  159. package/dist/tools/system/shell.js +2 -22
  160. package/dist/tools/system/shell.js.map +1 -1
  161. package/dist/types/user-turn.d.ts +0 -6
  162. package/dist/types/user-turn.d.ts.map +1 -1
  163. package/dist/types/user-turn.js +0 -1
  164. package/dist/types/user-turn.js.map +1 -1
  165. package/dist/utils/shell/execute-shell.js +3 -0
  166. package/dist/utils/shell/execute-shell.js.map +1 -1
  167. package/dist/utils/shell/sandbox/sandbox-policy.d.ts.map +1 -1
  168. package/dist/utils/shell/sandbox/sandbox-policy.js +0 -4
  169. package/dist/utils/shell/sandbox/sandbox-policy.js.map +1 -1
  170. package/dist/utils/value-suggestions.d.ts.map +1 -1
  171. package/dist/utils/value-suggestions.js +0 -4
  172. package/dist/utils/value-suggestions.js.map +1 -1
  173. package/package.json +1 -1
  174. package/dist/prompts/codex.md +0 -104
  175. package/dist/prompts/fragments/gpt-6.md +0 -13
  176. package/dist/prompts/gpt-5-modern.md +0 -114
  177. package/dist/prompts/gpt-5.4-mini.md +0 -111
  178. package/dist/prompts/gpt-5.5.md +0 -108
  179. package/dist/prompts/memory.md +0 -9
  180. package/dist/services/rtk-service.d.ts +0 -23
  181. package/dist/services/rtk-service.d.ts.map +0 -1
  182. package/dist/services/rtk-service.js +0 -251
  183. package/dist/services/rtk-service.js.map +0 -1
@@ -2,7 +2,7 @@
2
2
  // Do not edit manually. Run `pnpm catalog:update` to regenerate.
3
3
  export const CATALOG_META = {
4
4
  schemaVersion: 2,
5
- generatedAt: '2026-09-23T01:24:24.558Z',
5
+ generatedAt: '2026-09-25T12:38:43.808Z',
6
6
  source: 'pi-ai@0.87.1',
7
7
  };
8
8
  export const MODEL_CATALOG = {
@@ -427,6 +427,22 @@ export const MODEL_CATALOG = {
427
427
  cacheReadPricePerMTok: 0.18,
428
428
  cacheWritePricePerMTok: 0,
429
429
  },
430
+ 'aion-labs/aion-3.5': {
431
+ contextWindow: 262144,
432
+ maxTokens: 32768,
433
+ inputPricePerMTok: 3,
434
+ outputPricePerMTok: 6,
435
+ cacheReadPricePerMTok: 0.75,
436
+ cacheWritePricePerMTok: 0,
437
+ },
438
+ 'aion-labs/aion-3.5-mini': {
439
+ contextWindow: 262144,
440
+ maxTokens: 32768,
441
+ inputPricePerMTok: 0.7,
442
+ outputPricePerMTok: 1.4,
443
+ cacheReadPricePerMTok: 0.18,
444
+ cacheWritePricePerMTok: 0,
445
+ },
430
446
  'amazon/nova-2-lite-v1': {
431
447
  contextWindow: 1000000,
432
448
  maxTokens: 65535,
@@ -854,16 +870,16 @@ export const MODEL_CATALOG = {
854
870
  'deepseek/deepseek-v4-flash': {
855
871
  contextWindow: 1024000,
856
872
  maxTokens: 384000,
857
- inputPricePerMTok: 0.088606,
858
- outputPricePerMTok: 0.177212,
859
- cacheReadPricePerMTok: 0.017721,
873
+ inputPricePerMTok: 0.049,
874
+ outputPricePerMTok: 0.098,
875
+ cacheReadPricePerMTok: 0.0098,
860
876
  cacheWritePricePerMTok: 0,
861
877
  },
862
878
  'deepseek/deepseek-v4-flash-0731': {
863
879
  contextWindow: 1048576,
864
880
  maxTokens: 943718,
865
- inputPricePerMTok: 0.04,
866
- outputPricePerMTok: 0.64,
881
+ inputPricePerMTok: 0.03,
882
+ outputPricePerMTok: 0.32,
867
883
  cacheReadPricePerMTok: 0.016,
868
884
  cacheWritePricePerMTok: 0,
869
885
  },
@@ -878,25 +894,25 @@ export const MODEL_CATALOG = {
878
894
  'deepseek/deepseek-v4-pro': {
879
895
  contextWindow: 1024000,
880
896
  maxTokens: 384000,
881
- inputPricePerMTok: 0.95526,
882
- outputPricePerMTok: 1.91052,
883
- cacheReadPricePerMTok: 0.079605,
897
+ inputPricePerMTok: 0.783,
898
+ outputPricePerMTok: 1.566,
899
+ cacheReadPricePerMTok: 0.06525,
884
900
  cacheWritePricePerMTok: 0,
885
901
  },
886
902
  'deepseek/deepseek-v4-pro-0813': {
887
- contextWindow: 1048576,
903
+ contextWindow: 1024000,
888
904
  maxTokens: 384000,
889
- inputPricePerMTok: 1.32,
890
- outputPricePerMTok: 3.96,
891
- cacheReadPricePerMTok: 0.044,
905
+ inputPricePerMTok: 0.462,
906
+ outputPricePerMTok: 1.386,
907
+ cacheReadPricePerMTok: 0.0154,
892
908
  cacheWritePricePerMTok: 0,
893
909
  },
894
910
  'deepseek/deepseek-v4.1-flash': {
895
911
  contextWindow: 1048576,
896
- maxTokens: 943718,
897
- inputPricePerMTok: 0.1,
898
- outputPricePerMTok: 0.5,
899
- cacheReadPricePerMTok: 0.01,
912
+ maxTokens: 393216,
913
+ inputPricePerMTok: 0.15,
914
+ outputPricePerMTok: 0.6,
915
+ cacheReadPricePerMTok: 0.003,
900
916
  cacheWritePricePerMTok: 0,
901
917
  },
902
918
  'deepseek/deepseek-v4.1-flash:batch': {
@@ -915,6 +931,14 @@ export const MODEL_CATALOG = {
915
931
  cacheReadPricePerMTok: 0,
916
932
  cacheWritePricePerMTok: 0,
917
933
  },
934
+ 'fireworks/ember-1': {
935
+ contextWindow: 1048576,
936
+ maxTokens: 943718,
937
+ inputPricePerMTok: 3,
938
+ outputPricePerMTok: 15,
939
+ cacheReadPricePerMTok: 0.3,
940
+ cacheWritePricePerMTok: 0,
941
+ },
918
942
  'google/gemini-2.5-flash': {
919
943
  contextWindow: 1048576,
920
944
  maxTokens: 65535,
@@ -1235,14 +1259,6 @@ export const MODEL_CATALOG = {
1235
1259
  cacheReadPricePerMTok: 0.012,
1236
1260
  cacheWritePricePerMTok: 0,
1237
1261
  },
1238
- 'inclusionai/ling-3.0-flash-vl:free': {
1239
- contextWindow: 262144,
1240
- maxTokens: 32768,
1241
- inputPricePerMTok: 0,
1242
- outputPricePerMTok: 0,
1243
- cacheReadPricePerMTok: 0,
1244
- cacheWritePricePerMTok: 0,
1245
- },
1246
1262
  'kwaipilot/kat-coder-pro-v2.5': {
1247
1263
  contextWindow: 262144,
1248
1264
  maxTokens: 235929,
@@ -1364,10 +1380,10 @@ export const MODEL_CATALOG = {
1364
1380
  cacheWritePricePerMTok: 0,
1365
1381
  },
1366
1382
  'minimax/minimax-m2': {
1367
- contextWindow: 204800,
1368
- maxTokens: 131072,
1369
- inputPricePerMTok: 0.255,
1370
- outputPricePerMTok: 1.02,
1383
+ contextWindow: 196608,
1384
+ maxTokens: 176947,
1385
+ inputPricePerMTok: 0.3,
1386
+ outputPricePerMTok: 1.2,
1371
1387
  cacheReadPricePerMTok: 0,
1372
1388
  cacheWritePricePerMTok: 0,
1373
1389
  },
@@ -1475,6 +1491,14 @@ export const MODEL_CATALOG = {
1475
1491
  cacheReadPricePerMTok: 0.2,
1476
1492
  cacheWritePricePerMTok: 0,
1477
1493
  },
1494
+ 'mistralai/mistral-large-2512': {
1495
+ contextWindow: 262144,
1496
+ maxTokens: 209715,
1497
+ inputPricePerMTok: 0.5,
1498
+ outputPricePerMTok: 1.5,
1499
+ cacheReadPricePerMTok: 0.05,
1500
+ cacheWritePricePerMTok: 0,
1501
+ },
1478
1502
  'mistralai/mistral-large-2512:batch': {
1479
1503
  contextWindow: 262144,
1480
1504
  maxTokens: 209715,
@@ -1630,7 +1654,7 @@ export const MODEL_CATALOG = {
1630
1654
  'moonshotai/kimi-k2.7-code': {
1631
1655
  contextWindow: 262144,
1632
1656
  maxTokens: 235929,
1633
- inputPricePerMTok: 0.7062,
1657
+ inputPricePerMTok: 0.6562,
1634
1658
  outputPricePerMTok: 3.3,
1635
1659
  cacheReadPricePerMTok: 0.18,
1636
1660
  cacheWritePricePerMTok: 0,
@@ -1659,14 +1683,6 @@ export const MODEL_CATALOG = {
1659
1683
  cacheReadPricePerMTok: 0,
1660
1684
  cacheWritePricePerMTok: 0,
1661
1685
  },
1662
- 'nex-agi/nex-n2.5-pro': {
1663
- contextWindow: 262144,
1664
- maxTokens: 235929,
1665
- inputPricePerMTok: 0.075,
1666
- outputPricePerMTok: 0.25,
1667
- cacheReadPricePerMTok: 0.015,
1668
- cacheWritePricePerMTok: 0,
1669
- },
1670
1686
  'nex-agi/nex-n2.5-pro:free': {
1671
1687
  contextWindow: 262144,
1672
1688
  maxTokens: 235929,
@@ -2387,6 +2403,14 @@ export const MODEL_CATALOG = {
2387
2403
  cacheReadPricePerMTok: 0.075,
2388
2404
  cacheWritePricePerMTok: 0,
2389
2405
  },
2406
+ 'openai/gpt-oss-120b:batch': {
2407
+ contextWindow: 131072,
2408
+ maxTokens: 117964,
2409
+ inputPricePerMTok: 0.0296,
2410
+ outputPricePerMTok: 0.136,
2411
+ cacheReadPricePerMTok: 0,
2412
+ cacheWritePricePerMTok: 0,
2413
+ },
2390
2414
  'openai/gpt-oss-20b': {
2391
2415
  contextWindow: 131072,
2392
2416
  maxTokens: 32768,
@@ -2636,10 +2660,10 @@ export const MODEL_CATALOG = {
2636
2660
  cacheWritePricePerMTok: 0,
2637
2661
  },
2638
2662
  'qwen/qwen3-30b-a3b-instruct-2507': {
2639
- contextWindow: 128000,
2640
- maxTokens: 32000,
2641
- inputPricePerMTok: 0.04815,
2642
- outputPricePerMTok: 0.19305,
2663
+ contextWindow: 262144,
2664
+ maxTokens: 235929,
2665
+ inputPricePerMTok: 0.1,
2666
+ outputPricePerMTok: 0.3,
2643
2667
  cacheReadPricePerMTok: 0,
2644
2668
  cacheWritePricePerMTok: 0,
2645
2669
  },
@@ -2725,10 +2749,10 @@ export const MODEL_CATALOG = {
2725
2749
  },
2726
2750
  'qwen/qwen3-next-80b-a3b-instruct': {
2727
2751
  contextWindow: 262144,
2728
- maxTokens: 16384,
2729
- inputPricePerMTok: 0.09,
2752
+ maxTokens: 235929,
2753
+ inputPricePerMTok: 0.1,
2730
2754
  outputPricePerMTok: 1.1,
2731
- cacheReadPricePerMTok: 0,
2755
+ cacheReadPricePerMTok: 0.07,
2732
2756
  cacheWritePricePerMTok: 0,
2733
2757
  },
2734
2758
  'qwen/qwen3-next-80b-a3b-thinking': {
@@ -2756,10 +2780,10 @@ export const MODEL_CATALOG = {
2756
2780
  cacheWritePricePerMTok: 0,
2757
2781
  },
2758
2782
  'qwen/qwen3-vl-30b-a3b-instruct': {
2759
- contextWindow: 131072,
2760
- maxTokens: 32768,
2761
- inputPricePerMTok: 0.13,
2762
- outputPricePerMTok: 0.52,
2783
+ contextWindow: 262144,
2784
+ maxTokens: 16384,
2785
+ inputPricePerMTok: 0.15,
2786
+ outputPricePerMTok: 0.6,
2763
2787
  cacheReadPricePerMTok: 0,
2764
2788
  cacheWritePricePerMTok: 0,
2765
2789
  },
@@ -2963,6 +2987,14 @@ export const MODEL_CATALOG = {
2963
2987
  cacheReadPricePerMTok: 0.25,
2964
2988
  cacheWritePricePerMTok: 2.5,
2965
2989
  },
2990
+ 'qwen/qwen3.8-max-prime': {
2991
+ contextWindow: 1000000,
2992
+ maxTokens: 131072,
2993
+ inputPricePerMTok: 4,
2994
+ outputPricePerMTok: 12,
2995
+ cacheReadPricePerMTok: 0.5,
2996
+ cacheWritePricePerMTok: 0,
2997
+ },
2966
2998
  'qwen/qwen3.8-omni-flash': {
2967
2999
  contextWindow: 1000000,
2968
3000
  maxTokens: 131072,
@@ -3027,6 +3059,14 @@ export const MODEL_CATALOG = {
3027
3059
  cacheReadPricePerMTok: 0,
3028
3060
  cacheWritePricePerMTok: 0,
3029
3061
  },
3062
+ 'stealth/space-bunny-alpha': {
3063
+ contextWindow: 1000000,
3064
+ maxTokens: 524288,
3065
+ inputPricePerMTok: 0,
3066
+ outputPricePerMTok: 0,
3067
+ cacheReadPricePerMTok: 0,
3068
+ cacheWritePricePerMTok: 0,
3069
+ },
3030
3070
  'stepfun/step-3.5-flash': {
3031
3071
  contextWindow: 262144,
3032
3072
  maxTokens: 65536,
@@ -3107,6 +3147,14 @@ export const MODEL_CATALOG = {
3107
3147
  cacheReadPricePerMTok: 0.25,
3108
3148
  cacheWritePricePerMTok: 0,
3109
3149
  },
3150
+ 'upstage/solar-mini4': {
3151
+ contextWindow: 524288,
3152
+ maxTokens: 131072,
3153
+ inputPricePerMTok: 0.05,
3154
+ outputPricePerMTok: 0.2,
3155
+ cacheReadPricePerMTok: 0.005,
3156
+ cacheWritePricePerMTok: 0,
3157
+ },
3110
3158
  'upstage/solar-pro-3': {
3111
3159
  contextWindow: 131072,
3112
3160
  maxTokens: 117964,
@@ -3262,9 +3310,9 @@ export const MODEL_CATALOG = {
3262
3310
  'z-ai/glm-4.7': {
3263
3311
  contextWindow: 202752,
3264
3312
  maxTokens: 131072,
3265
- inputPricePerMTok: 0.4,
3266
- outputPricePerMTok: 1.75,
3267
- cacheReadPricePerMTok: 0.08,
3313
+ inputPricePerMTok: 0.6,
3314
+ outputPricePerMTok: 2.2,
3315
+ cacheReadPricePerMTok: 0.11,
3268
3316
  cacheWritePricePerMTok: 0,
3269
3317
  },
3270
3318
  'z-ai/glm-4.7-flash': {
@@ -3292,11 +3340,11 @@ export const MODEL_CATALOG = {
3292
3340
  cacheWritePricePerMTok: 0,
3293
3341
  },
3294
3342
  'z-ai/glm-5.1': {
3295
- contextWindow: 200000,
3296
- maxTokens: 128000,
3297
- inputPricePerMTok: 0.966,
3298
- outputPricePerMTok: 3.036,
3299
- cacheReadPricePerMTok: 0.1794,
3343
+ contextWindow: 202752,
3344
+ maxTokens: 131072,
3345
+ inputPricePerMTok: 0.9646,
3346
+ outputPricePerMTok: 3.0316,
3347
+ cacheReadPricePerMTok: 0.17914,
3300
3348
  cacheWritePricePerMTok: 0,
3301
3349
  },
3302
3350
  'z-ai/glm-5.2': {
@@ -3308,19 +3356,19 @@ export const MODEL_CATALOG = {
3308
3356
  cacheWritePricePerMTok: 0,
3309
3357
  },
3310
3358
  'z-ai/glm-5.3': {
3311
- contextWindow: 1048576,
3312
- maxTokens: 131072,
3313
- inputPricePerMTok: 0.84,
3314
- outputPricePerMTok: 2.64,
3315
- cacheReadPricePerMTok: 0.156,
3359
+ contextWindow: 1048575,
3360
+ maxTokens: 943717,
3361
+ inputPricePerMTok: 1.4,
3362
+ outputPricePerMTok: 4.4,
3363
+ cacheReadPricePerMTok: 0.26,
3316
3364
  cacheWritePricePerMTok: 0,
3317
3365
  },
3318
3366
  'z-ai/glm-5.3-flash': {
3319
3367
  contextWindow: 1048576,
3320
- maxTokens: 943718,
3321
- inputPricePerMTok: 0.15,
3322
- outputPricePerMTok: 0.5,
3323
- cacheReadPricePerMTok: 0.05,
3368
+ maxTokens: 128000,
3369
+ inputPricePerMTok: 0.045,
3370
+ outputPricePerMTok: 0.14,
3371
+ cacheReadPricePerMTok: 0.01,
3324
3372
  cacheWritePricePerMTok: 0,
3325
3373
  },
3326
3374
  'z-ai/glm-5.3-flash:batch': {
@@ -3336,15 +3384,23 @@ export const MODEL_CATALOG = {
3336
3384
  maxTokens: 131072,
3337
3385
  inputPricePerMTok: 0.37,
3338
3386
  outputPricePerMTok: 1.25,
3339
- cacheReadPricePerMTok: 0.075,
3387
+ cacheReadPricePerMTok: 0.09,
3388
+ cacheWritePricePerMTok: 0,
3389
+ },
3390
+ 'z-ai/glm-5.3-prime': {
3391
+ contextWindow: 1000000,
3392
+ maxTokens: 131072,
3393
+ inputPricePerMTok: 2.8,
3394
+ outputPricePerMTok: 8.8,
3395
+ cacheReadPricePerMTok: 0.56,
3340
3396
  cacheWritePricePerMTok: 0,
3341
3397
  },
3342
3398
  'z-ai/glm-5.3:batch': {
3343
3399
  contextWindow: 1048576,
3344
3400
  maxTokens: 131072,
3345
- inputPricePerMTok: 0.72,
3346
- outputPricePerMTok: 2.4,
3347
- cacheReadPricePerMTok: 0.12,
3401
+ inputPricePerMTok: 0.45,
3402
+ outputPricePerMTok: 2,
3403
+ cacheReadPricePerMTok: 0.1,
3348
3404
  cacheWritePricePerMTok: 0,
3349
3405
  },
3350
3406
  'z-ai/glm-5v-turbo': {
@@ -3390,25 +3446,25 @@ export const MODEL_CATALOG = {
3390
3446
  '~deepseek/deepseek-flash-latest': {
3391
3447
  contextWindow: 1048576,
3392
3448
  maxTokens: 943718,
3393
- inputPricePerMTok: 0.1,
3394
- outputPricePerMTok: 0.5,
3449
+ inputPricePerMTok: 0.04,
3450
+ outputPricePerMTok: 0.49,
3395
3451
  cacheReadPricePerMTok: 0.01,
3396
3452
  cacheWritePricePerMTok: 0,
3397
3453
  },
3398
3454
  '~deepseek/deepseek-pro-latest': {
3399
3455
  contextWindow: 1048576,
3400
- maxTokens: 384000,
3401
- inputPricePerMTok: 0.4,
3402
- outputPricePerMTok: 4.3,
3403
- cacheReadPricePerMTok: 0.033,
3456
+ maxTokens: 943718,
3457
+ inputPricePerMTok: 0.2528,
3458
+ outputPricePerMTok: 2.88,
3459
+ cacheReadPricePerMTok: 0.08832,
3404
3460
  cacheWritePricePerMTok: 0,
3405
3461
  },
3406
3462
  '~deepseek/deepseek-v4-flash-latest': {
3407
3463
  contextWindow: 1048576,
3408
3464
  maxTokens: 943718,
3409
3465
  inputPricePerMTok: 0.03,
3410
- outputPricePerMTok: 0.8,
3411
- cacheReadPricePerMTok: 0.008,
3466
+ outputPricePerMTok: 0.32,
3467
+ cacheReadPricePerMTok: 0.016,
3412
3468
  cacheWritePricePerMTok: 0,
3413
3469
  },
3414
3470
  '~google/gemini-flash-latest': {
@@ -3430,9 +3486,9 @@ export const MODEL_CATALOG = {
3430
3486
  '~moonshotai/kimi-latest': {
3431
3487
  contextWindow: 1048576,
3432
3488
  maxTokens: 131072,
3433
- inputPricePerMTok: 1.45,
3434
- outputPricePerMTok: 11.7,
3435
- cacheReadPricePerMTok: 0.3,
3489
+ inputPricePerMTok: 0.8845,
3490
+ outputPricePerMTok: 10.5346,
3491
+ cacheReadPricePerMTok: 0.33,
3436
3492
  cacheWritePricePerMTok: 0,
3437
3493
  },
3438
3494
  '~openai/gpt-astra-latest': {
@@ -3485,18 +3541,18 @@ export const MODEL_CATALOG = {
3485
3541
  },
3486
3542
  '~z-ai/glm-flash-latest': {
3487
3543
  contextWindow: 1048576,
3488
- maxTokens: 131072,
3489
- inputPricePerMTok: 0.075,
3490
- outputPricePerMTok: 0.25,
3491
- cacheReadPricePerMTok: 0.015,
3544
+ maxTokens: 128000,
3545
+ inputPricePerMTok: 0.045,
3546
+ outputPricePerMTok: 0.14,
3547
+ cacheReadPricePerMTok: 0.01,
3492
3548
  cacheWritePricePerMTok: 0,
3493
3549
  },
3494
3550
  '~z-ai/glm-latest': {
3495
3551
  contextWindow: 1048576,
3496
3552
  maxTokens: 131072,
3497
- inputPricePerMTok: 0.5625,
3498
- outputPricePerMTok: 2.5,
3499
- cacheReadPricePerMTok: 0.125,
3553
+ inputPricePerMTok: 0.5614,
3554
+ outputPricePerMTok: 1.7644,
3555
+ cacheReadPricePerMTok: 0.10426,
3500
3556
  cacheWritePricePerMTok: 0,
3501
3557
  },
3502
3558
  },
@@ -3649,7 +3705,7 @@ export const MODEL_CATALOG = {
3649
3705
  },
3650
3706
  'kimi-k3': {
3651
3707
  contextWindow: 1048576,
3652
- maxTokens: 131072,
3708
+ maxTokens: 1048576,
3653
3709
  inputPricePerMTok: 3,
3654
3710
  outputPricePerMTok: 15,
3655
3711
  cacheReadPricePerMTok: 0.3,