Command reference

oko-cli pricing refresh

Refreshes Oko’s locally cached model-token price catalog from provider pages.

Invocation

oko-cli pricing refresh [--force]

Inputs and options

  • --force ignores a cache already checked today.

Output and state effect

  • Writes ~/.oko/token-pricing.json when refreshed and prints whether it wrote or was already current.

Refusals and safe exits

  • Unknown pricing subcommands are refused; fetch, extraction, validation, or write failures exit unsuccessfully.