Cut Your Laravel Cloud Bill Nearly in Half | Mohamed Said       [Skip to content](#main)  [ ![](https://cdn.msaied.com/01KT78WE565VEMM3PSNQAAB0MH.png) Mohamed SaidLaravel Backend Engineer ](https://msaied.com) - [Home](https://msaied.com)
- [Projects](https://msaied.com/projects)
- [Articles](https://msaied.com/articles)
- [Certificates](https://msaied.com/certificates)
- [About](https://msaied.com#about)

           [  Contact](https://msaied.com#contact) Menu 

Menu
----

Close 

 - [HomeStart here](https://msaied.com)
- [ProjectsCase studies](https://msaied.com/projects)
- [ArticlesEngineering notes](https://msaied.com/articles)
- [CertificatesCredentials](https://msaied.com/certificates)
- [AboutHow I work](https://msaied.com#about)
- [ContactGet in touch](https://msaied.com#contact)

  [Start a conversation](https://msaied.com#contact) [WhatsApp](https://wa.me/201094619204) [Email](mailto:hello@msaied.com) 

 1. [Home](https://msaied.com)
2. /
3. [Articles](https://msaied.com/articles)
4. /
5. [Laravel](https://msaied.com/articles?category=laravel)
6. /
7. How Laravel News Cut Its Laravel Cloud Bill Nearly in Half

   [Laravel](https://msaied.com/articles?category=laravel) [Tips &amp; Tricks](https://msaied.com/articles?category=tips-tricks) 

 How Laravel News Cut Its Laravel Cloud Bill Nearly in Half
===========================================================

 JMac walked through the exact steps used to reduce Laravel News' Laravel Cloud bill from $129 to $72 per month — through right-sizing resources and optimizing cached Eloquent data.

 ![](https://cdn.msaied.com/01M22N44A70A5MC2S599JP0MPH.webp) [Mohamed Said](https://msaied.com#person) Published 30 Nov 2026 · Updated 1 Dec 2026 · 3 min read

ShareCopy linkCopied

 ![How Laravel News Cut Its Laravel Cloud Bill Nearly in Half](https://cdn.msaied.com/840/0ea4b7fd609b1d36553ed8f714446b8d.png) 

  On this page +1. [How Laravel News Cut Its Laravel Cloud Bill Nearly in Half](#how-laravel-news-cut-its-laravel-cloud-bill-nearly-in-half)
2. [The Foundation: Edge and Application Caching](#the-foundation-edge-and-application-caching)
3. [Right-Sizing Compute and Database](#right-sizing-compute-and-database)
4. [The Biggest Win: Shrinking the Valkey Cache](#the-biggest-win-shrinking-the-valkey-cache)
5. [The Final Numbers](#the-final-numbers)
6. [Key Takeaways](#key-takeaways)
7. [Thrift: Applying This to Your Own Laravel Cloud Bill](#thrift-applying-this-to-your-own-laravel-cloud-bill)

 How Laravel News Cut Its Laravel Cloud Bill Nearly in Half
----------------------------------------------------------

JMac (creator of Laravel Shift) recently shared how he helped Eric — the owner of Laravel News — reduce the site's Laravel Cloud bill from **$129 to $72 per month**. That's a saving of $57 every month, or **$684 per year**, without a major rewrite.

Here's a breakdown of exactly what they did and what you can apply to your own Laravel Cloud environments.

---

The Foundation: Edge and Application Caching
--------------------------------------------

Before touching any infrastructure settings, Laravel News already had a solid caching foundation in place:

- **Cloudflare edge caching** was serving the majority of popular pages, meaning only a fraction of requests ever reached Laravel Cloud.
- **Application-level caching** handled expensive operations like rotating sponsors and fetching recent articles.

This combination meant the actual compute workload was far smaller than the provisioned resources implied. The infrastructure was sized for peak raw traffic, not for the real workload after caching.

---

Right-Sizing Compute and Database
---------------------------------

The first observation was straightforward: both the database and compute resources were larger than the application actually needed given the caching layer already in place.

Both were reduced to the smallest **Flex** resources available on Laravel Cloud. No code changes required — just an honest look at utilization versus provisioned capacity.

---

The Biggest Win: Shrinking the Valkey Cache
-------------------------------------------

The most significant saving came from the **Valkey cache**, which was provisioned at **5 GB** — one of the largest line items on the bill.

Using targeted AI prompts, they identified several large cached values. The most telling example was the recent articles cache: the application was storing **entire Eloquent collections**, including large fields like the full article `content`, even though the views only consumed three attributes:

```php
// Before: caching entire Eloquent collection
Cache::remember('recent_articles', 3600, fn () => Article::latest()->take(5)->get());

// After: cache only what the view actually needs
Cache::remember('recent_articles', 3600, fn () =>
    Article::latest()->take(5)->get(['title', 'slug', 'thumbnail'])
);

```

By switching to simple tuples containing only `title`, `slug`, and `thumbnail`, they eliminated the storage of unnecessary Eloquent object structure and large content fields.

The result: Valkey was reduced from **5 GB to 512 MB** — a **~90% reduction** in cache capacity — with minimal code changes.

---

The Final Numbers
-----------------

| Resource | Before | After | |---|---|---| | Compute | Oversized Flex | Smallest Flex | | Database | Oversized Flex | Smallest Flex | | Valkey Cache | 5 GB | 512 MB | | **Monthly Bill** | **$129** | **$72** |

---

Key Takeaways
-------------

- **Cache at the edge first.** Cloudflare (or similar CDN) dramatically reduces the compute workload before any application-level optimization.
- **Cache only what you use.** Storing full Eloquent models when views need two or three attributes wastes significant memory.
- **Right-size after caching.** Provision infrastructure based on the real workload, not raw traffic numbers.
- **AI can help surface bloated cache values.** Targeted prompts can quickly identify oversized cached objects you might otherwise miss.
- **Small changes compound.** $57/month is $684/year — and these were described as just the obvious savings.

---

Thrift: Applying This to Your Own Laravel Cloud Bill
----------------------------------------------------

After working through this process with Eric, JMac rolled the same approach into a new service called [Thrift](https://thrift.laravelshift.com). You upload your Laravel Cloud bill and provide a read-only API key. Thrift analyzes your resources, identifies oversized allocations, and provides AI prompts targeting deeper application-level optimizations.

The benchmark is 20% savings, though some customers have reported savings as high as 60%.

---

Sometimes the best optimization isn't adding more capacity — it's figuring out how to genuinely use less.

*Source: [Cutting Laravel News' Laravel Cloud Bill Nearly in Half](https://laravel-news.com/laravel-cloud-bill-savings)*

- [Laravel Cloud](https://msaied.com/articles?search=Laravel%20Cloud)
- [Performance](https://msaied.com/articles?search=Performance)
- [Caching](https://msaied.com/articles?search=Caching)
- [Cost Optimization](https://msaied.com/articles?search=Cost%20Optimization)
- [Valkey](https://msaied.com/articles?search=Valkey)
- [Laravel Shift](https://msaied.com/articles?search=Laravel%20Shift)

 Frequently asked questions 
---------------------------

  What was the single biggest saving in the Laravel News Laravel Cloud optimization?The biggest saving came from reducing the Valkey cache from 5 GB to 512 MB — roughly a 90% reduction — by caching only the specific attributes views needed (title, slug, thumbnail) instead of entire Eloquent collections including large fields like article content.

   Do you need to rewrite your Laravel application to reduce your Laravel Cloud bill?No. In the Laravel News case, the savings from $129 to $72 per month came from right-sizing Flex resources and making minimal code changes to cached values. No major rewrite was required.

   What is Thrift and how does it help with Laravel Cloud costs?Thrift is a service by JMac (creator of Laravel Shift) that analyzes your Laravel Cloud bill. You upload your bill and provide a read-only API key, and it identifies oversized resources and provides targeted AI prompts for deeper application-level optimizations.

   ![Mohamed Said](https://cdn.msaied.com/01M22N44A70A5MC2S599JP0MPH.webp)About the author
----------------

[Mohamed Said](https://msaied.com#person)Senior Backend Engineer specializing in Laravel, scalable SaaS platforms, APIs, and cloud infrastructure. I build secure, high-performance web applications that help businesses grow.

[About](https://msaied.com#about) [GitHub ↗](https://github.com/EG-Mohamed) [LinkedIn ↗](https://www.linkedin.com/in/msaiedm/) [WhatsApp ↗](https://wa.me/201094619204) [Email Address ↗](mailto:hello@msaied.com) [My CV ↗](https://drive.google.com/file/u/0/d/1MF20IPRJyzfy32mhEutjL5EpSls0w2Q8/view)  

   [Previous articleLaravel AutoBuilder: Build Visual Automation Workflows in Your Laravel App](https://msaied.com/articles/laravel-autobuilder-build-visual-automation-workflows-in-your-laravel-app)  

   On this page
-------------

1. [How Laravel News Cut Its Laravel Cloud Bill Nearly in Half](#how-laravel-news-cut-its-laravel-cloud-bill-nearly-in-half)
2. [The Foundation: Edge and Application Caching](#the-foundation-edge-and-application-caching)
3. [Right-Sizing Compute and Database](#right-sizing-compute-and-database)
4. [The Biggest Win: Shrinking the Valkey Cache](#the-biggest-win-shrinking-the-valkey-cache)
5. [The Final Numbers](#the-final-numbers)
6. [Key Takeaways](#key-takeaways)
7. [Thrift: Applying This to Your Own Laravel Cloud Bill](#thrift-applying-this-to-your-own-laravel-cloud-bill)

 ###  Have a technical challenge?

 Tell me what you’re building. I reply within two working days.

[Start a conversation](https://msaied.com#contact) 

   Related articles
-----------------

 [ ![](https://cdn.msaied.com/839/00788b998da006f2c5774a37cd2ca409.png) Laravel · 4 min read### Laravel AutoBuilder: Build Visual Automation Workflows in Your Laravel App

27 Nov 2026 ](https://msaied.com/articles/laravel-autobuilder-build-visual-automation-workflows-in-your-laravel-app) [ ![](https://cdn.msaied.com/837/a736608b65db9fe102769f6c2479bef1.png) Laravel · 4 min read### Pun: Format, Lint, and Analyze PHP With One Rust Binary

26 Nov 2026 ](https://msaied.com/articles/pun-format-lint-and-analyze-php-with-one-rust-binary) [ ![](https://cdn.msaied.com/838/ce69ce2737d75831f3116e7d1bb8f541.png) Laravel · 3 min read### Form Request Model Lookups and PHP 8.6 Support in Laravel 13.44

24 Nov 2026 ](https://msaied.com/articles/form-request-model-lookups-and-php-86-support-in-laravel-1344) 

  Have a technical challenge?
----------------------------

Tell me what you’re building. I reply within two working days.

 [Discuss your project ↗](https://msaied.com#contact) 

  © 2026 Mohamed Said · Built with Laravel, meant to last.Senior Backend Engineer specializing in Laravel, scalable SaaS platforms, APIs, and cloud infrastructure. I build secure, high-performance web applications that help businesses grow.

 - [Home](https://msaied.com)
- [Articles](https://msaied.com/articles)
- [Certificates](https://msaied.com/certificates)
- [GitHub](https://github.com/EG-Mohamed)
- [LinkedIn](https://www.linkedin.com/in/msaiedm/)
- [WhatsApp](https://wa.me/201094619204)
- [Email Address](mailto:hello@msaied.com)
- [My CV](https://drive.google.com/file/u/0/d/1MF20IPRJyzfy32mhEutjL5EpSls0w2Q8/view)
- [Sitemap](https://msaied.com/sitemap.xml)
