Two worlds of models: closed and open
AI models come as closed (available only via a providers API ā you send a request, get an answer, but do not see the model itself) and open (the model can be downloaded and run yourself ā on your computer or server). Each path has its pros and cons. This course is about open and local models: when they give an advantage (privacy, control, cost) and when closed APIs are more convenient. Understanding the choice helps build AI solutions for your requirements.
What the difference is
- Closed models (via API): you address the providers model over the internet. The model is powerful and convenient, but you do not control it, data goes to the provider, you pay per call.
- Open models: the model weights are available ā you can download and run it yourself. Control, privacy (data does not leave), but resources and setup are needed.
The main reasons for open models: privacy and control
Two key reasons to choose an open/local model. Privacy: data does not leave ā the model works with you, requests stay local. This is a huge plus for sensitive, personal, regulated data that cannot be sent to a provider (a link to the ethics/law courses). Control: the model is yours ā you can tune, fine-tune, use it as you wish, without depending on a provider (its changes, prices, terms, availability). Plus at large volume there is no pay per call (you pay for your hardware), which can be cheaper than an API. The cons ā resources, setup and expertise are needed.
Choose for the requirements, often a hybrid
The practical choice: closed APIs are convenient for a fast start, maximum quality, moderate volume without sensitive data. Open/local ones win when privacy is critical, control is needed, a large volume (pay-per-call makes the API costly) or autonomy, and the task does not require the most advanced model. A hybrid is often optimal: open for the sensitive/high-volume, closed for the complex/rare. Much from previous courses (LLM API, RAG, fine-tuning, LLMOps) applies to open models too ā what mainly changes is where the model runs (with you vs with the provider) and the related privacy, cost, control.
Course rule: closed models (API) ā convenience and maximum quality, but data leaves and you pay per call; open/local ā privacy, control, saving at volume, but resources and setup are needed. Choose for the requirements; a hybrid is often optimal.
š§ What is the main advantage of open/local models?