@mariozechner/pi-ai 0.58.1 → 0.58.3
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 +23 -0
- package/dist/models.generated.d.ts +35 -1
- package/dist/models.generated.d.ts.map +1 -1
- package/dist/models.generated.js +39 -5
- package/dist/models.generated.js.map +1 -1
- package/dist/utils/oauth/anthropic.d.ts.map +1 -1
- package/dist/utils/oauth/anthropic.js +1 -6
- package/dist/utils/oauth/anthropic.js.map +1 -1
- package/package.json +1 -1
package/dist/models.generated.js
CHANGED
|
@@ -7662,13 +7662,30 @@ export const MODELS = {
|
|
|
7662
7662
|
reasoning: true,
|
|
7663
7663
|
input: ["text"],
|
|
7664
7664
|
cost: {
|
|
7665
|
-
input: 0.
|
|
7666
|
-
output:
|
|
7667
|
-
cacheRead: 0
|
|
7665
|
+
input: 0.25,
|
|
7666
|
+
output: 1.2,
|
|
7667
|
+
cacheRead: 0,
|
|
7668
7668
|
cacheWrite: 0,
|
|
7669
7669
|
},
|
|
7670
7670
|
contextWindow: 196608,
|
|
7671
|
-
maxTokens:
|
|
7671
|
+
maxTokens: 196608,
|
|
7672
|
+
},
|
|
7673
|
+
"minimax/minimax-m2.5:free": {
|
|
7674
|
+
id: "minimax/minimax-m2.5:free",
|
|
7675
|
+
name: "MiniMax: MiniMax M2.5 (free)",
|
|
7676
|
+
api: "openai-completions",
|
|
7677
|
+
provider: "openrouter",
|
|
7678
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
7679
|
+
reasoning: true,
|
|
7680
|
+
input: ["text"],
|
|
7681
|
+
cost: {
|
|
7682
|
+
input: 0,
|
|
7683
|
+
output: 0,
|
|
7684
|
+
cacheRead: 0,
|
|
7685
|
+
cacheWrite: 0,
|
|
7686
|
+
},
|
|
7687
|
+
contextWindow: 196608,
|
|
7688
|
+
maxTokens: 196608,
|
|
7672
7689
|
},
|
|
7673
7690
|
"mistralai/codestral-2508": {
|
|
7674
7691
|
id: "mistralai/codestral-2508",
|
|
@@ -9241,7 +9258,7 @@ export const MODELS = {
|
|
|
9241
9258
|
provider: "openrouter",
|
|
9242
9259
|
baseUrl: "https://openrouter.ai/api/v1",
|
|
9243
9260
|
reasoning: true,
|
|
9244
|
-
input: ["text"],
|
|
9261
|
+
input: ["text", "image"],
|
|
9245
9262
|
cost: {
|
|
9246
9263
|
input: 0,
|
|
9247
9264
|
output: 0,
|
|
@@ -10509,6 +10526,23 @@ export const MODELS = {
|
|
|
10509
10526
|
contextWindow: 202752,
|
|
10510
10527
|
maxTokens: 131072,
|
|
10511
10528
|
},
|
|
10529
|
+
"z-ai/glm-5-turbo": {
|
|
10530
|
+
id: "z-ai/glm-5-turbo",
|
|
10531
|
+
name: "Z.ai: GLM 5 Turbo",
|
|
10532
|
+
api: "openai-completions",
|
|
10533
|
+
provider: "openrouter",
|
|
10534
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
10535
|
+
reasoning: true,
|
|
10536
|
+
input: ["text"],
|
|
10537
|
+
cost: {
|
|
10538
|
+
input: 0.96,
|
|
10539
|
+
output: 3.1999999999999997,
|
|
10540
|
+
cacheRead: 0.192,
|
|
10541
|
+
cacheWrite: 0,
|
|
10542
|
+
},
|
|
10543
|
+
contextWindow: 202752,
|
|
10544
|
+
maxTokens: 131072,
|
|
10545
|
+
},
|
|
10512
10546
|
},
|
|
10513
10547
|
"vercel-ai-gateway": {
|
|
10514
10548
|
"alibaba/qwen-3-14b": {
|