360 Secure SkillHub
360 安全技能中心

Model Audit Pro

通过 Python 脚本调用 OpenRouter API 获取实时模型定价,读取 OpenClaw 配置中的现有模型,按推理、代码、快速、低价、视觉等类别比较同类替代方案,计算潜在月度节省并输出升级或降本建议,支持 JSON 输出与模型对比参数。

aiwithabidi
aiwithabidi
热度 61.88
最近更新 2026-05-10 17:37:54
分类:数据依赖:代码执行 / 读写文件 / 第三方 API应用场景:报告撰写 / 推荐 / 研究

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add model-audit-pro
Metadata
name
model-audit
description
Monthly LLM stack audit — compare your current models against latest benchmarks and pricing from OpenRouter. Identifies potential savings, upgrades, and better alternatives by category (reasoning, code, fast, cheap, vision). Use for optimizing AI costs and staying on the frontier.
homepage
https://www.agxntsix.ai
license
MIT
compatibility
Python 3.10+, OpenRouter API key
metadata
{"openclaw":{"emoji":"🔬","requires":{"env":["OPENROUTER_API_KEY"]},"primaryEnv":"OPENROUTER_API_KEY","homepage":"https://www.agxntsix.ai"}}

Model Audit 📊

Audit your LLM stack against current pricing and alternatives.

Fetches live pricing from OpenRouter, analyzes your configured models, and recommends potential savings or upgrades by category.

Quick Start

# Full audit with recommendations
python3 {baseDir}/scripts/model_audit.py

# JSON output
python3 {baseDir}/scripts/model_audit.py --json

# Audit specific models
python3 {baseDir}/scripts/model_audit.py --models "anthropic/claude-opus-4-6,openai/gpt-4o"

# Show top models by category
python3 {baseDir}/scripts/model_audit.py --top

# Compare two models
python3 {baseDir}/scripts/model_audit.py --compare "anthropic/claude-sonnet-4" "openai/gpt-4o"

What It Does

  1. Fetches live pricing from OpenRouter API
  2. Reads your configured models from openclaw.json
  3. Categorizes models (reasoning, code, fast, cheap, vision)
  4. Compares against top alternatives in each category
  5. Calculates potential monthly savings
  6. Recommends upgrades or cost optimizations

Output Example

═══ LLM Stack Audit ═══

Your Models:
  anthropic/claude-opus-4-6    $5.00/$25.00 per 1M tokens (in/out)
  openai/gpt-4o              $2.50/$10.00 per 1M tokens
  google/gemini-2.0-flash     $0.10/$0.40 per 1M tokens

Recommendations:
  💡 For fast tasks: gemini-2.0-flash is 50x cheaper than opus
  💡 Consider: deepseek/deepseek-r1 for reasoning at $0.55/$2.19
  💡 Your stack covers: reasoning ✓, code ✓, fast ✓, vision ✓

Environment

Requires OPENROUTER_API_KEY environment variable.

Credits

Built by M. Abidi | agxntsix.ai YouTube | GitHub Part of the AgxntSix Skill Suite for OpenClaw agents.

📅 Need help setting up OpenClaw for your business? Book a free consultation