:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
chore(llma): Update LLM costs (#78563)
scheduled-actions-posthog[bot]6ac5d7ced43b
diff --git a/nodejs/src/ingestion/pipelines/ai/costs/providers/canonical-providers.ts b/nodejs/src/ingestion/pipelines/ai/costs/providers/canonical-providers.tsindex 7d2b6580f8a2..b74dd54fb1b4 100644--- a/nodejs/src/ingestion/pipelines/ai/costs/providers/canonical-providers.ts+++ b/nodejs/src/ingestion/pipelines/ai/costs/providers/canonical-providers.ts@@ -1,5 +1,5 @@// Auto-generated from OpenRouter API - Do not edit manually-// Generated at: 2026-08-05 10:49:48 UTC+// Generated at: 2026-08-05 20:29:07 UTCexport type CanonicalProvider =| 'default'@@ -149,7 +149,6 @@ export type CanonicalProvider =| 'reka-fp8'| 'relace-bf16'| 'relace-fp8'- | 'sail-research-fp4'| 'sail-research-fp8'| 'sail-research-int4'| 'sakana'@@ -167,7 +166,7 @@ export type CanonicalProvider =| 'tencent-fp8'| 'together'| 'together-fp8'- | 'upstage'+ | 'upstage-fp4'| 'venice'| 'venice-bf16'| 'venice-fp16'diff --git a/nodejs/src/ingestion/pipelines/ai/costs/providers/llm-costs.json b/nodejs/src/ingestion/pipelines/ai/costs/providers/llm-costs.jsonindex 65a83ced4b9d..2d2ada03d6e3 100644--- a/nodejs/src/ingestion/pipelines/ai/costs/providers/llm-costs.json+++ b/nodejs/src/ingestion/pipelines/ai/costs/providers/llm-costs.json@@ -51,9 +51,9 @@"model": "~deepseek/deepseek-v4-flash-latest","cost": {"default": {- "prompt_token": 9e-8,- "completion_token": 1.8e-7,- "cache_read_token": 1.8e-8+ "prompt_token": 8.3e-8,+ "completion_token": 1.67e-7,+ "cache_read_token": 2.7e-9}}},@@ -1682,8 +1682,9 @@"completion_token": 5e-7},"morph": {- "prompt_token": 1.39e-7,- "completion_token": 2.78e-7+ "prompt_token": 8.3e-8,+ "completion_token": 1.67e-7,+ "cache_read_token": 2.7e-9},"novita-fp8": {"prompt_token": 1.4e-7,@@ -1705,11 +1706,6 @@"completion_token": 4e-7,"cache_read_token": 7e-8},- "sail-research-fp4": {- "prompt_token": 9e-8,- "completion_token": 1.8e-7,- "cache_read_token": 2e-8- },"siliconflow-fp8": {"prompt_token": 1.3e-7,"completion_token": 2.8e-7,@@ -1765,6 +1761,11 @@"completion_token": 2.8e-7,"cache_read_token": 2.8e-8},+ "coreweave-fp8": {+ "prompt_token": 1.3e-7,+ "completion_token": 2.8e-7,+ "cache_read_token": 7e-8+ },"deepinfra-fp4": {"prompt_token": 9e-8,"completion_token": 1.8e-7,@@ -1800,8 +1801,9 @@"completion_token": 5e-7},"morph": {- "prompt_token": 1.39e-7,- "completion_token": 2.78e-7+ "prompt_token": 8.3e-8,+ "completion_token": 1.67e-7,+ "cache_read_token": 2.7e-9},"novita-fp8": {"prompt_token": 1.4e-7,@@ -3922,6 +3924,23 @@}}},+ {+ "model": "meta/muse-spark-1.2",+ "cost": {+ "default": {+ "prompt_token": 0.00000125,+ "completion_token": 0.00000425,+ "cache_read_token": 1.5e-7,+ "web_search": 0.0025+ },+ "meta": {+ "prompt_token": 0.00000125,+ "completion_token": 0.00000425,+ "cache_read_token": 1.5e-7,+ "web_search": 0.0025+ }+ }+ },{"model": "microsoft/phi-4","cost": {@@ -4044,7 +4063,7 @@"model": "minimax/minimax-m2.5","cost": {"default": {- "prompt_token": 1.5e-7,+ "prompt_token": 2.2e-7,"completion_token": 9e-7,"cache_read_token": 5e-8},@@ -4064,7 +4083,7 @@"cache_read_token": 6e-8},"inceptron-fp8": {- "prompt_token": 1.5e-7,+ "prompt_token": 2.2e-7,"completion_token": 9e-7,"cache_read_token": 5e-8},@@ -4738,7 +4757,7 @@"model": "moonshotai/kimi-k2.7-code","cost": {"default": {- "prompt_token": 7.3e-7,+ "prompt_token": 7e-7,"completion_token": 0.0000035,"cache_read_token": 1.5e-7},@@ -4748,7 +4767,7 @@"cache_read_token": 1.9e-7},"ambient-int4": {- "prompt_token": 7.3e-7,+ "prompt_token": 7e-7,"completion_token": 0.0000035,"cache_read_token": 1.5e-7},@@ -7089,8 +7108,8 @@"model": "qwen/qwen3-235b-a22b-2507","cost": {"default": {- "prompt_token": 1.495e-7,- "completion_token": 5.98e-7+ "prompt_token": 9e-8,+ "completion_token": 5.5e-7},"alibaba-fp8": {"prompt_token": 1.495e-7,@@ -7513,8 +7532,8 @@"model": "qwen/qwen3-vl-235b-a22b-thinking","cost": {"default": {- "prompt_token": 9.8e-7,- "completion_token": 0.00000395+ "prompt_token": 4e-7,+ "completion_token": 0.000004},"alibaba-fp8": {"prompt_token": 4e-7,@@ -8424,7 +8443,7 @@"completion_token": 6e-7,"cache_read_token": 1.5e-8},- "upstage": {+ "upstage-fp4": {"prompt_token": 1.5e-7,"completion_token": 6e-7,"cache_read_token": 1.5e-8@@ -8983,9 +9002,9 @@"model": "z-ai/glm-5.1","cost": {"default": {- "prompt_token": 9.66e-7,- "completion_token": 0.000003036,- "cache_read_token": 1.794e-7+ "prompt_token": 9.52e-7,+ "completion_token": 0.000002992,+ "cache_read_token": 1.768e-7},"alibaba-fp8": {"prompt_token": 0.00000133,@@ -9126,11 +9145,6 @@"completion_token": 0.0000044,"cache_read_token": 1.4e-7},- "chutes-fp4": {- "prompt_token": 0.00000125,- "completion_token": 0.00000395,- "cache_read_token": 1.25e-7- },"cloudflare": {"prompt_token": 0.0000014,"completion_token": 0.0000044,