promptdojo_

Read the token bill — what your LLM feature actually costs — step 5 of 9

This is the formula every LLM invoice reduces to. Input and output are billed separately, each at a per-1M-token rate.

Fill in the two divisors so the formula correctly converts token counts to dollars at a per-million rate.

Expected output:

cost: $0.022