Generator

Menu

AI GeneratorImages, video, audio and 3D

Browse categories

Docs menu
Savings

Guides

Savings

What your agents reused instead of generating, and how it is counted.

View as Markdown
For your agent https://imgsearch.com/llms.txt
On this page

When your agents find an existing file and use it instead of generating a new one, ImgSearch counts it as a reuse, and estimates what generating it would have cost. The figure is an estimate for your information: it never changes your balance or your bill.

Savings are not being recorded yet. GET /account/savings answers its normal shape, with recording: false.

What counts #

A result counts once when all of these hold:

  1. An API or MCP search showed it. The search remembers each result it returned for 24 hours, with the price of generating it instead at that moment: the default model’s price for its kind, one output. It never keeps the query text.
  2. The same account then downloaded it through the API or the MCP server within those 24 hours. A download link counts when it is fetched, not when it is made.
  3. Once per item a day. Fetching the same item again within the day does not count again.

What never counts:

  • Downloads on the website, and calls from the docs’ try-it panel.
  • Previews, cards, refused or failed fetches, and HEAD requests.
  • Brands, sound effects and sound packs: they have no generator to compare with.
  • A photo used as a reference for a generation (it is an input, not a reuse).
  • Your own generations made less than an hour before the search.

The money figures are estimated, at search-time prices, and include only reuses the account could have paid for (a paid plan or bought AI balance). They are in US dollars before VAT.

The endpoint #

GET /account/savings?month=YYYY-MM (scope account:read) answers one calendar month in UTC, this month when you leave month out:

Field What it is
reuses Every counted reuse of the month
estimated_reuses The reuses the account could have paid for
estimated_usd What generating those instead would have cost, in US dollars; null when none had an estimate
by_source reuses and estimated_usd per source: photos, videos, SVGs, SVG packs, 3D models and kits, and your own generations
recording Whether savings are being recorded for this account now

It never lists single reuses, items or models. A month later than the current one answers 422 invalid_request. An app connected as ChatGPT gets the counts only, without the estimates.

curl
# What this account's agents reused this month instead of generating.
# Needs IMGSEARCH_API_KEY.
curl -sS \
  "${IMGSEARCH_API_BASE:-https://imgsearch.com/api/v2}/account/savings" \
  -H "Authorization: Bearer $IMGSEARCH_API_KEY"
Python
# What this account's agents reused this month instead of generating.
# Needs IMGSEARCH_API_KEY.
import json
import os

import httpx

base = os.environ.get("IMGSEARCH_API_BASE", "https://imgsearch.com/api/v2")
headers = {"Authorization": f"Bearer {os.environ['IMGSEARCH_API_KEY']}"}

r = httpx.get(f"{base}/account/savings", headers=headers, timeout=60)
print(r.status_code)
print(json.dumps(r.json(), indent=2))
JavaScript
// What this account's agents reused this month instead of generating.
// Needs IMGSEARCH_API_KEY.
const base = process.env.IMGSEARCH_API_BASE ?? "https://imgsearch.com/api/v2";

const r = await fetch(`${base}/account/savings`, { headers: { Authorization: `Bearer ${process.env.IMGSEARCH_API_KEY}` } });
console.log(r.status);
console.log(JSON.stringify(await r.json(), null, 2));
Response 200
{
    "object": "savings",
    "month": "2026-11",
    "starts_at": "2026-11-01T00:00:00Z",
    "ends_at": "2026-12-01T00:00:00Z",
    "recording": false,
    "reuses": 0,
    "estimated_reuses": 0,
    "estimated_usd": null,
    "by_source": {
        "photo": {
            "reuses": 0,
            "estimated_usd": null
        },
        "video": {
            "reuses": 0,
            "estimated_usd": null
        },
        "svg": {
            "reuses": 0,
            "estimated_usd": null
        },
        "svg_pack": {
            "reuses": 0,
            "estimated_usd": null
        },
        "3d_model": {
            "reuses": 0,
            "estimated_usd": null
        },
        "3d_kit": {
            "reuses": 0,
            "estimated_usd": null
        },
        "generation": {
            "reuses": 0,
            "estimated_usd": null
        }
    }
}

Where people see it #

  • The account’s AI page on the website shows a card with the month’s reuses and the estimate, linking to a page with the split by source, the month’s latest reuses and how they are counted.
  • GET /account/savings, above, for your own dashboards.
  • The MCP server’s get_account tool gives connected agents this month’s reuses and their estimate in US dollars.