@dominic60186
Dominik LubańskiDeveloper▲69
Full Stack & AI Developer, AIvanta
2h ago · Models · Warsaw

Not every AI request needs an expensive model.

I worked on an enterprise knowledge retrieval system over 28 days using Cursor and Claude Code, bringing together document processing, hybrid search, access control, and routing between local and cloud LLMs.

One part I particularly enjoyed was figuring out when a smaller local model was good enough.
If an employee wants to find the company's vacation policy, there's not much sense in sending the entire request through an expensive reasoning model. Summarizing a complex set of internal documents is a different story.

In my enterprise RAG work, routing routine queries to local models and reserving cloud models for more demanding tasks reduced monthly LLM API spending by around 45%.

The system covered more than 100,000 documents and roughly 2 million chunks, so getting those decisions right made a considerable difference.

With Cursor and Claude Code, I prefer defining the routing rules, fallback behavior, and evaluation criteria before implementing the individual model integrations.

It saves a lot of unnecessary experimentation.
I think plenty of AI products could become considerably more profitable without changing what their customers actually experience. Sometimes the best model optimization is simply knowing when not to use one.

Comments

No comments yet
Start the conversation.
Log in to join the thread.