Fine-tune AI models on cloud GPU


How to train generative AI models without investing in expensive physical servers?

Most generative AI projects never need to buy a single GPU server. They need GPU hours — and those are available on demand, billed by the minute, from a European cloud platform that keeps your training data under EU law. This page explains how.

IA & Machine learning OVHcloud

If your team is planning an LLM fine-tuning project, building a RAG pipeline, or experimenting with a multimodal model that combines text and visual content, the roadblock is almost always the same: someone has asked you to justify a 100,000 to 500,000 euro server purchase before a single developer has written a line of training code or shipped an application. That conversation can take months, and while you wait for finance to sign off on the budget, your competitors have already shipped.

The alternative is GPU as a Service. You provision an H100 or A100 when you need it, run your training job, and pay only for the hours you actually use. No procurement queue, no idle hardware, no CapEx debate. OVHcloud AI Solutions provides the full stack: managed notebooks, serverless training jobs, inference endpoints, and a catalogue of pretrained open-weight foundation models — all on sovereign EU infrastructure.

This guide walks you through why cloud GPU training makes economic sense for most generative AI teams, what the OVHcloud platform looks like in practice, and exactly how to go from a dataset to a deployed model endpoint without touching a single physical server. It reflects one of the clearest trends in generative AI infrastructure today: pay for GPU-hours, not GPU hardware.

 

Why teams are abandoning on-premise GPU plans

The CapEx wall: 100,000 to 500,000 euros before a single experiment

An 8×H100 SXM server costs somewhere between 150,000 and 250,000 euros at list price, before you add networking, power infrastructure, cooling, and the dedicated ops engineer to maintain it. For most teams, that number triggers a full finance and procurement review that takes three to six months and often ends with a not-this-budget-cycle decision. Your AI project is blocked before it starts, and the key blocker is rarely technical.

Even if the budget is approved, you are committing to a specific hardware architecture at a moment when GPU designs are evolving rapidly. The H100 you buy today may be superseded by a newer generation before your three-year amortisation period is up. Cloud GPU gives you access to the latest hardware without locking your capital into a single target configuration.

Procurement lead times of 3 to 6 months kill momentum

GPU servers are not commodity hardware. Lead times for enterprise NVIDIA configurations regularly run three to six months from order to rack. For a generative AI project, six months is the common difference between shipping a fine-tuned domain model first and being irrelevant. Engineers fall back on CPU workloads or consumer GPUs in the meantime, running models locally on underpowered hardware and producing weaker results on longer timelines — a real setback for team credibility.

On OVHcloud, you can launch an AI Notebook with an H100 attached in minutes from the Control Panel or via the ovhai CLI. Subject to your project's quota, GPU capacity is available on demand — no lead time, no vendor negotiation.

The utilisation problem: paying 100% of the time for ~10% of usage

Fine-tuning a 7B parameter model typically takes 4 to 12 hours on a single H100. If you own the server, you are amortising its cost across three years of electricity, energy, cooling, and maintenance, regardless of whether it is running a training task or sitting idle. For most teams, that physical server delivers meaningful performance for a small fraction of its life.

Teams weighing selfhosting against cloud services usually frame it as a control question. In practice it is a utilisation question: an onpremise rig earns its keep only while a job is actually running, and most training calendars are mostly gaps.

With pay-as-you-go compute, you pay only during active use. A 12-hour fine-tuning job is billed for those 12 hours and nothing else, so the cost per run is known before you start it. You can run ten experiments, compare results, and retire the failing approaches without paying for idle silicon between jobs, a lot more discipline than an always-on rack allows.

What 'GPU as a Service' actually means for AI training

Per-minute billing instead of always-on hardware

OVHcloud bills GPU usage per minute, not per hour or per month. You submit a training job, the job runs, and you pay for the exact duration — nothing more. This changes the economics of experimentation: running 20 short evaluation tasks to tune hyperparameters costs almost nothing compared to running them on an always-on server, and it lets a small team ship improvements faster. It is a common technique to combine this with request batching and result caching to further cut the token cost of each evaluation run, without hitting a hard scaling limit.

 

There is no reserved instance pressure and no commitment period. If your training workload is seasonal — a quarterly model refresh, a burst of fine-tuning ahead of a product launch — you scale to zero between campaigns and pay zero when not training.

On-demand H100, H200, A100, L40S and L4 in a European cloud

