@mariozechner/pi-ai 0.7.13 → 0.7.16

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.
@@ -720,6 +720,23 @@ export const MODELS = {
720
720
  contextWindow: 128000,
721
721
  maxTokens: 4096,
722
722
  },
723
+ "gpt-5.1-codex": {
724
+ id: "gpt-5.1-codex",
725
+ name: "GPT-5.1 Codex",
726
+ api: "openai-responses",
727
+ provider: "openai",
728
+ baseUrl: "https://api.openai.com/v1",
729
+ reasoning: true,
730
+ input: ["text", "image"],
731
+ cost: {
732
+ input: 1.25,
733
+ output: 10,
734
+ cacheRead: 0.125,
735
+ cacheWrite: 0,
736
+ },
737
+ contextWindow: 400000,
738
+ maxTokens: 128000,
739
+ },
723
740
  "gpt-4o-2024-08-06": {
724
741
  id: "gpt-4o-2024-08-06",
725
742
  name: "GPT-4o (2024-08-06)",
@@ -788,6 +805,23 @@ export const MODELS = {
788
805
  contextWindow: 128000,
789
806
  maxTokens: 4096,
790
807
  },
808
+ "gpt-5.1-codex-mini": {
809
+ id: "gpt-5.1-codex-mini",
810
+ name: "GPT-5.1 Codex mini",
811
+ api: "openai-responses",
812
+ provider: "openai",
813
+ baseUrl: "https://api.openai.com/v1",
814
+ reasoning: true,
815
+ input: ["text", "image"],
816
+ cost: {
817
+ input: 0.25,
818
+ output: 2,
819
+ cacheRead: 0.025,
820
+ cacheWrite: 0,
821
+ },
822
+ contextWindow: 400000,
823
+ maxTokens: 128000,
824
+ },
791
825
  "o3-mini": {
792
826
  id: "o3-mini",
793
827
  name: "o3-mini",
@@ -1077,13 +1111,13 @@ export const MODELS = {
1077
1111
  contextWindow: 400000,
1078
1112
  maxTokens: 272000,
1079
1113
  },
1080
- "gpt-5-chat-latest": {
1081
- id: "gpt-5-chat-latest",
1082
- name: "GPT-5 Chat Latest",
1114
+ "gpt-5.1-chat-latest": {
1115
+ id: "gpt-5.1-chat-latest",
1116
+ name: "GPT-5.1 Chat",
1083
1117
  api: "openai-responses",
1084
1118
  provider: "openai",
1085
1119
  baseUrl: "https://api.openai.com/v1",
1086
- reasoning: false,
1120
+ reasoning: true,
1087
1121
  input: ["text", "image"],
1088
1122
  cost: {
1089
1123
  input: 1.25,
@@ -1094,22 +1128,22 @@ export const MODELS = {
1094
1128
  contextWindow: 128000,
1095
1129
  maxTokens: 16384,
1096
1130
  },
1097
- "gpt-5.1-codex": {
1098
- id: "gpt-5.1-codex",
1099
- name: "GPT-5.1 Codex",
1131
+ "gpt-5-chat-latest": {
1132
+ id: "gpt-5-chat-latest",
1133
+ name: "GPT-5 Chat Latest",
1100
1134
  api: "openai-responses",
1101
1135
  provider: "openai",
1102
1136
  baseUrl: "https://api.openai.com/v1",
1103
- reasoning: true,
1137
+ reasoning: false,
1104
1138
  input: ["text", "image"],
1105
1139
  cost: {
1106
1140
  input: 1.25,
1107
- output: 5,
1141
+ output: 10,
1108
1142
  cacheRead: 0.125,
1109
- cacheWrite: 1.25,
1143
+ cacheWrite: 0,
1110
1144
  },
1111
- contextWindow: 400000,
1112
- maxTokens: 128000,
1145
+ contextWindow: 128000,
1146
+ maxTokens: 16384,
1113
1147
  },
1114
1148
  },
1115
1149
  groq: {