Skip to main content

All Prices

GET 

/v1/pricing

info

Get an API Token (Bearer Token) via http://nilai.nillion.com

Get all model prices.

Returns a dictionary mapping model names to their pricing configurations.

  • user: Authenticated user information (through HTTP Bearer header)
  • Returns: Dictionary of model names to pricing configurations

Pricing Configuration

Each model's pricing includes:

  • prompt_tokens_price: Cost per 1M prompt tokens (default: 2.0)
  • completion_tokens_price: Cost per 1M completion tokens (default: 2.0)
  • web_search_cost: Cost per web search (default: 0.05)

Responses

Successful Response