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

scheduled-actions-posthog[bot]2b3331b55147
diff --git a/nodejs/src/ingestion/ai/costs/providers/canonical-providers.ts b/nodejs/src/ingestion/ai/costs/providers/canonical-providers.ts
index ec97b45791c1..8af2317bc582 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-05 10:32:34 UTC
+// Generated at: 2026-05-05 20:19:56 UTC
export type CanonicalProvider =
| 'default'
@@ -11,6 +11,11 @@ export type CanonicalProvider =
| 'alibaba'
| 'alibaba-opensource'
| 'amazon-bedrock'
+ | 'amazon-bedrock-eu-west-1'
+ | 'amazon-bedrock-global'
+ | 'amazon-bedrock-us'
+ | 'amazon-bedrock-us-east-1'
+ | 'amazon-bedrock-us-west-2'
| 'ambient-fp8'
| 'anthropic'
| 'anthropic-2'
@@ -20,6 +25,8 @@ export type CanonicalProvider =
| 'atlas-cloud-fp8'
| 'atlas-cloud-int4'
| 'azure'
+ | 'azure-swedencentral'
+ | 'azure-us-east-2'
| 'baidu-fp8'
| 'baseten-fp4'
| 'cerebras-fp16'
@@ -45,12 +52,16 @@ export type CanonicalProvider =
| 'friendli'
| 'gmicloud-fp8'
| 'google-ai-studio'
+ | 'google-ai-studio-global'
| 'google-vertex'
| 'google-vertex-eu'
| 'google-vertex-europe'
| 'google-vertex-global'
| 'google-vertex-us'
+ | 'google-vertex-us-central1'
| 'google-vertex-us-east5'
+ | 'google-vertex-us-south1'
+ | 'google-vertex-us-west2'
| 'groq'
| 'inception'
| 'inceptron-fp8'
diff --git a/nodejs/src/ingestion/ai/costs/providers/llm-costs.json b/nodejs/src/ingestion/ai/costs/providers/llm-costs.json
index 62e98dd1041f..187879307fc3 100644
--- a/nodejs/src/ingestion/ai/costs/providers/llm-costs.json
+++ b/nodejs/src/ingestion/ai/costs/providers/llm-costs.json
@@ -237,6 +237,10 @@
"amazon-bedrock": {
"prompt_token": 3e-7,
"completion_token": 0.0000025
+ },
+ "amazon-bedrock-eu-west-1": {
+ "prompt_token": 3e-7,
+ "completion_token": 0.0000025
}
}
},
@@ -250,6 +254,10 @@
"amazon-bedrock": {
"prompt_token": 6e-8,
"completion_token": 2.4e-7
+ },
+ "amazon-bedrock-eu-west-1": {
+ "prompt_token": 6e-8,
+ "completion_token": 2.4e-7
}
}
},
@@ -263,6 +271,10 @@
"amazon-bedrock": {
"prompt_token": 3.5e-8,
"completion_token": 1.4e-7
+ },
+ "amazon-bedrock-eu-west-1": {
+ "prompt_token": 3.5e-8,
+ "completion_token": 1.4e-7
}
}
},
@@ -291,6 +303,10 @@
"amazon-bedrock": {
"prompt_token": 8e-7,
"completion_token": 0.0000032
+ },
+ "amazon-bedrock-eu-west-1": {
+ "prompt_token": 8e-7,
+ "completion_token": 0.0000032
}
}
},
@@ -347,6 +363,13 @@
"cache_write_token": 0.000001,
"web_search": 0.01
},
+ "amazon-bedrock-us-west-2": {
+ "prompt_token": 8e-7,
+ "completion_token": 0.000004,
+ "cache_read_token": 8e-8,
+ "cache_write_token": 0.000001,
+ "web_search": 0.01
+ },
"google-vertex": {
"prompt_token": 8e-7,
"completion_token": 0.000004,
@@ -411,21 +434,21 @@
"cache_write_token": 0.00000125,
"web_search": 0.01
},
- "amazon-bedrock": {
+ "amazon-bedrock-eu-west-1": {
"prompt_token": 0.000001,
"completion_token": 0.000005,
"cache_read_token": 1e-7,
"cache_write_token": 0.00000125,
"web_search": 0.01
},
- "anthropic": {
+ "amazon-bedrock-global": {
"prompt_token": 0.000001,
"completion_token": 0.000005,
"cache_read_token": 1e-7,
"cache_write_token": 0.00000125,
"web_search": 0.01
},
- "google-vertex": {
+ "anthropic": {
"prompt_token": 0.000001,
"completion_token": 0.000005,
"cache_read_token": 1e-7,
@@ -438,6 +461,13 @@
"cache_read_token": 1e-7,
"cache_write_token": 0.00000125,
"web_search": 0.01
+ },
+ "google-vertex-global": {
+ "prompt_token": 0.000001,
+ "completion_token": 0.000005,
+ "cache_read_token": 1e-7,
+ "cache_write_token": 0.00000125,
+ "web_search": 0.01
}
}
},
@@ -531,6 +561,13 @@
"cache_write_token": 0.00000625,
"web_search": 0.01
},
+ "amazon-bedrock-eu-west-1": {
+ "prompt_token": 0.000005,
+ "completion_token": 0.000025,
+ "cache_read_token": 5e-7,
+ "cache_write_token": 0.00000625,
+ "web_search": 0.01
+ },
"anthropic": {
"prompt_token": 0.000005,
"completion_token": 0.000025,
@@ -545,7 +582,7 @@
"cache_write_token": 0.00000625,
"web_search": 0.01
},
- "google-vertex": {
+ "google-vertex-global": {
"prompt_token": 0.000005,
"completion_token": 0.000025,
"cache_read_token": 5e-7,
@@ -564,7 +601,7 @@
"cache_write_token": 0.00000625,
"web_search": 0.01
},
- "amazon-bedrock": {
+ "amazon-bedrock-us-east-1": {
"prompt_token": 0.000005,
"completion_token": 0.000025,
"cache_read_token": 5e-7,
@@ -585,21 +622,21 @@
"cache_write_token": 0.00000625,
"web_search": 0.01
},
- "azure": {
+ "azure-us-east-2": {
"prompt_token": 0.000005,
"completion_token": 0.000025,
"cache_read_token": 5e-7,
"cache_write_token": 0.00000625,
"web_search": 0.01
},
- "google-vertex": {
+ "google-vertex-europe": {
"prompt_token": 0.000005,
"completion_token": 0.000025,
"cache_read_token": 5e-7,
"cache_write_token": 0.00000625,
"web_search": 0.01
},
- "google-vertex-europe": {
+ "google-vertex-global": {
"prompt_token": 0.000005,
"completion_token": 0.000025,
"cache_read_token": 5e-7,
@@ -637,7 +674,14 @@
"cache_write_token": 0.00000625,
"web_search": 0.01
},
- "amazon-bedrock": {
+ "amazon-bedrock-eu-west-1": {
+ "prompt_token": 0.000005,
+ "completion_token": 0.000025,
+ "cache_read_token": 5e-7,
+ "cache_write_token": 0.00000625,
+ "web_search": 0.01
+ },
+ "amazon-bedrock-us": {
"prompt_token": 0.000005,
"completion_token": 0.000025,
"cache_read_token": 5e-7,
@@ -658,14 +702,14 @@
"cache_write_token": 0.00000625,
"web_search": 0.01
},
- "google-vertex": {
+ "google-vertex-europe": {
"prompt_token": 0.000005,
"completion_token": 0.000025,
"cache_read_token": 5e-7,
"cache_write_token": 0.00000625,
"web_search": 0.01
},
- "google-vertex-europe": {
+ "google-vertex-global": {
"prompt_token": 0.000005,
"completion_token": 0.000025,
"cache_read_token": 5e-7,
@@ -691,6 +735,13 @@
"cache_write_token": 0.00000375,
"web_search": 0.01
},
+ "amazon-bedrock-eu-west-1": {
+ "prompt_token": 0.000003,
+ "completion_token": 0.000015,
+ "cache_read_token": 3e-7,
+ "cache_write_token": 0.00000375,
+ "web_search": 0.01
+ },
"anthropic": {
"prompt_token": 0.000003,
"completion_token": 0.000015,
@@ -738,6 +789,13 @@
"cache_write_token": 0.00000375,
"web_search": 0.01
},
+ "amazon-bedrock-eu-west-1": {
+ "prompt_token": 0.000003,
+ "completion_token": 0.000015,
+ "cache_read_token": 3e-7,
+ "cache_write_token": 0.00000375,
+ "web_search": 0.01
+ },
"anthropic": {
"prompt_token": 0.000003,
"completion_token": 0.000015,
@@ -752,14 +810,14 @@
"cache_write_token": 0.00000375,
"web_search": 0.01
},
- "google-vertex": {
+ "google-vertex-global": {
"prompt_token": 0.000003,
"completion_token": 0.000015,
"cache_read_token": 3e-7,
"cache_write_token": 0.00000375,
"web_search": 0.01
},
- "google-vertex-global": {
+ "google-vertex-us-east5": {
"prompt_token": 0.000003,
"completion_token": 0.000015,
"cache_read_token": 3e-7,
@@ -778,7 +836,14 @@
"cache_write_token": 0.00000375,
"web_search": 0.01
},
- "amazon-bedrock": {
+ "amazon-bedrock-eu-west-1": {
+ "prompt_token": 0.000003,
+ "completion_token": 0.000015,
+ "cache_read_token": 3e-7,
+ "cache_write_token": 0.00000375,
+ "web_search": 0.01
+ },
+ "amazon-bedrock-global": {
"prompt_token": 0.000003,
"completion_token": 0.000015,
"cache_read_token": 3e-7,
@@ -799,21 +864,21 @@
"cache_write_token": 0.00000375,
"web_search": 0.01
},
- "azure": {
+ "azure-us-east-2": {
"prompt_token": 0.000003,
"completion_token": 0.000015,
"cache_read_token": 3e-7,
"cache_write_token": 0.00000375,
"web_search": 0.01
},
- "google-vertex": {
+ "google-vertex-europe": {
"prompt_token": 0.000003,
"completion_token": 0.000015,
"cache_read_token": 3e-7,
"cache_write_token": 0.00000375,
"web_search": 0.01
},
- "google-vertex-europe": {
+ "google-vertex-global": {
"prompt_token": 0.000003,
"completion_token": 0.000015,
"cache_read_token": 3e-7,
@@ -1238,7 +1303,7 @@
"completion_token": 0.00000168,
"cache_read_token": 2.8e-7
},
- "google-vertex": {
+ "google-vertex-us-west2": {
"prompt_token": 6e-7,
"completion_token": 0.0000017
},
@@ -1733,7 +1798,7 @@
"input_audio_cache": 1e-7,
"internal_reasoning": 0.0000025
},
- "google-vertex": {
+ "google-vertex-global": {
"prompt_token": 3e-7,
"completion_token": 0.0000025,
"cache_read_token": 3e-8,
@@ -1808,7 +1873,7 @@
"audio": 3e-7,
"internal_reasoning": 4e-7
},
- "google-vertex": {
+ "google-vertex-global": {
"prompt_token": 1e-7,
"completion_token": 4e-7,
"cache_read_token": 1e-8,
@@ -2022,7 +2087,7 @@
"input_audio_cache": 1e-7,
"internal_reasoning": 0.000003
},
- "google-vertex": {
+ "google-vertex-global": {
"prompt_token": 5e-7,
"completion_token": 0.000003,
"cache_read_token": 5e-8,
@@ -2048,7 +2113,7 @@
"audio": 0.000002,
"internal_reasoning": 0.000012
},
- "google-ai-studio": {
+ "google-ai-studio-global": {
"prompt_token": 0.000002,
"completion_token": 0.000012,
"cache_read_token": 2e-7,
@@ -2060,7 +2125,7 @@
"input_audio_cache": 2e-7,
"internal_reasoning": 0.000012
},
- "google-vertex": {
+ "google-vertex-global": {
"prompt_token": 0.000002,
"completion_token": 0.000012,
"cache_read_token": 2e-7,
@@ -2088,7 +2153,7 @@
"web_search": 0.014,
"image_output": 0.00006
},
- "google-vertex": {
+ "google-vertex-global": {
"prompt_token": 5e-7,
"completion_token": 0.000003,
"web_search": 0.014,
@@ -2120,7 +2185,7 @@
"input_audio_cache": 5e-8,
"internal_reasoning": 0.0000015
},
- "google-vertex": {
+ "google-vertex-global": {
"prompt_token": 2.5e-7,
"completion_token": 0.0000015,
"cache_read_token": 2.5e-8,
@@ -2157,7 +2222,7 @@
"input_audio_cache": 2e-7,
"internal_reasoning": 0.000012
},
- "google-vertex": {
+ "google-vertex-global": {
"prompt_token": 0.000002,
"completion_token": 0.000012,
"cache_read_token": 2e-7,
@@ -2225,8 +2290,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
}
}
},
@@ -2370,14 +2435,14 @@
"prompt_token": 6e-8,
"completion_token": 3.3e-7
},
- "google-vertex": {
+ "google-vertex-global": {
"prompt_token": 1.5e-7,
"completion_token": 6e-7
},
"io-net-bf16": {
- "prompt_token": 9e-8,
- "completion_token": 4e-7,
- "cache_read_token": 6e-8
+ "prompt_token": 1.5e-7,
+ "completion_token": 5e-7,
+ "cache_read_token": 1.5e-7
},
"ionstream-bf16": {
"prompt_token": 7e-8,
@@ -2385,7 +2450,7 @@
"cache_read_token": 4e-8
},
"nextbit-bf16": {
- "prompt_token": 1e-7,
+ "prompt_token": 1.3e-7,
"completion_token": 4e-7,
"cache_read_token": 5e-8
},
@@ -2870,6 +2935,10 @@
"prompt_token": 7.2e-7,
"completion_token": 7.2e-7
},
+ "google-vertex-us-central1": {
+ "prompt_token": 7.2e-7,
+ "completion_token": 7.2e-7
+ },
"groq": {
"prompt_token": 5.9e-7,
"completion_token": 7.9e-7
@@ -2960,7 +3029,7 @@
"prompt_token": 8e-8,
"completion_token": 3e-7
},
- "google-vertex": {
+ "google-vertex-us-east5": {
"prompt_token": 2.5e-7,
"completion_token": 7e-7
},
@@ -3021,6 +3090,21 @@
}
}
},
+ {
+ "model": "microsoft/phi-4-mini-instruct",
+ "cost": {
+ "default": {
+ "prompt_token": 8e-8,
+ "completion_token": 3.5e-7,
+ "cache_read_token": 8e-8
+ },
+ "wandb-bf16": {
+ "prompt_token": 8e-8,
+ "completion_token": 3.5e-7,
+ "cache_read_token": 8e-8
+ }
+ }
+ },
{
"model": "microsoft/wizardlm-2-8x22b",
"cost": {
@@ -3212,8 +3296,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,
@@ -4319,6 +4403,11 @@
"completion_token": 0.000008,
"cache_read_token": 5e-7
},
+ "azure-swedencentral": {
+ "prompt_token": 0.000002,
+ "completion_token": 0.000008,
+ "cache_read_token": 5e-7
+ },
"openai": {
"prompt_token": 0.000002,
"completion_token": 0.000008,
@@ -4341,6 +4430,11 @@
"completion_token": 0.0000016,
"cache_read_token": 1e-7
},
+ "azure-swedencentral": {
+ "prompt_token": 4e-7,
+ "completion_token": 0.0000016,
+ "cache_read_token": 1e-7
+ },
"openai": {
"prompt_token": 4e-7,
"completion_token": 0.0000016,
@@ -4363,6 +4457,11 @@
"completion_token": 4e-7,
"cache_read_token": 3e-8
},
+ "azure-swedencentral": {
+ "prompt_token": 1e-7,
+ "completion_token": 4e-7,
+ "cache_read_token": 3e-8
+ },
"openai": {
"prompt_token": 1e-7,
"completion_token": 4e-7,
@@ -4470,6 +4569,11 @@
"completion_token": 6e-7,
"cache_read_token": 7.5e-8
},
+ "azure-swedencentral": {
+ "prompt_token": 1.5e-7,
+ "completion_token": 6e-7,
+ "cache_read_token": 7.5e-8
+ },
"openai": {
"prompt_token": 1.5e-7,
"completion_token": 6e-7,
@@ -4535,6 +4639,11 @@
"completion_token": 0.00001,
"cache_read_token": 1.25e-7
},
+ "azure-swedencentral": {
+ "prompt_token": 0.00000125,
+ "completion_token": 0.00001,
+ "cache_read_token": 1.25e-7
+ },
"openai-default": {
"prompt_token": 0.00000125,
"completion_token": 0.00001,
@@ -4625,6 +4734,11 @@
"completion_token": 0.000002,
"cache_read_token": 3e-8
},
+ "azure-swedencentral": {
+ "prompt_token": 2.5e-7,
+ "completion_token": 0.000002,
+ "cache_read_token": 3e-8
+ },
"openai": {
"prompt_token": 2.5e-7,
"completion_token": 0.000002,
@@ -4646,6 +4760,11 @@
"completion_token": 4e-7,
"cache_read_token": 1e-8
},
+ "azure-swedencentral": {
+ "prompt_token": 5e-8,
+ "completion_token": 4e-7,
+ "cache_read_token": 1e-8
+ },
"openai": {
"prompt_token": 5e-8,
"completion_token": 4e-7,
@@ -4682,6 +4801,11 @@
"completion_token": 0.00001,
"cache_read_token": 1.3e-7
},
+ "azure-swedencentral": {
+ "prompt_token": 0.00000125,
+ "completion_token": 0.00001,
+ "cache_read_token": 1.3e-7
+ },
"openai-default": {
"prompt_token": 0.00000125,
"completion_token": 0.00001,
@@ -5075,6 +5199,23 @@
}
}
},
+ {
+ "model": "openai/gpt-chat-latest",
+ "cost": {
+ "default": {
+ "prompt_token": 0.000005,
+ "completion_token": 0.00003,
+ "cache_read_token": 5e-7,
+ "web_search": 0.01
+ },
+ "openai": {
+ "prompt_token": 0.000005,
+ "completion_token": 0.00003,
+ "cache_read_token": 5e-7,
+ "web_search": 0.01
+ }
+ }
+ },
{
"model": "openai/gpt-oss-120b",
"cost": {
@@ -5086,6 +5227,10 @@
"prompt_token": 1.5e-7,
"completion_token": 6e-7
},
+ "amazon-bedrock-eu-west-1": {
+ "prompt_token": 1.5e-7,
+ "completion_token": 6e-7
+ },
"atlas-cloud-fp8": {
"prompt_token": 1e-7,
"completion_token": 4e-7,
@@ -5117,7 +5262,7 @@
"completion_token": 6e-7,
"cache_read_token": 1.4e-8
},
- "google-vertex": {
+ "google-vertex-global": {
"prompt_token": 9e-8,
"completion_token": 3.6e-7
},
@@ -5127,9 +5272,9 @@
"cache_read_token": 7.5e-8
},
"io-net-fp16": {
- "prompt_token": 1.575e-7,
- "completion_token": 3.51e-7,
- "cache_read_token": 7.65e-8
+ "prompt_token": 1.75e-7,
+ "completion_token": 5e-7,
+ "cache_read_token": 1.75e-7
},
"nebius-fp4": {
"prompt_token": 1.5e-7,
@@ -5191,6 +5336,10 @@
"prompt_token": 7e-8,
"completion_token": 1.5e-7
},
+ "amazon-bedrock-eu-west-1": {
+ "prompt_token": 7e-8,
+ "completion_token": 1.5e-7
+ },
"deepinfra-bf16": {
"prompt_token": 3e-8,
"completion_token": 1.4e-7
@@ -5200,7 +5349,7 @@
"completion_token": 3e-7,
"cache_read_token": 3.5e-8
},
- "google-vertex": {
+ "google-vertex-us-central1": {
"prompt_token": 7e-8,
"completion_token": 2.5e-7
},
@@ -5830,7 +5979,7 @@
"prompt_token": 2e-7,
"completion_token": 8e-7
},
- "google-vertex": {
+ "google-vertex-us-south1": {
"prompt_token": 2.5e-7,
"completion_token": 0.000001
},
@@ -6053,7 +6202,7 @@
"completion_token": 0.000001,
"cache_read_token": 1e-7
},
- "google-vertex": {
+ "google-vertex-us-south1": {
"prompt_token": 2.2e-7,
"completion_token": 0.0000018
},
@@ -6232,7 +6381,7 @@
"prompt_token": 9e-8,
"completion_token": 0.0000011
},
- "google-vertex": {
+ "google-vertex-global": {
"prompt_token": 1.5e-7,
"completion_token": 0.0000012
},
@@ -6276,7 +6425,7 @@
"completion_token": 0.0000015,
"cache_read_token": 1.5e-7
},
- "google-vertex": {
+ "google-vertex-global": {
"prompt_token": 1.5e-7,
"completion_token": 0.0000012
},