AI paid for by Ads – the gpt-4o mini inflection point

July 18, 2024

OpenAI recently announced their gpt-4o mini model, at a price of $0.15 per 1 million input tokens, and $0.60 per 1 million output tokens.

This extremely low cost AI model has just passed an inflection point.

It's now possible to build dynamic, AI generated content entirely supported by ads.

How much do publishers earn from ad impressions?

The amount of money an ad impression generates varies significantly across display mediums and content categories.

But we can get a good heuristic from Google's AdSense estimated revenue calculator.

The calculator gives you an estimate for your annual ad revenue potential based upon your content category (Finance, Games, Health, etc...) and your monthly page views.

For example, putting in 50k page views a month, with a Finance category, gives a potential yearly earnings of $2,000.

I'm going to take the median across all categories, which is an estimated annual revenue of $1,550 for 50,000 monthly page views.

This is approximately ~$0.0026 earned per page view.

How much does it cost to generate AI content?

Let's invent a blog that generates content in response to whatever the user types in the search bar.

We'll generate the article the user is looking for, on the fly. Will it be mostly nonsense? Probably. But let's go for it anyway, just to illustrate a point.

user: "how to have my macbook audibly greet me whenever I flip it open"

In order to facilitate this, we'll wrap the user's query around a prompt.

Below is the prompt we'll use.

You are an excellent blog writer. You write blogs that rank well in search engines because you know about SEO and how to use highly relevant and popular keywords. Your blog posts are informative, and help users achieve what they are looking for.

You will receive queries from users searching for blog posts. You will create blog posts that matches their query, that are helpful, and that answer or are relevant to whatever they are searching for.

Respond with only the blog post.

With this prompt, and the user query, we have 119 input tokens according to OpenAI's Playground.

The response generated by gpt4o-mini, is only 829 output tokens.

# How to Make Your MacBook Audibly Greet You When You Flip It Open

If you want your MacBook to greet you with a chime or a specific sound every time you flip it open, it’s a fun way to personalize your device and make your daily interactions a bit more exciting. While macOS doesn’t come with a built-in feature to audibly greet you immediately upon opening the lid, there are a few creative workarounds to achieve a similar effect. In this blog post, we will discuss a couple of methods you can set up for your MacBook to greet you audibly.

## Method 1: Setting Up a Startup Sound

1. **System Preferences:**
   - Go to the Apple menu in the upper-left corner of your screen.
   - Select **System Preferences**.
   - Click on **Sound** and then navigate to the **Sound Effects** tab.
   
2. **Enable Startup Sound:**
   - Make sure the option “Play sound on startup” is checked. This way, your MacBook will play the selected sound every time you start it up.
   - Note: This method will only play sound when the MacBook is fully powered down and then opened again.

While this method does not greet you specifically upon opening the lid from sleep mode, it’s effective for a full startup.

## Method 2: Create an Automator App for a Custom Greeting

For more customization, you can use the Automator app to create your own greeting sound that plays when the MacBook wakes from sleep.

### Steps to Create Your Greeting:

1. **Open Automator:**
   - Search for **Automator** in Spotlight Search or find it in the Applications folder.

2. **Create New Document:**
   - Choose **New Document** and select **Application**.

3. **Use the Run Shell Script Action:**
   - In the sidebar, find **Utilities** and drag the **Run Shell Script** action to the main area.

4. **Enter the AppleScript Command:**
   - Replace the default script with the following:
     ```bash
     osascript -e 'tell app "System Events" to say "Welcome back!"'
     ```

5. **Choose Your Sound:**
   - If you want a specific sound file instead of a spoken greeting, use the following command instead:
     ```bash
     afplay /path/to/your/soundfile.mp3
     ```
   - Make sure you replace `/path/to/your/soundfile.mp3` with the actual file path of your chosen audio file.

6. **Save Your Application:**
   - Go to **File > Save**, and name it something like “Greeting Sound.” Ensure it is saved in the Applications folder.

### Automating the Greeting Sound:

1. **Open System Preferences:**
   - Go to **System Preferences** and select **Users & Groups**.

2. **Select Your User Account:**
   - Click on your username and select the **Login Items** tab.

3. **Add Your Automator App:**
   - Click the **“+”** button and navigate to the Greeting Sound app you created. Add it to the list.

Now, whenever your MacBook wakes from sleep, your personalized greeting sound will play.

## More Personalization Options

- **Use a Different Voice:** If you used the text-to-speech option, you can change the voice in **System Preferences** > **Accessibility** > **Spoken Content**.
- **Add More Sounds:** You can repeat the process for multiple sounds or greetings by creating separate Automator apps.

## Conclusion

By using the methods outlined above, you can add a personal touch to your MacBook experience. Whether you choose the simple startup sound or get creative with an Automator app, these options allow you to greet your MacBook (and yourself) every time you open it. So, go ahead and set it up, and enjoy your daily welcome back! 

Feel free to share your own unique greeting sounds or any additional tips in the comments below!

Let's calculate how much we paid for this article.

Token Type Number of Tokens Cost per 1 Million Tokens Calculated Cost
Input Tokens 119 $0.15 $0.00001785
Output Tokens 829 $0.60 $0.0004974
Total Cost $0.00051525

The cost to generate the article was $0.00051525. And it wasn't half-bad.

Ad impression vs AI cost.

You can probably see where I'm going with this now.

For that blog post, we might earn ~$0.0026 for the single page impression from the user that requested it.

Meanwhile, the blog post itself, had a cost of $0.00051525 to generate.

We made a net profit of $0.0026 - $0.00051525 = ~$0.002! We're going to be rich!

That's 2 tenths of a penny. Don't go spending it all in one place.

Is this going to actually happen?

Will the future of the internet be entirely dynamically generated AI blogs in response to user queries?

I don't know. I hope not. But the internet has been on a downward trend for a while now.

Most of the internet is probably already SEO content blogspam generated by cheap copywriters.

Is anyone doing this now?

In a fun way, yes, check out Websim which uses LLMs to dynamically generate an alternative internet. It's a "web simulator" brought to you by AI.

They're not making money though. There aren't any ads (yet).


© 2024 etc Software llc.