|
@@ -263,7 +263,7 @@ export async function getOpenRouterModels() {
|
|
|
modelInfo.supportsPromptCache = true
|
|
modelInfo.supportsPromptCache = true
|
|
|
modelInfo.cacheWritesPrice = 3.75
|
|
modelInfo.cacheWritesPrice = 3.75
|
|
|
modelInfo.cacheReadsPrice = 0.3
|
|
modelInfo.cacheReadsPrice = 0.3
|
|
|
- modelInfo.maxTokens = rawModel.id === "anthropic/claude-3.7-sonnet:thinking" ? 64_000 : 16_384
|
|
|
|
|
|
|
+ modelInfo.maxTokens = rawModel.id === "anthropic/claude-3.7-sonnet:thinking" ? 128_000 : 16_384
|
|
|
break
|
|
break
|
|
|
case rawModel.id.startsWith("anthropic/claude-3.5-sonnet-20240620"):
|
|
case rawModel.id.startsWith("anthropic/claude-3.5-sonnet-20240620"):
|
|
|
modelInfo.supportsPromptCache = true
|
|
modelInfo.supportsPromptCache = true
|