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 (#62647)

scheduled-actions-posthog[bot]5e60adb07574
diff --git a/nodejs/src/ingestion/ai/costs/providers/canonical-providers.ts b/nodejs/src/ingestion/ai/costs/providers/canonical-providers.ts
index c9cdc374b0b8..e72755453b8c 100644
--- a/nodejs/src/ingestion/ai/costs/providers/canonical-providers.ts
+++ b/nodejs/src/ingestion/ai/costs/providers/canonical-providers.ts
@@ -1,5 +1,5 @@
// Auto-generated from OpenRouter API - Do not edit manually
-// Generated at: 2026-06-09 20:36:32 UTC
+// Generated at: 2026-06-10 11:13:34 UTC
export type CanonicalProvider =
| 'default'
@@ -147,5 +147,5 @@ export type CanonicalProvider =
| 'wandb-fp8'
| 'xai'
| 'xiaomi-fp8'
- | 'z-ai'
+ | 'z-ai-fp4'
| 'z-ai-fp8'
diff --git a/nodejs/src/ingestion/ai/costs/providers/llm-costs.json b/nodejs/src/ingestion/ai/costs/providers/llm-costs.json
index ca750a4cf8ea..768280c6a75a 100644
--- a/nodejs/src/ingestion/ai/costs/providers/llm-costs.json
+++ b/nodejs/src/ingestion/ai/costs/providers/llm-costs.json
@@ -343,12 +343,33 @@
"cache_write_token": 0.0000125,
"web_search": 0.01
},
+ "amazon-bedrock-us": {
+ "prompt_token": 0.00001,
+ "completion_token": 0.00005,
+ "cache_read_token": 0.000001,
+ "cache_write_token": 0.0000125,
+ "web_search": 0.01
+ },
"anthropic": {
"prompt_token": 0.00001,
"completion_token": 0.00005,
"cache_read_token": 0.000001,
"cache_write_token": 0.0000125,
"web_search": 0.01
+ },
+ "azure": {
+ "prompt_token": 0.00001,
+ "completion_token": 0.00005,
+ "cache_read_token": 0.000001,
+ "cache_write_token": 0.0000125,
+ "web_search": 0.01
+ },
+ "google-vertex-global": {
+ "prompt_token": 0.00001,
+ "completion_token": 0.00005,
+ "cache_read_token": 0.000001,
+ "cache_write_token": 0.0000125,
+ "web_search": 0.01
}
}
},
@@ -1568,6 +1589,11 @@
"completion_token": 0.000002784,
"cache_read_token": 1.16e-7
},
+ "nextbit-fp8": {
+ "prompt_token": 0.0000011,
+ "completion_token": 0.0000026,
+ "cache_read_token": 1e-7
+ },
"novita-fp8": {
"prompt_token": 0.0000016,
"completion_token": 0.0000032,
@@ -1589,8 +1615,8 @@
"cache_read_token": 7.25e-8
},
"together": {
- "prompt_token": 0.0000021,
- "completion_token": 0.0000044,
+ "prompt_token": 0.00000174,
+ "completion_token": 0.00000348,
"cache_read_token": 2e-7
},
"venice": {
@@ -2259,7 +2285,7 @@
"completion_token": 1.5e-7
},
"sambanova": {
- "prompt_token": 2.2e-7,
+ "prompt_token": 3.5e-7,
"completion_token": 5.9e-7
}
}
@@ -3758,6 +3784,11 @@
"prompt_token": 9.5e-7,
"completion_token": 0.000004
},
+ "ambient": {
+ "prompt_token": 9.5e-7,
+ "completion_token": 0.000004,
+ "cache_read_token": 2e-7
+ },
"atlas-cloud-int4": {
"prompt_token": 9.5e-7,
"completion_token": 0.000004,
@@ -7247,19 +7278,6 @@
}
}
},
- {
- "model": "z-ai/glm-4-32b",
- "cost": {
- "default": {
- "prompt_token": 1e-7,
- "completion_token": 1e-7
- },
- "z-ai": {
- "prompt_token": 1e-7,
- "completion_token": 1e-7
- }
- }
- },
{
"model": "z-ai/glm-4.5",
"cost": {
@@ -7309,19 +7327,6 @@
}
}
},
- {
- "model": "z-ai/glm-4.5-air:free",
- "cost": {
- "default": {
- "prompt_token": 0,
- "completion_token": 0
- },
- "z-ai": {
- "prompt_token": 0,
- "completion_token": 0
- }
- }
- },
{
"model": "z-ai/glm-4.5v",
"cost": {
@@ -7370,7 +7375,7 @@
"completion_token": 0.00000275,
"cache_read_token": 3e-7
},
- "z-ai": {
+ "z-ai-fp4": {
"prompt_token": 6e-7,
"completion_token": 0.0000022,
"cache_read_token": 1.1e-7
@@ -7383,7 +7388,7 @@
"default": {
"prompt_token": 3e-7,
"completion_token": 9e-7,
- "cache_read_token": 5e-8
+ "cache_read_token": 5.5e-8
},
"novita-bf16": {
"prompt_token": 3e-7,
@@ -7452,7 +7457,7 @@
"completion_token": 0.00000265,
"cache_read_token": 1.1e-7
},
- "z-ai": {
+ "z-ai-fp4": {
"prompt_token": 6e-7,
"completion_token": 0.0000022,
"cache_read_token": 1.1e-7
@@ -7488,11 +7493,6 @@
"venice-fp8": {
"prompt_token": 1.25e-7,
"completion_token": 5e-7
- },
- "z-ai": {
- "prompt_token": 7e-8,
- "completion_token": 4e-7,
- "cache_read_token": 1e-8
}
}
},
@@ -7575,7 +7575,7 @@
"completion_token": 0.0000032,
"cache_read_token": 2e-7
},
- "z-ai": {
+ "z-ai-fp8": {
"prompt_token": 0.000001,
"completion_token": 0.0000032,
"cache_read_token": 2e-7
@@ -7594,11 +7594,6 @@
"prompt_token": 0.0000012,
"completion_token": 0.000004,
"cache_read_token": 2.4e-7
- },
- "z-ai": {
- "prompt_token": 0.0000012,
- "completion_token": 0.000004,
- "cache_read_token": 2.4e-7
}
}
},
@@ -7691,26 +7686,11 @@
"completion_token": 0.0000055,
"cache_read_token": 3.25e-7
},
- "z-ai": {
+ "z-ai-fp8": {
"prompt_token": 0.0000014,
"completion_token": 0.0000044,
"cache_read_token": 2.6e-7
}
}
- },
- {
- "model": "z-ai/glm-5v-turbo",
- "cost": {
- "default": {
- "prompt_token": 0.0000012,
- "completion_token": 0.000004,
- "cache_read_token": 2.4e-7
- },
- "z-ai-fp8": {
- "prompt_token": 0.0000012,
- "completion_token": 0.000004,
- "cache_read_token": 2.4e-7
- }
- }
}
]