Compare commits

...

2 Commits

Author SHA1 Message Date
Saoud Rizwan a15baec910 Create seven-insects-shop.md 2025-06-10 11:29:40 -07:00
Saoud Rizwan 3ec4771f75 Add prompt caching indicator to grok 3 2025-06-10 11:28:55 -07:00
2 changed files with 10 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"claude-dev": patch
---
Add prompt caching indicator to grok 3
@@ -99,6 +99,11 @@ export async function refreshOpenRouterModels(
modelInfo.cacheWritesPrice = 0.14
modelInfo.cacheReadsPrice = 0.014
break
case "x-ai/grok-3-beta":
modelInfo.supportsPromptCache = true
modelInfo.cacheWritesPrice = 0
modelInfo.cacheReadsPrice = 0
break
default:
if (rawModel.id.startsWith("openai/")) {
modelInfo.cacheReadsPrice = parsePrice(rawModel.pricing?.input_cache_read)