qiniu-usage

Query Qiniu AI API token usage and compute USD/CNY costs.

2|Updated Jan 28, 2026
One-click install
npx skills add https://github.com/Shana-AE/.shanaae-configs --skill qiniu-usage
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: qiniu-usage
Source: https://github.com/Shana-AE/.shanaae-configs/tree/main/ai/skills/local/qiniu-usage
Command: npx skills add https://github.com/Shana-AE/.shanaae-configs --skill qiniu-usage

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill enables users to query Qiniu AI API token usage and associated costs, providing clear visibility into consumption and billing for Qiniu AI models.

Core Features & Use Cases

  • Token Usage Query: Retrieve usage data by model, day, or custom time ranges.
  • Cost Calculation: Display costs in both USD and CNY to simplify budgeting.
  • Live Exchange Rate: Fetch real-time USD/CNY rates to keep cost figures current.
  • Price Management: Update and cache model pricing from sufy.com for accurate cost estimates.
  • Price Listing: View cached model prices with convenient CNY conversions for quick reference.

Quick Start

Run the script with your API key and the desired options to fetch usage and cost data for your Qiniu AI models.

Frequently Asked Questions about qiniu-usage

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

FAQPage Schema
How do I check Qiniu AI API token usage and billing costs?

You can check Qiniu AI API token usage and billing costs by querying the /v2/stat/usage endpoint with your API key to retrieve consumption data and compute costs in USD and CNY.

How does Qiniu API cost calculation handle USD to CNY exchange rates?

Qiniu API cost calculation fetches live real-time USD to CNY exchange rates to convert and display your token consumption costs, ensuring that the billing figures remain current and accurate for budgeting.

Can I retrieve Qiniu API usage statistics for a specific model or custom time range?

Yes, you can retrieve Qiniu API usage statistics filtered by specific model, day, or custom time ranges to provide clear visibility into consumption and billing data for your Qiniu AI models.

Do I need an API key to track Qiniu AI model pricing and usage data?

Yes, you need a valid Qiniu API key to resolve the /v2/stat/usage endpoint for tracking token usage, fetching cost data, and viewing cached model prices with CNY conversions.

How do I update and view cached Qiniu model pricing in CNY?

You can update and cache Qiniu model pricing from sufy.com to ensure accurate cost estimates, and view these cached model prices with convenient CNY conversions for quick reference.