: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 (#58059)
scheduled-actions-posthog[bot]4c64002c29ab
diff --git a/nodejs/src/ingestion/ai/costs/providers/canonical-providers.ts b/nodejs/src/ingestion/ai/costs/providers/canonical-providers.tsindex 9fc6c8448570..7ec07e7cf875 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-07 10:44:05 UTC+// Generated at: 2026-05-07 20:25:05 UTCexport type CanonicalProvider =| 'default'@@ -16,6 +16,7 @@ export type CanonicalProvider =| 'amazon-bedrock-us'| 'amazon-bedrock-us-east-1'| 'amazon-bedrock-us-west-2'+ | 'ambient'| 'ambient-fp8'| 'anthropic'| 'anthropic-2'diff --git a/nodejs/src/ingestion/ai/costs/providers/llm-costs.json b/nodejs/src/ingestion/ai/costs/providers/llm-costs.jsonindex 4e9c37b6242f..b22ee9904e1b 100644--- a/nodejs/src/ingestion/ai/costs/providers/llm-costs.json+++ b/nodejs/src/ingestion/ai/costs/providers/llm-costs.json@@ -2166,6 +2166,43 @@}}},+ {+ "model": "google/gemini-3.1-flash-lite",+ "cost": {+ "default": {+ "prompt_token": 2.5e-7,+ "completion_token": 0.0000015,+ "cache_read_token": 2.5e-8,+ "cache_write_token": 8.333333333e-8,+ "web_search": 0.014,+ "image": 2.5e-7,+ "audio": 5e-7,+ "internal_reasoning": 0.0000015+ },+ "google-ai-studio": {+ "prompt_token": 2.5e-7,+ "completion_token": 0.0000015,+ "cache_read_token": 2.5e-8,+ "cache_write_token": 8.333333333e-8,+ "web_search": 0.014,+ "image": 2.5e-7,+ "audio": 5e-7,+ "input_audio_cache": 5e-8,+ "internal_reasoning": 0.0000015+ },+ "google-vertex-global": {+ "prompt_token": 2.5e-7,+ "completion_token": 0.0000015,+ "cache_read_token": 2.5e-8,+ "cache_write_token": 8.333333333e-8,+ "web_search": 0.014,+ "image": 2.5e-7,+ "audio": 5e-7,+ "input_audio_cache": 5e-8,+ "internal_reasoning": 0.0000015+ }+ }+ },{"model": "google/gemini-3.1-flash-lite-preview","cost": {@@ -2295,8 +2332,8 @@"completion_token": 1.3e-7},"sambanova": {- "prompt_token": 2e-7,- "completion_token": 3.5e-7+ "prompt_token": 2.2e-7,+ "completion_token": 5.9e-7}}},@@ -2556,15 +2593,17 @@}},{- "model": "inclusionai/ling-2.6-1t:free",+ "model": "inclusionai/ling-2.6-1t","cost": {"default": {- "prompt_token": 0,- "completion_token": 0+ "prompt_token": 3e-7,+ "completion_token": 0.0000025,+ "cache_read_token": 6e-8},"novita": {- "prompt_token": 0,- "completion_token": 0+ "prompt_token": 3e-7,+ "completion_token": 0.0000025,+ "cache_read_token": 6e-8}}},@@ -3227,8 +3266,8 @@"completion_token": 0.00000138},"sambanova": {- "prompt_token": 3e-7,- "completion_token": 0.0000012+ "prompt_token": 2.2e-7,+ "completion_token": 5.9e-7},"siliconflow-fp8": {"prompt_token": 3e-7,@@ -3805,11 +3844,6 @@"completion_token": 0.000003,"cache_read_token": 1e-7},- "inceptron-int4": {- "prompt_token": 4.4e-7,- "completion_token": 0.0000022,- "cache_read_token": 2.2e-7- },"modelrun-fp4": {"prompt_token": 5.5e-7,"completion_token": 0.00000275,@@ -3862,6 +3896,10 @@"prompt_token": 0.000001,"completion_token": 0.000004},+ "ambient": {+ "prompt_token": 9.5e-7,+ "completion_token": 0.000004+ },"atlas-cloud-int4": {"prompt_token": 9.5e-7,"completion_token": 0.000004,@@ -5163,11 +5201,6 @@"prompt_token": 1.5e-7,"completion_token": 6e-7},- "atlas-cloud-fp8": {- "prompt_token": 1e-7,- "completion_token": 4e-7,- "cache_read_token": 1e-7- },"baseten-fp4": {"prompt_token": 1e-7,"completion_token": 5e-7@@ -6710,7 +6743,11 @@"model": "qwen/qwen3.5-9b","cost": {"default": {- "prompt_token": 1e-7,+ "prompt_token": 4e-8,+ "completion_token": 1.5e-7+ },+ "deepinfra-bf16": {+ "prompt_token": 4e-8,"completion_token": 1.5e-7},"together": {