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

scheduled-actions-posthog[bot]e8194ccbd8a7
diff --git a/nodejs/src/ingestion/ai/costs/providers/canonical-providers.ts b/nodejs/src/ingestion/ai/costs/providers/canonical-providers.ts
index 7b600b6b5a63..dc1ee4d7ee28 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-28 11:10:58 UTC
+// Generated at: 2026-05-28 17:11:00 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 a8ccb2882f65..bd6a609b8664 100644
--- a/nodejs/src/ingestion/ai/costs/providers/llm-costs.json
+++ b/nodejs/src/ingestion/ai/costs/providers/llm-costs.json
@@ -645,6 +645,65 @@
}
}
},
+ {
+ "model": "anthropic/claude-opus-4.8",
+ "cost": {
+ "default": {
+ "prompt_token": 0.000005,
+ "completion_token": 0.000025,
+ "cache_read_token": 5e-7,
+ "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
+ },
+ "amazon-bedrock-us": {
+ "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,
+ "cache_read_token": 5e-7,
+ "cache_write_token": 0.00000625,
+ "web_search": 0.01
+ },
+ "anthropic-2": {
+ "prompt_token": 0.000005,
+ "completion_token": 0.000025,
+ "cache_read_token": 5e-7,
+ "cache_write_token": 0.00000625,
+ "web_search": 0.01
+ }
+ }
+ },
+ {
+ "model": "anthropic/claude-opus-4.8-fast",
+ "cost": {
+ "default": {
+ "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
+ }
+ }
+ },
{
"model": "anthropic/claude-sonnet-4",
"cost": {
@@ -976,19 +1035,6 @@
}
}
},
- {
- "model": "baidu/qianfan-ocr-fast",
- "cost": {
- "default": {
- "prompt_token": 6.8e-7,
- "completion_token": 0.00000281
- },
- "baidu-fp8": {
- "prompt_token": 6.8e-7,
- "completion_token": 0.00000281
- }
- }
- },
{
"model": "bytedance-seed/seed-1.6",
"cost": {
@@ -2331,7 +2377,7 @@
"completion_token": 1.3e-7
},
"sambanova": {
- "prompt_token": 3.5e-7,
+ "prompt_token": 2.2e-7,
"completion_token": 5.9e-7
}
}
@@ -7456,11 +7502,13 @@
"cost": {
"default": {
"prompt_token": 1.25e-7,
- "completion_token": 8.4e-7
+ "completion_token": 8.5e-7,
+ "cache_read_token": 6e-8
},
"io-net-fp8": {
"prompt_token": 1.25e-7,
- "completion_token": 8.4e-7
+ "completion_token": 8.5e-7,
+ "cache_read_token": 6e-8
},
"novita-bf16": {
"prompt_token": 1.3e-7,