返回顶部
🇺🇸 English
🇨🇳 简体中文
🇨🇳 繁體中文
🇺🇸 English
🇯🇵 日本語
🇰🇷 한국어
🇫🇷 Français
🇩🇪 Deutsch
🇪🇸 Español
🇷🇺 Русский
n

nadirclaw

Install, configure, and run NadirClaw LLM router to cut AI API costs by 40-70%. Use when the user wants to reduce LLM spending, route prompts to cheaper models, set up cost-saving proxy, or optimize API usage across providers (OpenAI, Anthropic, Google, Ollama). Also use when asked about model routing, LLM cost optimization, or setting up NadirClaw with OpenClaw.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
300
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

nadirclaw

# NadirClaw Skill NadirClaw is an open-source LLM router that classifies prompts in ~10ms and routes simple ones to cheap/local models while keeping complex work on premium models. ## Install ```bash pip install nadirclaw ``` ## Setup Run the interactive wizard: ```bash nadirclaw setup ``` Or auto-configure for OpenClaw: ```bash nadirclaw openclaw onboard ``` This writes NadirClaw as a provider in OpenClaw config with model `nadirclaw/auto`. No restart needed. ## Start ```bash nadirclaw serve --verbose ``` Runs on `http://localhost:8856`. Any OpenAI-compatible tool can use it by pointing to this URL. ## Point tools at NadirClaw ```bash # OpenClaw (auto) nadirclaw openclaw onboard # Claude Code ANTHROPIC_BASE_URL=http://localhost:8856/v1 claude # Any OpenAI-compatible tool OPENAI_BASE_URL=http://localhost:8856/v1 <tool> ``` ## Routing profiles Pass `x-routing-profile` header or use these models: - `nadirclaw/auto` - smart routing (default) - `nadirclaw/eco` - maximize savings - `nadirclaw/premium` - always use best model - `nadirclaw/free` - Ollama/local only - `nadirclaw/reasoning` - chain-of-thought optimized ## Monitor savings ```bash nadirclaw savings # cost savings report nadirclaw report # detailed routing analytics nadirclaw dashboard # live terminal dashboard ``` ## Key features - ~10ms classification overhead - Session persistence (no model bouncing mid-conversation) - Rate limit fallback (auto-retry on 429) - Agentic task detection (forces premium for tool use) - Context-window filtering (auto-swaps for long conversations) - Supports: OpenAI, Anthropic, Google Gemini, Ollama, any LiteLLM provider ## Troubleshooting - If `nadirclaw serve` fails, check API keys: `nadirclaw setup` - For Ollama: ensure `ollama serve` is running first - Logs: `nadirclaw report --last 20` to see recent routing decisions - Raw debug: `nadirclaw serve --verbose --log-raw`

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 nadirclaw-1776295726 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 nadirclaw-1776295726 技能

通过命令行安装

skillhub install nadirclaw-1776295726

下载

⬇ 下载 nadirclaw v1.0.0(免费)

文件大小: 2.06 KB | 发布时间: 2026-4-16 15:54

v1.0.0 最新 2026-4-16 15:54
Initial release

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部