: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 (#69479)
scheduled-actions-posthog[bot]1776d433149d
diff --git a/nodejs/src/ingestion/pipelines/ai/costs/providers/canonical-providers.ts b/nodejs/src/ingestion/pipelines/ai/costs/providers/canonical-providers.tsindex 8785386f4557..9827f9818107 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-08 10:40:42 UTC+// Generated at: 2026-07-08 20:26:29 UTCexport type CanonicalProvider =| 'default'diff --git a/nodejs/src/ingestion/pipelines/ai/costs/providers/llm-costs.json b/nodejs/src/ingestion/pipelines/ai/costs/providers/llm-costs.jsonindex 8438aa5f0860..56ccb25894e3 100644--- a/nodejs/src/ingestion/pipelines/ai/costs/providers/llm-costs.json+++ b/nodejs/src/ingestion/pipelines/ai/costs/providers/llm-costs.json@@ -81,7 +81,7 @@"model": "~moonshotai/kimi-latest","cost": {"default": {- "prompt_token": 6.6e-7,+ "prompt_token": 6.5e-7,"completion_token": 0.00000341,"cache_read_token": 1.4e-7}@@ -109,6 +109,17 @@}}},+ {+ "model": "~x-ai/grok-latest",+ "cost": {+ "default": {+ "prompt_token": 0.000002,+ "completion_token": 0.000006,+ "cache_read_token": 5e-7,+ "web_search": 0.005+ }+ }+ },{"model": "ai21/jamba-large-1.7","cost": {@@ -1648,7 +1659,7 @@"cache_read_token": 1e-7},"siliconflow-fp8": {- "prompt_token": 0.0000016,+ "prompt_token": 0.00000150162,"completion_token": 0.000003135,"cache_read_token": 1.35e-7},@@ -2572,8 +2583,8 @@"cache_read_token": 7.5e-8},"sambanova": {- "prompt_token": 2.2e-7,- "completion_token": 5.9e-7+ "prompt_token": 3.8e-7,+ "completion_token": 0.00000115},"siliconflow-fp8": {"prompt_token": 1.3e-7,@@ -3884,7 +3895,7 @@"model": "moonshotai/kimi-k2.6","cost": {"default": {- "prompt_token": 6.6e-7,+ "prompt_token": 6.5e-7,"completion_token": 0.00000341,"cache_read_token": 1.4e-7},@@ -3934,7 +3945,7 @@"cache_read_token": 1.6e-7},"inceptron-int4": {- "prompt_token": 6.6e-7,+ "prompt_token": 6.5e-7,"completion_token": 0.00000341,"cache_read_token": 1.4e-7},@@ -3969,7 +3980,7 @@},"siliconflow-fp8": {"prompt_token": 7.7e-7,- "completion_token": 0.000004,+ "completion_token": 0.0000034,"cache_read_token": 2e-7},"streamlake-fp8": {@@ -4003,9 +4014,9 @@"cache_read_token": 1.5e-7},"ambient-int4": {- "prompt_token": 8.5e-7,- "completion_token": 0.00000383,- "cache_read_token": 1.8e-7+ "prompt_token": 9e-7,+ "completion_token": 0.0000038,+ "cache_read_token": 1.7e-7},"atlas-cloud-int4": {"prompt_token": 9.5e-7,@@ -4028,9 +4039,9 @@"cache_read_token": 1.5e-7},"modelrun-fp4": {- "prompt_token": 9.2e-7,- "completion_token": 0.000004,- "cache_read_token": 1.9e-7+ "prompt_token": 8.5e-7,+ "completion_token": 0.00000375,+ "cache_read_token": 1.6e-7},"moonshotai-highspeed": {"prompt_token": 0.0000019,@@ -4311,10 +4322,6 @@"completion_token": 0.0000022,"cache_read_token": 1e-7},- "nebius-fp4": {- "prompt_token": 0.000001,- "completion_token": 0.000003- },"together": {"prompt_token": 6e-7,"completion_token": 0.0000036,@@ -7239,14 +7246,19 @@"model": "tencent/hy3","cost": {"default": {- "prompt_token": 2e-7,- "completion_token": 8e-7,- "cache_read_token": 5e-7+ "prompt_token": 1.4e-7,+ "completion_token": 5.8e-7,+ "cache_read_token": 3.5e-8},"atlas-cloud-fp8": {"prompt_token": 2e-7,"completion_token": 8e-7,"cache_read_token": 5e-7+ },+ "gmicloud-bf16": {+ "prompt_token": 1.4e-7,+ "completion_token": 5.8e-7,+ "cache_read_token": 3.5e-8}}},@@ -7457,6 +7469,29 @@}}},+ {+ "model": "x-ai/grok-4.5",+ "cost": {+ "default": {+ "prompt_token": 0.000002,+ "completion_token": 0.000006,+ "cache_read_token": 5e-7,+ "web_search": 0.005+ },+ "xai": {+ "prompt_token": 0.000002,+ "completion_token": 0.000006,+ "cache_read_token": 5e-7,+ "web_search": 0.005+ },+ "xai-zdr": {+ "prompt_token": 0.000002,+ "completion_token": 0.000006,+ "cache_read_token": 5e-7,+ "web_search": 0.005+ }+ }+ },{"model": "x-ai/grok-build-0.1","cost": {@@ -7951,9 +7986,9 @@"model": "z-ai/glm-5.2","cost": {"default": {- "prompt_token": 9.3e-7,- "completion_token": 0.000003,- "cache_read_token": 1.8e-7+ "prompt_token": 4.2e-7,+ "completion_token": 0.00000132,+ "cache_read_token": 7.8e-8},"akashml-fp8": {"prompt_token": 0.0000013,@@ -7975,9 +8010,9 @@"cache_read_token": 2.34e-7},"baidu-fp8": {- "prompt_token": 0.00000112,- "completion_token": 0.00000396,- "cache_read_token": 2.08e-7+ "prompt_token": 9.7e-7,+ "completion_token": 0.00000307,+ "cache_read_token": 1.81e-7},"cloudflare": {"prompt_token": 0.0000014,@@ -8020,7 +8055,7 @@"cache_read_token": 1.82e-7},"inceptron-fp4": {- "prompt_token": 9.7e-7,+ "prompt_token": 9e-7,"completion_token": 0.00000308,"cache_read_token": 1.8e-7},@@ -8034,9 +8069,9 @@"completion_token": 0.0000041},"novita-fp8": {- "prompt_token": 9.8e-7,- "completion_token": 0.00000308,- "cache_read_token": 1.82e-7+ "prompt_token": 5.6e-7,+ "completion_token": 0.00000176,+ "cache_read_token": 1.04e-7},"parasail-fp4": {"prompt_token": 0.0000014,@@ -8054,9 +8089,9 @@"cache_read_token": 2.6e-7},"streamlake-fp8": {- "prompt_token": 0.00000126,- "completion_token": 0.00000396,- "cache_read_token": 2.34e-7+ "prompt_token": 4.2e-7,+ "completion_token": 0.00000132,+ "cache_read_token": 7.8e-8},"together": {"prompt_token": 0.0000014,