跳到正文
cccskills
免费在 GitHub 公开

llm-price-lookup

look up and explain llm api pricing across models.dev, openrouter, and official provider pages. use when the user asks for model prices, input/output token costs, cached-token costs, openrouter aliases such as :free, provider-specific pricing, official versus third-party prices, or wants to verify an api call cost log.

中文简介正在准备中。当前显示原文说明。

实测评分 未实测

查看安装方法

包含的文件(5)

  • SKILL.md4.1 KB
  • agents/openai.yaml185 B
  • references/jq-recipes.md2.1 KB
  • references/source-priority.md2.0 KB
  • scripts/lookup_price.py12.1 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

LLM Price Lookup

Overview

Use this skill to look up, compare, and explain LLM pricing. Always bind a price to its source and provider; the same model family can have many prices depending on the serving provider.

Core Workflow

  1. Identify the query. Determine whether the user gave a broad model name such as glm-5.1, an exact provider/model id such as z-ai/glm-5.1, an OpenRouter id such as z-ai/glm-4.5-air:free, or a provider intent such as "Z.AI official".
  2. Query Models.dev for broad coverage. Prefer the bundled script:
    python scripts/lookup_price.py "<query>"
    
    Use its models_dev rows to preserve provider, provider_id, model_key, model_id, costs, and limits.
  3. Query OpenRouter exactly when relevant. If the id looks like an OpenRouter id or includes suffixes such as :free, :online, :beta, :extended, or :thinking, check OpenRouter exact ids before fuzzy matches. Never strip suffixes unless explicitly comparing variants.
  4. Check official provider pages when the user asks for official prices or when aggregator data conflicts. Treat official pricing pages as source of truth for billing, especially for OpenAI, Anthropic, Google, Z.AI, DeepSeek, Mistral, xAI, and other first-party APIs.
  5. Explain ambiguity. Missing Models.dev data does not mean a model is free or unavailable. A third-party provider price is not the same thing as the model vendor's official direct-API price.

Source Priority

Use this order for conclusions:

  1. Official provider pricing page or official billing docs.
  2. Exact OpenRouter /api/v1/models match for OpenRouter ids and aliases.
  3. Models.dev provider-specific entry with provider context preserved.
  4. LiteLLM or other community price registries as secondary corroboration.

If sources disagree, state the discrepancy and say which source you are using for the final conclusion.

Required Output Fields

For price lookups, include at least:

  • model or query
  • source
  • provider and provider_id
  • model_id or model_key
  • input cost per 1M tokens
  • output cost per 1M tokens
  • cache read and cache write cost per 1M tokens when available
  • context window and output limit when available
  • notes about free aliases, previews, batch discounts, cache behavior, or tool pricing when relevant

Preferred table:

sourceproviderprovider_idmodel_idinput $/1Mcache read $/1Mcache write $/1Moutput $/1Mcontext

Important Rules

  • Do not answer from a raw recursive .id search alone. Recursive search loses the parent provider, which is essential for pricing.
  • Do not conflate model vendor and serving provider. For example, GLM-5.1 can appear under Z.AI, Hugging Face, DeepInfra, OpenRouter, 302.AI, and other providers with different prices.
  • For OpenRouter aliases, match the full id first. z-ai/glm-4.5-air:free and z-ai/glm-4.5-air can have different prices.
  • Do not default unknown prices to zero. Only say zero when the matched source explicitly lists zero.
  • For official prices, prefer rows whose provider_id is the official provider, or verify against the official pricing page. For Z.AI/智谱, look for provider ids such as zai or z-ai and verify official docs when available.
  • For cost logs, recompute using the exact model id, input tokens, output tokens, cache read tokens, and cache write tokens. Mention any fields not priced by the selected source.

Bundled Resources

  • scripts/lookup_price.py: deterministic lookup against Models.dev and OpenRouter, preserving provider context.
  • references/source-priority.md: guidance for interpreting official, aggregator, and routing-platform prices.
  • references/jq-recipes.md: jq commands for manual inspection of Models.dev without losing provider context.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.

中文简介正在准备中。当前显示原文说明。

Scoheart/agentskills22026年8月4日 更新

ant-bank

免费

蚂蚁银行开户

中文简介正在准备中。当前显示原文说明。

Scoheart/agentskills22026年8月4日 更新

Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.

中文简介正在准备中。当前显示原文说明。

Scoheart/agentskills22026年8月4日 更新

Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, or extract information from web pages.

中文简介正在准备中。当前显示原文说明。

Scoheart/agentskills22026年8月4日 更新

Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.

中文简介正在准备中。当前显示原文说明。

Scoheart/agentskills22026年8月4日 更新

cloud-aws

免费

仅使用 AWS CLI 操作 AWS。Agent 直接执行 aws 命令(无需脚本)。仅在用户提到 AWS、S3、EC2、Lambda 等时激活。

中文简介正在准备中。当前显示原文说明。

Scoheart/agentskills22026年8月4日 更新

查看 Scoheart 的全部技能

报告此技能的问题