Skip to content

Commit 51dd753

Browse files
committed
Changed pearai default
1 parent ebbce5a commit 51dd753

1 file changed

Lines changed: 12 additions & 18 deletions

File tree

src/shared/api.ts

Lines changed: 12 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1052,33 +1052,27 @@ export type PearAiModelId = keyof typeof pearAiModels
10521052
export const pearAiDefaultModelId: PearAiModelId = "pearai-model"
10531053
export const pearAiDefaultModelInfo: ModelInfo = {
10541054
maxTokens: 8192,
1055-
contextWindow: 64000,
1056-
// Default values for required fields, but actual values will be inherited from underlying model
1055+
contextWindow: 200_000,
1056+
supportsImages: true,
10571057
supportsPromptCache: true,
1058-
supportsImages: false,
1059-
supportsComputerUse: false,
1060-
// Base pricing
1061-
inputPrice: 0.014,
1062-
outputPrice: 0.28,
1063-
cacheWritesPrice: 0.27,
1064-
cacheReadsPrice: 0.07,
1058+
inputPrice: 3.0,
1059+
outputPrice: 15.0,
1060+
cacheWritesPrice: 3.75,
1061+
cacheReadsPrice: 0.3,
10651062
description:
10661063
"PearAI Model automatically routes you to the most best / most suitable model on the market. Recommended for most users.",
10671064
}
10681065

10691066
export const pearAiModels = {
10701067
"pearai-model": {
10711068
maxTokens: 8192,
1072-
contextWindow: 64000,
1073-
// Default values for required fields, but actual values will be inherited from underlying model
1069+
contextWindow: 200_000,
1070+
supportsImages: true,
10741071
supportsPromptCache: true,
1075-
supportsImages: false,
1076-
supportsComputerUse: false,
1077-
// Base pricing
1078-
inputPrice: 0.014,
1079-
outputPrice: 0.28,
1080-
cacheWritesPrice: 0.27,
1081-
cacheReadsPrice: 0.07,
1072+
inputPrice: 3.0,
1073+
outputPrice: 15.0,
1074+
cacheWritesPrice: 3.75,
1075+
cacheReadsPrice: 0.3,
10821076
description:
10831077
"PearAI Model automatically routes you to the most best / most suitable model on the market. Recommended for most users.",
10841078
},

0 commit comments

Comments
 (0)