@mariozechner/pi-ai 0.55.3 → 0.56.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 +16 -4
- package/bedrock-provider.d.ts +1 -0
- package/bedrock-provider.js +1 -0
- package/dist/bedrock-provider.d.ts +5 -0
- package/dist/bedrock-provider.d.ts.map +1 -0
- package/dist/bedrock-provider.js +6 -0
- package/dist/bedrock-provider.js.map +1 -0
- package/dist/env-api-keys.d.ts.map +1 -1
- package/dist/env-api-keys.js +8 -3
- package/dist/env-api-keys.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/dist/models.generated.d.ts +138 -17
- package/dist/models.generated.d.ts.map +1 -1
- package/dist/models.generated.js +221 -100
- package/dist/models.generated.js.map +1 -1
- package/dist/oauth.d.ts +2 -0
- package/dist/oauth.d.ts.map +1 -0
- package/dist/oauth.js +2 -0
- package/dist/oauth.js.map +1 -0
- package/dist/providers/amazon-bedrock.d.ts.map +1 -1
- package/dist/providers/amazon-bedrock.js +15 -3
- package/dist/providers/amazon-bedrock.js.map +1 -1
- package/dist/providers/google-gemini-cli.d.ts.map +1 -1
- package/dist/providers/google-gemini-cli.js +12 -3
- package/dist/providers/google-gemini-cli.js.map +1 -1
- package/dist/providers/google-vertex.d.ts.map +1 -1
- package/dist/providers/google-vertex.js +2 -2
- package/dist/providers/google-vertex.js.map +1 -1
- package/dist/providers/google.d.ts.map +1 -1
- package/dist/providers/google.js +2 -2
- package/dist/providers/google.js.map +1 -1
- package/dist/providers/openai-codex-responses.d.ts.map +1 -1
- package/dist/providers/openai-codex-responses.js +4 -2
- package/dist/providers/openai-codex-responses.js.map +1 -1
- package/dist/providers/openai-completions.d.ts.map +1 -1
- package/dist/providers/openai-completions.js +16 -1
- package/dist/providers/openai-completions.js.map +1 -1
- package/dist/providers/register-builtins.d.ts +7 -0
- package/dist/providers/register-builtins.d.ts.map +1 -1
- package/dist/providers/register-builtins.js +72 -3
- package/dist/providers/register-builtins.js.map +1 -1
- package/dist/stream.d.ts +0 -1
- package/dist/stream.d.ts.map +1 -1
- package/dist/stream.js +0 -1
- package/dist/stream.js.map +1 -1
- package/dist/types.d.ts +3 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/dist/utils/oauth/index.d.ts +0 -1
- package/dist/utils/oauth/index.d.ts.map +1 -1
- package/dist/utils/oauth/index.js +0 -2
- package/dist/utils/oauth/index.js.map +1 -1
- package/oauth.d.ts +1 -0
- package/oauth.js +1 -0
- package/package.json +20 -2
- package/dist/utils/http-proxy.d.ts +0 -2
- package/dist/utils/http-proxy.d.ts.map +0 -1
- package/dist/utils/http-proxy.js +0 -15
- package/dist/utils/http-proxy.js.map +0 -1
package/dist/models.generated.js
CHANGED
|
@@ -3168,6 +3168,23 @@ export const MODELS = {
|
|
|
3168
3168
|
contextWindow: 1000000,
|
|
3169
3169
|
maxTokens: 64000,
|
|
3170
3170
|
},
|
|
3171
|
+
"gemini-3.1-flash-lite-preview": {
|
|
3172
|
+
id: "gemini-3.1-flash-lite-preview",
|
|
3173
|
+
name: "Gemini 3.1 Flash Lite Preview",
|
|
3174
|
+
api: "google-generative-ai",
|
|
3175
|
+
provider: "google",
|
|
3176
|
+
baseUrl: "https://generativelanguage.googleapis.com/v1beta",
|
|
3177
|
+
reasoning: true,
|
|
3178
|
+
input: ["text", "image"],
|
|
3179
|
+
cost: {
|
|
3180
|
+
input: 0,
|
|
3181
|
+
output: 0,
|
|
3182
|
+
cacheRead: 0,
|
|
3183
|
+
cacheWrite: 0,
|
|
3184
|
+
},
|
|
3185
|
+
contextWindow: 1048576,
|
|
3186
|
+
maxTokens: 65536,
|
|
3187
|
+
},
|
|
3171
3188
|
"gemini-3.1-pro-preview": {
|
|
3172
3189
|
id: "gemini-3.1-pro-preview",
|
|
3173
3190
|
name: "Gemini 3.1 Pro Preview",
|
|
@@ -3357,9 +3374,9 @@ export const MODELS = {
|
|
|
3357
3374
|
contextWindow: 1048576,
|
|
3358
3375
|
maxTokens: 65535,
|
|
3359
3376
|
},
|
|
3360
|
-
"gemini-3-pro-high": {
|
|
3361
|
-
id: "gemini-3-pro-high",
|
|
3362
|
-
name: "Gemini 3 Pro High (Antigravity)",
|
|
3377
|
+
"gemini-3.1-pro-high": {
|
|
3378
|
+
id: "gemini-3.1-pro-high",
|
|
3379
|
+
name: "Gemini 3.1 Pro High (Antigravity)",
|
|
3363
3380
|
api: "google-gemini-cli",
|
|
3364
3381
|
provider: "google-antigravity",
|
|
3365
3382
|
baseUrl: "https://daily-cloudcode-pa.sandbox.googleapis.com",
|
|
@@ -3374,9 +3391,9 @@ export const MODELS = {
|
|
|
3374
3391
|
contextWindow: 1048576,
|
|
3375
3392
|
maxTokens: 65535,
|
|
3376
3393
|
},
|
|
3377
|
-
"gemini-3-pro-low": {
|
|
3378
|
-
id: "gemini-3-pro-low",
|
|
3379
|
-
name: "Gemini 3 Pro Low (Antigravity)",
|
|
3394
|
+
"gemini-3.1-pro-low": {
|
|
3395
|
+
id: "gemini-3.1-pro-low",
|
|
3396
|
+
name: "Gemini 3.1 Pro Low (Antigravity)",
|
|
3380
3397
|
api: "google-gemini-cli",
|
|
3381
3398
|
provider: "google-antigravity",
|
|
3382
3399
|
baseUrl: "https://daily-cloudcode-pa.sandbox.googleapis.com",
|
|
@@ -6066,40 +6083,6 @@ export const MODELS = {
|
|
|
6066
6083
|
contextWindow: 400000,
|
|
6067
6084
|
maxTokens: 128000,
|
|
6068
6085
|
},
|
|
6069
|
-
"kimi-k2": {
|
|
6070
|
-
id: "kimi-k2",
|
|
6071
|
-
name: "Kimi K2",
|
|
6072
|
-
api: "openai-completions",
|
|
6073
|
-
provider: "opencode",
|
|
6074
|
-
baseUrl: "https://opencode.ai/zen/v1",
|
|
6075
|
-
reasoning: false,
|
|
6076
|
-
input: ["text"],
|
|
6077
|
-
cost: {
|
|
6078
|
-
input: 0.4,
|
|
6079
|
-
output: 2.5,
|
|
6080
|
-
cacheRead: 0.4,
|
|
6081
|
-
cacheWrite: 0,
|
|
6082
|
-
},
|
|
6083
|
-
contextWindow: 262144,
|
|
6084
|
-
maxTokens: 262144,
|
|
6085
|
-
},
|
|
6086
|
-
"kimi-k2-thinking": {
|
|
6087
|
-
id: "kimi-k2-thinking",
|
|
6088
|
-
name: "Kimi K2 Thinking",
|
|
6089
|
-
api: "openai-completions",
|
|
6090
|
-
provider: "opencode",
|
|
6091
|
-
baseUrl: "https://opencode.ai/zen/v1",
|
|
6092
|
-
reasoning: true,
|
|
6093
|
-
input: ["text"],
|
|
6094
|
-
cost: {
|
|
6095
|
-
input: 0.4,
|
|
6096
|
-
output: 2.5,
|
|
6097
|
-
cacheRead: 0.4,
|
|
6098
|
-
cacheWrite: 0,
|
|
6099
|
-
},
|
|
6100
|
-
contextWindow: 262144,
|
|
6101
|
-
maxTokens: 262144,
|
|
6102
|
-
},
|
|
6103
6086
|
"kimi-k2.5": {
|
|
6104
6087
|
id: "kimi-k2.5",
|
|
6105
6088
|
name: "Kimi K2.5",
|
|
@@ -6186,6 +6169,59 @@ export const MODELS = {
|
|
|
6186
6169
|
maxTokens: 131072,
|
|
6187
6170
|
},
|
|
6188
6171
|
},
|
|
6172
|
+
"opencode-go": {
|
|
6173
|
+
"glm-5": {
|
|
6174
|
+
id: "glm-5",
|
|
6175
|
+
name: "GLM-5",
|
|
6176
|
+
api: "openai-completions",
|
|
6177
|
+
provider: "opencode-go",
|
|
6178
|
+
baseUrl: "https://opencode.ai/zen/go/v1",
|
|
6179
|
+
reasoning: true,
|
|
6180
|
+
input: ["text"],
|
|
6181
|
+
cost: {
|
|
6182
|
+
input: 1,
|
|
6183
|
+
output: 3.2,
|
|
6184
|
+
cacheRead: 0.2,
|
|
6185
|
+
cacheWrite: 0,
|
|
6186
|
+
},
|
|
6187
|
+
contextWindow: 204800,
|
|
6188
|
+
maxTokens: 131072,
|
|
6189
|
+
},
|
|
6190
|
+
"kimi-k2.5": {
|
|
6191
|
+
id: "kimi-k2.5",
|
|
6192
|
+
name: "Kimi K2.5",
|
|
6193
|
+
api: "openai-completions",
|
|
6194
|
+
provider: "opencode-go",
|
|
6195
|
+
baseUrl: "https://opencode.ai/zen/go/v1",
|
|
6196
|
+
reasoning: true,
|
|
6197
|
+
input: ["text", "image"],
|
|
6198
|
+
cost: {
|
|
6199
|
+
input: 0.6,
|
|
6200
|
+
output: 3,
|
|
6201
|
+
cacheRead: 0.1,
|
|
6202
|
+
cacheWrite: 0,
|
|
6203
|
+
},
|
|
6204
|
+
contextWindow: 262144,
|
|
6205
|
+
maxTokens: 65536,
|
|
6206
|
+
},
|
|
6207
|
+
"minimax-m2.5": {
|
|
6208
|
+
id: "minimax-m2.5",
|
|
6209
|
+
name: "MiniMax M2.5",
|
|
6210
|
+
api: "anthropic-messages",
|
|
6211
|
+
provider: "opencode-go",
|
|
6212
|
+
baseUrl: "https://opencode.ai/zen/go",
|
|
6213
|
+
reasoning: true,
|
|
6214
|
+
input: ["text"],
|
|
6215
|
+
cost: {
|
|
6216
|
+
input: 0.3,
|
|
6217
|
+
output: 1.2,
|
|
6218
|
+
cacheRead: 0.03,
|
|
6219
|
+
cacheWrite: 0,
|
|
6220
|
+
},
|
|
6221
|
+
contextWindow: 204800,
|
|
6222
|
+
maxTokens: 131072,
|
|
6223
|
+
},
|
|
6224
|
+
},
|
|
6189
6225
|
"openrouter": {
|
|
6190
6226
|
"ai21/jamba-large-1.7": {
|
|
6191
6227
|
id: "ai21/jamba-large-1.7",
|
|
@@ -6774,13 +6810,13 @@ export const MODELS = {
|
|
|
6774
6810
|
reasoning: true,
|
|
6775
6811
|
input: ["text"],
|
|
6776
6812
|
cost: {
|
|
6777
|
-
input: 0.
|
|
6778
|
-
output: 0.
|
|
6779
|
-
cacheRead: 0.
|
|
6813
|
+
input: 0.19999999999999998,
|
|
6814
|
+
output: 0.77,
|
|
6815
|
+
cacheRead: 0.135,
|
|
6780
6816
|
cacheWrite: 0,
|
|
6781
6817
|
},
|
|
6782
6818
|
contextWindow: 163840,
|
|
6783
|
-
maxTokens:
|
|
6819
|
+
maxTokens: 4096,
|
|
6784
6820
|
},
|
|
6785
6821
|
"deepseek/deepseek-chat-v3.1": {
|
|
6786
6822
|
id: "deepseek/deepseek-chat-v3.1",
|
|
@@ -6825,9 +6861,9 @@ export const MODELS = {
|
|
|
6825
6861
|
reasoning: true,
|
|
6826
6862
|
input: ["text"],
|
|
6827
6863
|
cost: {
|
|
6828
|
-
input: 0.
|
|
6829
|
-
output:
|
|
6830
|
-
cacheRead: 0.
|
|
6864
|
+
input: 0.44999999999999996,
|
|
6865
|
+
output: 2.1500000000000004,
|
|
6866
|
+
cacheRead: 0.22499999999999998,
|
|
6831
6867
|
cacheWrite: 0,
|
|
6832
6868
|
},
|
|
6833
6869
|
contextWindow: 163840,
|
|
@@ -6882,7 +6918,7 @@ export const MODELS = {
|
|
|
6882
6918
|
cacheWrite: 0,
|
|
6883
6919
|
},
|
|
6884
6920
|
contextWindow: 163840,
|
|
6885
|
-
maxTokens:
|
|
6921
|
+
maxTokens: 65536,
|
|
6886
6922
|
},
|
|
6887
6923
|
"deepseek/deepseek-v3.2-exp": {
|
|
6888
6924
|
id: "deepseek/deepseek-v3.2-exp",
|
|
@@ -6901,6 +6937,23 @@ export const MODELS = {
|
|
|
6901
6937
|
contextWindow: 163840,
|
|
6902
6938
|
maxTokens: 65536,
|
|
6903
6939
|
},
|
|
6940
|
+
"essentialai/rnj-1-instruct": {
|
|
6941
|
+
id: "essentialai/rnj-1-instruct",
|
|
6942
|
+
name: "EssentialAI: Rnj 1 Instruct",
|
|
6943
|
+
api: "openai-completions",
|
|
6944
|
+
provider: "openrouter",
|
|
6945
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
6946
|
+
reasoning: false,
|
|
6947
|
+
input: ["text"],
|
|
6948
|
+
cost: {
|
|
6949
|
+
input: 0.15,
|
|
6950
|
+
output: 0.15,
|
|
6951
|
+
cacheRead: 0,
|
|
6952
|
+
cacheWrite: 0,
|
|
6953
|
+
},
|
|
6954
|
+
contextWindow: 32768,
|
|
6955
|
+
maxTokens: 4096,
|
|
6956
|
+
},
|
|
6904
6957
|
"google/gemini-2.0-flash-001": {
|
|
6905
6958
|
id: "google/gemini-2.0-flash-001",
|
|
6906
6959
|
name: "Google: Gemini 2.0 Flash",
|
|
@@ -6984,7 +7037,7 @@ export const MODELS = {
|
|
|
6984
7037
|
cacheWrite: 0.08333333333333334,
|
|
6985
7038
|
},
|
|
6986
7039
|
contextWindow: 1048576,
|
|
6987
|
-
maxTokens:
|
|
7040
|
+
maxTokens: 65536,
|
|
6988
7041
|
},
|
|
6989
7042
|
"google/gemini-2.5-pro": {
|
|
6990
7043
|
id: "google/gemini-2.5-pro",
|
|
@@ -7052,7 +7105,7 @@ export const MODELS = {
|
|
|
7052
7105
|
cacheWrite: 0.08333333333333334,
|
|
7053
7106
|
},
|
|
7054
7107
|
contextWindow: 1048576,
|
|
7055
|
-
maxTokens:
|
|
7108
|
+
maxTokens: 65536,
|
|
7056
7109
|
},
|
|
7057
7110
|
"google/gemini-3-pro-preview": {
|
|
7058
7111
|
id: "google/gemini-3-pro-preview",
|
|
@@ -7071,6 +7124,23 @@ export const MODELS = {
|
|
|
7071
7124
|
contextWindow: 1048576,
|
|
7072
7125
|
maxTokens: 65536,
|
|
7073
7126
|
},
|
|
7127
|
+
"google/gemini-3.1-flash-lite-preview": {
|
|
7128
|
+
id: "google/gemini-3.1-flash-lite-preview",
|
|
7129
|
+
name: "Google: Gemini 3.1 Flash Lite Preview",
|
|
7130
|
+
api: "openai-completions",
|
|
7131
|
+
provider: "openrouter",
|
|
7132
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
7133
|
+
reasoning: true,
|
|
7134
|
+
input: ["text", "image"],
|
|
7135
|
+
cost: {
|
|
7136
|
+
input: 0.25,
|
|
7137
|
+
output: 1.5,
|
|
7138
|
+
cacheRead: 0.024999999999999998,
|
|
7139
|
+
cacheWrite: 0.08333333333333334,
|
|
7140
|
+
},
|
|
7141
|
+
contextWindow: 1048576,
|
|
7142
|
+
maxTokens: 65536,
|
|
7143
|
+
},
|
|
7074
7144
|
"google/gemini-3.1-pro-preview": {
|
|
7075
7145
|
id: "google/gemini-3.1-pro-preview",
|
|
7076
7146
|
name: "Google: Gemini 3.1 Pro Preview",
|
|
@@ -7149,8 +7219,8 @@ export const MODELS = {
|
|
|
7149
7219
|
input: ["text"],
|
|
7150
7220
|
cost: {
|
|
7151
7221
|
input: 0.25,
|
|
7152
|
-
output:
|
|
7153
|
-
cacheRead: 0,
|
|
7222
|
+
output: 0.75,
|
|
7223
|
+
cacheRead: 0.024999999999999998,
|
|
7154
7224
|
cacheWrite: 0,
|
|
7155
7225
|
},
|
|
7156
7226
|
contextWindow: 128000,
|
|
@@ -7166,8 +7236,8 @@ export const MODELS = {
|
|
|
7166
7236
|
input: ["text"],
|
|
7167
7237
|
cost: {
|
|
7168
7238
|
input: 0.25,
|
|
7169
|
-
output:
|
|
7170
|
-
cacheRead: 0,
|
|
7239
|
+
output: 0.75,
|
|
7240
|
+
cacheRead: 0.024999999999999998,
|
|
7171
7241
|
cacheWrite: 0,
|
|
7172
7242
|
},
|
|
7173
7243
|
contextWindow: 128000,
|
|
@@ -7205,7 +7275,7 @@ export const MODELS = {
|
|
|
7205
7275
|
cacheWrite: 0,
|
|
7206
7276
|
},
|
|
7207
7277
|
contextWindow: 131072,
|
|
7208
|
-
maxTokens:
|
|
7278
|
+
maxTokens: 131072,
|
|
7209
7279
|
},
|
|
7210
7280
|
"meta-llama/llama-3-8b-instruct": {
|
|
7211
7281
|
id: "meta-llama/llama-3-8b-instruct",
|
|
@@ -7375,7 +7445,7 @@ export const MODELS = {
|
|
|
7375
7445
|
cacheWrite: 0,
|
|
7376
7446
|
},
|
|
7377
7447
|
contextWindow: 196608,
|
|
7378
|
-
maxTokens:
|
|
7448
|
+
maxTokens: 196608,
|
|
7379
7449
|
},
|
|
7380
7450
|
"minimax/minimax-m2.1": {
|
|
7381
7451
|
id: "minimax/minimax-m2.1",
|
|
@@ -8618,6 +8688,23 @@ export const MODELS = {
|
|
|
8618
8688
|
contextWindow: 400000,
|
|
8619
8689
|
maxTokens: 128000,
|
|
8620
8690
|
},
|
|
8691
|
+
"openai/gpt-5.3-chat": {
|
|
8692
|
+
id: "openai/gpt-5.3-chat",
|
|
8693
|
+
name: "OpenAI: GPT-5.3 Chat",
|
|
8694
|
+
api: "openai-completions",
|
|
8695
|
+
provider: "openrouter",
|
|
8696
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
8697
|
+
reasoning: false,
|
|
8698
|
+
input: ["text", "image"],
|
|
8699
|
+
cost: {
|
|
8700
|
+
input: 1.75,
|
|
8701
|
+
output: 14,
|
|
8702
|
+
cacheRead: 0.175,
|
|
8703
|
+
cacheWrite: 0,
|
|
8704
|
+
},
|
|
8705
|
+
contextWindow: 128000,
|
|
8706
|
+
maxTokens: 16384,
|
|
8707
|
+
},
|
|
8621
8708
|
"openai/gpt-5.3-codex": {
|
|
8622
8709
|
id: "openai/gpt-5.3-codex",
|
|
8623
8710
|
name: "OpenAI: GPT-5.3-Codex",
|
|
@@ -8984,9 +9071,9 @@ export const MODELS = {
|
|
|
8984
9071
|
reasoning: false,
|
|
8985
9072
|
input: ["text"],
|
|
8986
9073
|
cost: {
|
|
8987
|
-
input: 1.
|
|
8988
|
-
output:
|
|
8989
|
-
cacheRead: 0.
|
|
9074
|
+
input: 1.04,
|
|
9075
|
+
output: 4.16,
|
|
9076
|
+
cacheRead: 0.20800000000000002,
|
|
8990
9077
|
cacheWrite: 0,
|
|
8991
9078
|
},
|
|
8992
9079
|
contextWindow: 32768,
|
|
@@ -9018,8 +9105,8 @@ export const MODELS = {
|
|
|
9018
9105
|
reasoning: false,
|
|
9019
9106
|
input: ["text"],
|
|
9020
9107
|
cost: {
|
|
9021
|
-
input: 0.
|
|
9022
|
-
output:
|
|
9108
|
+
input: 0.26,
|
|
9109
|
+
output: 0.78,
|
|
9023
9110
|
cacheRead: 0,
|
|
9024
9111
|
cacheWrite: 0,
|
|
9025
9112
|
},
|
|
@@ -9035,8 +9122,8 @@ export const MODELS = {
|
|
|
9035
9122
|
reasoning: true,
|
|
9036
9123
|
input: ["text"],
|
|
9037
9124
|
cost: {
|
|
9038
|
-
input: 0.
|
|
9039
|
-
output:
|
|
9125
|
+
input: 0.26,
|
|
9126
|
+
output: 0.78,
|
|
9040
9127
|
cacheRead: 0,
|
|
9041
9128
|
cacheWrite: 0,
|
|
9042
9129
|
},
|
|
@@ -9052,9 +9139,9 @@ export const MODELS = {
|
|
|
9052
9139
|
reasoning: false,
|
|
9053
9140
|
input: ["text"],
|
|
9054
9141
|
cost: {
|
|
9055
|
-
input: 0.
|
|
9056
|
-
output: 0.
|
|
9057
|
-
cacheRead: 0.
|
|
9142
|
+
input: 0.0325,
|
|
9143
|
+
output: 0.13,
|
|
9144
|
+
cacheRead: 0.006500000000000001,
|
|
9058
9145
|
cacheWrite: 0,
|
|
9059
9146
|
},
|
|
9060
9147
|
contextWindow: 131072,
|
|
@@ -9290,9 +9377,9 @@ export const MODELS = {
|
|
|
9290
9377
|
reasoning: false,
|
|
9291
9378
|
input: ["text"],
|
|
9292
9379
|
cost: {
|
|
9293
|
-
input: 0.
|
|
9294
|
-
output:
|
|
9295
|
-
cacheRead: 0.
|
|
9380
|
+
input: 0.195,
|
|
9381
|
+
output: 0.975,
|
|
9382
|
+
cacheRead: 0.039,
|
|
9296
9383
|
cacheWrite: 0,
|
|
9297
9384
|
},
|
|
9298
9385
|
contextWindow: 1000000,
|
|
@@ -9324,9 +9411,9 @@ export const MODELS = {
|
|
|
9324
9411
|
reasoning: false,
|
|
9325
9412
|
input: ["text"],
|
|
9326
9413
|
cost: {
|
|
9327
|
-
input:
|
|
9328
|
-
output:
|
|
9329
|
-
cacheRead: 0.
|
|
9414
|
+
input: 0.65,
|
|
9415
|
+
output: 3.25,
|
|
9416
|
+
cacheRead: 0.13,
|
|
9330
9417
|
cacheWrite: 0,
|
|
9331
9418
|
},
|
|
9332
9419
|
contextWindow: 1000000,
|
|
@@ -9392,8 +9479,8 @@ export const MODELS = {
|
|
|
9392
9479
|
reasoning: true,
|
|
9393
9480
|
input: ["text"],
|
|
9394
9481
|
cost: {
|
|
9395
|
-
input:
|
|
9396
|
-
output:
|
|
9482
|
+
input: 0.78,
|
|
9483
|
+
output: 3.9,
|
|
9397
9484
|
cacheRead: 0,
|
|
9398
9485
|
cacheWrite: 0,
|
|
9399
9486
|
},
|
|
@@ -9579,8 +9666,8 @@ export const MODELS = {
|
|
|
9579
9666
|
reasoning: true,
|
|
9580
9667
|
input: ["text", "image"],
|
|
9581
9668
|
cost: {
|
|
9582
|
-
input: 0.
|
|
9583
|
-
output:
|
|
9669
|
+
input: 0.26,
|
|
9670
|
+
output: 2.08,
|
|
9584
9671
|
cacheRead: 0,
|
|
9585
9672
|
cacheWrite: 0,
|
|
9586
9673
|
},
|
|
@@ -9596,8 +9683,8 @@ export const MODELS = {
|
|
|
9596
9683
|
reasoning: true,
|
|
9597
9684
|
input: ["text", "image"],
|
|
9598
9685
|
cost: {
|
|
9599
|
-
input: 0.
|
|
9600
|
-
output:
|
|
9686
|
+
input: 0.195,
|
|
9687
|
+
output: 1.56,
|
|
9601
9688
|
cacheRead: 0,
|
|
9602
9689
|
cacheWrite: 0,
|
|
9603
9690
|
},
|
|
@@ -9613,8 +9700,8 @@ export const MODELS = {
|
|
|
9613
9700
|
reasoning: true,
|
|
9614
9701
|
input: ["text", "image"],
|
|
9615
9702
|
cost: {
|
|
9616
|
-
input: 0.
|
|
9617
|
-
output:
|
|
9703
|
+
input: 0.1625,
|
|
9704
|
+
output: 1.3,
|
|
9618
9705
|
cacheRead: 0,
|
|
9619
9706
|
cacheWrite: 0,
|
|
9620
9707
|
},
|
|
@@ -9630,9 +9717,9 @@ export const MODELS = {
|
|
|
9630
9717
|
reasoning: true,
|
|
9631
9718
|
input: ["text", "image"],
|
|
9632
9719
|
cost: {
|
|
9633
|
-
input: 0.
|
|
9634
|
-
output:
|
|
9635
|
-
cacheRead: 0
|
|
9720
|
+
input: 0.39,
|
|
9721
|
+
output: 2.34,
|
|
9722
|
+
cacheRead: 0,
|
|
9636
9723
|
cacheWrite: 0,
|
|
9637
9724
|
},
|
|
9638
9725
|
contextWindow: 262144,
|
|
@@ -9664,8 +9751,8 @@ export const MODELS = {
|
|
|
9664
9751
|
reasoning: true,
|
|
9665
9752
|
input: ["text", "image"],
|
|
9666
9753
|
cost: {
|
|
9667
|
-
input: 0.
|
|
9668
|
-
output:
|
|
9754
|
+
input: 0.26,
|
|
9755
|
+
output: 1.56,
|
|
9669
9756
|
cacheRead: 0,
|
|
9670
9757
|
cacheWrite: 0,
|
|
9671
9758
|
},
|
|
@@ -9825,18 +9912,18 @@ export const MODELS = {
|
|
|
9825
9912
|
contextWindow: 163840,
|
|
9826
9913
|
maxTokens: 163840,
|
|
9827
9914
|
},
|
|
9828
|
-
"upstage/solar-pro-3
|
|
9829
|
-
id: "upstage/solar-pro-3
|
|
9830
|
-
name: "Upstage: Solar Pro 3
|
|
9915
|
+
"upstage/solar-pro-3": {
|
|
9916
|
+
id: "upstage/solar-pro-3",
|
|
9917
|
+
name: "Upstage: Solar Pro 3",
|
|
9831
9918
|
api: "openai-completions",
|
|
9832
9919
|
provider: "openrouter",
|
|
9833
9920
|
baseUrl: "https://openrouter.ai/api/v1",
|
|
9834
9921
|
reasoning: true,
|
|
9835
9922
|
input: ["text"],
|
|
9836
9923
|
cost: {
|
|
9837
|
-
input: 0,
|
|
9838
|
-
output: 0,
|
|
9839
|
-
cacheRead: 0,
|
|
9924
|
+
input: 0.15,
|
|
9925
|
+
output: 0.6,
|
|
9926
|
+
cacheRead: 0.015,
|
|
9840
9927
|
cacheWrite: 0,
|
|
9841
9928
|
},
|
|
9842
9929
|
contextWindow: 128000,
|
|
@@ -10089,13 +10176,13 @@ export const MODELS = {
|
|
|
10089
10176
|
reasoning: true,
|
|
10090
10177
|
input: ["text"],
|
|
10091
10178
|
cost: {
|
|
10092
|
-
input: 0.
|
|
10093
|
-
output: 1.
|
|
10179
|
+
input: 0.39,
|
|
10180
|
+
output: 1.9,
|
|
10094
10181
|
cacheRead: 0,
|
|
10095
10182
|
cacheWrite: 0,
|
|
10096
10183
|
},
|
|
10097
|
-
contextWindow:
|
|
10098
|
-
maxTokens:
|
|
10184
|
+
contextWindow: 204800,
|
|
10185
|
+
maxTokens: 204800,
|
|
10099
10186
|
},
|
|
10100
10187
|
"z-ai/glm-4.6:exacto": {
|
|
10101
10188
|
id: "z-ai/glm-4.6:exacto",
|
|
@@ -10174,13 +10261,13 @@ export const MODELS = {
|
|
|
10174
10261
|
reasoning: true,
|
|
10175
10262
|
input: ["text"],
|
|
10176
10263
|
cost: {
|
|
10177
|
-
input: 0.
|
|
10178
|
-
output: 2.
|
|
10179
|
-
cacheRead: 0.
|
|
10264
|
+
input: 0.7999999999999999,
|
|
10265
|
+
output: 2.56,
|
|
10266
|
+
cacheRead: 0.16,
|
|
10180
10267
|
cacheWrite: 0,
|
|
10181
10268
|
},
|
|
10182
|
-
contextWindow:
|
|
10183
|
-
maxTokens:
|
|
10269
|
+
contextWindow: 202752,
|
|
10270
|
+
maxTokens: 4096,
|
|
10184
10271
|
},
|
|
10185
10272
|
},
|
|
10186
10273
|
"vercel-ai-gateway": {
|
|
@@ -10898,6 +10985,23 @@ export const MODELS = {
|
|
|
10898
10985
|
contextWindow: 1000000,
|
|
10899
10986
|
maxTokens: 64000,
|
|
10900
10987
|
},
|
|
10988
|
+
"google/gemini-3.1-flash-lite-preview": {
|
|
10989
|
+
id: "google/gemini-3.1-flash-lite-preview",
|
|
10990
|
+
name: "Gemini 3.1 Flash Lite Preview",
|
|
10991
|
+
api: "anthropic-messages",
|
|
10992
|
+
provider: "vercel-ai-gateway",
|
|
10993
|
+
baseUrl: "https://ai-gateway.vercel.sh",
|
|
10994
|
+
reasoning: true,
|
|
10995
|
+
input: ["text", "image"],
|
|
10996
|
+
cost: {
|
|
10997
|
+
input: 0.25,
|
|
10998
|
+
output: 1.5,
|
|
10999
|
+
cacheRead: 0,
|
|
11000
|
+
cacheWrite: 0,
|
|
11001
|
+
},
|
|
11002
|
+
contextWindow: 1000000,
|
|
11003
|
+
maxTokens: 65000,
|
|
11004
|
+
},
|
|
10901
11005
|
"google/gemini-3.1-pro-preview": {
|
|
10902
11006
|
id: "google/gemini-3.1-pro-preview",
|
|
10903
11007
|
name: "Gemini 3.1 Pro Preview",
|
|
@@ -11816,6 +11920,23 @@ export const MODELS = {
|
|
|
11816
11920
|
contextWindow: 400000,
|
|
11817
11921
|
maxTokens: 128000,
|
|
11818
11922
|
},
|
|
11923
|
+
"openai/gpt-5.3-chat": {
|
|
11924
|
+
id: "openai/gpt-5.3-chat",
|
|
11925
|
+
name: "GPT-5.3 Chat",
|
|
11926
|
+
api: "anthropic-messages",
|
|
11927
|
+
provider: "vercel-ai-gateway",
|
|
11928
|
+
baseUrl: "https://ai-gateway.vercel.sh",
|
|
11929
|
+
reasoning: true,
|
|
11930
|
+
input: ["text", "image"],
|
|
11931
|
+
cost: {
|
|
11932
|
+
input: 1.75,
|
|
11933
|
+
output: 14,
|
|
11934
|
+
cacheRead: 0.175,
|
|
11935
|
+
cacheWrite: 0,
|
|
11936
|
+
},
|
|
11937
|
+
contextWindow: 128000,
|
|
11938
|
+
maxTokens: 16384,
|
|
11939
|
+
},
|
|
11819
11940
|
"openai/gpt-5.3-codex": {
|
|
11820
11941
|
id: "openai/gpt-5.3-codex",
|
|
11821
11942
|
name: "GPT 5.3 Codex",
|