OVHcloud Public Cloud provides several NVIDIA GPU flavors at general availability: the H100 PCIe and H200 for demanding fine-tuning and large-batch training; the L40S for a balance of training and inference; and the L4 for cost-efficient, low-latency inference and lighter training tasks. For managed AI tooling (AI Training, AI Notebooks), the H100 PCIe and V100S are available today.

 

All these instances run in OVHcloud's European data centres. Your training data never leaves EU jurisdiction, which matters if you are working with personal data, health records, financial information, or any regulated dataset that cannot be processed on infrastructure subject to a non-EU legal framework.

Capacity, quotas and what to ask for upfront

On-demand does not mean unlimited. GPU capacity — especially for H100 and A100 — is subject to Public Cloud project quotas and regional availability. If you are planning a large training campaign or a time-sensitive project, the right move is to request a quota increase before you need the capacity, not the night before your training run.

 

Contact OVHcloud support or your account team to discuss quota requirements early. Transparency matters here: capacity can be constrained by region and demand. Do not plan a training schedule that depends on instant access to 16 H100s without first confirming availability with the team.

OVHcloud AI Solutions: the full stack from notebook to production

AI Notebooks: managed Jupyter and VS Code with GPU attached

AI Notebooks is a managed notebook environment — Jupyter or VS Code — with a GPU attached from the moment you launch it. PyTorch, TensorFlow, and HuggingFace Transformers are pre-installed. You connect your OVHcloud Object Storage (S3-compatible)* bucket as a data volume and start writing training code immediately, with no Docker knowledge required and no environment configuration to solve on your own.

A few things to know before you rely on it for production workflows: each notebook workspace includes 10 GB of persistent storage; beyond that, or after 30 consecutive days, Object Storage rates apply. AI Notebooks runs on the public network — vRack private networking is not supported, so workloads requiring strict network isolation, or a stricter security posture, need a different approach.

 

AI Training: serverless training jobs in Docker

AI Training is the core product for running training tasks at scale. You package your training script as a Docker container — or use one of the OVHcloud pre-built images for PyTorch, TensorFlow, or HuggingFace — and submit a job via the ovhai CLI, the API, or the Control Panel. You specify the GPU flavor, the number of GPUs (up to 4 per job per current documentation), and the Object Storage volumes to mount for input and output.

The job is stateless: there is no VM to manage and no cluster to configure. When the job ends, all outputs must be written to Object Storage — any result left in the container's local filesystem is lost. This is a real constraint for scripts that assume persistent local storage, so adapt your code, and catch that kind of error early in a notebook, before submitting a full training run.

 

AI Deploy: scalable inference endpoints for your trained model

Once your model artefact is in Object Storage, AI Deploy lets you serve it as a production inference endpoint. You bring your own container with the model loaded, configure autoscaling triggers, and AI Deploy handles the rest. The product reached general availability in June 2025 and is production-ready for teams that need custom model serving for their own application.

 

AI Endpoints: serverless API for open-weight foundation models

If you want to serve a foundation model without managing a container at all, AI Endpoints provides a serverless inference API for a catalogue of open-weight models — Mistral, Llama, Qwen, Deepseek, and others, spanning GPT-style decoder architectures and beyond. You send a prompt with each API request and pay per token generated, with response latency low enough for interactive applications. This is the fastest path to production for teams that want to use a standard foundation model rather than a custom fine-tuned one, without building their own request routing or token-usage tracking from scratch.

The 4-step training pattern: environment, data, training job, deploy

Step 1 — Spin up an AI Notebook with GPU and your ML framework

Log in to the OVHcloud Control Panel, navigate to AI Notebooks, and create a new notebook. Select your GPU flavor (H100 or V100S for demanding work, L4 for lighter experimentation), choose Jupyter or VS Code, and pick a pre-built image that matches your stack. The notebook is live in a few minutes with CUDA, your chosen framework, and a terminal ready to go.
Connect your Object Storage bucket as a data volume at launch time. This means your dataset is available as a local path inside the notebook without any manual copying, and your model checkpoints can be written directly to the bucket during training — a simple, effective pattern for any team, not just specialized ML platform engineers.

Step 2 — Stage your dataset on Object Storage

