원클릭으로
langfuse-model-upsert
Create or update Langfuse model pricing. Use when setting up new models, updating pricing, or configuring model costs.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Create or update Langfuse model pricing. Use when setting up new models, updating pricing, or configuring model costs.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
List all Langfuse models with their pricing. Use when checking model costs, verifying pricing configuration, or getting an overview of model definitions.
List Langfuse sessions. Use when checking user sessions, analyzing conversation flows, or monitoring session activity.
View Langfuse session details with all traces. Use when analyzing conversation flows, checking session costs, or debugging multi-turn interactions.
List Langfuse traces with filtering options. Use when checking recent LLM calls, debugging issues, or monitoring costs.
View Langfuse observation (Generation/Span) details. Use when checking specific LLM call input/output, debugging issues, or analyzing costs.
List all Langfuse prompts with their labels and versions. Use when checking available prompts, verifying label assignments, or getting an overview of prompt status.
| name | langfuse-model-upsert |
| description | Create or update Langfuse model pricing. Use when setting up new models, updating pricing, or configuring model costs. |
| license | MIT |
| compatibility | Node.js 18+ (native fetch required) |
| metadata | {"author":"neuradex","category":"observability"} |
| allowed-tools | ["Bash(npx tsx *scripts/langfuse-model-upsert.ts*)"] |
Create or update model pricing information.
Set the following environment variables before use:
| Variable | Required | Description |
|---|---|---|
LANGFUSE_PUBLIC_KEY | Yes | Langfuse public key |
LANGFUSE_SECRET_KEY | Yes | Langfuse secret key |
LANGFUSE_HOST or LANGFUSE_BASE_URL | No | Langfuse host URL (default: https://us.cloud.langfuse.com) |
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>"
# Set pricing for Groq qwen3-32b
npx tsx scripts/langfuse-model-upsert.ts "qwen/qwen3-32b" --input 0.29 --output 0.59
# Set pricing for Fireworks deepseek-v3 (with pattern)
npx tsx scripts/langfuse-model-upsert.ts "deepseek-v3" --input 0.20 --output 0.60 --pattern ".*deepseek-v3.*"
Updating 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-name> | Model identifier (required) |
--input | Cost per 1M input tokens (USD) |
--output | Cost per 1M output tokens (USD) |
--pattern | Regex pattern for model name matching (default: exact match) |