model-cost-compare
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…
Skill by mergisi
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/mergisi-model-cost-compare
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/model-cost-compare
What's inside
- Skill name
model-cost-compare- Description
- 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.
- License
- MIT
- Instructions
- 77 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# 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.
| Model | Tier | Input ($/1M tok) | Output ($/1M tok) | Context | Strengths |
|---|---|---|---|---|---|
| Opus 4.6 (1M) | Frontier | ~$15 | ~$75 | 1M | Agentic, long-context, hard reasoning |
| Sonnet 4.6 | Mid | ~$3 | ~$15 | 400k | Everyday coding, agents, drafting |
| GLM-5.1 | Budget hosted | ~$0.60 | ~$2.20 | 256k | Cheap bulk work, decent reasoning |
| Minimax M2.7 | Budget hosted | ~$0.40 | ~$1.80 | 256k | Very cheap, OK for templated output |
| Gemma 4 (local) | On device | $0 marginal | $0 marginal | 32k | Free but slow, weak at multi-step logic |
> Indicative pricing as of OpenClaw 2026.4.11. Check the provider docs before billing decisions.
## Instructions
1. Parse the user's task. Extract:
- **Task type:** reasoning, extraction, classification, drafting, translation, agentic tool use, long-context synthesis.
- **Input size estimate:** in tokens. If the user says "10k tickets averaging 500 tokens", that's 5M input tokens. If unknown, ask for a rough size.
- **Output size estimate:** short label? full essay? JSON record?
- **Volume:** one-off or batch?
2. Rule out incapable models. Use this capability floor:
- Agentic multi-tool flows with long reasoning → Opus or Sonnet only.
- Structured extraction / classification with clear schema → any tier, including Gemma 4 local.
- Long-context synthesis (>400k tokens) → Opus only.
- Privacy-sensitive data that cannot leave the machine → Gemma 4 local only.
3. For each surviving model, compute:
```
cost = (input_tokens / 1_000_000) * input_price
+ (output_tokens / 1_000_000) * output_price
```
Multiply by volume. Show your arithmetic so the user can sanity-check.
4. Print the comparison as a Markdown table sorted cheapest first. Bold the recommended row.
5. End with a one-line recommendation: `Recommended: <model> — <1-sentence reason>`.
## Output example
Input: "Classify 10,000 customer support emails into 5 categories. Avg 400 input tokens, 20 output tokens."
```
Total tokens: 4M input, 200k output
| Model | Input cost | Output cost | Total | Capable? |
|-------------|-----------:|------------:|--------:|---------:|
| **Gemma 4** | $0.00 | $0.00 | $0.00 | yes |
| Minimax M2.7| $1.60 | $0.36 | $1.96 | yes |
| GLM-5.1 | $2.40 | $0.44 | $2.84 | yes |
| Sonnet 4.6 | $12.00 | $3.00 | $15.00 | yes |
| Opus 4.6 | $60.00 | $15.00 | $75.00 | overkill |
Recommended: Gemma 4 local — classification with a fixed 5-label schema is trivial for on-device models and costs nothing.
```
## Anti-patterns
- Don't recommend Opus by default "just to be safe". If Sonnet can do it, say so.
- Don't recommend a local model for agentic tool-use loops — they spiral.
- Always flag prices as approximate.
## Example invocations
- `/model-cost-compare classify 10k support tickets into 5 buckets`
- "What's the cheapest model that can draft 200 SEO meta descriptions a day?"
- "Should I use Opus or Sonnet for this 800k-token codebase review?"From mergisi/awesome-openclaw-agents, MIT.
More from mergisi/awesome-openclaw-agents
- 0.663score
openclaw-debugger
mergisi
Trigger when an OpenClaw agent is broken, silent, crashing, stuck, not responding, returning empty output, or the user says "my agent is down", "agent not…
SkillDFreshness: D★ 4KClaude Code +9 - 0.663score
excalidraw-architecture
mergisi
Trigger when the user asks for an architecture diagram, says "draw the system", "update the architecture diagram", "give me an excalidraw of this codebase"…
SkillDFreshness: D★ 4KClaude Code +9 - 0.663score
git-commit-writer
mergisi
Trigger when the user asks to write a commit message, generate a commit from staged changes, review a diff before committing, or says "/commit".
SkillDFreshness: D★ 4KClaude Code +9 - 0.663score
cost-optimizer
mergisi
Trigger when the user asks to audit Claude Code costs, reduce token spend, says "my Claude bill is too high", "optimize my CLAUDE.md", "why is this project…
SkillDFreshness: D★ 4KClaude Code +9 - 0.576score
growth-ideas
mergisi
Describe your product or project and get three actionable growth ideas tailored to your stage.
SkillDFreshness: D★ 4KClaude Code +9 - 0.576score
haiku-card
mergisi
Write a haiku about a topic and render it as a shareable card.
SkillDFreshness: D★ 4KClaude Code +9 - 0.576score
meeting-notes
mergisi
Paste raw meeting notes and get a clean summary with key decisions and action items.
SkillDFreshness: D★ 4KClaude Code +9 - 0.576score
pricing-advisor
mergisi
Describe your product and target customer, get a pricing strategy with three tiers and rationale.
SkillDFreshness: D★ 4KClaude Code +9 - 0.576score
regex-builder
mergisi
Describe a text pattern in plain English and get a working regular expression with an explanation.
SkillDFreshness: D★ 4KClaude Code +9 - 0.576score
tone-shifter
mergisi
Rewrite any text in a different tone — formal, casual, friendly, bold, or concise.
SkillDFreshness: D★ 4KClaude Code +9 - 0.576score
code-explainer
mergisi
Paste any code snippet and get a plain English explanation of what it does and how it works.
SkillDFreshness: D★ 4KClaude Code +9 - 0.576score
commit-message
mergisi
Generate a clean, conventional commit message from a description of your changes.
SkillDFreshness: D★ 4KClaude Code +9
Signals
- Stars
- 4,024
- Forks
- 643
- Open issues
- 26
- Last commit (this folder)
- Apr 13, 2026 (6 months ago)
- Last release
- Apr 4, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Website
- crewclaw.com
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.246score
model-cost-compare
heledmx-lab
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…
SkillDFreshness: DClaude Code +9 - 0.242score
model-cost-compare
TheophilusChinomona
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…
SkillDFreshness: DClaude Code +9
More from mergisi
- 0.663score
cost-optimizer
mergisi
Trigger when the user asks to audit Claude Code costs, reduce token spend, says "my Claude bill is too high", "optimize my CLAUDE.md", "why is this project…
SkillDFreshness: D★ 4KClaude Code +9 - 0.663score
excalidraw-architecture
mergisi
Trigger when the user asks for an architecture diagram, says "draw the system", "update the architecture diagram", "give me an excalidraw of this codebase"…
SkillDFreshness: D★ 4KClaude Code +9 - 0.663score
git-commit-writer
mergisi
Trigger when the user asks to write a commit message, generate a commit from staged changes, review a diff before committing, or says "/commit".
SkillDFreshness: D★ 4KClaude Code +9 - 0.663score
openclaw-debugger
mergisi
Trigger when an OpenClaw agent is broken, silent, crashing, stuck, not responding, returning empty output, or the user says "my agent is down", "agent not…
SkillDFreshness: D★ 4KClaude Code +9 - 0.576score
sql-explainer
mergisi
Paste a SQL query and get a plain English explanation of what it does.
SkillDFreshness: D★ 4KClaude Code +9 - 0.576score
standup-summary
mergisi
Tell Gemma what you did, what you're working on, and any blockers.
SkillDFreshness: D★ 4KClaude Code +9
Cite this page
model-cost-compare skill. Agent Mart. https://agentmart.dev/skills/mergisi-model-cost-compare (last updated 2026-10-24)