Self-Hosted Small Models: From OpenAI Lock-In to Open Models - Filip Makraduli @EuroPythonConference
Self-Hosted Small Models: From OpenAI Lock-In to Open Models - Filip Makraduli  @EuroPythonConference
Uploaded August 2026 | Updated September 2026, 2 weeks ago
[EuroPython 2026 - S3B on 2026-07-16]
🎤 *Self-Hosted Small Models: From OpenAI Lock-In to Open Models by Filip Makraduli*
đź”— https://ep2026.europython.eu/session/self-hosted-small-models-from-openai-lock-in-to-open-models

📝 Abstract:
OpenAI's embedding API is the default for most Python RAG applications, but it creates real problems at scale: data privacy (every document leaves your network), cost (per-token pricing compounds fast), no customization (cannot fine-tune or swap models), and no quality validation. Most teams have never measured whether text-embedding-3-large actually works well for their domain.

Open embedding models like BGE-M3, GTE-Qwen2, and E5 now match or beat OpenAI on MTEB benchmarks. The problem is not model quality anymore, it is infrastructure: running these models with proper batching, memory management, and quality assurance.

This talk walks through a practical migration. We start from a typical LangChain app calling OpenAI, switch to self-hosted open models using SIE (an open-source inference server with an OpenAI-compatible endpoint), validate that retrieval quality is maintained using MTEB, and then go beyond what OpenAI offers by adding sparse embeddings for keyword, recall, and cross-encoder reranking for precision.

The talk is aimed at Python developers who currently use OpenAI embeddings and models and want to understand their options. No prior experience with model serving is required.

---
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License: creativecommons.org/licenses/by-nc-sa/4.0
Self-Hosted Small Models: From OpenAI Lock-In to Open Models - Filip MakraduliStop firefighting: practical observability for Python APIs, workers & jobs - Daria KorsakovaAt EuroPython For the First Time — Nilo Ney Coutinho MenezesThe Problem with None: Sentinel Values and the Semantics of Absence - Florian WilhelmEuroPython 2026 - CPython PanelWhat is this footgun called unittest.mock, and how to avoid misusing it - Claudiu BeluLearning from the not-so-secret Python security cabal - Seth Michael LarsonPlugins in python - how it is done - Grzegorz BokotaExplaining the 5 types of database and how to choose between them — TibsHow Does It Feel To Present Your Company At EuroPython — Michelle from ApifyBecome a Python Core Developer in 3 Easy Steps - Tomas RounEuroPython 2026 - Python Quiz 📝
EuroPython Conference |

Self-Hosted Small Models: From OpenAI Lock-In to Open Models - Filip Makraduli

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER