Skip to content

: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.

chore(llma): Update LLM costs (#74154)

scheduled-actions-posthog[bot]215878cc04d6
diff --git a/nodejs/src/ingestion/pipelines/ai/costs/providers/canonical-providers.ts b/nodejs/src/ingestion/pipelines/ai/costs/providers/canonical-providers.ts
index 721e75fab9b1..09546f57556d 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-27 20:28:49 UTC
+// Generated at: 2026-07-28 10:48:57 UTC
export type CanonicalProvider =
| 'default'
@@ -92,6 +92,7 @@ export type CanonicalProvider =
| 'ionstream-bf16'
| 'ionstream-fp4'
| 'ionstream-fp8'
+ | 'mancer-fp4'
| 'mancer-fp8'
| 'mara'
| 'meta'
@@ -142,6 +143,7 @@ export type CanonicalProvider =
| 'relace-bf16'
| 'relace-fp8'
| 'sail-research-fp8'
+ | 'sail-research-int4'
| 'sakana'
| 'sambanova'
| 'sambanova-fp8'
@@ -156,7 +158,6 @@ export type CanonicalProvider =
| 'streamlake-fp8'
| 'tencent-fp8'
| 'together'
- | 'together-fp4'
| 'together-fp8'
| 'upstage'
| 'venice'
diff --git a/nodejs/src/ingestion/pipelines/ai/costs/providers/llm-costs.json b/nodejs/src/ingestion/pipelines/ai/costs/providers/llm-costs.json
index 7de3fab93ea5..8e2a8622d011 100644
--- a/nodejs/src/ingestion/pipelines/ai/costs/providers/llm-costs.json
+++ b/nodejs/src/ingestion/pipelines/ai/costs/providers/llm-costs.json
@@ -1637,19 +1637,14 @@
"completion_token": 1.876e-7,
"cache_read_token": 1.876e-8
},
- "io-net-fp8": {
- "prompt_token": 1.39e-7,
- "completion_token": 2.78e-7,
- "cache_read_token": 6.95e-8
- },
"ionstream-fp4": {
"prompt_token": 1.4e-7,
"completion_token": 2.8e-7,
"cache_read_token": 7e-8
},
- "mancer-fp8": {
+ "mancer-fp4": {
"prompt_token": 2.5e-7,
- "completion_token": 0.000001
+ "completion_token": 5e-7
},
"morph": {
"prompt_token": 1.39e-7,
@@ -1671,9 +1666,9 @@
"cache_read_token": 2.8e-8
},
"streamlake-fp8": {
- "prompt_token": 8.96e-8,
- "completion_token": 1.792e-7,
- "cache_read_token": 1.792e-8
+ "prompt_token": 9.1e-8,
+ "completion_token": 1.82e-7,
+ "cache_read_token": 1.82e-8
},
"venice": {
"prompt_token": 1.38e-7,
@@ -3231,8 +3226,8 @@
"completion_token": 3.8e-7
},
"deepinfra-turbo": {
- "prompt_token": 1.2e-7,
- "completion_token": 3.7e-7
+ "prompt_token": 9e-8,
+ "completion_token": 3.4e-7
},
"friendli": {
"prompt_token": 1.4e-7,
@@ -4031,11 +4026,6 @@
"prompt_token": 3e-7,
"completion_token": 0.0000015,
"cache_read_token": 1.5e-7
- },
- "together-fp4": {
- "prompt_token": 3e-7,
- "completion_token": 0.0000012,
- "cache_read_token": 6e-8
}
}
},
@@ -4595,6 +4585,11 @@
"completion_token": 0.0000046,
"cache_read_token": 3.7e-7
},
+ "sail-research-int4": {
+ "prompt_token": 0.000001,
+ "completion_token": 0.000004,
+ "cache_read_token": 2e-7
+ },
"siliconflow-fp8": {
"prompt_token": 7.7e-7,
"completion_token": 0.0000034,
@@ -4720,6 +4715,11 @@
"completion_token": 0.000015,
"cache_read_token": 3e-7
},
+ "fireworks-fast": {
+ "prompt_token": 0.0000045,
+ "completion_token": 0.0000225,
+ "cache_read_token": 4.5e-7
+ },
"moonshotai-mxfp4": {
"prompt_token": 0.000003,
"completion_token": 0.000015,
@@ -4936,9 +4936,9 @@
"model": "nvidia/nemotron-3-ultra-550b-a55b",
"cost": {
"default": {
- "prompt_token": 5e-7,
- "completion_token": 0.0000022,
- "cache_read_token": 1e-7
+ "prompt_token": 6e-7,
+ "completion_token": 0.0000036,
+ "cache_read_token": 2e-7
},
"baseten-fp4": {
"prompt_token": 6e-7,
@@ -5552,18 +5552,6 @@
"completion_token": 0.00001,
"cache_read_token": 1.3e-7,
"web_search": 0.01
- },
- "openai": {
- "prompt_token": 0.00000125,
- "completion_token": 0.00001,
- "cache_read_token": 1.25e-7,
- "web_search": 0.01
- },
- "openai-priority": {
- "prompt_token": 0.0000025,
- "completion_token": 0.00002,
- "cache_read_token": 2.5e-7,
- "web_search": 0.01
}
}
},
@@ -6369,7 +6357,7 @@
"cache_read_token": 7.5e-8
},
"mancer-fp8": {
- "prompt_token": 5e-8,
+ "prompt_token": 5.5e-8,
"completion_token": 5e-7
},
"mara": {
@@ -7513,10 +7501,6 @@
"prompt_token": 2e-7,
"completion_token": 7e-7
},
- "phala": {
- "prompt_token": 2e-7,
- "completion_token": 7e-7
- },
"siliconflow-fp8": {
"prompt_token": 2.9e-7,
"completion_token": 0.000001
@@ -7970,6 +7954,23 @@
}
}
},
+ {
+ "model": "qwen/qwen3.7-flash",
+ "cost": {
+ "default": {
+ "prompt_token": 3e-8,
+ "completion_token": 1.3e-7,
+ "cache_read_token": 6e-9,
+ "cache_write_token": 3.8e-8
+ },
+ "alibaba": {
+ "prompt_token": 3e-8,
+ "completion_token": 1.3e-7,
+ "cache_read_token": 6e-9,
+ "cache_write_token": 3.8e-8
+ }
+ }
+ },
{
"model": "qwen/qwen3.7-max",
"cost": {
@@ -8540,6 +8541,11 @@
"completion_token": 2.24e-7,
"cache_read_token": 2.4e-9
},
+ "io-net-fp8": {
+ "prompt_token": 1.68e-7,
+ "completion_token": 3.36e-7,
+ "cache_read_token": 8.4e-8
+ },
"novita-fp8": {
"prompt_token": 1.68e-7,
"completion_token": 3.36e-7,
@@ -8998,9 +9004,9 @@
"model": "z-ai/glm-5.2",
"cost": {
"default": {
- "prompt_token": 7.602e-7,
- "completion_token": 0.0000023892,
- "cache_read_token": 1.4118e-7
+ "prompt_token": 7.686e-7,
+ "completion_token": 0.0000024156,
+ "cache_read_token": 1.4274e-7
},
"akashml-fp8": {
"prompt_token": 7.7e-7,
@@ -9097,11 +9103,6 @@
"completion_token": 0.0000029,
"cache_read_token": 1.7e-7
},
- "io-net-fp8": {
- "prompt_token": 0.000002750311,
- "completion_token": 0.000006016305,
- "cache_read_token": 0.000001375156
- },
"ionstream-fp4": {
"prompt_token": 0.0000014,
"completion_token": 0.0000044,
@@ -9113,9 +9114,9 @@
"cache_read_token": 2.2e-7
},
"novita-fp8": {
- "prompt_token": 7.574e-7,
- "completion_token": 0.0000023804,
- "cache_read_token": 1.4066e-7
+ "prompt_token": 7.686e-7,
+ "completion_token": 0.0000024156,
+ "cache_read_token": 1.4274e-7
},
"parasail-fp4": {
"prompt_token": 0.0000014,
@@ -9138,9 +9139,9 @@
"cache_read_token": 2.6e-7
},
"streamlake-fp8": {
- "prompt_token": 7.595e-7,
- "completion_token": 0.000002387,
- "cache_read_token": 1.4105e-7
+ "prompt_token": 7.679e-7,
+ "completion_token": 0.0000024134,
+ "cache_read_token": 1.4261e-7
},
"together": {
"prompt_token": 0.0000014,