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

scheduled-actions-posthog[bot]3d81a733d6b2
diff --git a/nodejs/src/ingestion/ai/costs/providers/canonical-providers.ts b/nodejs/src/ingestion/ai/costs/providers/canonical-providers.ts
index 29cf252b77d1..f4505c004756 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-05-19 11:02:34 UTC
+// Generated at: 2026-05-19 20:29:55 UTC
export type CanonicalProvider =
| 'default'
diff --git a/nodejs/src/ingestion/ai/costs/providers/llm-costs.json b/nodejs/src/ingestion/ai/costs/providers/llm-costs.json
index cd6b5700cd6b..96d92c3558c1 100644
--- a/nodejs/src/ingestion/ai/costs/providers/llm-costs.json
+++ b/nodejs/src/ingestion/ai/costs/providers/llm-costs.json
@@ -39,14 +39,14 @@
"model": "~google/gemini-flash-latest",
"cost": {
"default": {
- "prompt_token": 5e-7,
- "completion_token": 0.000003,
- "cache_read_token": 5e-8,
+ "prompt_token": 0.0000015,
+ "completion_token": 0.000009,
+ "cache_read_token": 1.5e-7,
"cache_write_token": 8.333333333e-8,
"web_search": 0.014,
- "image": 5e-7,
- "audio": 0.000001,
- "internal_reasoning": 0.000003
+ "image": 0.0000015,
+ "audio": 0.000003,
+ "internal_reasoning": 0.000009
}
}
},
@@ -2303,6 +2303,43 @@
}
}
},
+ {
+ "model": "google/gemini-3.5-flash",
+ "cost": {
+ "default": {
+ "prompt_token": 0.0000015,
+ "completion_token": 0.000009,
+ "cache_read_token": 1.5e-7,
+ "cache_write_token": 8.333333333e-8,
+ "web_search": 0.014,
+ "image": 0.0000015,
+ "audio": 0.000003,
+ "internal_reasoning": 0.000009
+ },
+ "google-ai-studio": {
+ "prompt_token": 0.0000015,
+ "completion_token": 0.000009,
+ "cache_read_token": 1.5e-7,
+ "cache_write_token": 8.333333333e-8,
+ "web_search": 0.014,
+ "image": 0.0000015,
+ "audio": 0.000003,
+ "input_audio_cache": 3e-7,
+ "internal_reasoning": 0.000009
+ },
+ "google-vertex-global": {
+ "prompt_token": 0.0000015,
+ "completion_token": 0.000009,
+ "cache_read_token": 1.5e-7,
+ "cache_write_token": 8.333333333e-8,
+ "web_search": 0.014,
+ "image": 0.0000015,
+ "audio": 0.000003,
+ "input_audio_cache": 3e-7,
+ "internal_reasoning": 0.000009
+ }
+ }
+ },
{
"model": "google/gemma-2-27b-it",
"cost": {
@@ -2332,7 +2369,7 @@
"completion_token": 1.3e-7
},
"sambanova": {
- "prompt_token": 3.5e-7,
+ "prompt_token": 2.2e-7,
"completion_token": 5.9e-7
}
}
@@ -6563,9 +6600,8 @@
"model": "qwen/qwen3.5-35b-a3b",
"cost": {
"default": {
- "prompt_token": 1.4e-7,
- "completion_token": 0.000001,
- "cache_read_token": 5e-8
+ "prompt_token": 1.39e-7,
+ "completion_token": 0.000001
},
"akashml-fp8": {
"prompt_token": 1.6e-7,
@@ -6586,7 +6622,7 @@
"cache_read_token": 5e-8
},
"dekallm-fp8": {
- "prompt_token": 1.5e-7,
+ "prompt_token": 1.39e-7,
"completion_token": 0.000001
},
"nextbit-fp8": {
@@ -6752,6 +6788,10 @@
"prompt_token": 3.2e-7,
"completion_token": 0.0000032
},
+ "io-net-fp8": {
+ "prompt_token": 3.2e-7,
+ "completion_token": 0.0000032
+ },
"morph": {
"prompt_token": 4.98e-7,
"completion_token": 0.0000024
@@ -7617,9 +7657,8 @@
"model": "z-ai/glm-5.1",
"cost": {
"default": {
- "prompt_token": 9.8e-7,
- "completion_token": 0.00000308,
- "cache_read_token": 1.82e-7
+ "prompt_token": 0,
+ "completion_token": 0
},
"ambient-fp8": {
"prompt_token": 0.0000014,
@@ -7635,6 +7674,10 @@
"completion_token": 0.00000308,
"cache_read_token": 1.82e-7
},
+ "baseten-fp4": {
+ "prompt_token": 0,
+ "completion_token": 0
+ },
"chutes-fp8": {
"prompt_token": 0.00000105,
"completion_token": 0.0000035,