본문으로 건너뛰기
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(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

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 / 1,000자

이 양식은 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의 스킬 모두 보기

이 스킬의 문제 신고