Skip to content

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

feat: add haiku model (#1414)

Max Deichmann6754733aac37
diff --git a/web/prisma/migrations/20240314090110_claude_model/migration.sql b/web/prisma/migrations/20240314090110_claude_model/migration.sql
new file mode 100644
index 0000000000..650bb51aa8
--- /dev/null
+++ b/web/prisma/migrations/20240314090110_claude_model/migration.sql
@@ -0,0 +1,17 @@
+INSERT INTO models (
+ id,
+ project_id,
+ model_name,
+ match_pattern,
+ start_date,
+ input_price,
+ output_price,
+ total_price,
+ unit,
+ tokenizer_id,
+ tokenizer_config
+)
+VALUES
+ -- https://docs.anthropic.com/claude/docs/models-overview, https://docs.anthropic.com/claude/docs/quickstart-guide
+ ('cltr0w45b000008k1407o9qv1', NULL, 'claude-3-haiku-20240307', '(?i)^(claude-3-haiku-20240307)$', NULL, 0.00000025, 0.00000125, NULL, 'TOKENS', 'claude', NULL)
+