本文へスキップ
Kitbay
スキル

add-model-price

NOASSERTION2026年11月11日 更新37,296GitHubスタースクリプトあり

A maintainer skill in the Langfuse repository for changing the default model prices that Langfuse uses to estimate the cost of language model calls.

スキルの内容

A maintainer skill in the Langfuse repository for changing the default model prices that Langfuse uses to estimate the cost of language model calls. It covers adding a model from the provider's official pricing page with a new ID, a regular expression that matches the model names used by OpenAI, Anthropic, Bedrock, Vertex, Azure or Gemini, and at least one pricing tier with prices written per token; updating prices, cache pricing or tiers and refreshing the timestamp; and removing retired models from selectable lists while keeping their prices for historical costs. Seven reference files explain the schema, provider usage keys and audits, and two bundled Node scripts validate the prices file and test a match pattern.

できること

  • Add a model with pricing tiers
  • Write match patterns for provider model names
  • Retire a model from selectable lists
  • Validate the prices file with a script