Pricing

Production API keys use prepaid credits. Each successful run-models call deducts credits based on actual token usage at the rates below. Sandbox keys are free within your sandbox quota.

ModelInputOutputCache writeCache read
Leni AI$5 / MTok$25 / MTok$6.25 / MTok$0.5 / MTok

What is not metered per token

Most non–run-models endpoints (memory, analysts, session reads) do not bill per token today. They still count toward rate limits and, for sandbox keys, your call quota.