Skip to content

Commit 764cc00

Browse files
committed
Add claude-opus-4-7 pricing; fix populate-pricing script path
scripts/populate-pricing.py still pointed at backend/core/provider_pricing.json, which was deleted in the dedupe commit. Retarget to eval_mcp/core/ (the canonical location) and add claude-opus-4-7 to the Anthropic model list. The JSON change mirrors what the script would regenerate.
1 parent 860211b commit 764cc00

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

eval_mcp/core/provider_pricing.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,10 @@
324324
}
325325
},
326326
"anthropic": {
327+
"claude-opus-4-7": {
328+
"input": 5.0,
329+
"output": 25.0
330+
},
327331
"claude-opus-4-6": {
328332
"input": 5.0,
329333
"output": 25.0

scripts/populate-pricing.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
SCRIPT_DIR = Path(__file__).parent
2727
PROJECT_DIR = SCRIPT_DIR.parent
28-
PRICING_FILE = PROJECT_DIR / "backend" / "core" / "provider_pricing.json"
28+
PRICING_FILE = PROJECT_DIR / "eval_mcp" / "core" / "provider_pricing.json"
2929

3030
# Models to include per provider. Add new models here as they're released.
3131
OPENAI_MODELS = [
@@ -42,6 +42,7 @@
4242
]
4343

4444
ANTHROPIC_MODELS = [
45+
"claude-opus-4-7",
4546
"claude-opus-4-6",
4647
"claude-sonnet-4-6",
4748
"claude-opus-4-5",

0 commit comments

Comments
 (0)