🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
feat: add pricing information for gpt4o (#2047)
Marc Klingen38e472ec66cf
diff --git a/packages/shared/prisma/migrations/20240512155021_add_pricing_gpt4o/migration.sql b/packages/shared/prisma/migrations/20240512155021_add_pricing_gpt4o/migration.sqlnew file mode 100644index 0000000000..45606ebab9--- /dev/null+++ b/packages/shared/prisma/migrations/20240512155021_add_pricing_gpt4o/migration.sql@@ -0,0 +1,22 @@+INSERT INTO models (+ id,+ project_id,+ model_name,+ match_pattern,+ start_date,+ input_price,+ output_price,+ total_price,+ unit,+ tokenizer_id,+ tokenizer_config+)+VALUES+ -- gpt-4o+ -- tokenizer_config to be added when js-tiktoken is upgraded, gpt-4o is not supported yet+ ('b9854a5c92dc496b997d99d20', NULL, 'gpt-4o', '(?i)^(gpt-4o)$', NULL, 0.000005, 0.000015, NULL, 'TOKENS', 'openai', NULL),++ -- gpt-4o-2024-05-13+ -- tokenizer_config to be added when js-tiktoken is upgraded, gpt-4o is not supported yet+ ('b9854a5c92dc496b997d99d21', NULL, 'gpt-4o-2024-05-13', '(?i)^(gpt-4o-2024-05-13)$', NULL, 0.000005, 0.000015, NULL, 'TOKENS', 'openai', NULL)+\ No newline at end of file