Object Storage (S3-compatible)* is the canonical data layer for AI Training jobs. It is S3-compatible, so your existing tooling (boto3, the AWS CLI, rclone) works without modification. Upload your training corpus, tokenised datasets, and any pre-processed artefacts here before submitting a training job. If your pipeline includes data augmentation steps, run them upstream and store the resulting dataset alongside the original for reproducibility and version control.

One practical advantage: there are no egress fees between OVHcloud services. Moving data from Object Storage to a GPU instance for training, reading checkpoints back to storage mid-job, or pulling model artefacts into AI Deploy after training — none of these transfers incur hidden costs. Iterating on your dataset, and on data quality generally, is cheap.

Step 3 — Submit a training job and pick the right GPU flavor

Package your training script as a Docker image (or use a pre-built OVHcloud image) and submit a job with the ovhai CLI:

ovhai job run --gpu 1 --flavor h100-1-gpu --volume my-bucket@GRA/dataset:/workspace/data:ro --volume my-bucket@GRA/output:/workspace/output:rw my-registry/my-training-image:latest

Choose your GPU flavor based on VRAM requirements: a 7B model fine-tune typically fits on a single H100 with 80 GB VRAM; larger models or larger batch sizes may require an H200, or a multi-GPU request to speed up training. The job runs serverless, monitored via live logs in the Control Panel or via the API. When it ends, your model artefacts are in Object Storage.

 

Step 4 — Serve your model with AI Deploy or AI Endpoints

For a custom fine-tuned model, create an AI Deploy app pointing to your model artefact in Object Storage. Configure autoscaling based on request volume and memory thresholds, and enable response caching where your traffic pattern allows it to cut inference cost further — a simple technique that pairs well with request batching for throughput-sensitive applications. Each caching layer you add reduces average latency and improves cost-performance at the same time. Your endpoint is live within minutes and scales to match traffic.

For standard open-weight models, skip the deployment step entirely and query AI Endpoints directly. The API is compatible with the OpenAI client format, so existing integrations often require only a base URL change.

Fine-tuning vs training from scratch: which one applies to you

The 7B fine-tune that runs on a single H100 in a few hours

The vast majority of generative AI projects do not train from scratch. They fine-tune an existing pretrained, open-weight foundation LLM — Mistral 7B, Llama 3 8B, Falcon, or a similar language model architecture — on a domain-specific dataset. Fine-tuning is itself a form of transfer learning: you start from a model that already generates fluent language broadly, and specialize it to your task with far fewer GPU-hours than training a model from zero. Using techniques like LoRA or QLoRA, and quantization to reduce memory usage during training, a 7B model can complete on a single H100 in 4 to 12 hours, depending on dataset size and epoch count. Most developer teams find this technique far more approachable on the OVHcloud platform than managing their own training architecture.

This is the scenario where pay-as-you-go compute is most economically compelling. You run your fine-tuning job, evaluate the result, adjust the dataset or hyperparameters to prevent overfitting on a small domain-specific corpus, and run again. Each iteration costs a predictable number of GPU-hours. You can run a dozen experiments for less than the monthly electricity bill on a physical server, regularly benchmark model performance, and improve model capabilities and generated content quality with every pass — then ship the result once it clears your bar.

For mid-size models in the 13B to 70B parameter range, multi-GPU jobs are possible on OVHcloud (up to 4 GPUs per job under current limits). For 70B fine-tuning, plan for H100 or H200 instances and lean on quantization to manage VRAM constraints and control layer-by-layer memory usage.

When to talk to a Solutions Architect about large-scale pre-training

If your project involves pre-training a model from scratch at tens or hundreds of billions of parameters — that is a fundamentally different architectural challenge, and a different type of client engagement. Distributed training across many GPUs, custom networking fabric, checkpoint management at petabyte scale, and long-running job orchestration are not self-serve decisions; they require dedicated tooling and a reference architecture built for your case.

For large-scale pre-training, the right first step is a conversation with an OVHcloud AI Solutions Architect. They can assess your compute requirements, discuss GPU cluster options and the right tool for each stage, and help you design a training architecture that matches your scale and your target performance improvement. The link to request that conversation is in the 'Get started' section below.

Cost comparison: on-premise H100 server vs OVHcloud pay-as-you-go

Acquisition cost, electricity, ops and amortisation
The full cost of an on-premise GPU server includes more than the sticker price. A typical 8×H100 SXM system costs between 150,000 and 250,000 euros at acquisition. Add to that: power infrastructure upgrades, cooling, rack space, a three-year maintenance contract, and the salary of the engineer responsible for keeping it running. Amortised over 36 months, the total cost of ownership breaks down to substantially more than the hardware list price alone.

