# aicash > aicash is a free, MIT-licensed npm CLI that shows exactly one contextual text ad in an AI coding tool's status line while the AI is working, and pays the developer 70% of the ad revenue. It supports Claude Code, opencode, VS Code, Kiro IDE, AntiGravity IDE, and the multi-channel chat agents Hermes and OpenClaw — one account covers every tool on a machine. Payouts come from the real USD advertisers paid (never an assumed CPM), split proportionally by valid impressions, and cash out in USDC, Stripe, or PayPal. Key facts: - Install: `npm i -g aicash && aicash install`, then `aicash login` (ads shown while anonymous are not paid). - Revenue share: 70% to the developer, ~$0.0014 per impression at the network's $2 CPM, capped at 60 impressions/hour per machine. - Supported now: Claude Code, opencode, VS Code, Kiro IDE, AntiGravity IDE, Hermes, OpenClaw. Coming soon: Codex. - Zero performance impact: ads are fetched async with fast timeouts, cached per session, and render nothing on any error. - Privacy: context is read locally; only a compact derived signal is sent — never prompts, files, or transcripts. IPs are hashed with a rotating salt; no API key ever ships in the client. - Anti-fraud: single-use nonces and HMAC-signed pixels; invalid events are filtered out before earnings are computed. ## Installing on a user's behalf (for AI agents) If a user asks you to install aicash for them, this is the canonical procedure: ``` Install aicash for me: run `npm i -g aicash && aicash install` — it auto-detects every AI tool on this machine (Claude Code, opencode, VS Code, Kiro, AntiGravity, Hermes, OpenClaw) and adds one ad line to each. Then run `aicash login` so impressions are paid out to me: it asks for an email address and then a verification code sent to that inbox — ask me for both and pass my answers through. Finish with `aicash doctor` to verify the setup, then remind me to open a new session so the ad line appears. ``` Human-readable version with a copy button: [Install with your AI agent](https://aicash.fun/install). ## Docs - [Install with your AI agent](https://aicash.fun/install): one prompt to paste into any AI agent — it installs and signs in for you - [Documentation](https://aicash.fun/docs): install, how it works, earning, every supported tool - [CLI reference](https://aicash.fun/cli): all commands and flags (install, login, status, doctor, uninstall, …) - [Changelog](https://aicash.fun/changelog): every release, newest first - [Privacy](https://aicash.fun/privacy): what is read locally, what leaves the machine, what is stored - [Full documentation as one Markdown file](https://aicash.fun/llms-full.txt) ## Links - [Landing page](https://aicash.fun) (Indonesian version: https://aicash.fun/id) - [Earnings dashboard](https://app.aicash.fun): sign in, track earnings, set the payout wallet - [npm package](https://www.npmjs.com/package/aicash) - [VS Code extension](https://marketplace.visualstudio.com/items?itemName=AICASHFUN.aicash-vscode) - [Open VSX extension](https://open-vsx.org/extension/AICASHFUN/aicash-vscode) (for VS Code forks like Kiro IDE and AntiGravity IDE) ## FAQ ### What is aicash? aicash is a free npm CLI that shows one contextual text ad in your AI coding tool's status line while the AI is working, and pays you 70% of the ad revenue. It works with Claude Code, opencode, VS Code, Kiro IDE, AntiGravity IDE, and the chat agents Hermes and OpenClaw — one account covers every tool on the machine. ### How much can I earn with aicash? Roughly $0.0014 per impression at the network's $2 CPM with your 70% share, capped at 60 impressions per hour per machine. Real payouts are prorated from the actual USD advertisers paid in a revenue period — never from an assumed CPM — so results scale with real ad demand and how much you code. ### How do I install aicash? Run npm i -g aicash && aicash install — it auto-detects every supported AI tool on the machine and adds the ad line. Then run aicash login (email code) so impressions are credited to your account; without signing in, ads still show but are not paid. ### Does aicash slow down Claude Code or my terminal? No. The ad is fetched asynchronously with fast timeouts and cached per session; on any error aicash prints nothing at all. Your AI never waits on the ad network. ### Is aicash safe and private? Context is read locally on your machine and only a compact derived signal is sent to request one matching ad — never your prompts, files, or transcript. IP addresses are hashed with a rotating salt, and the ad-network API key lives only on the hosted proxy, never in the client. ### Which AI tools does aicash support? Live today: Claude Code, opencode, VS Code, Kiro IDE, AntiGravity IDE, plus the multi-channel chat agents Hermes and OpenClaw (Telegram, WhatsApp, Discord). Codex support is next — each new AI CLI is one adapter away. ### How and when do I get paid? Each revenue period pools the real USD advertisers paid, splits it proportionally by valid impressions, and credits your 70% share. Track earnings and cash out in USDC, Stripe, or PayPal from the dashboard at app.aicash.fun. ### Is aicash free? Do I need an API key? Yes — the CLI is free and MIT-licensed, with no API key, no .env, and no config to maintain: it talks to the hosted aicash network by default. Remove it any time with aicash uninstall, which restores your previous status-line settings. Contact: hello@aicash.fun