Skip to main content
GET
/
v1
/
usage
/
costs
Get Comprehensive Pricing Details
curl --request GET \
  --url https://api.example.com/v1/usage/costs \
  --header 'x-api-key: <x-api-key>'
{
  "usage_pricing": {
    "swarm_completions_agent_cost": 0.01,
    "swarm_completions_input_cost_per_1m": 6.5,
    "swarm_completions_output_cost_per_1m": 18.5,
    "agent_completions_input_cost_per_1m": 6.5,
    "agent_completions_output_cost_per_1m": 18.5,
    "agent_completions_img_cost": 0.25,
    "agent_completions_mcp_cost": 0.1,
    "search_cost": 0.04,
    "scrape_cost": 0.15,
    "night_time_discount": 0.5,
    "frenzy_mode_active": false
  },
  "timestamp": "<string>"
}

Headers

x-api-key
string
required

Response

Successful Response

Comprehensive pricing details for all API features. Includes usage costs for all API operations and additional service costs.

usage_pricing
UsagePricingModel · object
required

Usage pricing for all API operations including token costs, agent costs, search, scrape, and special pricing features.

timestamp
string | null

ISO timestamp when the pricing information was retrieved.