Relay Radar banner
AetherCore-Dev AetherCore-Dev

Relay Radar

AI community

Description

AI中转站质量监控 · 模型验真 · Token成本优化 — RelayRadar 中转雷达

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

🛰️ RelayRadar

你买的Opus,真的是Opus吗?

CI zero deps MIT

🇬🇧 English · 🇨🇳 中文

relay-radar monitor


问题

国内开发者大量使用中转站访问 Claude / GPT API。但我们发现:

  • 部分中转站偷偷用便宜模型替换你买的贵模型
  • 部分中转站通过注入隐藏Prompt多收你的钱
  • 你完全无法察觉,因为回复"看起来差不多"

两个坑,我们帮你查

**1. 模型是真的吗?** — 你付了Opus的钱,中转站偷偷给你Sonnet。RelayRadar 一查便知——盲测准确率 98%(100组 Opus vs Sonnet 替换测试)。

**2. 有没有多收钱?** — 偷注Prompt虚增Token、缓存按原价收费?逐笔审计,一笔不漏。

独立第三方,不收集数据,不需要注册,[源码公开](https://github.com/AetherCore-Dev/relay-radar)。

**支持检测**:Claude Opus 4.6/4.5 · Sonnet 4.6/4.5 · Haiku 4.5/3.5 · GPT-4o(更多模型持续添加中)

30秒上手

# ⭐ 一键省Token(在你的项目根目录运行)
npx relay-radar optimize

# 看看你花了多少钱(扫描本地日志,不联网)
npx relay-radar scan

# 省钱技巧
npx relay-radar tips

以上命令**不需要API Key**,复制粘贴就能跑。

`optimize` 做了什么?

你的项目有 node_modules (几万个文件)、package-lock.json (几万行)、
dist/, .next/, 图片, 日志... AI工具每次对话都会扫描这些文件。

它们对AI毫无用处,但你在为它们付Token的钱。

optimize 命令帮你生成:
  .claudeignore  — 告诉AI"这些文件不用看"(和.gitignore一样的语法)
  .cursorignore  — 同样的配置,给Cursor用
  CLAUDE.md      — 告诉AI"项目长这样",不用自己摸索

效果:每次对话减少 40-60% 的Token消耗。
兼容:Claude Code / Cursor / GitHub Copilot / Windsurf。

`scan` 会读取本地 Claude Code 的使用日志。如果你还没用过 Claude Code,先试试 `tips` 或 `cost`。

检测你的中转站

# 1. 测一下能不能连上(免费,不消耗Token)
npx relay-radar ping api.你的中转站.com

# 2. 配置中转站地址和Key
# macOS / Linux:
export RELAY_KEY="sk-你从中转站复制的key"
# Windows PowerShell:
$env:RELAY_KEY="sk-你从中转站复制