@dreb/ai 2.10.0 → 2.11.1

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.
@@ -3234,7 +3234,7 @@ export const MODELS = {
3234
3234
  cost: {
3235
3235
  input: 0.3,
3236
3236
  output: 2.5,
3237
- cacheRead: 0.075,
3237
+ cacheRead: 0.03,
3238
3238
  cacheWrite: 0,
3239
3239
  },
3240
3240
  contextWindow: 1048576,
@@ -3353,7 +3353,7 @@ export const MODELS = {
3353
3353
  cost: {
3354
3354
  input: 1.25,
3355
3355
  output: 10,
3356
- cacheRead: 0.31,
3356
+ cacheRead: 0.125,
3357
3357
  cacheWrite: 0,
3358
3358
  },
3359
3359
  contextWindow: 1048576,
@@ -4660,6 +4660,24 @@ export const MODELS = {
4660
4660
  contextWindow: 262144,
4661
4661
  maxTokens: 262144,
4662
4662
  },
4663
+ "moonshotai/Kimi-K2.6": {
4664
+ id: "moonshotai/Kimi-K2.6",
4665
+ name: "Kimi-K2.6",
4666
+ api: "openai-completions",
4667
+ provider: "huggingface",
4668
+ baseUrl: "https://router.huggingface.co/v1",
4669
+ compat: { "supportsDeveloperRole": false },
4670
+ reasoning: true,
4671
+ input: ["text", "image"],
4672
+ cost: {
4673
+ input: 0.95,
4674
+ output: 4,
4675
+ cacheRead: 0.16,
4676
+ cacheWrite: 0,
4677
+ },
4678
+ contextWindow: 262144,
4679
+ maxTokens: 262144,
4680
+ },
4663
4681
  "zai-org/GLM-4.7": {
4664
4682
  id: "zai-org/GLM-4.7",
4665
4683
  name: "GLM-4.7",
@@ -4751,6 +4769,23 @@ export const MODELS = {
4751
4769
  contextWindow: 262144,
4752
4770
  maxTokens: 32768,
4753
4771
  },
4772
+ "k2p6": {
4773
+ id: "k2p6",
4774
+ name: "Kimi K2.6",
4775
+ api: "anthropic-messages",
4776
+ provider: "kimi-coding",
4777
+ baseUrl: "https://api.kimi.com/coding",
4778
+ reasoning: true,
4779
+ input: ["text", "image"],
4780
+ cost: {
4781
+ input: 0,
4782
+ output: 0,
4783
+ cacheRead: 0,
4784
+ cacheWrite: 0,
4785
+ },
4786
+ contextWindow: 262144,
4787
+ maxTokens: 32768,
4788
+ },
4754
4789
  "kimi-k2-thinking": {
4755
4790
  id: "kimi-k2-thinking",
4756
4791
  name: "Kimi K2 Thinking",
@@ -6774,6 +6809,23 @@ export const MODELS = {
6774
6809
  contextWindow: 262144,
6775
6810
  maxTokens: 65536,
6776
6811
  },
6812
+ "kimi-k2.6": {
6813
+ id: "kimi-k2.6",
6814
+ name: "Kimi K2.6",
6815
+ api: "openai-completions",
6816
+ provider: "opencode-go",
6817
+ baseUrl: "https://opencode.ai/zen/go/v1",
6818
+ reasoning: true,
6819
+ input: ["text", "image"],
6820
+ cost: {
6821
+ input: 0.95,
6822
+ output: 4,
6823
+ cacheRead: 0.16,
6824
+ cacheWrite: 0,
6825
+ },
6826
+ contextWindow: 262144,
6827
+ maxTokens: 65536,
6828
+ },
6777
6829
  "mimo-v2-omni": {
6778
6830
  id: "mimo-v2-omni",
6779
6831
  name: "MiMo V2 Omni",
@@ -6811,9 +6863,9 @@ export const MODELS = {
6811
6863
  "minimax-m2.5": {
6812
6864
  id: "minimax-m2.5",
6813
6865
  name: "MiniMax M2.5",
6814
- api: "anthropic-messages",
6866
+ api: "openai-completions",
6815
6867
  provider: "opencode-go",
6816
- baseUrl: "https://opencode.ai/zen/go",
6868
+ baseUrl: "https://opencode.ai/zen/go/v1",
6817
6869
  reasoning: true,
6818
6870
  input: ["text"],
6819
6871
  cost: {
@@ -6823,7 +6875,7 @@ export const MODELS = {
6823
6875
  cacheWrite: 0,
6824
6876
  },
6825
6877
  contextWindow: 204800,
6826
- maxTokens: 131072,
6878
+ maxTokens: 65536,
6827
6879
  },
6828
6880
  "minimax-m2.7": {
6829
6881
  id: "minimax-m2.7",
@@ -7584,13 +7636,13 @@ export const MODELS = {
7584
7636
  reasoning: true,
7585
7637
  input: ["text"],
7586
7638
  cost: {
7587
- input: 0.25899999999999995,
7588
- output: 0.42,
7589
- cacheRead: 0.135,
7639
+ input: 0.252,
7640
+ output: 0.378,
7641
+ cacheRead: 0.0252,
7590
7642
  cacheWrite: 0,
7591
7643
  },
7592
- contextWindow: 163840,
7593
- maxTokens: 163840,
7644
+ contextWindow: 131072,
7645
+ maxTokens: 32768,
7594
7646
  },
7595
7647
  "deepseek/deepseek-v3.2-exp": {
7596
7648
  id: "deepseek/deepseek-v3.2-exp",
@@ -7640,7 +7692,7 @@ export const MODELS = {
7640
7692
  cacheRead: 0.024999999999999998,
7641
7693
  cacheWrite: 0.08333333333333334,
7642
7694
  },
7643
- contextWindow: 1048576,
7695
+ contextWindow: 1000000,
7644
7696
  maxTokens: 8192,
7645
7697
  },
7646
7698
  "google/gemini-2.0-flash-lite-001": {
@@ -7992,13 +8044,13 @@ export const MODELS = {
7992
8044
  reasoning: false,
7993
8045
  input: ["text"],
7994
8046
  cost: {
7995
- input: 0.09999999999999999,
7996
- output: 0.32,
8047
+ input: 0.12,
8048
+ output: 0.38,
7997
8049
  cacheRead: 0,
7998
8050
  cacheWrite: 0,
7999
8051
  },
8000
8052
  contextWindow: 131072,
8001
- maxTokens: 16384,
8053
+ maxTokens: 131072,
8002
8054
  },
8003
8055
  "meta-llama/llama-3.3-70b-instruct:free": {
8004
8056
  id: "meta-llama/llama-3.3-70b-instruct:free",
@@ -8017,23 +8069,6 @@ export const MODELS = {
8017
8069
  contextWindow: 65536,
8018
8070
  maxTokens: 4096,
8019
8071
  },
8020
- "meta-llama/llama-4-maverick": {
8021
- id: "meta-llama/llama-4-maverick",
8022
- name: "Meta: Llama 4 Maverick",
8023
- api: "openai-completions",
8024
- provider: "openrouter",
8025
- baseUrl: "https://openrouter.ai/api/v1",
8026
- reasoning: false,
8027
- input: ["text", "image"],
8028
- cost: {
8029
- input: 0.15,
8030
- output: 0.6,
8031
- cacheRead: 0,
8032
- cacheWrite: 0,
8033
- },
8034
- contextWindow: 1048576,
8035
- maxTokens: 16384,
8036
- },
8037
8072
  "meta-llama/llama-4-scout": {
8038
8073
  id: "meta-llama/llama-4-scout",
8039
8074
  name: "Meta: Llama 4 Scout",
@@ -8111,9 +8146,9 @@ export const MODELS = {
8111
8146
  reasoning: true,
8112
8147
  input: ["text"],
8113
8148
  cost: {
8114
- input: 0.118,
8115
- output: 0.9900000000000001,
8116
- cacheRead: 0.059,
8149
+ input: 0.15,
8150
+ output: 1.2,
8151
+ cacheRead: 0.075,
8117
8152
  cacheWrite: 0,
8118
8153
  },
8119
8154
  contextWindow: 196608,
@@ -8592,9 +8627,26 @@ export const MODELS = {
8592
8627
  cacheRead: 0.07,
8593
8628
  cacheWrite: 0,
8594
8629
  },
8595
- contextWindow: 256000,
8630
+ contextWindow: 262144,
8596
8631
  maxTokens: 4096,
8597
8632
  },
8633
+ "moonshotai/kimi-k2.6": {
8634
+ id: "moonshotai/kimi-k2.6",
8635
+ name: "MoonshotAI: Kimi K2.6",
8636
+ api: "openai-completions",
8637
+ provider: "openrouter",
8638
+ baseUrl: "https://openrouter.ai/api/v1",
8639
+ reasoning: true,
8640
+ input: ["text", "image"],
8641
+ cost: {
8642
+ input: 0,
8643
+ output: 0,
8644
+ cacheRead: 0,
8645
+ cacheWrite: 0,
8646
+ },
8647
+ contextWindow: 262144,
8648
+ maxTokens: 262144,
8649
+ },
8598
8650
  "nex-agi/deepseek-v3.1-nex-n1": {
8599
8651
  id: "nex-agi/deepseek-v3.1-nex-n1",
8600
8652
  name: "Nex AGI: DeepSeek V3.1 Nex N1",
@@ -9071,23 +9123,6 @@ export const MODELS = {
9071
9123
  contextWindow: 128000,
9072
9124
  maxTokens: 16384,
9073
9125
  },
9074
- "openai/gpt-4o:extended": {
9075
- id: "openai/gpt-4o:extended",
9076
- name: "OpenAI: GPT-4o (extended)",
9077
- api: "openai-completions",
9078
- provider: "openrouter",
9079
- baseUrl: "https://openrouter.ai/api/v1",
9080
- reasoning: false,
9081
- input: ["text", "image"],
9082
- cost: {
9083
- input: 6,
9084
- output: 18,
9085
- cacheRead: 0,
9086
- cacheWrite: 0,
9087
- },
9088
- contextWindow: 128000,
9089
- maxTokens: 64000,
9090
- },
9091
9126
  "openai/gpt-5": {
9092
9127
  id: "openai/gpt-5",
9093
9128
  name: "OpenAI: GPT-5",
@@ -9978,7 +10013,7 @@ export const MODELS = {
9978
10013
  api: "openai-completions",
9979
10014
  provider: "openrouter",
9980
10015
  baseUrl: "https://openrouter.ai/api/v1",
9981
- reasoning: true,
10016
+ reasoning: false,
9982
10017
  input: ["text"],
9983
10018
  cost: {
9984
10019
  input: 0.071,
@@ -11035,13 +11070,13 @@ export const MODELS = {
11035
11070
  reasoning: true,
11036
11071
  input: ["text"],
11037
11072
  cost: {
11038
- input: 0.39,
11039
- output: 1.75,
11040
- cacheRead: 0.195,
11073
+ input: 0.38,
11074
+ output: 1.74,
11075
+ cacheRead: 0,
11041
11076
  cacheWrite: 0,
11042
11077
  },
11043
11078
  contextWindow: 202752,
11044
- maxTokens: 65535,
11079
+ maxTokens: 4096,
11045
11080
  },
11046
11081
  "z-ai/glm-4.7-flash": {
11047
11082
  id: "z-ai/glm-4.7-flash",
@@ -11103,9 +11138,9 @@ export const MODELS = {
11103
11138
  reasoning: true,
11104
11139
  input: ["text"],
11105
11140
  cost: {
11106
- input: 0.95,
11107
- output: 3.15,
11108
- cacheRead: 0.475,
11141
+ input: 1.0499999999999998,
11142
+ output: 3.5,
11143
+ cacheRead: 0.5249999999999999,
11109
11144
  cacheWrite: 0,
11110
11145
  },
11111
11146
  contextWindow: 202752,
@@ -12541,6 +12576,23 @@ export const MODELS = {
12541
12576
  contextWindow: 262114,
12542
12577
  maxTokens: 262114,
12543
12578
  },
12579
+ "moonshotai/kimi-k2.6": {
12580
+ id: "moonshotai/kimi-k2.6",
12581
+ name: "Kimi K2.6",
12582
+ api: "anthropic-messages",
12583
+ provider: "vercel-ai-gateway",
12584
+ baseUrl: "https://ai-gateway.vercel.sh",
12585
+ reasoning: true,
12586
+ input: ["text", "image"],
12587
+ cost: {
12588
+ input: 0.95,
12589
+ output: 4,
12590
+ cacheRead: 0.16,
12591
+ cacheWrite: 0,
12592
+ },
12593
+ contextWindow: 262000,
12594
+ maxTokens: 262000,
12595
+ },
12544
12596
  "nvidia/nemotron-nano-12b-v2-vl": {
12545
12597
  id: "nvidia/nemotron-nano-12b-v2-vl",
12546
12598
  name: "Nvidia Nemotron Nano 12B V2 VL",