Skip to content

Cost usage calculation

You pay your AI provider, not OG Nexus, and the provider bills by tokens.

What counts

  • Input tokens: instructions, conversation history, retrieved knowledge and the visitor's message.
  • Output tokens: the reply. Usually priced higher than input.
  • Images, audio and video are priced differently.

Estimating

Roughly: one token is about three quarters of a word. A typical short chat turn uses a few thousand tokens once history and knowledge are included.

Cost = (input tokens x input price) + (output tokens x output price), using your provider's price list.

Keeping it low

  • Use a small, fast model for simple tasks.
  • Limit history length and knowledge passages.
  • Set limits for guests.
  • Use moderation and word filters to block junk.
  • Check the provider's usage page: it is the real bill. Insights shows estimates.