Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
What This Skill Does
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.
When to use it
- 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
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: run my chatbot using the cheapest green model available
- 1Set OPENAI_BASE_URL to https://windfall.ecofrontiers.xyz/v1 and OPENAI_API_KEY to the Windfall key
- 2Send chat completions request with model set to 'auto' and mode set to 'greenest'
- 3Windfall engagement classifier selects DeepSeek V3 on a low-carbon node
- 4Response returns with X-Windfall-Mode, X-Windfall-Model, and X-Windfall-Cost headers
- 5EAS attestation is written to Base recording node location, carbon intensity, and response hash
Chat response delivered with verifiable green inference record on Base
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.