Writing a 2,000-word technical blog post
A request for a 2,000-word article generates roughly 3,000 output tokens. If the prompt requires 1,000 input tokens, the total cost is calculated as follows: (1,000 / 1,000,000 * $0.15) + (3,000 / 1,000,000 * $0.50) = $0.00015 + $0.0015 = $0.00165. You pay exactly this amount per request.
Refactoring a large codebase module
Pasting 5,000 tokens of code and asking for a refactor that outputs 1,000 tokens costs: (5,000 / 1,000,000 * $0.15) + (1,000 / 1,000,000 * $0.50) = $0.00075 + $0.00050 = $0.00125. Errors and refusals incur zero cost.
Generating a creative story scene
A prompt with 500 tokens generating 800 tokens of narrative output costs: (500 / 1,000,000 * $0.15) + (800 / 1,000,000 * $0.50) = $0.000075 + $0.00040 = $0.000475. Your prepaid credit tracks every fraction of a cent.