@openeryc/pi-ai 0.75.46 → 0.75.48

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.
@@ -2955,6 +2955,23 @@ export const MODELS = {
2955
2955
  contextWindow: 1000000,
2956
2956
  maxTokens: 128000,
2957
2957
  },
2958
+ "claude-opus-4-8": {
2959
+ id: "claude-opus-4-8",
2960
+ name: "Claude Opus 4.8",
2961
+ api: "anthropic-messages",
2962
+ provider: "cloudflare-ai-gateway",
2963
+ baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/anthropic",
2964
+ reasoning: true,
2965
+ input: ["text", "image"],
2966
+ cost: {
2967
+ input: 5,
2968
+ output: 25,
2969
+ cacheRead: 0.5,
2970
+ cacheWrite: 6.25,
2971
+ },
2972
+ contextWindow: 1000000,
2973
+ maxTokens: 128000,
2974
+ },
2958
2975
  "claude-sonnet-4": {
2959
2976
  id: "claude-sonnet-4",
2960
2977
  name: "Claude Sonnet 4 (latest)",
@@ -8789,13 +8806,13 @@ export const MODELS = {
8789
8806
  thinkingLevelMap: { "minimal": null, "low": null, "medium": null, "high": "high", "xhigh": "max" },
8790
8807
  input: ["text"],
8791
8808
  cost: {
8792
- input: 0.09999999999999999,
8793
- output: 0.19999999999999998,
8794
- cacheRead: 0.02,
8809
+ input: 0.0983,
8810
+ output: 0.1966,
8811
+ cacheRead: 0.019700000000000002,
8795
8812
  cacheWrite: 0,
8796
8813
  },
8797
8814
  contextWindow: 1048576,
8798
- maxTokens: 16384,
8815
+ maxTokens: 131072,
8799
8816
  },
8800
8817
  "deepseek/deepseek-v4-flash:free": {
8801
8818
  id: "deepseek/deepseek-v4-flash:free",
@@ -8866,7 +8883,7 @@ export const MODELS = {
8866
8883
  cacheRead: 0.024999999999999998,
8867
8884
  cacheWrite: 0.08333333333333334,
8868
8885
  },
8869
- contextWindow: 1000000,
8886
+ contextWindow: 1048576,
8870
8887
  maxTokens: 8192,
8871
8888
  },
8872
8889
  "google/gemini-2.0-flash-lite-001": {
@@ -9916,13 +9933,13 @@ export const MODELS = {
9916
9933
  reasoning: true,
9917
9934
  input: ["text", "image"],
9918
9935
  cost: {
9919
- input: 0.73,
9920
- output: 3.49,
9921
- cacheRead: 0.25,
9936
+ input: 0.684,
9937
+ output: 3.42,
9938
+ cacheRead: 0.144,
9922
9939
  cacheWrite: 0,
9923
9940
  },
9924
9941
  contextWindow: 262144,
9925
- maxTokens: 262142,
9942
+ maxTokens: 262144,
9926
9943
  },
9927
9944
  "moonshotai/kimi-k2.6:free": {
9928
9945
  id: "moonshotai/kimi-k2.6:free",
@@ -10366,23 +10383,6 @@ export const MODELS = {
10366
10383
  contextWindow: 128000,
10367
10384
  maxTokens: 16384,
10368
10385
  },
10369
- "openai/gpt-4o-audio-preview": {
10370
- id: "openai/gpt-4o-audio-preview",
10371
- name: "OpenAI: GPT-4o Audio",
10372
- api: "openai-completions",
10373
- provider: "openrouter",
10374
- baseUrl: "https://openrouter.ai/api/v1",
10375
- reasoning: false,
10376
- input: ["text"],
10377
- cost: {
10378
- input: 2.5,
10379
- output: 10,
10380
- cacheRead: 0,
10381
- cacheWrite: 0,
10382
- },
10383
- contextWindow: 128000,
10384
- maxTokens: 16384,
10385
- },
10386
10386
  "openai/gpt-4o-mini": {
10387
10387
  id: "openai/gpt-4o-mini",
10388
10388
  name: "OpenAI: GPT-4o-mini",
@@ -10897,13 +10897,13 @@ export const MODELS = {
10897
10897
  reasoning: true,
10898
10898
  input: ["text"],
10899
10899
  cost: {
10900
- input: 0.03,
10900
+ input: 0.029,
10901
10901
  output: 0.14,
10902
10902
  cacheRead: 0,
10903
10903
  cacheWrite: 0,
10904
10904
  },
10905
10905
  contextWindow: 131072,
10906
- maxTokens: 131072,
10906
+ maxTokens: 4096,
10907
10907
  },
10908
10908
  "openai/gpt-oss-20b:free": {
10909
10909
  id: "openai/gpt-oss-20b:free",
@@ -11781,13 +11781,13 @@ export const MODELS = {
11781
11781
  reasoning: true,
11782
11782
  input: ["text", "image"],
11783
11783
  cost: {
11784
- input: 0.13899999999999998,
11784
+ input: 0.14,
11785
11785
  output: 1,
11786
- cacheRead: 0,
11786
+ cacheRead: 0.049999999999999996,
11787
11787
  cacheWrite: 0,
11788
11788
  },
11789
11789
  contextWindow: 262144,
11790
- maxTokens: 4096,
11790
+ maxTokens: 262144,
11791
11791
  },
11792
11792
  "qwen/qwen3.5-397b-a17b": {
11793
11793
  id: "qwen/qwen3.5-397b-a17b",
@@ -12597,13 +12597,13 @@ export const MODELS = {
12597
12597
  reasoning: true,
12598
12598
  input: ["text", "image"],
12599
12599
  cost: {
12600
- input: 0.73,
12601
- output: 3.49,
12602
- cacheRead: 0.25,
12600
+ input: 0.684,
12601
+ output: 3.42,
12602
+ cacheRead: 0.144,
12603
12603
  cacheWrite: 0,
12604
12604
  },
12605
12605
  contextWindow: 262144,
12606
- maxTokens: 262142,
12606
+ maxTokens: 262144,
12607
12607
  },
12608
12608
  "~openai/gpt-latest": {
12609
12609
  id: "~openai/gpt-latest",
@@ -13001,20 +13001,20 @@ export const MODELS = {
13001
13001
  },
13002
13002
  "alibaba/qwen-3-235b": {
13003
13003
  id: "alibaba/qwen-3-235b",
13004
- name: "Qwen3 235B A22b Instruct 2507",
13004
+ name: "Qwen3 235B A22B",
13005
13005
  api: "anthropic-messages",
13006
13006
  provider: "vercel-ai-gateway",
13007
13007
  baseUrl: "https://ai-gateway.vercel.sh",
13008
13008
  reasoning: false,
13009
13009
  input: ["text"],
13010
13010
  cost: {
13011
- input: 0.6,
13012
- output: 1.2,
13013
- cacheRead: 0.6,
13011
+ input: 0.22,
13012
+ output: 0.88,
13013
+ cacheRead: 0,
13014
13014
  cacheWrite: 0,
13015
13015
  },
13016
- contextWindow: 131000,
13017
- maxTokens: 40000,
13016
+ contextWindow: 262144,
13017
+ maxTokens: 16384,
13018
13018
  },
13019
13019
  "alibaba/qwen-3-30b": {
13020
13020
  id: "alibaba/qwen-3-30b",
@@ -15240,6 +15240,23 @@ export const MODELS = {
15240
15240
  contextWindow: 200000,
15241
15241
  maxTokens: 8000,
15242
15242
  },
15243
+ "stepfun/step-3.7-flash": {
15244
+ id: "stepfun/step-3.7-flash",
15245
+ name: "Step 3.7 Flash",
15246
+ api: "anthropic-messages",
15247
+ provider: "vercel-ai-gateway",
15248
+ baseUrl: "https://ai-gateway.vercel.sh",
15249
+ reasoning: true,
15250
+ input: ["text", "image"],
15251
+ cost: {
15252
+ input: 0.19999999999999998,
15253
+ output: 1.15,
15254
+ cacheRead: 0.04,
15255
+ cacheWrite: 0,
15256
+ },
15257
+ contextWindow: 256000,
15258
+ maxTokens: 256000,
15259
+ },
15243
15260
  "xai/grok-4.1-fast-non-reasoning": {
15244
15261
  id: "xai/grok-4.1-fast-non-reasoning",
15245
15262
  name: "Grok 4.1 Fast Non-Reasoning",