Usage and models

Where cost appears

Token totals and estimated cost may show on the Usage page and sometimes on the active session in Chat.

Those numbers come from the model ID configured on the agent, not from a per-message picker in the composer.

Change the model

Set llm on the Agent in Python, or model in agents.yaml, then restart or reload the console if your build caches agent config.

Use praisonai models validate on the CLI before you paste a new ID into YAML.

Example

agents:
  - name: Helper
    instructions: Answer briefly.
    model: gpt-4o-mini

Example explained

  • model — The ID the runtime sends to the provider for this agent.

CLI totals still apply

The same session ids and usage commands from the Observe course work when runs went through the console or the CLI.

Example

praisonai usage --days 30
praisonai models list

Example explained

  • praisonai usage –days 30 — Prints a 30-day token and spend breakdown matching the console Usage tab.
  • praisonai models list — Lists active cloud and local Ollama models selectable in the console.

Reference: documentation