Skip to content

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

feat(models): add support for anthropic 3.5 sonnet (#2407)

Marc Klingen87fd20ec9e9d
diff --git a/packages/shared/prisma/migrations/20240624133412_models_add_anthropic_3_5_sonnet/migration.sql b/packages/shared/prisma/migrations/20240624133412_models_add_anthropic_3_5_sonnet/migration.sql
new file mode 100644
index 0000000000..f2f6dc0350
--- /dev/null
+++ b/packages/shared/prisma/migrations/20240624133412_models_add_anthropic_3_5_sonnet/migration.sql
@@ -0,0 +1,15 @@
+INSERT INTO models (
+ id,
+ project_id,
+ model_name,
+ match_pattern,
+ start_date,
+ input_price,
+ output_price,
+ total_price,
+ unit,
+ tokenizer_id
+)
+VALUES
+ -- add 3.5 sonnet model
+ ('clxt0n0m60000pumz1j5b7zsf', NULL, 'claude-3-5-sonnet-20240620', '(?i)^(claude-3-5-sonnet(-|@)?20240620)$', NULL, 0.000003, 0.000015, NULL, 'TOKENS', 'claude')
\ No newline at end of file