@earendil-works/pi-ai 0.79.7 → 0.79.9
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 +32 -3
- package/dist/base.d.ts +30 -0
- package/dist/base.d.ts.map +1 -0
- package/dist/base.js +18 -0
- package/dist/base.js.map +1 -0
- package/dist/bedrock-provider.d.ts +2 -0
- package/dist/bedrock-provider.d.ts.map +1 -1
- package/dist/bedrock-provider.js +2 -1
- package/dist/bedrock-provider.js.map +1 -1
- package/dist/images-api-registry.d.ts +1 -0
- package/dist/images-api-registry.d.ts.map +1 -1
- package/dist/images-api-registry.js +3 -0
- package/dist/images-api-registry.js.map +1 -1
- package/dist/images.d.ts +0 -1
- package/dist/images.d.ts.map +1 -1
- package/dist/images.js +0 -1
- package/dist/images.js.map +1 -1
- package/dist/index.d.ts +1 -30
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -18
- package/dist/index.js.map +1 -1
- package/dist/models.generated.d.ts +30 -53
- package/dist/models.generated.d.ts.map +1 -1
- package/dist/models.generated.js +91 -108
- package/dist/models.generated.js.map +1 -1
- package/dist/providers/amazon-bedrock.d.ts +1 -0
- package/dist/providers/amazon-bedrock.d.ts.map +1 -1
- package/dist/providers/amazon-bedrock.js +8 -0
- package/dist/providers/amazon-bedrock.js.map +1 -1
- package/dist/providers/anthropic.d.ts +1 -0
- package/dist/providers/anthropic.d.ts.map +1 -1
- package/dist/providers/anthropic.js +8 -0
- package/dist/providers/anthropic.js.map +1 -1
- package/dist/providers/azure-openai-responses.d.ts +1 -0
- package/dist/providers/azure-openai-responses.d.ts.map +1 -1
- package/dist/providers/azure-openai-responses.js +8 -0
- package/dist/providers/azure-openai-responses.js.map +1 -1
- package/dist/providers/google-vertex.d.ts +1 -0
- package/dist/providers/google-vertex.d.ts.map +1 -1
- package/dist/providers/google-vertex.js +8 -0
- package/dist/providers/google-vertex.js.map +1 -1
- package/dist/providers/google.d.ts +1 -0
- package/dist/providers/google.d.ts.map +1 -1
- package/dist/providers/google.js +8 -0
- package/dist/providers/google.js.map +1 -1
- package/dist/providers/images/openrouter.d.ts +1 -0
- package/dist/providers/images/openrouter.d.ts.map +1 -1
- package/dist/providers/images/openrouter.js +7 -0
- package/dist/providers/images/openrouter.js.map +1 -1
- package/dist/providers/mistral.d.ts +1 -0
- package/dist/providers/mistral.d.ts.map +1 -1
- package/dist/providers/mistral.js +33 -4
- package/dist/providers/mistral.js.map +1 -1
- package/dist/providers/openai-codex-responses.d.ts +1 -0
- package/dist/providers/openai-codex-responses.d.ts.map +1 -1
- package/dist/providers/openai-codex-responses.js +8 -0
- package/dist/providers/openai-codex-responses.js.map +1 -1
- package/dist/providers/openai-completions.d.ts +1 -0
- package/dist/providers/openai-completions.d.ts.map +1 -1
- package/dist/providers/openai-completions.js +40 -0
- package/dist/providers/openai-completions.js.map +1 -1
- package/dist/providers/openai-responses.d.ts +1 -0
- package/dist/providers/openai-responses.d.ts.map +1 -1
- package/dist/providers/openai-responses.js +8 -0
- package/dist/providers/openai-responses.js.map +1 -1
- package/dist/providers/register-builtins.d.ts +5 -3
- package/dist/providers/register-builtins.d.ts.map +1 -1
- package/dist/providers/register-builtins.js +109 -172
- package/dist/providers/register-builtins.js.map +1 -1
- package/dist/stream.d.ts +0 -2
- package/dist/stream.d.ts.map +1 -1
- package/dist/stream.js +0 -2
- package/dist/stream.js.map +1 -1
- package/dist/types.d.ts +8 -2
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/dist/utils/oauth/github-copilot.d.ts.map +1 -1
- package/dist/utils/oauth/github-copilot.js +66 -7
- package/dist/utils/oauth/github-copilot.js.map +1 -1
- package/package.json +17 -4
- package/dist/providers/images/register-builtins.d.ts +0 -4
- package/dist/providers/images/register-builtins.d.ts.map +0 -1
- package/dist/providers/images/register-builtins.js +0 -34
- package/dist/providers/images/register-builtins.js.map +0 -1
package/dist/models.generated.js
CHANGED
|
@@ -3927,11 +3927,12 @@ export const MODELS = {
|
|
|
3927
3927
|
"accounts/fireworks/models/glm-5p2": {
|
|
3928
3928
|
id: "accounts/fireworks/models/glm-5p2",
|
|
3929
3929
|
name: "GLM 5.2",
|
|
3930
|
-
api: "
|
|
3930
|
+
api: "openai-completions",
|
|
3931
3931
|
provider: "fireworks",
|
|
3932
|
-
baseUrl: "https://api.fireworks.ai/inference",
|
|
3933
|
-
compat: { "
|
|
3932
|
+
baseUrl: "https://api.fireworks.ai/inference/v1",
|
|
3933
|
+
compat: { "supportsStore": false, "supportsDeveloperRole": false },
|
|
3934
3934
|
reasoning: true,
|
|
3935
|
+
thinkingLevelMap: { "off": "none", "minimal": null, "low": "high", "medium": "high", "xhigh": "max" },
|
|
3935
3936
|
input: ["text"],
|
|
3936
3937
|
cost: {
|
|
3937
3938
|
input: 1.4,
|
|
@@ -4848,42 +4849,6 @@ export const MODELS = {
|
|
|
4848
4849
|
contextWindow: 262144,
|
|
4849
4850
|
maxTokens: 32768,
|
|
4850
4851
|
},
|
|
4851
|
-
"gemma-4-E2B-it": {
|
|
4852
|
-
id: "gemma-4-E2B-it",
|
|
4853
|
-
name: "Gemma 4 E2B IT",
|
|
4854
|
-
api: "google-generative-ai",
|
|
4855
|
-
provider: "google",
|
|
4856
|
-
baseUrl: "https://generativelanguage.googleapis.com/v1beta",
|
|
4857
|
-
reasoning: true,
|
|
4858
|
-
thinkingLevelMap: { "off": null, "minimal": "MINIMAL", "low": null, "medium": null, "high": "HIGH" },
|
|
4859
|
-
input: ["text", "image"],
|
|
4860
|
-
cost: {
|
|
4861
|
-
input: 0,
|
|
4862
|
-
output: 0,
|
|
4863
|
-
cacheRead: 0,
|
|
4864
|
-
cacheWrite: 0,
|
|
4865
|
-
},
|
|
4866
|
-
contextWindow: 131072,
|
|
4867
|
-
maxTokens: 8192,
|
|
4868
|
-
},
|
|
4869
|
-
"gemma-4-E4B-it": {
|
|
4870
|
-
id: "gemma-4-E4B-it",
|
|
4871
|
-
name: "Gemma 4 E4B IT",
|
|
4872
|
-
api: "google-generative-ai",
|
|
4873
|
-
provider: "google",
|
|
4874
|
-
baseUrl: "https://generativelanguage.googleapis.com/v1beta",
|
|
4875
|
-
reasoning: true,
|
|
4876
|
-
thinkingLevelMap: { "off": null, "minimal": "MINIMAL", "low": null, "medium": null, "high": "HIGH" },
|
|
4877
|
-
input: ["text", "image"],
|
|
4878
|
-
cost: {
|
|
4879
|
-
input: 0,
|
|
4880
|
-
output: 0,
|
|
4881
|
-
cacheRead: 0,
|
|
4882
|
-
cacheWrite: 0,
|
|
4883
|
-
},
|
|
4884
|
-
contextWindow: 131072,
|
|
4885
|
-
maxTokens: 8192,
|
|
4886
|
-
},
|
|
4887
4852
|
},
|
|
4888
4853
|
"google-vertex": {
|
|
4889
4854
|
"gemini-2.5-flash": {
|
|
@@ -5758,7 +5723,7 @@ export const MODELS = {
|
|
|
5758
5723
|
cost: {
|
|
5759
5724
|
input: 0.3,
|
|
5760
5725
|
output: 0.9,
|
|
5761
|
-
cacheRead: 0,
|
|
5726
|
+
cacheRead: 0.03,
|
|
5762
5727
|
cacheWrite: 0,
|
|
5763
5728
|
},
|
|
5764
5729
|
contextWindow: 256000,
|
|
@@ -5775,7 +5740,7 @@ export const MODELS = {
|
|
|
5775
5740
|
cost: {
|
|
5776
5741
|
input: 0.4,
|
|
5777
5742
|
output: 2,
|
|
5778
|
-
cacheRead: 0,
|
|
5743
|
+
cacheRead: 0.04,
|
|
5779
5744
|
cacheWrite: 0,
|
|
5780
5745
|
},
|
|
5781
5746
|
contextWindow: 262144,
|
|
@@ -5792,7 +5757,7 @@ export const MODELS = {
|
|
|
5792
5757
|
cost: {
|
|
5793
5758
|
input: 0.4,
|
|
5794
5759
|
output: 2,
|
|
5795
|
-
cacheRead: 0,
|
|
5760
|
+
cacheRead: 0.04,
|
|
5796
5761
|
cacheWrite: 0,
|
|
5797
5762
|
},
|
|
5798
5763
|
contextWindow: 262144,
|
|
@@ -5809,7 +5774,7 @@ export const MODELS = {
|
|
|
5809
5774
|
cost: {
|
|
5810
5775
|
input: 0.4,
|
|
5811
5776
|
output: 2,
|
|
5812
|
-
cacheRead: 0,
|
|
5777
|
+
cacheRead: 0.04,
|
|
5813
5778
|
cacheWrite: 0,
|
|
5814
5779
|
},
|
|
5815
5780
|
contextWindow: 128000,
|
|
@@ -5826,7 +5791,7 @@ export const MODELS = {
|
|
|
5826
5791
|
cost: {
|
|
5827
5792
|
input: 0.4,
|
|
5828
5793
|
output: 2,
|
|
5829
|
-
cacheRead: 0,
|
|
5794
|
+
cacheRead: 0.04,
|
|
5830
5795
|
cacheWrite: 0,
|
|
5831
5796
|
},
|
|
5832
5797
|
contextWindow: 262144,
|
|
@@ -5843,7 +5808,7 @@ export const MODELS = {
|
|
|
5843
5808
|
cost: {
|
|
5844
5809
|
input: 0.1,
|
|
5845
5810
|
output: 0.3,
|
|
5846
|
-
cacheRead: 0,
|
|
5811
|
+
cacheRead: 0.01,
|
|
5847
5812
|
cacheWrite: 0,
|
|
5848
5813
|
},
|
|
5849
5814
|
contextWindow: 128000,
|
|
@@ -5860,7 +5825,7 @@ export const MODELS = {
|
|
|
5860
5825
|
cost: {
|
|
5861
5826
|
input: 0.1,
|
|
5862
5827
|
output: 0.3,
|
|
5863
|
-
cacheRead: 0,
|
|
5828
|
+
cacheRead: 0.01,
|
|
5864
5829
|
cacheWrite: 0,
|
|
5865
5830
|
},
|
|
5866
5831
|
contextWindow: 128000,
|
|
@@ -5894,7 +5859,7 @@ export const MODELS = {
|
|
|
5894
5859
|
cost: {
|
|
5895
5860
|
input: 2,
|
|
5896
5861
|
output: 5,
|
|
5897
|
-
cacheRead: 0,
|
|
5862
|
+
cacheRead: 0.2,
|
|
5898
5863
|
cacheWrite: 0,
|
|
5899
5864
|
},
|
|
5900
5865
|
contextWindow: 128000,
|
|
@@ -5911,7 +5876,7 @@ export const MODELS = {
|
|
|
5911
5876
|
cost: {
|
|
5912
5877
|
input: 0.5,
|
|
5913
5878
|
output: 1.5,
|
|
5914
|
-
cacheRead: 0,
|
|
5879
|
+
cacheRead: 0.05,
|
|
5915
5880
|
cacheWrite: 0,
|
|
5916
5881
|
},
|
|
5917
5882
|
contextWindow: 128000,
|
|
@@ -5928,7 +5893,7 @@ export const MODELS = {
|
|
|
5928
5893
|
cost: {
|
|
5929
5894
|
input: 0.04,
|
|
5930
5895
|
output: 0.04,
|
|
5931
|
-
cacheRead: 0,
|
|
5896
|
+
cacheRead: 0.004,
|
|
5932
5897
|
cacheWrite: 0,
|
|
5933
5898
|
},
|
|
5934
5899
|
contextWindow: 128000,
|
|
@@ -5945,7 +5910,7 @@ export const MODELS = {
|
|
|
5945
5910
|
cost: {
|
|
5946
5911
|
input: 0.1,
|
|
5947
5912
|
output: 0.1,
|
|
5948
|
-
cacheRead: 0,
|
|
5913
|
+
cacheRead: 0.01,
|
|
5949
5914
|
cacheWrite: 0,
|
|
5950
5915
|
},
|
|
5951
5916
|
contextWindow: 128000,
|
|
@@ -5962,7 +5927,7 @@ export const MODELS = {
|
|
|
5962
5927
|
cost: {
|
|
5963
5928
|
input: 2,
|
|
5964
5929
|
output: 6,
|
|
5965
|
-
cacheRead: 0,
|
|
5930
|
+
cacheRead: 0.2,
|
|
5966
5931
|
cacheWrite: 0,
|
|
5967
5932
|
},
|
|
5968
5933
|
contextWindow: 131072,
|
|
@@ -5979,7 +5944,7 @@ export const MODELS = {
|
|
|
5979
5944
|
cost: {
|
|
5980
5945
|
input: 0.5,
|
|
5981
5946
|
output: 1.5,
|
|
5982
|
-
cacheRead: 0,
|
|
5947
|
+
cacheRead: 0.05,
|
|
5983
5948
|
cacheWrite: 0,
|
|
5984
5949
|
},
|
|
5985
5950
|
contextWindow: 262144,
|
|
@@ -5996,7 +5961,7 @@ export const MODELS = {
|
|
|
5996
5961
|
cost: {
|
|
5997
5962
|
input: 0.5,
|
|
5998
5963
|
output: 1.5,
|
|
5999
|
-
cacheRead: 0,
|
|
5964
|
+
cacheRead: 0.05,
|
|
6000
5965
|
cacheWrite: 0,
|
|
6001
5966
|
},
|
|
6002
5967
|
contextWindow: 262144,
|
|
@@ -6013,7 +5978,7 @@ export const MODELS = {
|
|
|
6013
5978
|
cost: {
|
|
6014
5979
|
input: 0.4,
|
|
6015
5980
|
output: 2,
|
|
6016
|
-
cacheRead: 0,
|
|
5981
|
+
cacheRead: 0.04,
|
|
6017
5982
|
cacheWrite: 0,
|
|
6018
5983
|
},
|
|
6019
5984
|
contextWindow: 131072,
|
|
@@ -6030,7 +5995,7 @@ export const MODELS = {
|
|
|
6030
5995
|
cost: {
|
|
6031
5996
|
input: 0.4,
|
|
6032
5997
|
output: 2,
|
|
6033
|
-
cacheRead: 0,
|
|
5998
|
+
cacheRead: 0.04,
|
|
6034
5999
|
cacheWrite: 0,
|
|
6035
6000
|
},
|
|
6036
6001
|
contextWindow: 262144,
|
|
@@ -6047,7 +6012,7 @@ export const MODELS = {
|
|
|
6047
6012
|
cost: {
|
|
6048
6013
|
input: 1.5,
|
|
6049
6014
|
output: 7.5,
|
|
6050
|
-
cacheRead: 0,
|
|
6015
|
+
cacheRead: 0.15,
|
|
6051
6016
|
cacheWrite: 0,
|
|
6052
6017
|
},
|
|
6053
6018
|
contextWindow: 262144,
|
|
@@ -6081,7 +6046,7 @@ export const MODELS = {
|
|
|
6081
6046
|
cost: {
|
|
6082
6047
|
input: 0.4,
|
|
6083
6048
|
output: 2,
|
|
6084
|
-
cacheRead: 0,
|
|
6049
|
+
cacheRead: 0.04,
|
|
6085
6050
|
cacheWrite: 0,
|
|
6086
6051
|
},
|
|
6087
6052
|
contextWindow: 262144,
|
|
@@ -6098,7 +6063,7 @@ export const MODELS = {
|
|
|
6098
6063
|
cost: {
|
|
6099
6064
|
input: 0.15,
|
|
6100
6065
|
output: 0.15,
|
|
6101
|
-
cacheRead: 0,
|
|
6066
|
+
cacheRead: 0.015,
|
|
6102
6067
|
cacheWrite: 0,
|
|
6103
6068
|
},
|
|
6104
6069
|
contextWindow: 128000,
|
|
@@ -6115,7 +6080,7 @@ export const MODELS = {
|
|
|
6115
6080
|
cost: {
|
|
6116
6081
|
input: 0.1,
|
|
6117
6082
|
output: 0.3,
|
|
6118
|
-
cacheRead: 0,
|
|
6083
|
+
cacheRead: 0.01,
|
|
6119
6084
|
cacheWrite: 0,
|
|
6120
6085
|
},
|
|
6121
6086
|
contextWindow: 128000,
|
|
@@ -6132,7 +6097,7 @@ export const MODELS = {
|
|
|
6132
6097
|
cost: {
|
|
6133
6098
|
input: 0.15,
|
|
6134
6099
|
output: 0.6,
|
|
6135
|
-
cacheRead: 0,
|
|
6100
|
+
cacheRead: 0.015,
|
|
6136
6101
|
cacheWrite: 0,
|
|
6137
6102
|
},
|
|
6138
6103
|
contextWindow: 256000,
|
|
@@ -6149,7 +6114,7 @@ export const MODELS = {
|
|
|
6149
6114
|
cost: {
|
|
6150
6115
|
input: 0.15,
|
|
6151
6116
|
output: 0.6,
|
|
6152
|
-
cacheRead: 0,
|
|
6117
|
+
cacheRead: 0.015,
|
|
6153
6118
|
cacheWrite: 0,
|
|
6154
6119
|
},
|
|
6155
6120
|
contextWindow: 256000,
|
|
@@ -6166,7 +6131,7 @@ export const MODELS = {
|
|
|
6166
6131
|
cost: {
|
|
6167
6132
|
input: 0.25,
|
|
6168
6133
|
output: 0.25,
|
|
6169
|
-
cacheRead: 0,
|
|
6134
|
+
cacheRead: 0.025,
|
|
6170
6135
|
cacheWrite: 0,
|
|
6171
6136
|
},
|
|
6172
6137
|
contextWindow: 8000,
|
|
@@ -6183,7 +6148,7 @@ export const MODELS = {
|
|
|
6183
6148
|
cost: {
|
|
6184
6149
|
input: 0.15,
|
|
6185
6150
|
output: 0.15,
|
|
6186
|
-
cacheRead: 0,
|
|
6151
|
+
cacheRead: 0.015,
|
|
6187
6152
|
cacheWrite: 0,
|
|
6188
6153
|
},
|
|
6189
6154
|
contextWindow: 128000,
|
|
@@ -6200,7 +6165,7 @@ export const MODELS = {
|
|
|
6200
6165
|
cost: {
|
|
6201
6166
|
input: 2,
|
|
6202
6167
|
output: 6,
|
|
6203
|
-
cacheRead: 0,
|
|
6168
|
+
cacheRead: 0.2,
|
|
6204
6169
|
cacheWrite: 0,
|
|
6205
6170
|
},
|
|
6206
6171
|
contextWindow: 64000,
|
|
@@ -6217,7 +6182,7 @@ export const MODELS = {
|
|
|
6217
6182
|
cost: {
|
|
6218
6183
|
input: 0.7,
|
|
6219
6184
|
output: 0.7,
|
|
6220
|
-
cacheRead: 0,
|
|
6185
|
+
cacheRead: 0.07,
|
|
6221
6186
|
cacheWrite: 0,
|
|
6222
6187
|
},
|
|
6223
6188
|
contextWindow: 32000,
|
|
@@ -6234,7 +6199,7 @@ export const MODELS = {
|
|
|
6234
6199
|
cost: {
|
|
6235
6200
|
input: 0.15,
|
|
6236
6201
|
output: 0.15,
|
|
6237
|
-
cacheRead: 0,
|
|
6202
|
+
cacheRead: 0.015,
|
|
6238
6203
|
cacheWrite: 0,
|
|
6239
6204
|
},
|
|
6240
6205
|
contextWindow: 128000,
|
|
@@ -6251,7 +6216,7 @@ export const MODELS = {
|
|
|
6251
6216
|
cost: {
|
|
6252
6217
|
input: 2,
|
|
6253
6218
|
output: 6,
|
|
6254
|
-
cacheRead: 0,
|
|
6219
|
+
cacheRead: 0.2,
|
|
6255
6220
|
cacheWrite: 0,
|
|
6256
6221
|
},
|
|
6257
6222
|
contextWindow: 128000,
|
|
@@ -9187,13 +9152,13 @@ export const MODELS = {
|
|
|
9187
9152
|
reasoning: true,
|
|
9188
9153
|
input: ["text"],
|
|
9189
9154
|
cost: {
|
|
9190
|
-
input: 0.
|
|
9191
|
-
output: 0.
|
|
9155
|
+
input: 0.25,
|
|
9156
|
+
output: 0.8,
|
|
9192
9157
|
cacheRead: 0.06,
|
|
9193
9158
|
cacheWrite: 0,
|
|
9194
9159
|
},
|
|
9195
9160
|
contextWindow: 262144,
|
|
9196
|
-
maxTokens:
|
|
9161
|
+
maxTokens: 80000,
|
|
9197
9162
|
},
|
|
9198
9163
|
"arcee-ai/trinity-mini": {
|
|
9199
9164
|
id: "arcee-ai/trinity-mini",
|
|
@@ -9689,7 +9654,7 @@ export const MODELS = {
|
|
|
9689
9654
|
cacheRead: 0.2,
|
|
9690
9655
|
cacheWrite: 0.375,
|
|
9691
9656
|
},
|
|
9692
|
-
contextWindow:
|
|
9657
|
+
contextWindow: 131072,
|
|
9693
9658
|
maxTokens: 32768,
|
|
9694
9659
|
},
|
|
9695
9660
|
"google/gemini-3.1-flash-lite": {
|
|
@@ -9877,7 +9842,7 @@ export const MODELS = {
|
|
|
9877
9842
|
cacheWrite: 0,
|
|
9878
9843
|
},
|
|
9879
9844
|
contextWindow: 262144,
|
|
9880
|
-
maxTokens:
|
|
9845
|
+
maxTokens: 32768,
|
|
9881
9846
|
},
|
|
9882
9847
|
"ibm-granite/granite-4.1-8b": {
|
|
9883
9848
|
id: "ibm-granite/granite-4.1-8b",
|
|
@@ -9979,8 +9944,8 @@ export const MODELS = {
|
|
|
9979
9944
|
cacheRead: 0.06,
|
|
9980
9945
|
cacheWrite: 0,
|
|
9981
9946
|
},
|
|
9982
|
-
contextWindow:
|
|
9983
|
-
maxTokens:
|
|
9947
|
+
contextWindow: 262144,
|
|
9948
|
+
maxTokens: 144000,
|
|
9984
9949
|
},
|
|
9985
9950
|
"liquid/lfm-2.5-1.2b-thinking:free": {
|
|
9986
9951
|
id: "liquid/lfm-2.5-1.2b-thinking:free",
|
|
@@ -10201,7 +10166,7 @@ export const MODELS = {
|
|
|
10201
10166
|
cacheWrite: 0,
|
|
10202
10167
|
},
|
|
10203
10168
|
contextWindow: 1048576,
|
|
10204
|
-
maxTokens:
|
|
10169
|
+
maxTokens: 4096,
|
|
10205
10170
|
},
|
|
10206
10171
|
"mistralai/codestral-2508": {
|
|
10207
10172
|
id: "mistralai/codestral-2508",
|
|
@@ -10537,7 +10502,7 @@ export const MODELS = {
|
|
|
10537
10502
|
cost: {
|
|
10538
10503
|
input: 0.6,
|
|
10539
10504
|
output: 2.5,
|
|
10540
|
-
cacheRead: 0,
|
|
10505
|
+
cacheRead: 0.6,
|
|
10541
10506
|
cacheWrite: 0,
|
|
10542
10507
|
},
|
|
10543
10508
|
contextWindow: 262144,
|
|
@@ -10570,9 +10535,9 @@ export const MODELS = {
|
|
|
10570
10535
|
reasoning: true,
|
|
10571
10536
|
input: ["text", "image"],
|
|
10572
10537
|
cost: {
|
|
10573
|
-
input: 0.
|
|
10574
|
-
output: 3.
|
|
10575
|
-
cacheRead: 0.
|
|
10538
|
+
input: 0.66,
|
|
10539
|
+
output: 3.5,
|
|
10540
|
+
cacheRead: 0.33,
|
|
10576
10541
|
cacheWrite: 0,
|
|
10577
10542
|
},
|
|
10578
10543
|
contextWindow: 262144,
|
|
@@ -10587,13 +10552,13 @@ export const MODELS = {
|
|
|
10587
10552
|
reasoning: true,
|
|
10588
10553
|
input: ["text", "image"],
|
|
10589
10554
|
cost: {
|
|
10590
|
-
input: 0.
|
|
10591
|
-
output: 3.
|
|
10592
|
-
cacheRead: 0.
|
|
10555
|
+
input: 0.612,
|
|
10556
|
+
output: 3.069,
|
|
10557
|
+
cacheRead: 0.1296,
|
|
10593
10558
|
cacheWrite: 0,
|
|
10594
10559
|
},
|
|
10595
10560
|
contextWindow: 262144,
|
|
10596
|
-
maxTokens:
|
|
10561
|
+
maxTokens: 262144,
|
|
10597
10562
|
},
|
|
10598
10563
|
"nex-agi/nex-n2-pro:free": {
|
|
10599
10564
|
id: "nex-agi/nex-n2-pro:free",
|
|
@@ -10916,7 +10881,7 @@ export const MODELS = {
|
|
|
10916
10881
|
cacheWrite: 0,
|
|
10917
10882
|
},
|
|
10918
10883
|
contextWindow: 1047576,
|
|
10919
|
-
maxTokens:
|
|
10884
|
+
maxTokens: 4096,
|
|
10920
10885
|
},
|
|
10921
10886
|
"openai/gpt-4.1-nano": {
|
|
10922
10887
|
id: "openai/gpt-4.1-nano",
|
|
@@ -10946,7 +10911,7 @@ export const MODELS = {
|
|
|
10946
10911
|
cost: {
|
|
10947
10912
|
input: 2.5,
|
|
10948
10913
|
output: 10,
|
|
10949
|
-
cacheRead:
|
|
10914
|
+
cacheRead: 1.25,
|
|
10950
10915
|
cacheWrite: 0,
|
|
10951
10916
|
},
|
|
10952
10917
|
contextWindow: 128000,
|
|
@@ -11082,11 +11047,11 @@ export const MODELS = {
|
|
|
11082
11047
|
cost: {
|
|
11083
11048
|
input: 0.25,
|
|
11084
11049
|
output: 2,
|
|
11085
|
-
cacheRead: 0.
|
|
11050
|
+
cacheRead: 0.03,
|
|
11086
11051
|
cacheWrite: 0,
|
|
11087
11052
|
},
|
|
11088
11053
|
contextWindow: 400000,
|
|
11089
|
-
maxTokens:
|
|
11054
|
+
maxTokens: 4096,
|
|
11090
11055
|
},
|
|
11091
11056
|
"openai/gpt-5-nano": {
|
|
11092
11057
|
id: "openai/gpt-5-nano",
|
|
@@ -11150,11 +11115,11 @@ export const MODELS = {
|
|
|
11150
11115
|
cost: {
|
|
11151
11116
|
input: 1.25,
|
|
11152
11117
|
output: 10,
|
|
11153
|
-
cacheRead: 0.
|
|
11118
|
+
cacheRead: 0.125,
|
|
11154
11119
|
cacheWrite: 0,
|
|
11155
11120
|
},
|
|
11156
11121
|
contextWindow: 128000,
|
|
11157
|
-
maxTokens:
|
|
11122
|
+
maxTokens: 16384,
|
|
11158
11123
|
},
|
|
11159
11124
|
"openai/gpt-5.1-codex": {
|
|
11160
11125
|
id: "openai/gpt-5.1-codex",
|
|
@@ -11241,7 +11206,7 @@ export const MODELS = {
|
|
|
11241
11206
|
cacheWrite: 0,
|
|
11242
11207
|
},
|
|
11243
11208
|
contextWindow: 128000,
|
|
11244
|
-
maxTokens:
|
|
11209
|
+
maxTokens: 32000,
|
|
11245
11210
|
},
|
|
11246
11211
|
"openai/gpt-5.2-codex": {
|
|
11247
11212
|
id: "openai/gpt-5.2-codex",
|
|
@@ -11553,7 +11518,7 @@ export const MODELS = {
|
|
|
11553
11518
|
cost: {
|
|
11554
11519
|
input: 0.075,
|
|
11555
11520
|
output: 0.3,
|
|
11556
|
-
cacheRead: 0.
|
|
11521
|
+
cacheRead: 0.0375,
|
|
11557
11522
|
cacheWrite: 0,
|
|
11558
11523
|
},
|
|
11559
11524
|
contextWindow: 131072,
|
|
@@ -11746,6 +11711,23 @@ export const MODELS = {
|
|
|
11746
11711
|
contextWindow: 200000,
|
|
11747
11712
|
maxTokens: 4096,
|
|
11748
11713
|
},
|
|
11714
|
+
"openrouter/fusion": {
|
|
11715
|
+
id: "openrouter/fusion",
|
|
11716
|
+
name: "OpenRouter: Fusion",
|
|
11717
|
+
api: "openai-completions",
|
|
11718
|
+
provider: "openrouter",
|
|
11719
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
11720
|
+
reasoning: true,
|
|
11721
|
+
input: ["text"],
|
|
11722
|
+
cost: {
|
|
11723
|
+
input: 0,
|
|
11724
|
+
output: 0,
|
|
11725
|
+
cacheRead: 0,
|
|
11726
|
+
cacheWrite: 0,
|
|
11727
|
+
},
|
|
11728
|
+
contextWindow: 1000000,
|
|
11729
|
+
maxTokens: 30000,
|
|
11730
|
+
},
|
|
11749
11731
|
"openrouter/owl-alpha": {
|
|
11750
11732
|
id: "openrouter/owl-alpha",
|
|
11751
11733
|
name: "Owl Alpha",
|
|
@@ -12437,11 +12419,11 @@ export const MODELS = {
|
|
|
12437
12419
|
cost: {
|
|
12438
12420
|
input: 0.14,
|
|
12439
12421
|
output: 1,
|
|
12440
|
-
cacheRead: 0,
|
|
12422
|
+
cacheRead: 0.05,
|
|
12441
12423
|
cacheWrite: 0,
|
|
12442
12424
|
},
|
|
12443
12425
|
contextWindow: 262144,
|
|
12444
|
-
maxTokens:
|
|
12426
|
+
maxTokens: 81920,
|
|
12445
12427
|
},
|
|
12446
12428
|
"qwen/qwen3.5-397b-a17b": {
|
|
12447
12429
|
id: "qwen/qwen3.5-397b-a17b",
|
|
@@ -12474,8 +12456,8 @@ export const MODELS = {
|
|
|
12474
12456
|
cacheRead: 0,
|
|
12475
12457
|
cacheWrite: 0,
|
|
12476
12458
|
},
|
|
12477
|
-
contextWindow:
|
|
12478
|
-
maxTokens:
|
|
12459
|
+
contextWindow: 256000,
|
|
12460
|
+
maxTokens: 32768,
|
|
12479
12461
|
},
|
|
12480
12462
|
"qwen/qwen3.5-flash-02-23": {
|
|
12481
12463
|
id: "qwen/qwen3.5-flash-02-23",
|
|
@@ -12741,13 +12723,13 @@ export const MODELS = {
|
|
|
12741
12723
|
reasoning: true,
|
|
12742
12724
|
input: ["text"],
|
|
12743
12725
|
cost: {
|
|
12744
|
-
input: 0.
|
|
12745
|
-
output: 0.
|
|
12746
|
-
cacheRead: 0.
|
|
12726
|
+
input: 0.063,
|
|
12727
|
+
output: 0.21,
|
|
12728
|
+
cacheRead: 0.021,
|
|
12747
12729
|
cacheWrite: 0,
|
|
12748
12730
|
},
|
|
12749
12731
|
contextWindow: 262144,
|
|
12750
|
-
maxTokens:
|
|
12732
|
+
maxTokens: 4096,
|
|
12751
12733
|
},
|
|
12752
12734
|
"thedrummer/rocinante-12b": {
|
|
12753
12735
|
id: "thedrummer/rocinante-12b",
|
|
@@ -13062,15 +13044,16 @@ export const MODELS = {
|
|
|
13062
13044
|
provider: "openrouter",
|
|
13063
13045
|
baseUrl: "https://openrouter.ai/api/v1",
|
|
13064
13046
|
reasoning: true,
|
|
13047
|
+
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
13065
13048
|
input: ["text"],
|
|
13066
13049
|
cost: {
|
|
13067
|
-
input: 1.
|
|
13068
|
-
output: 4.
|
|
13069
|
-
cacheRead: 0.
|
|
13050
|
+
input: 1.2,
|
|
13051
|
+
output: 4.1,
|
|
13052
|
+
cacheRead: 0.2,
|
|
13070
13053
|
cacheWrite: 0,
|
|
13071
13054
|
},
|
|
13072
13055
|
contextWindow: 1048576,
|
|
13073
|
-
maxTokens:
|
|
13056
|
+
maxTokens: 131072,
|
|
13074
13057
|
},
|
|
13075
13058
|
"~anthropic/claude-fable-latest": {
|
|
13076
13059
|
id: "~anthropic/claude-fable-latest",
|
|
@@ -13183,9 +13166,9 @@ export const MODELS = {
|
|
|
13183
13166
|
reasoning: true,
|
|
13184
13167
|
input: ["text", "image"],
|
|
13185
13168
|
cost: {
|
|
13186
|
-
input: 0.
|
|
13187
|
-
output: 3.
|
|
13188
|
-
cacheRead: 0.
|
|
13169
|
+
input: 0.66,
|
|
13170
|
+
output: 3.5,
|
|
13171
|
+
cacheRead: 0.33,
|
|
13189
13172
|
cacheWrite: 0,
|
|
13190
13173
|
},
|
|
13191
13174
|
contextWindow: 262144,
|
|
@@ -15961,8 +15944,8 @@ export const MODELS = {
|
|
|
15961
15944
|
cost: {
|
|
15962
15945
|
input: 0.09,
|
|
15963
15946
|
output: 0.3,
|
|
15964
|
-
cacheRead: 0,
|
|
15965
|
-
cacheWrite: 0
|
|
15947
|
+
cacheRead: 0.02,
|
|
15948
|
+
cacheWrite: 0,
|
|
15966
15949
|
},
|
|
15967
15950
|
contextWindow: 262114,
|
|
15968
15951
|
maxTokens: 262114,
|