Pre-order Releases Feb 23, 2027
Rearchitecting LLMs: Structural techniques for efficient models
by Pere Martra
From $50.99 / copy at 25+ copies; lower per-copy prices at higher quantities (see Volume pricing) As low as $47.99 at 1,000+
Volume pricing
The more copies, the less each one costs
Applied automatically in your cart. No code needed.
About the book
Rearchitecting LLMs
By default, general purpose LLMs are not optimized for specific domains and business goals. Using techniques like specialized fine-tuning, pruning unnecessary neural components, and knowledge distillation, you can rearchitect your models to cost less, run faster, and deliver more accurate results.
This book turns research from the latest AI papers into production-ready practices for domain-specific model optimization. As you work through this practical book, you’ll perform hands-on surgery on popular open-source models like Llama-3, Gemma, and Qwen to create cost-effective local small language models (SLMs). Along the way, you’ll learn how to combine behavioral analysis with structural modifications, identifying and removing parts that don’t contribute to your model’s goals, and even use “fair pruning” to reduce model bias at the neuron level.
What's inside
- Universal techniques for customizing model architecture
- End-to-end pipelines for model rearchitecting
- Improve bias and explainability with model “cleanup”
- Replacing external LLMs with local SLMs
For practicing AI, ML, and data engineers who know Python.
About the author
Pere Martra is an Applied AI Engineer, the creator of the Optipfair model efficiency library, an international AI speaker, and maintainer of widely-used LLM courses and popular open-source tools. He is the author of Large Language Models Projects.
What readers are saying
Details
- Publisher
- Manning
- Author
- Pere Martra
- Format
- Paperback
- Release date
- Feb 23, 2027
- ISBN-13
- 9781633434332
- ISBN-10
- 1633434338
- Pages
- 380
Who it's for
Made for sharing
Pre-order copies for everyone on your list, and they ship on release.
- Book clubs A copy for every member, on one order. Get a quote
- Events and conferences A book for every attendee, delivered to your venue. Get a quote
- Author events and signings Copies at the venue in time for the day. Get a quote
- Gifts For clients, staff, members or volunteers. Get a quote
Before release day
Need them before Feb 23?
Books ship on release and usually arrive around the release date. Early delivery is common, and we arrange it often. It needs the publisher’s OK, so tell us why you need them early and we’ll make the request for you.
- Tell us the date and the reasonA class unit, an event, a program launch: one line is enough.
- We ask the publisherWe make the request on your behalf. It’s a routine part of what we do.
- We confirm with youYour specialist confirms the date by email before anything ships.
Other times a quote is the better path
- Several addressesOne order split across schools, branches, classrooms or homes.
- Signings and eventsTell us the venue and the date, and we’ll plan the delivery around it.
- Custom touchesBookplates, belly bands, gift notes or packaging for your copies.
- Purchase ordersSchools, libraries and agencies can pay by PO.
Rearchitecting LLMs for groups: pricing
Volume pricing applies automatically in your cart. No codes, no account needed.
| Copies | Price per copy | You save |
|---|---|---|
| 25 – 99 | $50.99 | 15% off list |
| 100 – 249 | $50.39 | 16% off list |
| 250 – 499 | $49.79 | 17% off list |
| 500 – 999 | $49.19 | 18% off list |
| 1,000+ | $47.99 | 20% off list |
Where can I buy 100 copies of Rearchitecting LLMs?
BookPal sells Rearchitecting LLMs in quantity. At 100 copies the price is $50.39 a copy, against a list price of $59.99, and the cart applies the volume tier automatically. Free shipping on most orders over $95 in the contiguous US. A specialist can quote a larger or mixed order.
- New books only, straight from the publisher
- Volume prices apply automatically in the cart, with no code needed
- Order at least 10 business days before you need the books (11 from mid-November through December)
What does Rearchitecting LLMs cost when I buy for a group?
Volume pricing applies automatically in your cart, with no code needed. Price per copy: 25 to 99 copies, $50.99 (15% off list); 100 to 249 copies, $50.39 (16% off list); 250 to 499 copies, $49.79 (17% off list); 500 to 999 copies, $49.19 (18% off list); 1,000+ copies, $47.99 (20% off list). Need a different quantity, or a quote to forward for approval? Ask a specialist and we will confirm pricing before you pay.
How fast can I get copies of Rearchitecting LLMs?
This title is not released yet. Pre-orders ship when it is, currently scheduled for February 23, 2027. Need them by a specific date? Request a quote and we'll confirm timing before you pay.
Can you ship to several locations or people's homes?
Yes. We ship group orders to one address, to multiple sites, or to individual recipients, in the US and internationally. See fulfillment options.
Can I get a formal quote for approval before ordering?
Yes. Request a quote and we'll send a PDF you can forward for approval.
Do you accept purchase orders and tax-exempt orders?
Yes. We accept purchase orders upon approval, as well as cards, PayPal, ACH, wire transfers and checks. BookPal is a tax-exempt supplier in all 50 states. See purchase orders and sales tax exemption.
What if I find a lower price?
Send us the link. We match prices from other booksellers and distributors on a new copy in the same edition, available to ship in the quantity you need. Clearance sales and pricing errors are the exception, and we'll tell you quickly if that's the case. Start a price match.
Turn this order into a program
Groups that order together often pair the copies with something more. We handle the extras so you don't have to.
Branded cover stickers on paperbacks from 100 copies, plus bookplates, inserts and belly bands. Your specialist confirms what fits your title.
Customization options Ship to every readerOne address, many sites or individual recipients' homes, in the US and abroad.
Fulfillment options Pair it with a branded journalJournals with your logo or each reader's name, for the same group.
Branded journalsBookPal is partnering with Talezo to help you find and book authors, speakers and performers for your event.
BookPal × TalezoWrite a Review
Rearchitecting LLMs: Structural techniques for efficient models
Groups also order




A colleague asked you to approve this order
Your quote list
Add books as you browse, then request one quote for all of them.