TrylleDocs
Plans & Usage

AI usage

How Trylle meters hosted model input, output, cache writes, and cache reads.

Trylle-hosted AI is metered by model and token direction. Each model has separate prices for input, output, prompt-cache writes, and prompt-cache reads.

What consumes Trylle AI credit

  • Platform automations that run a hosted model.
  • Product features routed through the Trylle AI gateway.
  • Bot or automation runs whose configuration selects a hosted provider through Trylle.

Direct provider calls from try ask, try explain, or try draft use your locally configured provider credentials. They are not charged to the Trylle wallet.

Cost formula

For each dimension:

cost = token_count / 1,000,000 × model_rate

The final charge is the sum of input, output, cache-write, and cache-read costs. Cache reads are usually cheaper than uncached input, while cache writes can cost more.

Example

Suppose a gpt-5.6-terra run uses:

  • 80,000 uncached input tokens
  • 10,000 output tokens
  • 20,000 cache-read tokens
input:     80,000 / 1,000,000 × $2.50 = $0.20
output:    10,000 / 1,000,000 × $15.00 = $0.15
cache read:20,000 / 1,000,000 × $0.25 = $0.005
total:                                      $0.355

Control spend

  • Use smaller models for classification, routing, and high-volume routine work.
  • Keep reusable prompt prefixes stable so cache reads can be reused.
  • Limit repository context to files and diffs the task actually needs.
  • Review failed automation runs: model work already performed can still be billable.
  • Configure wallet auto-refill only after setting a threshold and refill amount appropriate for the account.

See Pricing for the current model catalog.

On this page