Prompt Challenges
Code & Dev· Open for solutions

Explain a Synthetic Cloud Bill With Unit Math

Write a reusable prompt with replaceable inputs. Submit your prompt and one test output for this example.

Task: Create a prompt that explains a fictional cloud bill and explores a bounded usage scenario.

Example input: Invented rates: compute costs $0.04 per instance-hour; storage costs $0.02 per GB-month; outbound transfer costs $0.08 per GB after the first 50 GB per month. Base usage is 300 instance-hours, 250 GB-months of storage, and 120 GB of outbound transfer. Scenario B increases compute by 20%, holds storage constant, and doubles outbound transfer. Assume one monthly account, one shared transfer allowance, no tax, and no other charges.

Constraints:

  • Label all prices as fictional exercise inputs.
  • Show each quantity, rate, allowance, and subtotal.
  • Apply the free allowance once per scenario, rather than once per service or instance.

Required output from your prompt: A base-versus-scenario breakdown, the absolute and percentage cost change, and two usage measurements worth checking before a real forecast.

Success checks:

  • Base compute is $12, storage $5, and transfer $5.60.
  • Scenario B uses 360 instance-hours and 240 GB of transfer.
  • Totals are $22.60 and $34.60.
  • The explanation does not imply these are any provider’s actual prices.
by Abdul Mohammed0 solutions
No solutions yet — be the first to submit one.
Prompt Challenges

Have the perfect prompt? Submit it.

Open it in Prompt Dock — any creator can link one of their published prompts as a solution.

Submit a solutionSign in to submit — any creator plan, free included.
Free to start

Need a prompt built? Post a challenge.