On OVHcloud, there is no acquisition cost. You pay only for the GPU-hours you consume, billed per minute, with no commitment and no idle cost. If your project is cancelled, you pay nothing beyond what you have already run.

A worked example: 8 hours of Llama 3 7B fine-tuning

DimensionOn-premise 8×H100 serverOVHcloud AI Training (H100)
Acquisition cost150,000–250,000 €0 €
Availability3–6 months procurementMinutes (subject to quota)
Cost for 8h training jobAmortised over 3yr + ops

8 GPU-hours, billed per minute

Sunk cost if project cancelledFull server value0 €
CLOUD Act exposureDepends on network infraNo (EU infrastructure)
Scale upBuy new hardwareChange GPU count in job config
Idle cost between jobsFull amortisation continuesZero

Indicative prices. Confirm current rates on the OVHcloud pricing page before publishing.

The utilisation argument is the strongest one: a physical server is paid 100% of the time, whether or not it is running a job. A cloud GPU is paid only during active compute. For a team that runs training jobs a few days per week, the cloud model is almost always the cheaper, more effective choice — even before factoring in ops overhead.

Sovereignty: why EU AI projects need EU infrastructure

No CLOUD Act exposure on training data

The US CLOUD Act allows US authorities to compel US-headquartered companies to produce data stored anywhere in the world, including data hosted in European data centres by US cloud providers. If your training corpus contains personal data, health records, legal documents, financial transactions, or any other regulated category, training on infrastructure subject to US law creates a compliance risk that is difficult to fully mitigate through contractual measures alone.

OVHcloud is a European company with no US parent. There is no structural CLOUD Act dependency. Your training data stays in EU jurisdiction under EU law. For teams in regulated sectors — healthcare, financial services, legal tech, public sector — this is not a theoretical advantage; it is a requirement, and increasingly the key criterion procurement teams ask about upfront.

EU AI Act substrate, GDPR, HDS and ISO 27701

OVHcloud infrastructure is ISO 27001, ISO 27017, ISO 27018, and ISO 27701 certified. The HDS certification is relevant for teams training models on healthcare data in France. For GDPR, training data processed on OVHcloud is stored and processed within the EU under EU law, which simplifies Data Protection Impact Assessments significantly and helps ensure ongoing compliance.

A clarification that matters: OVHcloud provides the sovereign infrastructure substrate. Model-level EU AI Act compliance — model cards, bias detection, audit logs, transparency obligations — remains your responsibility as the AI system developer. Sovereign infrastructure supports your compliance obligations; it does not fulfil them automatically.

On the analyst side, GigaOM Radar recognised OVHcloud for interconnectivity and sovereign availability, and IDC named OVHcloud a Major Player in European Public Cloud IaaS.

Get started: €200 trial, AI Notebooks and an AI Solutions Architect

The fastest way to validate the whole toolchain is to run a real fine-tuning job with the ovhai tool. OVHcloud provides €200 in free credit for new Public Cloud projects, a budget that covers multiple training runs on H100 hardware. Use it to learn the platform and ship your first fine-tune before any budget conversation, whether the end user of your model is an internal team or an external agent-based application.

Start with AI Notebooks to set up your training environment and validate your dataset pipeline. Then move to AI Training for production training jobs. When your model is ready to serve, AI Deploy handles the inference endpoint. For GPU instance access without the managed tooling, Cloud GPU instances are also available directly.

If your project involves regulated data, multi-GPU requirements, or estimated GPU spend above €5,000 per month, talk to an OVHcloud AI Solutions Architect. As a client, they can help you assess quota requirements, architect your training and deployment pipeline, solve any parameter-count or capacity questions specific to your LLM, and make sure your sovereignty posture and retention policy are correct for your sector, helping ensure you do not break your compliance obligations along the way. Request a free 30-minute consultation via the OVHcloud contact page.

For documentation and quickstarts, the AI & Machine Learning hub is the central reference. The AI Endpoints catalogue is the fastest path if you want to test an open-weight model API before committing to a fine-tuning project.

*S3 is a registered trademark of Amazon Technologies, Inc. OVHcloud services are not sponsored or approved by, nor affiliated with Amazon Technologies, Inc. in any way.