Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

feat(models): add claude-3-7-sonnet-20250219 (#5709)

Hassieb Pakzad7c746c7cfca8
diff --git a/packages/shared/src/server/llm/types.ts b/packages/shared/src/server/llm/types.ts
index b504bc6003..8b68ef2518 100644
--- a/packages/shared/src/server/llm/types.ts
+++ b/packages/shared/src/server/llm/types.ts
@@ -118,6 +118,7 @@ export type OpenAIModel = (typeof openAIModels)[number];
// NOTE: Update docs page when changing this! https://langfuse.com/docs/playground#openai-playground--anthropic-playground
export const anthropicModels = [
+ "claude-3-7-sonnet-20250219",
"claude-3-5-sonnet-20241022",
"claude-3-5-sonnet-20240620",
"claude-3-opus-20240229",
diff --git a/worker/src/constants/default-model-prices.json b/worker/src/constants/default-model-prices.json
index 4407ccd1f2..47d6e5359d 100644
--- a/worker/src/constants/default-model-prices.json
+++ b/worker/src/constants/default-model-prices.json
@@ -1442,5 +1442,43 @@
},
"tokenizer_config": null,
"tokenizer_id": null
+ },
+ {
+ "id": "cm7ka7561000108js3t9tb3at",
+ "model_name": "claude-3.7-sonnet-20250219",
+ "match_pattern": "(?i)^(claude-3.7-sonnet-20250219|anthropic\\.claude-3.7-sonnet-20250219-v2:0|claude-3-7-sonnet-V2@20250219)$",
+ "created_at": "2025-02-25T09:35:39.000Z",
+ "updated_at": "2025-02-25T09:35:39.000Z",
+ "prices": {
+ "input": 3e-6,
+ "input_tokens": 3e-6,
+ "output": 15e-6,
+ "output_tokens": 15e-6,
+ "cache_creation_input_tokens": 3.75e-6,
+ "input_cache_creation": 3.75e-6,
+ "cache_read_input_tokens": 0.3e-6,
+ "input_cache_read": 0.3e-6
+ },
+ "tokenizer_config": null,
+ "tokenizer_id": "claude"
+ },
+ {
+ "id": "cm7ka7zob000208jsfs9h5ajj",
+ "model_name": "claude-3.7-sonnet-latest",
+ "match_pattern": "(?i)^(claude-3-7-sonnet-latest)$",
+ "created_at": "2025-02-25T09:35:39.000Z",
+ "updated_at": "2025-02-25T09:35:39.000Z",
+ "prices": {
+ "input": 3e-6,
+ "input_tokens": 3e-6,
+ "output": 15e-6,
+ "output_tokens": 15e-6,
+ "cache_creation_input_tokens": 3.75e-6,
+ "input_cache_creation": 3.75e-6,
+ "cache_read_input_tokens": 0.3e-6,
+ "input_cache_read": 0.3e-6
+ },
+ "tokenizer_config": null,
+ "tokenizer_id": "claude"
}
]