실시간 Azure 소매 가격을 조회하고 Copilot Studio 에이전트의 크레딧 소비량을 추정합니다.
- GitHub 스타
- 41,038
- 파일
- 5
- 마지막 커밋
- 2026년 11월 11일
- 라이선스
- MIT
- 허용된 도구
- —
azure-pricing skill은 무엇을 하나요?
azure-pricing은(는) agent skill입니다. 실시간 Azure 소매 가격을 조회하고 Copilot Studio 에이전트의 크레딧 소비량을 추정합니다.
skill의 SKILL.md에서 생성된 요약입니다.
azure-pricing skill 정보
이 SKILL은 개발자와 클라우드 아키텍트가 실시간 Azure 소매 가격을 조회하고 Copilot Studio 에이전트의 크레딧 소비량을 추정할 수 있도록 지원합니다. Azure Retail Prices API에 연결하여 컴퓨팅, 스토리지, 네트워킹, 데이터베이스, AI를 포함한 다양한 서비스 제품군의 현재 비용을 가져옵니다. OData 필터 구문을 사용하여 에이전트가 특정 SKU, 지역 또는 스팟 가격 및 예약과 같은 가격 유형을 정확히 찾아낼 수 있습니다.
사용자가 Copilot Studio에 대해 문의하면, 이 SKILL은 에이전트 유형, 사용자 수 및 상호작용량을 평가하여 예상 월간 비용을 계산합니다. 지식 크레딧, 도구 사용 및 프롬프트 수정 사항을 반영하기 위해 특정 공식을 사용합니다. 이를 통해 크레딧 소비량과 예상 USD 비용에 대한 상세한 내역을 확인할 수 있습니다. 이 도구는 모든 계산이 최신 요금 체계 및 초과 사용 적용 규칙을 반영할 수 있도록 Microsoft 공식 문서 및 가격 엔드포인트에 대한 인터넷 접속을 활용합니다.
agent가 수행할 수 있는 작업
- 1Azure SKU 비용 비교특정 지역 내 서로 다른 가상 머신 SKU 간의 가격 차이를 확인합니다.
- 2Copilot Studio 사용량 추정예상 월간 상호작용 및 도구 사용량을 기반으로 Copilot Studio 에이전트의 월간 USD 비용을 계산합니다.
- 3AI 서비스 가격 확인특정 Azure 지역 내 Foundry Models의 현재 소비 요율을 확인합니다.
skill의 SKILL.md를 기반으로 작성되었습니다. 모든 사용 사례는 해당 문서의 인용구와 대조 확인되었습니다.
azure-pricing skill 설치 방법
각 명령은 skill 폴더를 클라이언트의 skills 디렉터리에 복사합니다. 클라이언트를 재시작하거나 새 세션을 시작하여 로드하세요.Claude Code에 azure-pricing skill 설치
~/.claude/skills/azure-pricing/SKILL.md
$ npx degit github/awesome-copilot/skills/azure-pricing ~/.claude/skills/azure-pricingClaude Code (project)에 azure-pricing skill 설치
.claude/skills/azure-pricing/SKILL.md
$ npx degit github/awesome-copilot/skills/azure-pricing .claude/skills/azure-pricingCodex에 azure-pricing skill 설치
~/.agents/skills/azure-pricing/SKILL.md
$ npx degit github/awesome-copilot/skills/azure-pricing ~/.agents/skills/azure-pricingGemini CLI에 azure-pricing skill 설치
~/.gemini/skills/azure-pricing/SKILL.md
$ npx degit github/awesome-copilot/skills/azure-pricing ~/.gemini/skills/azure-pricingClaude.ai에 azure-pricing skill 설치
npx degit github/awesome-copilot/skills/azure-pricing azure-pricing && zip -r azure-pricing.zip azure-pricing # claude.ai → Customize → Skills → + → Create skill → Upload a skill → azure-pricing.zip
자동 검사
2026년 11월 15일에 실행됨전체 보고서 →자동 검사를 통과했습니다. 보안 감사는 아닙니다. 에이전트가 실행하기 전에 스크립트를 읽어 보세요. 검사 방식
- 소스 저장소 연결 및 접근 가능github/awesome-copilot/skills/azure-pricing is public and reachablegithub.com/github/awesome-copilot/tree/HEAD/skills/azure-pri ↗통과
- 오픈 소스 라이선스 (OSI)MITspdx.org/licenses/MIT.html ↗통과
- 최근 1년 내 커밋 또는 릴리스Last commit 2026-11-11github.com/github/awesome-copilot/commits ↗통과
- 스크립트에 다운로드 후 실행이나 자격 증명 탈취가 없음No scripts in the skill folder통과
- SKILL.md에 숨겨진 지침 없음No override phrases, safeguard switches, credential requests or hidden charactersgithub.com/github/awesome-copilot/blob/HEAD/skills/azure-pri ↗통과
- 사전 허용 도구가 제한됨No pre-approved tools; the agent asks before using onegithub.com/github/awesome-copilot/blob/HEAD/skills/azure-pri ↗통과
- SKILL.md가 Agent Skills 형식을 따름Valid name and description; says when to use it; 190 linesgithub.com/github/awesome-copilot/blob/HEAD/skills/azure-pri ↗통과
SKILL.md
GitHub에서 보기Azure Pricing Skill
Use this skill to retrieve real-time Azure retail pricing data from the public Azure Retail Prices API. No authentication is required.
When to Use This Skill
- User asks about the cost of an Azure service (e.g., "How much does a D4s v5 VM cost?")
- User wants to compare pricing across regions or SKUs
- User needs a cost estimate for a workload or architecture
- User mentions Azure pricing, Azure costs, or Azure billing
- User asks about reserved instance vs. pay-as-you-go pricing
- User wants to know about savings plans or spot pricing
API Endpoint
GET https://prices.azure.com/api/retail/prices?api-version=2023-01-01-preview
Append $filter as a query parameter using OData filter syntax. Always use api-version=2023-01-01-preview to ensure savings plan data is included.
Step-by-step Instructions
If anything is unclear about the user's request, ask clarifying questions to identify the correct filter fields and values before calling the API.
- Identify filter fields from the user's request (service name, region, SKU, price type).
- Resolve the region: the API requires
armRegionNamevalues in lowercase with no spaces (e.g. "East US" →eastus, "West Europe" →westeurope, "Southeast Asia" →southeastasia). See references/REGIONS.md for a complete list. - Build the filter string using the fields below and fetch the URL.
- Parse the
Itemsarray from the JSON response. Each item contains price and metadata. - Follow pagination via
NextPageLinkif you need more than the first 1000 results (rarely needed). - Calculate cost estimates using the formulas in references/COST-ESTIMATOR.md to produce monthly/annual estimates.
- Present results in a clear summary table with service, SKU, region, unit price, and monthly/annual estimates.
Filterable Fields
| Field | Type | Example |
|---|---|---|
serviceName |
string (exact, case-sensitive) | 'Functions', 'Virtual Machines', 'Storage' |
serviceFamily |
string (exact, case-sensitive) | 'Compute', 'Storage', 'Databases', 'AI + Machine Learning' |
armRegionName |
string (exact, lowercase) | 'eastus', 'westeurope', 'southeastasia' |
armSkuName |
string (exact) | 'Standard_D4s_v5', 'Standard_LRS' |
skuName |
string (contains supported) | 'D4s v5' |
priceType |
string | 'Consumption', 'Reservation', 'DevTestConsumption' |
meterName |
string (contains supported) | 'Spot' |
Use eq for equality, and to combine, and contains(field, 'value') for partial matches.
Example Filter Strings
# All consumption prices for Functions in East US
serviceName eq 'Functions' and armRegionName eq 'eastus' and priceType eq 'Consumption'
# D4s v5 VMs in West Europe (consumption only)
armSkuName eq 'Standard_D4s_v5' and armRegionName eq 'westeurope' and priceType eq 'Consumption'
# All storage prices in a region
serviceName eq 'Storage' and armRegionName eq 'eastus'
# Spot pricing for a specific SKU
armSkuName eq 'Standard_D4s_v5' and contains(meterName, 'Spot') and armRegionName eq 'eastus'
# 1-year reservation pricing
serviceName eq 'Virtual Machines' and priceType eq 'Reservation' and armRegionName eq 'eastus'
# Azure AI / OpenAI pricing (now under Foundry Models)
serviceName eq 'Foundry Models' and armRegionName eq 'eastus' and priceType eq 'Consumption'
# Azure Cosmos DB pricing
serviceName eq 'Azure Cosmos DB' and armRegionName eq 'eastus' and priceType eq 'Consumption'
Full Example Fetch URL
https://prices.azure.com/api/retail/prices?api-version=2023-01-01-preview&$filter=serviceName eq 'Functions' and armRegionName eq 'eastus' and priceType eq 'Consumption'
URL-encode spaces as %20 and quotes as %27 when constructing the URL.
Key Response Fields
{
"Items": [
{
"retailPrice": 0.000016,
"unitPrice": 0.000016,
"currencyCode": "USD",
"unitOfMeasure": "1 Execution",
"serviceName": "Functions",
"skuName": "Premium",
"armRegionName": "eastus",
"meterName": "vCPU Duration",
"productName": "Functions",
"priceType": "Consumption",
"isPrimaryMeterRegion": true,
"savingsPlan": [
{ "unitPrice": 0.000012, "term": "1 Year" },
{ "unitPrice": 0.000010, "term": "3 Years" }
]
}
],
"NextPageLink": null,
"Count": 1
}
Only use items where isPrimaryMeterRegion is true unless the user specifically asks for non-primary meters.
Supported serviceFamily Values
Analytics, Compute, Containers, Data, Databases, Developer Tools, Integration, Internet of Things, Management and Governance, Networking, Security, Storage, Web, AI + Machine Learning
Tips
serviceNamevalues are case-sensitive. When unsure, filter byserviceFamilyfirst to discover validserviceNamevalues in the results.- If results are empty, try broadening the filter (e.g., remove
priceTypeor region constraints first). - Prices are always in USD unless
currencyCodeis specified in the request. - For savings plan prices, look for the
savingsPlanarray on each item (only in2023-01-01-preview). - See references/SERVICE-NAMES.md for a catalog of common service names and their correct casing.
- See references/COST-ESTIMATOR.md for cost estimation formulas and patterns.
- See references/COPILOT-STUDIO-RATES.md for Copilot Studio billing rates and estimation formulas.
Troubleshooting
| Issue | Solution |
|---|---|
| Empty results | Broaden the filter — remove priceType or armRegionName first |
| Wrong service name | Use serviceFamily filter to discover valid serviceName values |
| Missing savings plan data | Ensure api-version=2023-01-01-preview is in the URL |
| URL errors | Check URL encoding — spaces as %20, quotes as %27 |
| Too many results | Add more filter fields (region, SKU, priceType) to narrow down |
Copilot Studio Agent Usage Estimation
Use this section when the user asks about Copilot Studio pricing, Copilot Credits, or agent usage costs.
When to Use This Section
- User asks about Copilot Studio pricing or costs
- User asks about Copilot Credits or agent credit consumption
- User wants to estimate monthly costs for a Copilot Studio agent
- User mentions agent usage estimation or the Copilot Studio estimator
- User asks how much an agent will cost to run
Key Facts
- 1 Copilot Credit = $0.01 USD
- Credits are pooled across the entire tenant
- Employee-facing agents with M365 Copilot licensed users get classic answers, generative answers, and tenant graph grounding at zero cost
- Overage enforcement triggers at 125% of prepaid capacity
Step-by-step Estimation
- Gather inputs from the user: agent type (employee/customer), number of users, interactions/month, knowledge %, tenant graph %, tool usage per session.
- Fetch live billing rates — use the built-in web fetch tool to download the latest rates from the source URLs listed below. This ensures the estimate always uses the most current Microsoft pricing.
- Parse the fetched content to extract the current billing rates table (credits per feature type).
- Calculate the estimate using the rates and formulas from the fetched content:
total_sessions = users × interactions_per_month- Knowledge credits: apply tenant graph grounding rate, generative answer rate, and classic answer rate
- Agent tools credits: apply agent action rate per tool call
- Agent flow credits: apply flow rate per 100 actions
- Prompt modifier credits: apply basic/standard/premium rates per 10 responses
- Present results in a clear table with breakdown by category, total credits, and estimated USD cost.
Source URLs to Fetch
When answering Copilot Studio pricing questions, fetch the latest content from these URLs to use as context:
| URL | Content |
|---|---|
| https://learn.microsoft.com/en-us/microsoft-copilot-studio/requirements-messages-management | Billing rates table, billing examples, overage enforcement rules |
| https://learn.microsoft.com/en-us/microsoft-copilot-studio/billing-licensing | Licensing options, M365 Copilot inclusions, prepaid vs pay-as-you-go |
Fetch at least the first URL (billing rates) before calculating. The second URL provides supplementary context for licensing questions.
See references/COPILOT-STUDIO-RATES.md for a cached snapshot of rates, formulas, and billing examples (use as fallback if web fetch is unavailable).
이 스킬의 파일
5azure-pricing skill 질문
Claude Code에 azure-pricing skill을 어떻게 설치하나요?
npx degit github/awesome-copilot/skills/azure-pricing ~/.claude/skills/azure-pricing를 실행합니다. Claude Code는 ~/.claude/skills(모든 프로젝트) 또는 .claude/skills(한 프로젝트)에서 skills를 로드하며, 설명이 작업과 일치할 때 skill을 사용합니다.
azure-pricing skill을 사용할 수 있는 클라이언트는 무엇인가요?
Agent Skills 형식을 읽는 모든 클라이언트(Claude Code, Codex, Gemini CLI, claude.ai(ZIP으로 업로드))가 사용할 수 있습니다. skill 내 스크립트는 클라이언트가 코드 실행을 허용하는 경우에만 실행됩니다.
Copilot Credit 비용은 얼마인가요?
Copilot Credit 1개는 미화 0.01달러와 동일합니다.
Azure Retail Prices API를 사용하려면 인증이 필요한가요?
공용 API에서 가격 데이터를 가져오는 데는 별도의 인증이 필요하지 않습니다.
가격 요청 시 savings plan 데이터를 포함하려면 어떻게 해야 하나요?
savings plan 데이터가 포함되도록 요청 시 api-version=2023-01-01-preview를 추가해야 합니다.