MiscellaneousNPR Cost Display

NPR Cost Display

Usage costs displayed in Nepali Rupees

Baudhik AI displays usage costs in Nepali Rupees (रु.) instead of US Dollars. The system fetches the USD-to-NPR exchange rate from Nepal Rastra Bank daily and applies a configurable margin.

How it works

  • A Celery task runs every 24 hours to fetch the current USD-to-NPR FX rate from Nepal Rastra Bank
  • The FX rate is cached in the KV store
  • When usage data is exported or displayed, costs are converted from USD to NPR using the cached rate
  • A configurable cost multiplier (default 1.1, i.e. 10% margin) is applied to each cost row
  • Each usage row records the multiplier that was active at the time, so historical costs are never retroactively repriced

Admins can configure the cost multiplier and display currency (NPR or USD) through the admin settings panel.

Admin configuration

SettingDefaultDescription
cost_multiplier1.1Margin applied to each cost row (1.1 = 10%)
display_currencyNPRCurrency shown in usage reports ("NPR" or "USD")

Both settings are managed through the standard admin settings endpoint (PUT /api/admin/settings).