Loading...
Loading...
Compare original and translation side by side
| Variable | Required | Description |
|---|---|---|
| Yes | Langfuse public key |
| Yes | Langfuse secret key |
| No | Langfuse host URL (default: |
| 变量名 | 是否必填 | 说明 |
|---|---|---|
| 是 | Langfuse公钥 |
| 是 | Langfuse密钥 |
| 否 | Langfuse主机地址(默认值: |
npx tsx scripts/langfuse-model-upsert.ts "<model-name>" --input <input-price> --output <output-price>npx tsx scripts/langfuse-model-upsert.ts "<model-name>" --input <input-price> --output <output-price>npx tsx scripts/langfuse-model-upsert.ts "<model-name>" --input <input-price> --output <output-price> --pattern "<regex>"npx tsx scripts/langfuse-model-upsert.ts "<model-name>" --input <input-price> --output <output-price> --pattern "<regex>"undefinedundefinedundefinedundefinedUpdating existing model: qwen/qwen3-32b
Current: input=$0.20, output=$0.40
Deleted old model definition
Model updated successfully!
Model Name: qwen/qwen3-32b
Input Price: $0.29/1M tokens
Output Price: $0.59/1M tokensUpdating existing model: qwen/qwen3-32b
Current: input=$0.20, output=$0.40
Deleted old model definition
Model updated successfully!
Model Name: qwen/qwen3-32b
Input Price: $0.29/1M tokens
Output Price: $0.59/1M tokens| Parameter | Description |
|---|---|
| Model identifier (required) |
| Cost per 1M input tokens (USD) |
| Cost per 1M output tokens (USD) |
| Regex pattern for model name matching (default: exact match) |
| 参数 | 说明 |
|---|---|
| 模型标识符(必填) |
| 每百万输入Token的成本(美元) |
| 每百万输出Token的成本(美元) |
| 模型名称匹配的正则表达式(默认:精确匹配) |