# Earnings

You earn on impressions: every time the sponsored footer is shown while you code, you keep 90% of the ad revenue that impression generated.

## What you earn

| Term | Value |
| --- | --- |
| Revenue share | 90% of the ad revenue your own devices generate |
| Daily cap | $1 per account per day |
| Settlement | Daily, against the revenue the ad exchange reports |
| Review hold | 14 days before a settled balance is withdrawable |
| Clicks | $0 — clicks never create payout credit |

The share and the cap are set server-side and can change; your earnings page always reflects what was actually credited.

<Note>
Every credit is nonce-based and idempotent: replaying the same impression never credits twice. Sponsor clicks are tracked, but they do not create user payout credit.
</Note>

## How impressions credit

Claude Code runs `rebate refresh` from a `UserPromptSubmit` hook once per user
message. That fetches a fresh sponsor into the local snapshot. Claude Code then
runs `rebate statusline` to render the latest sponsor in the under-input
statusline; Rebate records the visible impression only after that sponsor output
is printed.

Codex runs through a Rebate-owned launcher shim for interactive sessions. The
launcher fetches a stack-aware sponsor before the Codex TUI starts, draws it in
the Codex footer row, and records the visible impression only after the footer is
drawn. Codex `UserPromptSubmit` hooks refresh the sponsor cache for later footer
draws and return empty hook JSON, so ads do not appear in Codex hook history.

If the network is down or no ad fills, Rebate never invents placeholder sponsor
copy. Claude Code clears the visible sponsor state. Codex may keep an already
visible fresh footer while waiting for the next successful sponsor so the footer
does not flash blank.

## Visiting a sponsor

The sponsored footer includes a credited short link (`/go/<token>`). You can open it through any of these paths:

- Clicking the footer link directly, in terminals that render hyperlinks.
- Typing `/ad` inside a Claude Code session.
- Running `rebate open` from your shell.

The `/ad` command exists because terminals differ in what they make clickable; it opens the sponsor link from any terminal.

## Your earnings dashboard

Earning requires a signed-in account. `rebate login` (run for you during onboarding) connects this device to your account, so every impression it serves credits you from the start. Track earnings at:

```text
https://app.rebates.ai/dashboard/ads
```

`rebate status` prints the URL anytime. The dashboard shows today / this month / lifetime earnings, a per-day breakdown, the recent activity ledger, and the devices feeding them — updating live.

## Your devices

`rebate login` claims the machine to your account on first sign-in, so its earnings are yours immediately — there is no separate claim step. If you reinstall or lose `~/.rebate/device`, the new device id simply connects on your next `rebate login`. All your claimed devices and their earnings appear at `/dashboard/ads`.

## One wallet, two engines

Ads earnings from Rebates and trace sales from SellTraces share a single wallet at `/dashboard/wallet`. Payouts follow the platform payout flow described in [Earnings and payouts](/dashboard/earnings-and-payouts).
