Skills

Model Cost Compare

Trigger when the user asks which model to use, wants to compare model costs, says...

Install

npx skills add mergisi/awesome-openclaw-agents --skill model-cost-compare -g -a claude-code -y
Category
Engineering
Updated
7d ago
License
MIT
Context cost
Lightabout 914 tokens
Runs scripts
No, instructions only

What it does

Trigger when the user asks which model to use, wants to compare model costs, says "what's cheapest for this task", "should I use Opus or Sonnet", "can a smaller model handle this", or "/model-cost-compare". Estimates token cost across Opus 4.6, Sonnet 4.6, GLM-5.1, Minimax M2.7, and local Gemma 4, then recommends the cheapest model capable of the task.

Model Cost Compare

Given a task description (and optionally a rough prompt / input size), estimate the cost of running it on each available model tier and recommend the cheapest one that can actually do the job.

When to use

  • "Which model should I use for X?"
  • "Is it worth running this on Opus or will Sonnet do?"
  • "Can I offload this to a local model?"
  • "/model-cost-compare, classify 10k support tickets"

Pricing table (indicative, always flag as "check provider docs")

Use these rough figures. They are not exact; confirm before quoting real numbers to the user.

ModelTierInput ($/1M tok)Output ($/1M tok)ContextStrengths
Opus 4.6 (1M)Frontier~$15~$751MAgentic, long-context, hard reasoning
Sonnet 4.6Mid~$3~$15400kEveryday coding, agents, drafting
GLM-5.1Budget hosted~$0.60~$2.20256kCheap bulk work, decent reasoning
Minimax M2.7Budget hosted~$0.40~$1.80256kVery cheap, OK for templated output
Gemma 4 (local)On device$0 marginal$0 marginal32kFree but slow, weak at multi-step logic

Indicative pricing as of OpenClaw 2026.4.11. Check the provider docs before billing decisions.

Instructions

Read the whole SKILL.md on GitHub

More in Engineering