@mariozechner/pi-ai 0.71.0 → 0.71.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.
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/models.generated.d.ts +51 -17
- package/dist/models.generated.d.ts.map +1 -1
- package/dist/models.generated.js +55 -21
- package/dist/models.generated.js.map +1 -1
- package/dist/providers/openai-codex-responses.d.ts +15 -0
- package/dist/providers/openai-codex-responses.d.ts.map +1 -1
- package/dist/providers/openai-codex-responses.js +138 -3
- package/dist/providers/openai-codex-responses.js.map +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/package.json +1 -1
package/dist/models.generated.js
CHANGED
|
@@ -11795,9 +11795,9 @@ export const MODELS = {
|
|
|
11795
11795
|
reasoning: false,
|
|
11796
11796
|
input: ["text"],
|
|
11797
11797
|
cost: {
|
|
11798
|
-
input: 0.
|
|
11798
|
+
input: 0.12,
|
|
11799
11799
|
output: 0.7999999999999999,
|
|
11800
|
-
cacheRead: 0.
|
|
11800
|
+
cacheRead: 0.07,
|
|
11801
11801
|
cacheWrite: 0,
|
|
11802
11802
|
},
|
|
11803
11803
|
contextWindow: 262144,
|
|
@@ -12543,14 +12543,31 @@ export const MODELS = {
|
|
|
12543
12543
|
reasoning: true,
|
|
12544
12544
|
input: ["text", "image"],
|
|
12545
12545
|
cost: {
|
|
12546
|
-
input:
|
|
12547
|
-
output:
|
|
12546
|
+
input: 1.25,
|
|
12547
|
+
output: 2.5,
|
|
12548
12548
|
cacheRead: 0.19999999999999998,
|
|
12549
12549
|
cacheWrite: 0,
|
|
12550
12550
|
},
|
|
12551
12551
|
contextWindow: 2000000,
|
|
12552
12552
|
maxTokens: 4096,
|
|
12553
12553
|
},
|
|
12554
|
+
"x-ai/grok-4.3": {
|
|
12555
|
+
id: "x-ai/grok-4.3",
|
|
12556
|
+
name: "xAI: Grok 4.3",
|
|
12557
|
+
api: "openai-completions",
|
|
12558
|
+
provider: "openrouter",
|
|
12559
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
12560
|
+
reasoning: true,
|
|
12561
|
+
input: ["text", "image"],
|
|
12562
|
+
cost: {
|
|
12563
|
+
input: 1.25,
|
|
12564
|
+
output: 2.5,
|
|
12565
|
+
cacheRead: 0.19999999999999998,
|
|
12566
|
+
cacheWrite: 0,
|
|
12567
|
+
},
|
|
12568
|
+
contextWindow: 1000000,
|
|
12569
|
+
maxTokens: 4096,
|
|
12570
|
+
},
|
|
12554
12571
|
"x-ai/grok-code-fast-1": {
|
|
12555
12572
|
id: "x-ai/grok-code-fast-1",
|
|
12556
12573
|
name: "xAI: Grok Code Fast 1",
|
|
@@ -15205,23 +15222,6 @@ export const MODELS = {
|
|
|
15205
15222
|
contextWindow: 200000,
|
|
15206
15223
|
maxTokens: 8000,
|
|
15207
15224
|
},
|
|
15208
|
-
"prime-intellect/intellect-3": {
|
|
15209
|
-
id: "prime-intellect/intellect-3",
|
|
15210
|
-
name: "INTELLECT 3",
|
|
15211
|
-
api: "anthropic-messages",
|
|
15212
|
-
provider: "vercel-ai-gateway",
|
|
15213
|
-
baseUrl: "https://ai-gateway.vercel.sh",
|
|
15214
|
-
reasoning: true,
|
|
15215
|
-
input: ["text"],
|
|
15216
|
-
cost: {
|
|
15217
|
-
input: 0.19999999999999998,
|
|
15218
|
-
output: 1.1,
|
|
15219
|
-
cacheRead: 0,
|
|
15220
|
-
cacheWrite: 0,
|
|
15221
|
-
},
|
|
15222
|
-
contextWindow: 131072,
|
|
15223
|
-
maxTokens: 131072,
|
|
15224
|
-
},
|
|
15225
15225
|
"xai/grok-3": {
|
|
15226
15226
|
id: "xai/grok-3",
|
|
15227
15227
|
name: "Grok 3 Beta",
|
|
@@ -15477,6 +15477,23 @@ export const MODELS = {
|
|
|
15477
15477
|
contextWindow: 2000000,
|
|
15478
15478
|
maxTokens: 2000000,
|
|
15479
15479
|
},
|
|
15480
|
+
"xai/grok-4.3": {
|
|
15481
|
+
id: "xai/grok-4.3",
|
|
15482
|
+
name: "Grok 4.3",
|
|
15483
|
+
api: "anthropic-messages",
|
|
15484
|
+
provider: "vercel-ai-gateway",
|
|
15485
|
+
baseUrl: "https://ai-gateway.vercel.sh",
|
|
15486
|
+
reasoning: true,
|
|
15487
|
+
input: ["text", "image"],
|
|
15488
|
+
cost: {
|
|
15489
|
+
input: 1.25,
|
|
15490
|
+
output: 2.5,
|
|
15491
|
+
cacheRead: 0.19999999999999998,
|
|
15492
|
+
cacheWrite: 0,
|
|
15493
|
+
},
|
|
15494
|
+
contextWindow: 1000000,
|
|
15495
|
+
maxTokens: 1000000,
|
|
15496
|
+
},
|
|
15480
15497
|
"xai/grok-code-fast-1": {
|
|
15481
15498
|
id: "xai/grok-code-fast-1",
|
|
15482
15499
|
name: "Grok Code Fast 1",
|
|
@@ -16142,6 +16159,23 @@ export const MODELS = {
|
|
|
16142
16159
|
contextWindow: 2000000,
|
|
16143
16160
|
maxTokens: 30000,
|
|
16144
16161
|
},
|
|
16162
|
+
"grok-4.3": {
|
|
16163
|
+
id: "grok-4.3",
|
|
16164
|
+
name: "Grok 4.3",
|
|
16165
|
+
api: "openai-completions",
|
|
16166
|
+
provider: "xai",
|
|
16167
|
+
baseUrl: "https://api.x.ai/v1",
|
|
16168
|
+
reasoning: true,
|
|
16169
|
+
input: ["text", "image"],
|
|
16170
|
+
cost: {
|
|
16171
|
+
input: 1.25,
|
|
16172
|
+
output: 2.5,
|
|
16173
|
+
cacheRead: 0.2,
|
|
16174
|
+
cacheWrite: 0,
|
|
16175
|
+
},
|
|
16176
|
+
contextWindow: 1000000,
|
|
16177
|
+
maxTokens: 30000,
|
|
16178
|
+
},
|
|
16145
16179
|
"grok-beta": {
|
|
16146
16180
|
id: "grok-beta",
|
|
16147
16181
|
name: "Grok Beta",
|