# CostLean AI (CostLean AI · 智省 AI) > Enterprise Token Economics, Open-Source Cloud FinOps, and Orchestrated Multi-Agent Cost Reduction Platform by CostLean AI. Strictly Zero Third-Party Ads. Contact: costleanai@gmail.com CostLean AI helps engineering teams, CFOs, and enterprise operators cut LLM API & AWS cloud waste by 30%–68% via deterministic counterfactual log replay and the `LeanRouter` gateway, then scale automated cost reduction across the 75% operational cost iceberg (Customer Ops, Marketing & Sales, Procurement, Finance & G&A, and Software Engineering) through persistent `Manager -> Sub-Bot` workbenches (`SOUL.md` + `MEMORY.md`). ## Core Entry Points & Interactive Tools - [English Brand Portal](https://costlean.com/): Executive overview, 10-second P&L savings calculator, 1+5 full-stack FinOps matrix, CostLean CLEAR™ governance, and transparent 3-tier pricing. - [Chinese Brand Portal / 简体中文官网](https://costlean.com/zh/): 企业级 Token 经济学、1+5 全价值链降本矩阵、下一代总管编队工作台与三级透明定价。 - [Free Counterfactual Bill Scanner (EN)](https://costlean.com/scanner/): 100% browser-local (0 Bytes Uploaded) analyzer for OpenAI/Anthropic/OpenRouter CSVs, Orca/OpenCode JSONL logs, AWS Cost Explorer NAT Gateway bills, and SaaS subscriptions. - [免费本地账单止血扫描器 (ZH)](https://costlean.com/zh/scanner/): 免登录、0 字节上传纯前端反事实重算扫描台,秒级定位大模型 API、多常驻 Bot 与 AWS NAT 网关漏损。 - [CostLean Next-Gen Agentic Workbench](https://app.costlean.com): Unified LeanCredits wallet (`1 USD = 100 LeanCredits`), `sk-lean-*` OpenAI-compatible routing gateway (`https://api.costlean.com/v1`), 1+5 vertical FinOps Skills, MCP connectors, and 3-second custom `/w/` workspace provisioning via `costlean-workbench-builder`. ## Product & Governance Architecture Summary - **1+5 Full-Value-Chain Matrix**: - **Base 0 (25% Compute & Cloud Layer)**: `LeanRouter` semantic caching + confidence-aware model tiering (-30% to -68% API spend, <=2% quality delta) + open-source `steampipe-mod-aws-thrifty`, `Cloud Custodian`, and ARM `t4g.nano` `fck-nat` (-85%+ AWS NAT Gateway fees). - **Function 1 (Customer Ops)**: Ticket triage, compressed private RAG, and sentiment/refund HITL gates (-50% manual intervention, +30%–45% resolution speed). - **Function 2 (Marketing & Sales)**: Meta/Google zero-conversion search-term shielding + programmatic SEO/GEO matrix (-25% campaign deployment cost). - **Function 3 (Procurement & Supply Chain)**: Multi-vendor BOM/quote normalization and contract auto-renewal risk checks (2%–8% direct sourcing savings). - **Function 4 (Finance, Legal & G&A)**: Deterministic Python/SQL 3-way invoice reconciliation + 30-day zombie SaaS seat reclamation (-40% to -60% review hours, zero LLM math hallucinations). - **Function 5 (Software Engineering)**: `sk-lean-*` coding gateway + `Orca + OpenCode` multi-bot context pruning & CI runner optimization (+20%–50%+ engineering velocity). - **CostLean CLEAR™ Governance Control Plane**: Cost Attribution & Hard Circuit Breakers · Lineage & Verifiable Proof · Encrypted & Zero-Upload Isolation · Agentic Manager-Subordinate Orchestration · Rewired End-to-End Workflows. - **Transparent 3-Tier Pricing (`1 USD = 100 LeanCredits`, Three-Bucket Priority: `sub_credits` -> `topup_credits` -> `bonus_credits`)**: - **Tier 0 & 1 ($0)**: Unlimited local `/scanner/` replays + `30` Guest Credits + `+100` Sign-up Credits. - **Tier 2 ($4.99 / $19 / $49 Never-Expire Packs or $19/mo Pro)**: Pro includes `2,500 LeanCredits/mo`, 3 free `/w/` custom multi-bot hubs, `sk-lean-pro-*` gateway key, and TCC two-phase atomic billing (100% refund on upstream failure). - **Tier 3 ($499–$2,999 Custom Build / $399+/mo Enterprise)**: Multi-BU chargeback ledgers, SOC2/PIPL/GDPR compliance routing, private ERP/SQL MCP integration, and Docker / Kubernetes Helm private cloud deployment. - **Founding Leadership**: Andy (Co-Founder & CEO, 20+ years in enterprise strategy, management accounting & AI P&L transformation) and Dr. Ye (Co-Founder & CTO, Jointly trained PhD in CS, Associate Professor, JCR Q1 author & LLM routing patent inventor). ## Engineering & Executive Playbooks (English — `/blog/`) - [All English Insights](https://costlean.com/blog/) - [Why 94% of AI Pilots Stall Before EBIT: Building the CostLean CLEAR™ Control Plane](https://costlean.com/blog/beyond-pilots-clear-governance/): 80% of employees report personal micro-productivity gains from generative AI, yet 94% of enterprises capture zero audited P&L impact. Here is how CostLean CLEAR™ bridges the governance-to-EBIT chasm. - Key Takeaway: The 80% vs. 6% Productivity-to-EBIT Chasm: Saving 12 minutes per employee on internal email drafting dissolves into untracked organizational slack unless end-to-end workflows, cost ledgers, and verification gates are rewired. - Key Takeaway: Unifying Five Global Frameworks: CostLean CLEAR™ synthesizes FinOps AI unit economics, Gartner AI TRiSM security controls, BCG's 10-20-70 rule, Bain's E2E value-stream redesign, and multi-agent factory patterns into one runtime. - Key Takeaway: The Five CLEAR™ Pillars: Cost & Tokenomics, Lineage & Eval, Encrypted Isolation Walls (SOC2/PIPL/APPI/GDPR), Agentic Orchestration & Controlled MCP, and Rewired Green/Amber/Red Human Gates. - [Slashing AWS NAT Gateway & Idle Cloud Bills by 85% with Open-Source FinOps (steampipe-mod-aws-thrifty, fck-nat, and Cloud Custodian)](https://costlean.com/blog/aws-nat-gateway-open-source-finops/): Why AWS Managed NAT Gateways quietly drain startup and enterprise cloud budgets at $0.045/GB—and how a deterministic 3-step open-source FinOps pipeline cuts network egress overhead by 85% to 92%. - Key Takeaway: The Double NAT Tax: AWS Managed NAT Gateways charge ~$0.045/hour per Availability Zone (~$97.20/month base for 3 AZs) plus $0.045 per GB processed—turning routine S3 backups and container image pulls into four-figure monthly leaks. - Key Takeaway: Why S3 & DynamoDB Traffic Is Frequently Overbilled: Private subnets lacking a free AWS Gateway VPC Endpoint route internal AWS S3/DynamoDB traffic through Managed NAT Gateways, paying $45 per terabyte for same-region transfers. - Key Takeaway: The Discover -> Govern -> Replace Pipeline: Combining steampipe-mod-aws-thrifty, Cloud Custodian policy-as-code, and ARM-based fck-nat instances cuts NAT bills by 85%–92% without sacrificing high availability. - [How 30-Second Counterfactual Log Replay Works: Semantic Caching & Tiered Model Routing Explained](https://costlean.com/blog/counterfactual-log-replay-llm-routing/): Inside the deterministic browser-local math behind CostLean's 0-byte-upload AI Spend Scanner, plus how RouteLLM complexity routing and entity-guarded semantic caching slash live API bills by 30%–68%. - Key Takeaway: Why Legacy Spend Trackers Fail Developer Trust: Tools that demand Plaid bank OAuth, production API admin keys, or ironic $9.99/week subscription traps alienate security-conscious engineering teams. - Key Takeaway: Zero-Upload Counterfactual Log Replay: By running deterministic token-table math inside the user's browser on historical CSV/JSONL exports, teams see exact recoverable dollars in < 2 seconds with 0 bytes transmitted over the network. - Key Takeaway: Entity-Guarded Contrastive Semantic Caching: Augmenting GPTCache-style dense embeddings with deterministic date, SKU, currency, and negation fingerprints eliminates false-positive cache collisions while cutting 18%–39% of calls. - [Beyond Raw API Keys: Next-Gen AI Workbenches & Provisioning Custom Agent Teams via Skill and MCP](https://costlean.com/blog/next-gen-ai-relay-custom-workbench-mcp/): Why commodity raw API relay stations are a race to the bottom—and how CostLean unifies a smart LeanRouter gateway with 3-second custom Manager + Sub-Bot workbenches provisioned via SKILL.md and MCP. - Key Takeaway: The Commodity Trap of Raw API Relays: First-generation API relay stations only resell bare sk- keys—offering zero semantic caching, zero multi-bot hierarchy, and zero organizational memory. - Key Takeaway: One Wallet, Dual Superpowers: CostLean unifies an OpenAI-compatible smart gateway (api.costlean.com/v1) and a hosted 3-pane multi-bot workbench (app.costlean.com/w/) on one atomic TCC credit ledger. - Key Takeaway: 3-Second Provisioning via Skill & MCP: Developers and founders can compile and launch a full Manager + Departmental Sub-Bot squad directly from Claude Code, Cursor, OpenCode, or the browser via standard MCP tools. - [Running Persistent Multi-Bot Fleets (Orca + OpenCode + SOUL.md) at 70% Lower Token Spend](https://costlean.com/blog/orca-opencode-multi-bot-cost-guide/): A practical engineering guide to orchestrating a Manager + Subordinate coding and growth fleet using open-source Orca, OpenCode CLI, plain-text SOUL.md memory, and CostLean LeanRouter—cutting per-dispatch spend from 30 to 9 LeanCredits. - Key Takeaway: Why Naive Multi-Bot Fleets Burn Cash: Pointing multiple autonomous bots at the same working directory on flagship reasoning models causes git merge collisions, 30,000-token context re-reads, and overnight cron retry storms. - Key Takeaway: The Golden Triangle Stack: Combining open-source Orca (isolated git worktrees + hierarchy), OpenCode CLI (@ai-sdk/openai-compatible), and CostLean LeanRouter cuts multi-step fleet dispatches by 70.0% (9 vs. 30 LeanCredits). - Key Takeaway: Plain-Text Governance via SOUL.md and MEMORY.md: Replacing opaque vector chat histories with compact <=120-line Markdown ledgers shrinks baseline prompt noise by over 50% across sessions. - [From Token Economics to Full-Stack Enterprise Cost Reduction: Solving the 25% Compute vs. 75% Operational Iceberg](https://costlean.com/blog/from-tokenomics-to-enterprise-cost-reduction/): Why optimizing raw LLM API rates only addresses the visible tip of enterprise AI spend—and how CostLean's 1+5 full-stack agentic architecture cuts both compute bills (30–68%) and operational human review overhead (40–60%). - Key Takeaway: Jevons Paradox in Enterprise AI: Even as per-million token list prices fall, multi-turn reflection loops, bloated RAG payloads, and uncalibrated flagship calls multiply token volume by 10x to 35x, pushing 93% of enterprise AI budgets over plan. - Key Takeaway: The 25% vs. 75% Cost Iceberg: Raw LLM API tokens and cloud networking represent roughly 25% of variable workflow cost, while human-in-the-loop (HITL) verification, rework, and cross-departmental process friction consume 75%. - Key Takeaway: Cost per Completed, Verified Outcome (CPVO): Replacing naive cost-per-million-tokens metrics with CPVO prevents cheap-model accuracy regressions from inflating expensive analyst review hours. ## 深度实战与高管洞察专栏 (简体中文 — `/zh/blog/`) - [全部中文深度专栏](https://costlean.com/zh/blog/) - [砍掉 85% AWS NAT 网关与闲置云账单:基于开源 FinOps 工具链的止血实战指南](https://costlean.com/zh/blog/aws-nat-gateway-open-source-finops/): 深度拆解 AWS 托管 NAT Gateway 每月隐形吞噬数千美金的“固定开机费 + $0.045/GB 过路税”机制,手把手演示如何用 steampipe-mod-aws-thrifty、Cloud Custodian 与 fck-nat(t4g.nano)实现 85%–92% 无损降本。 - 核心要点:隐形预算杀手托管 NAT Gateway:AWS 标准区域每个可用区(AZ)托管 NAT 网关仅开机空置就要收取约 $0.045/小时(三可用区保底近 $100/月),外加每流经 1 GB 数据加收 $0.045/GB 处理税。 - 核心要点:最冤枉的 S3 绕路过路费:私有子网若漏配免费的 S3 / DynamoDB Gateway VPC Endpoint,内部读写海量模型权重、日志与备份数据会全部绕行托管 NAT,每 TB 白交 $45 过路费。 - 核心要点:开源 FinOps 止血三步法(Discover -> Govern -> Replace):组合 steampipe-mod-aws-thrifty 秒级扫描、Cloud Custodian 策略护栏与 ARM 架构 t4g.nano 开源 fck-nat 平替,综合网络账单直降 85%–92%。 - [为什么 94% 的企业 AI 试点止步于财报利润之前:构建 CostLean CLEAR™ 五维治理控制面](https://costlean.com/zh/blog/beyond-pilots-clear-governance/): 员工调研显示 80% 的人觉得 AI 提高了个人效率,但 94% 的企业却未能在利润表(EBIT)上看到真金白银。本文详解 CostLean CLEAR™ 如何融合全球五大咨询与安全框架,打通从算力治理到经营降本的最后一公里。 - 核心要点:80% 个人提效体感 vs. 6% 财报利润兑现鸿沟:帮员工每天写周报快 12 分钟只会消散为组织冗余(Slack),除非同步重塑端到端审批流、部门成本分摊台账与确定性核验门控。 - 核心要点:融汇全球五大权威治理精髓:CostLean CLEAR™ 将 FinOps 单位成本核算、Gartner AI TRiSM 安全护栏、BCG 10-20-70 转型法则、Bain 端到端流程再造与多智能体工厂架构熔铸为一套可执行软件控制面。 - 核心要点:CLEAR™ 五大核心支柱:Cost(成本与算力经济学)、Lineage(数据血缘与确定性评测)、Encrypted Isolation(多租户加密隔离与跨境合规)、Agentic Orchestration(受控智能体与 MCP 编排)、Rewired Workflows(绿/黄/红三色人机门控)。 - [免登录 30 秒算出省一半 API 账单:反事实日志回放、语义缓存与分级路由硬核原理解析](https://costlean.com/zh/blog/counterfactual-log-replay-llm-routing/): 揭秘 CostLean 零数据上传纯浏览器「反事实日志回放(Counterfactual Log Replay)」背后的确定性算法公式,并深度解析实体守卫对比语义缓存与 RouteLLM 子步骤分级路由如何实现 30%–68% 无损降本。 - 核心要点:打破传统订阅管理工具的信任死结:强迫绑定银行卡 Plaid OAuth、索要生产环境高权限 API Key 或暗藏“每周 $9.99 自动扣费陷阱”的工具,注定被开发者与企业安全团队拒之门外。 - 核心要点:零字节上传反事实日志回放(0 Bytes Uploaded):纯浏览器内存级重算过去 30 天真实 CSV/JSONL 历史请求,不到 2 秒即可精确到美分还原“倘若接入智能缓存与路由本可省下多少钱”。 - 核心要点:实体指纹守卫对比语义缓存:针对传统 GPTCache 纯向量余弦相似度容易把不同年份合同号或正反否定词误判命中的致命缺陷,引入硬负样本对比表征与确定性实体指纹双重门控,安全消除 18%–39% 重复推理。 - [从 Token 经济学到企业全面降本增效:破解“25% 算力与 75% 运营复核成本”冰山](https://costlean.com/zh/blog/from-tokenomics-to-enterprise-cost-reduction/): 为什么大模型 API 挂牌价连年下调,93% 的企业 AI 预算依然超支?本文从管理会计视角拆解 CPVO 单位核验成果成本公式,详解 CostLean 1+5 全价值链智能体降本矩阵如何同步砍掉算力浪费与人工复核税。 - 核心要点:企业 AI 的杰文斯悖论(Jevons Paradox):尽管基础大模型每百万 Token 单价持续下探,但多步智能体反思循环、未裁剪的 RAG 上下文与全量旗舰模型滥用使调用总量暴涨 10–35 倍,导致 93% 的企业算力预算失控。 - 核心要点:25% 算力 vs. 75% 运营复核冰山:在真实企业生产流水中,显性大模型 API 与云基础设施仅占单任务变动成本的约 25%,而隐性的人工抽检复核、异常返工与跨部门流程内耗高达 75%。 - 核心要点:核心北极星指标 CPVO(单次已核验业务成果综合成本):盲目切换低价劣质模型会导致幻觉率飙升、财务法务人工核对工时翻倍;唯有耦合分级路由与确定性代码校验,才能实现总成本净降 48%。 - [告别低毛利裸 Key 中转站:下一代 AI 工作台如何用 Skill 与 MCP 3 秒定制企业专属部门编队](https://costlean.com/zh/blog/next-gen-ai-relay-custom-workbench-mcp/): 传统 API 中转站只会倒卖裸 sk- 密钥、深陷同质化价格战且毫无组织记忆。本文详解 CostLean 如何实现“一钱包双用”,并通过标准 SKILL.md 与 MCP 协议在 3 秒内为企业编译上线「降本总管 + 部门子 Bot」专属工作台。 - 核心要点:第一代“裸 Key 中转站”的三大死结:仅做简单反向代理转发、对 40,000 Token 冗余上下文与死循环照单全收(0 省钱智能),且完全没有多智能体上下级分工与持久业务记忆。 - 核心要点:一钱包双用(Smart Gateway + Custom Workbench):同一套 TCC 三桶原子积分账本,既为研发团队提供兼容 OpenAI SDK / OpenCode / Cursor 的省钱网关,又为管理层提供三栏可视化 `/w/` 总管指挥舱。 - 核心要点:标准 Skill 与 MCP 协议 3 秒极速定制:无需离开 Claude Code、Cursor 或本地终端,调用 4 个标准 MCP 工具即可 0 成本预览编队蓝图、一键持久化上线云端空间或导出离线迁移包。 - [Orca + OpenCode 多常驻 Bot 编队实战:用总管拆单、SOUL.md 记忆与省钱路由砍掉 70% 算力账单](https://costlean.com/zh/blog/orca-opencode-multi-bot-cost-guide/): 手把手教你用 MIT 开源编排器 Orca、OpenCode CLI、纯文本 SOUL.md 持久记忆与 CostLean LeanRouter 搭建「1 总管 + 4 职能子 Bot」高效团队,将单轮协同消耗从 30 压降至 9 LeanCredits,并附 Cron 四道防烧穿铁律。 - 核心要点:野生多 Bot 并发的三大惨案:共用同一代码目录互相改崩文件、缺乏结构化记忆导致每轮重喂数万 Token 历史垃圾、以及半夜无人值守 Cron 遇报错陷入死循环刷爆信用卡。 - 核心要点:黄金三角省钱架构:MIT 开源桌面端 Orca(上下级组织树 + 独立 Git Worktree 物理隔离)+ OpenCode CLI 本地预处理 + CostLean LeanRouter 智能分级网关,实测单次编队派单成本直降 70.0%(9 vs. 30 LeanCredits)。 - 核心要点:用 SOUL.md 与 MEMORY.md 管住智能体:以不超过 120 行的精炼纯文本契约替代臃肿的黑盒聊天记录,跨会话输入底噪立减 50% 以上。 ## Machine-Readable Feeds - [RSS 2.0 Feed](https://costlean.com/rss.xml) - [XML Sitemap](https://costlean.com/sitemap-index.xml) - Contact Email: costleanai@gmail.com