Billing
Cache and freshness
Tools fetch live. A recent identical answer can come from the cache for 50% of the price, and every answer says when its data is from.
How it works#
- A call matches the cache when the tool and its arguments are the same. Billing arguments and
wait_secondsdo not count. - A hit costs 50% of the live price. It costs nothing when your organization already paid for that same answer.
- A hit has
cached: true, anddata_as_ofsays when the data was fetched. - Answers about people, such as profiles and comments, are cached for your organization only. The rest is shared.
Getting a live answer#
Pass fresh: true to skip the cache and fetch live, at the live price. The fresh answer replaces the cached one.
Slow sources#
When a source needs longer than a call allows, the call answers working and nothing is charged. The answer lands in the cache. The same call a little later returns it, and your organization pays the live price once for it.
How long each tool is cached#
Free tools and content_write_article are never cached.