AI infrastructure engineering: self-hosted LLMs, GPU inference and model orchestration
Building an AI feature is relatively straightforward. Building the infrastructure behind dozens of AI features, with predictable costs, controlled access to data and reliable execution, is a different engineering problem.
I design AI infrastructure that gives businesses control over where their models run, how requests are processed, which providers receive their data and how much each operation costs.
Depending on the workload, that can mean cloud APIs, privately hosted open-weight models or a hybrid architecture combining both. The choice follows from the requirements, not from a preference for a particular model or vendor.
Proven results
One AI platform for nine applications. My Arc platform consolidated previously separate AI services behind a common API. All 290 requests used in migration acceptance testing passed.
From 157 seconds to 5.5 seconds. A recorded AI request was replayed after redesigning its orchestration and execution budget, demonstrating a substantial improvement in that specific scenario.
Reliable execution over unstable connections. Arc successfully delivered a 919-word response during a test with connection interruptions every three seconds.
Private inference under concurrent load. A benchmark across two privately operated GPU nodes achieved 205 short responses per minute at eight concurrent requests.
Model selection based on evidence. I developed a benchmark containing 60 original Java and Python coding tasks, evaluated through isolated execution and hidden tests.
Explore Arc for the architecture, implementation details and measured engineering results.
What I build
Unified AI gateways
A single application-facing API that abstracts the differences between cloud AI providers and privately hosted models.
The gateway can manage authentication, model selection, access policies, usage limits and cost accounting. Applications integrate once instead of maintaining separate implementations for every provider.
New providers and models can be introduced without redesigning the applications consuming them.
Private LLM infrastructure and GPU inference
I design and operate infrastructure for running open-weight models on dedicated hardware, using tools such as Ollama and llama.cpp.
The work includes:
Model deployment, quantization selection and resource allocation.
GPU and CPU inference strategies based on available hardware.
Context size, memory consumption and inference performance evaluation.
Workload scheduling across machines with different capabilities.
Secure connectivity between application services and private inference nodes.
Integration of local inference with existing cloud infrastructure.
Not every workload needs an expensive cloud model. Equally, not every workload should be moved to local hardware. The goal is to determine where each approach makes practical sense.
Model routing and hybrid AI architectures
Different models are suitable for different tasks. A lightweight local model may be sufficient for classification or structured extraction, while a more capable model may be needed for complex reasoning.
I build routing strategies around task requirements, model capabilities, availability, privacy constraints and execution costs.
Fallback behavior is explicitly defined. If a workload must remain private, an unavailable local model must not silently cause its data to be sent to a cloud provider.
Reliable AI execution
LLM calls are only one part of an AI system. Production workloads also need scheduling, cancellation, time limits, retries, validation and recovery.
I design execution architectures that address these concerns together:
Priority-based workload queues.
Time, token, tool-call and financial budgets.
Resumable response streaming.
Failure recovery with safeguards against repeated side effects.
Structured output validation.
Request tracing and operational visibility.
An AI workflow should fail predictably when its dependencies become unavailable, rather than leaving an application waiting indefinitely.
Model evaluation and capability-based routing
Published benchmark scores are useful, but they do not necessarily tell you whether a model can perform your particular tasks.
I evaluate models using representative workloads, repeatable test cases and objective validation where possible.
This makes it possible to identify which operations can be delegated to smaller or privately hosted models, and which require more capable alternatives.
Research, knowledge and tool integration
Reliable AI applications often need access to internal knowledge, external information and business systems.
I design retrieval-augmented generation pipelines, vector search integrations, evidence-based research workflows and tool execution through controlled interfaces.
My approach is to keep predictable operations in conventional software wherever possible. Models handle interpretation and ambiguous decisions; code handles validation, access control and operations that require deterministic behavior.
How I work
I start with the workloads, not the models.
What will the infrastructure process? How many requests are expected? Which operations must respond immediately, and which can run in the background? What data must remain private? What happens when a provider is unavailable?
The answers determine the architecture, hardware requirements, model selection and operational policies.
I then establish a measurable baseline and test representative workloads. Model quality, latency, resource consumption and cost are considered together, because improving one metric while making the system impractical to operate is not a useful result.
The goal is infrastructure that can evolve as models and hardware improve, without forcing the business to rebuild its applications every time the AI ecosystem changes.
Projects in this domain
Arc — Solution Architect and AI Engineer, since 2026. My private AI infrastructure platform, built with Java, Spring Boot, Python, MongoDB and Qdrant. It provides a common interface to local and cloud inference, with policy-based execution and operational controls.
Blog Writer — Solution Architect, 2026. A practical application of multi-provider AI architecture. Separate model assignments support generation, analysis and review, with controlled processing budgets and human approval.
Smart Reception — Architect and Engineer, since 2026. An AI-enabled booking platform using privately hosted inference with configurable cloud fallback.
For AI receptionists, business process automation and customer-facing AI products, see AI Automation.
For the underlying architecture of scalable backend services, see Distributed Systems.
Frequently asked questions about AI infrastructure
Can you build a private AI system that does not send our data to external providers?
Yes. A system can be designed to operate using models and supporting services on infrastructure you control. The required hardware and achievable model quality depend on the workload.
External services, including cloud fallback and web research tools, can be restricted or disabled where privacy requirements demand it.
Can we combine local LLMs with OpenAI, Claude or Gemini?
Yes. A provider-independent gateway allows applications to use multiple local and cloud models through a common interface, with routing and access policies controlling where requests are processed.
Will self-hosted AI be cheaper than cloud APIs?
It depends on utilization, hardware costs, electricity, maintenance and the capabilities required. Local inference can be particularly attractive for continuous workloads and repetitive operations, but cloud APIs may be more economical for infrequent requests.
I evaluate both options before recommending an architecture.
Can you integrate AI infrastructure into an existing product?
Yes. An existing application can adopt a unified AI gateway incrementally, without replacing its backend or changing the rest of its architecture.
Can you evaluate which models are suitable for our tasks?
Yes. I can develop task-specific evaluation suites covering output quality, reliability, latency, resource requirements and operational cost.
Need AI infrastructure that you can control?
Whether you are building a new AI product, introducing private LLM inference or consolidating an existing collection of AI integrations, I can help design and implement the infrastructure behind it.
Discuss your project — a few lines about your workloads, privacy requirements and existing infrastructure are enough to start.
You can also explore my AI Infrastructure & LLM Engineer CV.