跳到正文
TakoAPI
返回技能列表

windfall-inference

由 papa-raw 提供

Web & Frontend Development
416下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Spatially-routed LLM inference at $0.004/req.

描述

该技能的功能

Windfall is an LLM inference gateway that routes requests to nodes running on the cheapest, cleanest energy. Every request costs $0.004 flat and produces a verifiable onchain attestation on Base. It exposes an OpenAI-compatible API, so existing code works with a URL swap.

Drops into any OpenAI-compatible codebase with two env var changes while adding energy-aware routing and onchain proof of inference that direct provider APIs don't offer.

何时使用

  • Swap in a greener inference backend without rewriting agent code
  • Run a cost-sensitive AI pipeline across 200+ models at flat per-request pricing
  • Verify inference provenance on Base for compliance or auditing
  • Pay per request from a Base wallet without managing API keys
  • Optimize LLM routing between carbon intensity and cost in real time

示例工作流

输入

User asks: run my chatbot using the cheapest green model available

智能体
  1. 1

    Set OPENAI_BASE_URL to https://windfall.ecofrontiers.xyz/v1 and OPENAI_API_KEY to the Windfall key

  2. 2

    Send chat completions request with model set to 'auto' and mode set to 'greenest'

  3. 3

    Windfall engagement classifier selects DeepSeek V3 on a low-carbon node

  4. 4

    Response returns with X-Windfall-Mode, X-Windfall-Model, and X-Windfall-Cost headers

  5. 5

    EAS attestation is written to Base recording node location, carbon intensity, and response hash

输出

Chat response delivered with verifiable green inference record on Base

前置要求

  • WINDFALL_API_KEY environment variable (free at windfall.ecofrontiers.xyz/api/keys)
  • Base wallet address to generate an API key
  • ERC-8004 agent identity or Basename for 100 free requests (optional, anonymous keys get 25)

安装

clawhub install papa-raw/windfall-inference

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接