Skip to content
Kitbay
Skill

add-model-price

NOASSERTIONUpdated on Nov 11, 202637,296GitHub starsIncludes scripts

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

What the skill teaches

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.

Capabilities

  • 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