estimate-cost

estimate-cost is a command for coding agents from armanzeroeight/fastagent-plugins. It costs 10 tokens per session (1,317 once invoked), scanned A, original, MIT.

A command for estimating the cost of planned AWS cloud resources or analyzing current AWS spending. AWS is a cloud platform that charges for services such as servers, databases, and storage.

In plain words
What is it for?
Use it with resource specifications such as region, server type, database type, storage, request volume, and running hours to estimate service costs and possible reserved-instance savings.
Why use it?
It helps turn infrastructure details into an approximate monthly cost before deployment or during spending reviews.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/armanzeroeight/fastagent-plugins/estimate-cost
Clone the repo
git clone --depth 1 https://github.com/armanzeroeight/fastagent-plugins

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for estimate-cost

README.md
[![agentmods](https://agentmods.dev/badge/commands/armanzeroeight/fastagent-plugins/estimate-cost.svg)](https://agentmods.dev/commands/armanzeroeight/fastagent-plugins/estimate-cost)
Your own site
<a href="https://agentmods.dev/commands/armanzeroeight/fastagent-plugins/estimate-cost"><img src="https://agentmods.dev/badge/commands/armanzeroeight/fastagent-plugins/estimate-cost.svg" alt="Measured on agentmods" height="20"></a>
Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,317 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00010 $0.01317
Opus 5 $0.00005 $0.00659
Sonnet 5 $0.00002 $0.00263
Haiku 4.5 $0.00001 $0.00132

Measured 3d ago against content hash e996823cd6fa, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

estimate-cost scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/aws-toolkit/commands/estimate-cost.md · 174 lines

How it starts

The opening of the file, as written. The whole thing — 174 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Estimate AWS Cost

Estimate costs for AWS infrastructure based on resource specifications.

Your Task

Provide cost estimates for AWS resources based on specifications.

Arguments

  • $1: Resource specifications (inline or file path)

Steps

  1. Parse resource specifications:

    Expected format:

    region: us-east-1
    resources:
      - type: ec2
        instance_type: t3.medium
        count: 2
        hours_per_month: 730
      - type: rds
        instance_type: db.t3.small
        engine: postgres
        storage_gb: 100
      - type: s3
        storage_gb: 1000
        requests_per_month: 1000000
    
  2. Calculate costs by service:

    EC2 pricing (us-east-1, approximate):

    • t3.micro: $0.0104/hour (~$7.50/month)
    • t3.small: $0.0208/hour (~$15/month)
    • t3.medium: $0.0416/hour (~$30/month)
    • t3.large: $0.0832/hour (~$60/month)
    • m5.large: $0.096/hour (~$70/month)
    • m5.xlarge: $0.192/hour (~$140/month)

    Reserved Instance savings:

    • 1-year: ~30-40% discount
    • 3-year: ~50-60% discount

    RDS pricing (us-east-1, approximate):

    • db.t3.micro: $0.017/hour (~$12/month)
    • db.t3.small: $0.034/hour (~$25/month)
    • db.t3.medium: $0.068/hour (~$50/month)
    • Storage: $0.115/GB-month (gp2)
    • Backup storage: $0.095/GB-month

    S3 pricing:

    • Standard storage: $0.023/GB-month (first 50 TB)
    • Standard-IA: $0.0125/GB-month
    • Glacier: $0.004/GB-month
    • PUT requests: $0.005 per 1,000
    • GET requests: $0.0004 per 1,000

    Data transfer:

    • Out to internet: $0.09/GB (first 10 TB)
    • Between regions: $0.02/GB
    • CloudFront: $0.085/GB (first 10 TB)

    Lambda:

    • $0.20 per 1M requests
    • $0.0000166667 per GB-second

    DynamoDB:

    • On-demand: $1.25 per million write requests, $0.25 per million read requests
    • Provisioned: $0.00065 per WCU-hour, $0.00013 per RCU-hour
    • Storage: $0.25/GB-month
  3. Calculate total monthly cost:

    EC2: 2 × t3.medium × $30 = $60
    RDS: 1 × db.t3.small × $25 = $25
    RDS Storage: 100 GB × $0.115 = $11.50
    S3 Storage: 1000 GB × $0.023 = $23
    S3 Requests: 1M × $0.005 = $5
    
    Total: $124.50/month
    

Read the full file on GitHub · 174 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 174 lines · 10 tokens per session scan A e996823cd6fa

Subscribe to this mod's changes

estimate-cost is a command published in the GitHub repository armanzeroeight/fastagent-plugins (29 stars, last pushed 1mo ago), licensed MIT. It adds 10 tokens to every session and 1,317 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.