update-pricing

Update LLM pricing and capabilities in the Prompture library from models.dev and local JSON files.

12|1|Updated Sep 7, 2025
One-click install
npx skills add https://github.com/jhd3197/Prompture --skill update-pricing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: update-pricing
Source: https://github.com/jhd3197/Prompture/tree/main/.claude/skills/update-pricing
Command: npx skills add https://github.com/jhd3197/Prompture --skill update-pricing

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill ensures that Prompture has accurate and up-to-date information on LLM model pricing and capabilities, which is crucial for cost calculation and model selection.

Core Features & Use Cases

  • Price Synchronization: Updates LLM pricing using live data from models.dev.
  • Capability Management: Manages model configuration (like token parameters and feature support) via JSON files.
  • Use Case: When a new LLM model is released or an existing model's pricing changes, this Skill can be used to update Prompture's internal knowledge base, ensuring accurate cost estimations for users.

Quick Start

Refresh the models.dev pricing cache by running the refresh_rates_cache function with force set to True.

Frequently Asked Questions about update-pricing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I update LLM pricing and capabilities in the Prompture library?

To update LLM pricing in Prompture, you run the refresh_rates_cache function with the force parameter set to True, which synchronizes live rates from models.dev and integrates local JSON configuration data.

What data sources are used for synchronizing LLM model pricing?

LLM model pricing synchronization uses live rate data fetched from models.dev alongside local model configuration files stored as JSON in the prompture/infra/rates/ directory.

When do I need to sync LLM pricing data for cost calculations?

You need to sync LLM pricing data when a new LLM model is released or when existing model rates change, ensuring Prompture has the accurate token counting and cost calculation parameters required.

Can I manage LLM token parameters and feature support without external APIs?

Yes, you can manage LLM token parameters and feature support by updating the local JSON configuration files located in the prompture/infra/rates/ directory to override or supplement synchronized data.

Does updating Prompture model rates require external dependencies?

Updating Prompture model rates does not require external dependencies, relying solely on the models.dev API for live pricing data and local JSON files for capability configuration.