ChatGPT is introducing ads as rising AI costs outpace revenue. Here’s the math, strategy, and what it means for users and advertisers.