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

scheduled-actions-posthog[bot]87387a9f5d30
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 f5b831f40f2d..b4cc4912a11b 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-21 10:42:35 UTC
+// Generated at: 2026-07-21 20:24:39 UTC
export type CanonicalProvider =
| 'default'
@@ -7,6 +7,7 @@ export type CanonicalProvider =
| 'aion-labs'
| 'akashml-fp8'
| 'alibaba'
+ | 'alibaba-fast'
| 'alibaba-opensource'
| 'amazon-bedrock'
| 'amazon-bedrock-claude-on-aws'
@@ -125,6 +126,7 @@ export type CanonicalProvider =
| 'perceptron'
| 'perplexity'
| 'phala'
+ | 'poolside-bf16'
| 'poolside-fp4'
| 'poolside-fp8'
| 'reka-bf16'
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 83422815b7af..8b7b84de32c9 100644
--- a/nodejs/src/ingestion/pipelines/ai/costs/providers/llm-costs.json
+++ b/nodejs/src/ingestion/pipelines/ai/costs/providers/llm-costs.json
@@ -52,14 +52,14 @@
"cost": {
"default": {
"prompt_token": 0.0000015,
- "completion_token": 0.000009,
+ "completion_token": 0.0000075,
"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
+ "audio": 0.0000015,
+ "input_audio_cache": 1.5e-7,
+ "internal_reasoning": 0.0000075
}
}
},
@@ -1555,11 +1555,6 @@
"prompt_token": 1.39e-7,
"completion_token": 2.78e-7
},
- "nextbit-fp8": {
- "prompt_token": 1.8e-7,
- "completion_token": 3.4e-7,
- "cache_read_token": 3.4e-8
- },
"novita-fp8": {
"prompt_token": 1.4e-7,
"completion_token": 2.8e-7,
@@ -2825,6 +2820,170 @@
}
}
},
+ {
+ "model": "google/gemini-3.5-flash-lite",
+ "cost": {
+ "default": {
+ "prompt_token": 3e-7,
+ "completion_token": 0.0000025,
+ "cache_read_token": 3e-8,
+ "cache_write_token": 8.333333333e-8,
+ "web_search": 0.014,
+ "image": 3e-7,
+ "audio": 3e-7,
+ "input_audio_cache": 3e-8,
+ "internal_reasoning": 0.0000025
+ },
+ "google-ai-studio": {
+ "prompt_token": 3e-7,
+ "completion_token": 0.0000025,
+ "cache_read_token": 3e-8,
+ "cache_write_token": 8.333333333e-8,
+ "web_search": 0.014,
+ "image": 3e-7,
+ "audio": 3e-7,
+ "input_audio_cache": 3e-8,
+ "internal_reasoning": 0.0000025
+ },
+ "google-ai-studio-flex": {
+ "prompt_token": 1.5e-7,
+ "completion_token": 0.00000125,
+ "cache_read_token": 1.5e-8,
+ "cache_write_token": 4.166666667e-8,
+ "web_search": 0.014,
+ "image": 1.5e-7,
+ "audio": 1.5e-7,
+ "input_audio_cache": 1.5e-8,
+ "internal_reasoning": 0.00000125
+ },
+ "google-ai-studio-priority": {
+ "prompt_token": 5.4e-7,
+ "completion_token": 0.0000045,
+ "cache_read_token": 5.4e-8,
+ "cache_write_token": 1.5e-7,
+ "web_search": 0.014,
+ "image": 5.4e-7,
+ "audio": 5.4e-7,
+ "input_audio_cache": 5.4e-8,
+ "internal_reasoning": 0.0000045
+ },
+ "google-vertex-global": {
+ "prompt_token": 3e-7,
+ "completion_token": 0.0000025,
+ "cache_read_token": 3e-8,
+ "cache_write_token": 8.333333333e-8,
+ "web_search": 0.014,
+ "image": 3e-7,
+ "audio": 3e-7,
+ "input_audio_cache": 3e-8,
+ "internal_reasoning": 0.0000025
+ },
+ "google-vertex-global-flex": {
+ "prompt_token": 1.5e-7,
+ "completion_token": 0.00000125,
+ "cache_read_token": 1.5e-8,
+ "cache_write_token": 4.166666667e-8,
+ "web_search": 0.014,
+ "image": 1.5e-7,
+ "audio": 1.5e-7,
+ "input_audio_cache": 1.5e-8,
+ "internal_reasoning": 0.00000125
+ },
+ "google-vertex-global-priority": {
+ "prompt_token": 5.4e-7,
+ "completion_token": 0.0000045,
+ "cache_read_token": 5.4e-8,
+ "cache_write_token": 1.5e-7,
+ "web_search": 0.014,
+ "image": 5.4e-7,
+ "audio": 5.4e-7,
+ "input_audio_cache": 5.4e-8,
+ "internal_reasoning": 0.0000045
+ }
+ }
+ },
+ {
+ "model": "google/gemini-3.6-flash",
+ "cost": {
+ "default": {
+ "prompt_token": 0.0000015,
+ "completion_token": 0.0000075,
+ "cache_read_token": 1.5e-7,
+ "cache_write_token": 8.333333333e-8,
+ "web_search": 0.014,
+ "image": 0.0000015,
+ "audio": 0.0000015,
+ "input_audio_cache": 1.5e-7,
+ "internal_reasoning": 0.0000075
+ },
+ "google-ai-studio": {
+ "prompt_token": 0.0000015,
+ "completion_token": 0.0000075,
+ "cache_read_token": 1.5e-7,
+ "cache_write_token": 8.333333333e-8,
+ "web_search": 0.014,
+ "image": 0.0000015,
+ "audio": 0.0000015,
+ "input_audio_cache": 1.5e-7,
+ "internal_reasoning": 0.0000075
+ },
+ "google-ai-studio-flex": {
+ "prompt_token": 7.5e-7,
+ "completion_token": 0.00000375,
+ "cache_read_token": 7.5e-8,
+ "cache_write_token": 4.166666667e-8,
+ "web_search": 0.014,
+ "image": 7.5e-7,
+ "audio": 7.5e-7,
+ "input_audio_cache": 7.5e-8,
+ "internal_reasoning": 0.00000375
+ },
+ "google-ai-studio-priority": {
+ "prompt_token": 0.0000027,
+ "completion_token": 0.0000135,
+ "cache_read_token": 2.7e-7,
+ "cache_write_token": 1.5e-7,
+ "web_search": 0.014,
+ "image": 0.0000027,
+ "audio": 0.0000027,
+ "input_audio_cache": 2.7e-7,
+ "internal_reasoning": 0.0000135
+ },
+ "google-vertex-global": {
+ "prompt_token": 0.0000015,
+ "completion_token": 0.0000075,
+ "cache_read_token": 1.5e-7,
+ "cache_write_token": 8.333333333e-8,
+ "web_search": 0.014,
+ "image": 0.0000015,
+ "audio": 0.0000015,
+ "input_audio_cache": 1.5e-7,
+ "internal_reasoning": 0.0000075
+ },
+ "google-vertex-global-flex": {
+ "prompt_token": 7.5e-7,
+ "completion_token": 0.00000375,
+ "cache_read_token": 7.5e-8,
+ "cache_write_token": 4.166666667e-8,
+ "web_search": 0.014,
+ "image": 7.5e-7,
+ "audio": 7.5e-7,
+ "input_audio_cache": 7.5e-8,
+ "internal_reasoning": 0.00000375
+ },
+ "google-vertex-global-priority": {
+ "prompt_token": 0.0000027,
+ "completion_token": 0.0000135,
+ "cache_read_token": 2.7e-7,
+ "cache_write_token": 1.5e-7,
+ "web_search": 0.014,
+ "image": 0.0000027,
+ "audio": 0.0000027,
+ "input_audio_cache": 2.7e-7,
+ "internal_reasoning": 0.0000135
+ }
+ }
+ },
{
"model": "google/gemma-2-27b-it",
"cost": {
@@ -3916,10 +4075,6 @@
"prompt_token": 2e-7,
"completion_token": 2e-7,
"cache_read_token": 2e-8
- },
- "nextbit-fp8": {
- "prompt_token": 3.5e-7,
- "completion_token": 3.5e-7
}
}
},
@@ -3935,10 +4090,6 @@
"prompt_token": 1e-7,
"completion_token": 1e-7,
"cache_read_token": 1e-8
- },
- "nextbit-fp8": {
- "prompt_token": 1.5e-7,
- "completion_token": 1.5e-7
}
}
},
@@ -6678,6 +6829,34 @@
}
}
},
+ {
+ "model": "poolside/laguna-s-2.1",
+ "cost": {
+ "default": {
+ "prompt_token": 1e-7,
+ "completion_token": 2e-7,
+ "cache_read_token": 1e-8
+ },
+ "poolside-bf16": {
+ "prompt_token": 1e-7,
+ "completion_token": 2e-7,
+ "cache_read_token": 1e-8
+ }
+ }
+ },
+ {
+ "model": "poolside/laguna-s-2.1:free",
+ "cost": {
+ "default": {
+ "prompt_token": 0,
+ "completion_token": 0
+ },
+ "poolside-fp8": {
+ "prompt_token": 0,
+ "completion_token": 0
+ }
+ }
+ },
{
"model": "poolside/laguna-xs-2.1",
"cost": {
@@ -7708,6 +7887,10 @@
"prompt_token": 1.3e-7,
"completion_token": 0.000001
},
+ "io-net-fp8": {
+ "prompt_token": 2.7e-7,
+ "completion_token": 0.0000015
+ },
"parasail-fp8": {
"prompt_token": 1.5e-7,
"completion_token": 0.000001,
@@ -7989,9 +8172,9 @@
"cache_read_token": 3.5e-8
},
"gmicloud-bf16": {
- "prompt_token": 1.4e-7,
- "completion_token": 5.8e-7,
- "cache_read_token": 3.5e-8
+ "prompt_token": 1.288e-7,
+ "completion_token": 5.336e-7,
+ "cache_read_token": 3.22e-8
},
"novita": {
"prompt_token": 1.4e-7,
@@ -8796,18 +8979,23 @@
"model": "z-ai/glm-5.2",
"cost": {
"default": {
- "prompt_token": 9.366e-7,
- "completion_token": 0.0000029436,
- "cache_read_token": 1.7394e-7
+ "prompt_token": 7.826e-7,
+ "completion_token": 0.0000024596,
+ "cache_read_token": 1.4534e-7
},
"akashml-fp8": {
"prompt_token": 0.0000013,
"completion_token": 0.0000044
},
"alibaba": {
- "prompt_token": 0.000001155,
- "completion_token": 0.00000363,
- "cache_read_token": 2.31e-7
+ "prompt_token": 8.26e-7,
+ "completion_token": 0.000002596,
+ "cache_read_token": 1.652e-7
+ },
+ "alibaba-fast": {
+ "prompt_token": 0.00000231,
+ "completion_token": 0.00000726,
+ "cache_read_token": 4.62e-7
},
"ambient-fp8": {
"prompt_token": 0.00000105,
@@ -8895,9 +9083,9 @@
"cache_read_token": 2.2e-7
},
"novita-fp8": {
- "prompt_token": 9.366e-7,
- "completion_token": 0.0000029436,
- "cache_read_token": 1.7394e-7
+ "prompt_token": 7.826e-7,
+ "completion_token": 0.0000024596,
+ "cache_read_token": 1.4534e-7
},
"parasail-fp4": {
"prompt_token": 0.0000014,
@@ -8915,9 +9103,9 @@
"cache_read_token": 2.6e-7
},
"streamlake-fp8": {
- "prompt_token": 8.4e-7,
- "completion_token": 0.00000264,
- "cache_read_token": 1.56e-7
+ "prompt_token": 7.833e-7,
+ "completion_token": 0.0000024618,
+ "cache_read_token": 1.4547e-7
},
"together": {
"prompt_token": 0.0000014,