Skip to content

Build AI methods with your coding agent, then run them anywhere: as an MCP for chatbots, as a webapp for people, or via API for your software.

feat(models): add claude-5-sonnet on Anthropic backend

Louis Choqueld737572ca8eb
diff --git a/.pipelex-dev/test_profiles.toml b/.pipelex-dev/test_profiles.toml
index 21feb717e..1466342a7 100644
--- a/.pipelex-dev/test_profiles.toml
+++ b/.pipelex-dev/test_profiles.toml
@@ -70,6 +70,7 @@ anthropic = [
"claude-4.6-opus",
"claude-4.7-opus",
"claude-4.8-opus",
+ "claude-5-sonnet",
]
# --- DeepSeek Models ---
diff --git a/.pipelex/inference/backends/anthropic.toml b/.pipelex/inference/backends/anthropic.toml
index 9421f979c..41ec5e603 100644
--- a/.pipelex/inference/backends/anthropic.toml
+++ b/.pipelex/inference/backends/anthropic.toml
@@ -140,3 +140,14 @@ max_prompt_images = 100
costs = { input = 5.0, output = 25.0 }
thinking_mode = "adaptive"
listed_constraints = ["temperature_unsupported"]
+
+# --- Claude 5 Series ----------------------------------------------------------
+[claude-5-sonnet]
+model_id = "claude-sonnet-5"
+max_tokens = 64000
+inputs = ["text", "images", "pdf"]
+outputs = ["text", "structured"]
+max_prompt_images = 100
+costs = { input = 3.0, output = 15.0 }
+thinking_mode = "adaptive"
+listed_constraints = ["temperature_unsupported"]
diff --git a/pipelex/kit/configs/inference/backends/anthropic.toml b/pipelex/kit/configs/inference/backends/anthropic.toml
index 9421f979c..41ec5e603 100644
--- a/pipelex/kit/configs/inference/backends/anthropic.toml
+++ b/pipelex/kit/configs/inference/backends/anthropic.toml
@@ -140,3 +140,14 @@ max_prompt_images = 100
costs = { input = 5.0, output = 25.0 }
thinking_mode = "adaptive"
listed_constraints = ["temperature_unsupported"]
+
+# --- Claude 5 Series ----------------------------------------------------------
+[claude-5-sonnet]
+model_id = "claude-sonnet-5"
+max_tokens = 64000
+inputs = ["text", "images", "pdf"]
+outputs = ["text", "structured"]
+max_prompt_images = 100
+costs = { input = 3.0, output = 15.0 }
+thinking_mode = "adaptive"
+listed_constraints = ["temperature_unsupported"]