: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 (#72525)
scheduled-actions-posthog[bot]d63c93d03206
diff --git a/nodejs/src/ingestion/pipelines/ai/costs/providers/canonical-providers.ts b/nodejs/src/ingestion/pipelines/ai/costs/providers/canonical-providers.tsindex 5dbb7f330b09..f5b831f40f2d 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-07-20 20:27:17 UTC+// Generated at: 2026-07-21 10:42:35 UTCexport type CanonicalProvider =| 'default'@@ -39,6 +39,8 @@ export type CanonicalProvider =| 'cloudflare'| 'cloudflare-fp8'| 'cohere'+ | 'crusoe-fp4'+ | 'crusoe-fp8'| 'darkbloom'| 'decart-fp4'| 'deepinfra'diff --git a/nodejs/src/ingestion/pipelines/ai/costs/providers/llm-costs.json b/nodejs/src/ingestion/pipelines/ai/costs/providers/llm-costs.jsonindex 09c92a1d48a3..83422815b7af 100644--- a/nodejs/src/ingestion/pipelines/ai/costs/providers/llm-costs.json+++ b/nodejs/src/ingestion/pipelines/ai/costs/providers/llm-costs.json@@ -1488,9 +1488,9 @@"model": "deepseek/deepseek-v4-flash","cost": {"default": {- "prompt_token": 9.8e-8,- "completion_token": 1.96e-7,- "cache_read_token": 1.96e-8+ "prompt_token": 9.38e-8,+ "completion_token": 1.876e-7,+ "cache_read_token": 1.876e-8},"akashml-fp8": {"prompt_token": 1.4e-7,@@ -1502,9 +1502,9 @@"cache_read_token": 2.68e-8},"ambient-fp4": {- "prompt_token": 5e-7,- "completion_token": 8e-7,- "cache_read_token": 2e-7+ "prompt_token": 1.4e-7,+ "completion_token": 2.8e-7,+ "cache_read_token": 2.8e-8},"atlas-cloud-fp4": {"prompt_token": 1.4e-7,@@ -1516,6 +1516,11 @@"completion_token": 1.966e-7,"cache_read_token": 1.97e-8},+ "cloudflare": {+ "prompt_token": 1.4e-7,+ "completion_token": 2.8e-7,+ "cache_read_token": 2.8e-8+ },"deepinfra-fp4": {"prompt_token": 9e-8,"completion_token": 1.8e-7,@@ -1537,9 +1542,9 @@"cache_read_token": 2.8e-8},"gmicloud-fp8": {- "prompt_token": 9.8e-8,- "completion_token": 1.96e-7,- "cache_read_token": 1.96e-8+ "prompt_token": 9.38e-8,+ "completion_token": 1.876e-7,+ "cache_read_token": 1.876e-8},"io-net-fp8": {"prompt_token": 2.39e-7,@@ -1571,9 +1576,9 @@"cache_read_token": 2.8e-8},"streamlake-fp8": {- "prompt_token": 9.66e-8,- "completion_token": 1.932e-7,- "cache_read_token": 1.932e-8+ "prompt_token": 9.24e-8,+ "completion_token": 1.848e-7,+ "cache_read_token": 1.848e-8},"venice": {"prompt_token": 1.38e-7,@@ -1636,9 +1641,9 @@"cache_read_token": 1.45e-7},"gmicloud-fp8": {- "prompt_token": 0.000001131,- "completion_token": 0.000002262,- "cache_read_token": 9.425e-8+ "prompt_token": 0.000001044,+ "completion_token": 0.000002088,+ "cache_read_token": 8.7e-8},"ionstream-fp4": {"prompt_token": 0.000001131,@@ -2977,9 +2982,8 @@"model": "google/gemma-4-31b-it","cost": {"default": {- "prompt_token": 2.2e-7,- "completion_token": 5.5e-7,- "cache_read_token": 1.2e-7+ "prompt_token": 1.2e-7,+ "completion_token": 3.7e-7},"cerebras-fp16": {"prompt_token": 9.9e-7,@@ -3829,7 +3833,7 @@"completion_token": 0.0000012,"cache_read_token": 6e-8},- "deepinfra-bf16": {+ "deepinfra-fp8": {"prompt_token": 3e-7,"completion_token": 0.0000012,"cache_read_token": 6e-8@@ -4670,8 +4674,8 @@"model": "nvidia/nemotron-3-super-120b-a12b","cost": {"default": {- "prompt_token": 8.5e-8,- "completion_token": 4e-7+ "prompt_token": 8e-8,+ "completion_token": 4.5e-7},"deepinfra-bf16": {"prompt_token": 8.5e-8,@@ -4718,6 +4722,11 @@"completion_token": 0.0000024,"cache_read_token": 1.2e-7},+ "crusoe-fp4": {+ "prompt_token": 0.000001,+ "completion_token": 0.0000032,+ "cache_read_token": 2.5e-7+ },"deepinfra-fp4": {"prompt_token": 5e-7,"completion_token": 0.0000022,@@ -6280,8 +6289,8 @@"completion_token": 1.5e-7},"parasail-fp4": {- "prompt_token": 4e-8,- "completion_token": 2e-7,+ "prompt_token": 3e-8,+ "completion_token": 1.5e-7,"cache_read_token": 2e-8},"phala": {@@ -7202,9 +7211,8 @@"model": "qwen/qwen3-next-80b-a3b-instruct","cost": {"default": {- "prompt_token": 1e-7,- "completion_token": 0.0000011,- "cache_read_token": 7e-8+ "prompt_token": 9.75e-8,+ "completion_token": 7.8e-7},"alibaba": {"prompt_token": 9.75e-8,@@ -7966,9 +7974,9 @@"model": "tencent/hy3","cost": {"default": {- "prompt_token": 2e-7,- "completion_token": 8e-7,- "cache_read_token": 5e-8+ "prompt_token": 1.4e-7,+ "completion_token": 5.8e-7,+ "cache_read_token": 3.5e-8},"atlas-cloud-fp8": {"prompt_token": 2e-7,@@ -7985,6 +7993,11 @@"completion_token": 5.8e-7,"cache_read_token": 3.5e-8},+ "novita": {+ "prompt_token": 1.4e-7,+ "completion_token": 5.8e-7,+ "cache_read_token": 3.5e-8+ },"tencent-fp8": {"prompt_token": 1.32e-7,"completion_token": 5.28e-7,@@ -8012,19 +8025,6 @@}}},- {- "model": "tencent/hy3:free",- "cost": {- "default": {- "prompt_token": 0,- "completion_token": 0- },- "novita": {- "prompt_token": 0,- "completion_token": 0- }- }- },{"model": "thedrummer/cydonia-24b-v4.1","cost": {@@ -8716,6 +8716,11 @@"completion_token": 0.00000308,"cache_read_token": 4.9e-7},+ "crusoe-fp8": {+ "prompt_token": 0.0000012,+ "completion_token": 0.0000044,+ "cache_read_token": 2.5e-7+ },"deepinfra-fp4": {"prompt_token": 0.00000105,"completion_token": 0.0000035,@@ -8791,9 +8796,9 @@"model": "z-ai/glm-5.2","cost": {"default": {- "prompt_token": 9.408e-7,- "completion_token": 0.0000029568,- "cache_read_token": 1.7472e-7+ "prompt_token": 9.366e-7,+ "completion_token": 0.0000029436,+ "cache_read_token": 1.7394e-7},"akashml-fp8": {"prompt_token": 0.0000013,@@ -8865,9 +8870,9 @@"cache_read_token": 2.6e-7},"gmicloud-fp8": {- "prompt_token": 0.0000014,- "completion_token": 0.0000044,- "cache_read_token": 2.6e-7+ "prompt_token": 9.24e-7,+ "completion_token": 0.000002904,+ "cache_read_token": 1.716e-7},"inceptron-fp4": {"prompt_token": 9.4e-7,@@ -8875,9 +8880,9 @@"cache_read_token": 1.7e-7},"io-net-fp8": {- "prompt_token": 0.000002576816,- "completion_token": 0.000005636785,- "cache_read_token": 0.000001288408+ "prompt_token": 0.000002834498,+ "completion_token": 0.000006200464,+ "cache_read_token": 0.000001417249},"ionstream-fp4": {"prompt_token": 0.0000014,@@ -8890,9 +8895,9 @@"cache_read_token": 2.2e-7},"novita-fp8": {- "prompt_token": 9.408e-7,- "completion_token": 0.0000029568,- "cache_read_token": 1.7472e-7+ "prompt_token": 9.366e-7,+ "completion_token": 0.0000029436,+ "cache_read_token": 1.7394e-7},"parasail-fp4": {"prompt_token": 0.0000014,@@ -8910,9 +8915,9 @@"cache_read_token": 2.6e-7},"streamlake-fp8": {- "prompt_token": 9.401e-7,- "completion_token": 0.0000029546,- "cache_read_token": 1.7459e-7+ "prompt_token": 8.4e-7,+ "completion_token": 0.00000264,+ "cache_read_token": 1.56e-7},"together": {"prompt_token": 0.0000014,