Skip to main content
Retrieve unified pricing information for all Swarms API usage dimensions from the /v1/usage/costs endpoint. This includes token costs, agent costs, search/scrape operations, image pricing, MCP calls, and night-time discount multipliers.
The pricing endpoint is read-only and safe to call in automation. Always treat returned values as dynamic and avoid hard-coding pricing in production systems.

Quick Start

Response Shape

The endpoint returns a usage_pricing object plus a timestamp: