Choosing GPUs for a private LLM server running Ollama

Choosing GPUs for a private LLM server running Ollama means matching GPU class, VRAM, power, cooling and rack space to the models and concurrency you plan before you buy.

On this page

Choosing GPUs for a private LLM server running Ollama starts with the workload

Pick the GPU class and VRAM from the models, context lengths and concurrency you plan to serve, then check power, cooling and rack limits before you order anything. Start with the workload, not the card. A team that must host models on infrastructure it controls should write down the model families and sizes it needs, the context window users will actually send, and how many requests will run at the same time. Those three numbers decide how much memory the server needs, and the GPU class follows from that memory requirement.

Ollama is an open source runtime for running large language models locally. It is written in Go and uses a llama.cpp backend, so the GPU has to hold the model weights, the context cache and the working memory for each parallel request. The local API listens on port 11434 and has no built-in authentication. That makes the server a shared service from the first day, even when it runs on a single workstation. Size it for the users who will reach it, and plan the network and access controls alongside the hardware.

Before any purchase, confirm the GPU support tables, driver minimums and memory guidance against the current Ollama documentation and release notes, because support changes between releases. Ask the vendor or your reseller for the power draw, cooling requirements and rack depth of the exact model you plan to buy, and check them against your existing circuits, airflow and rack space. Those constraints can rule out a card that meets the VRAM target, so review them before you shortlist models, not after.

Consumer, workstation and data center GPU classes compared

Consumer GeForce and Radeon cards are often the first hardware a team tests with Ollama because they are widely available and cost less per card than professional models. Their VRAM is the main limit. A consumer card with less memory can hold small quantized models comfortably, but larger models or longer contexts may need to spill to system memory, which slows responses. Check the memory on each SKU you are considering rather than the product family name, because capacity varies within a family.

  • VRAM per card: Confirm the exact memory size of the SKU and plan for the models and context lengths your users will run, not the smallest model in the catalog.
  • Support table entry: Confirm the exact model appears in Ollama's GPU support documentation for your operating system and driver branch before buying.
  • Multi-GPU fit: Consumer boards are usually large, power-hungry and air-cooled, so confirm slot spacing, card length and airflow if you plan to combine several in one chassis.
  • Power and cooling: Check the board power rating, the PSU capacity and the cooling design of the chassis, since sustained inference loads run cards near their limits for long periods.
  • Warranty and use terms: Confirm the vendor warranty covers sustained server-style use, since consumer warranties may not.

Before buying, check the exact SKU against Ollama's support tables and your target driver version, and run a load test on the actual hardware.

Hardware options and when each fits

This table matches four workload shapes to a GPU class, a VRAM target, the concurrency settings each one needs and the main trade-off. Read each row from the left, starting with the number of people and models you expect to serve at the same time. Confirm the exact VRAM figure for your chosen models and context length with the VRAM sizing guidance before you buy.

WorkloadGPU class and VRAM targetConcurrency settingsMain trade-off
Single developer or pilotConsumer GPU with enough VRAM for one quantized model and its context (confirm against Ollama's support table)Defaults: OLLAMA_NUM_PARALLEL of 1 and OLLAMA_MAX_LOADED_MODELS left at its defaultLow cost and easy to replace, but a second user will queue behind the first request
Small team on one modelWorkstation GPU or larger consumer card sized for one model plus parallel slotsRaise OLLAMA_NUM_PARALLEL above 1 and keep OLLAMA_MAX_QUEUE at its default of 512Each parallel slot adds memory use, so the same card holds fewer long contexts
Several concurrent modelsMultiple GPUs or a larger single card so every model you run can stay loadedSet OLLAMA_MAX_LOADED_MODELS to the number of models you need residentModels that do not fit in VRAM get unloaded and reloaded, which slows responses
High-concurrency shared serviceData center GPUs with high VRAM, sized from the model, context and parallel request targetsTune OLLAMA_NUM_PARALLEL, OLLAMA_MAX_LOADED_MODELS and OLLAMA_MAX_QUEUE together and test under loadHighest purchase and power cost, and the server may still need a second node or gateway for growth

How workload, VRAM and facility limits decide the purchase

The decision starts with the models and context length you plan to serve, since those set the memory each request needs. Next, estimate VRAM for that workload and confirm the GPU class appears in Ollama's support tables for your vendor and driver stack. Then check power, cooling and rack capacity in the room where the server will sit. When a limit fails, loop back to a smaller model, a lower context target or additional GPUs, and re-check the same gates before ordering hardware.

Purchase gates for an Ollama GPU server, with loops back to smaller models or more GPUs.

How to set a VRAM target for the models you plan to run

Set the VRAM target by working backward from the models you intend to serve, not forward from the card you prefer. Each loaded model needs GPU memory for its weights, for the key-value cache that grows with context length, and for the extra working memory that appears when several requests run at once. Start with a written list of target models, the quantization you plan to use for each, and the largest context window your users will actually send. Then total the memory per model and add headroom for concurrency, using the parallel and loaded-model settings you intend to configure. The weights alone are not the target, because a model that fits at idle can fail or slow down once real traffic arrives.

Treat CPU offload as a failure condition rather than a fallback. When a model does not fit in VRAM, part of it runs in system RAM, and responses slow noticeably because the GPU waits on the slower memory path. Confirm this with ollama ps on a test machine during a load test, which shows how each model is split between processor types. If any production model reports a CPU share, the card is too small for that model at the context length you chose, and the fix is a larger card, a smaller quantization or a shorter context limit. Also check how many models must stay resident at once, since every extra resident model reduces the memory left for context and parallel slots.

Do not assume memory figures from a table, a blog post or another team's server. Model memory depends on the exact build, quantization, context setting and Ollama version, so load each target model on the candidate hardware, send realistic prompts at the expected concurrency and record the memory in use. Ask your hardware vendor or reseller to confirm that the card's memory size is available to Ollama after driver overhead on your operating system. Repeat the test after any Ollama upgrade, because memory behavior can change between releases. Keep the measured results with the purchase record so the sizing decision can be reviewed later.

Power, cooling and rack constraints that change the GPU choice

A GPU that fits your workload on paper can still be the wrong purchase if the room cannot feed or cool it. These cards list the facility checks to finish before you choose a card class, server model or accelerator count.

Power draw per card and server

Get the board power rating for each candidate GPU from the vendor, then multiply by the number of cards and add the host CPU, memory, storage and fans. A server with several data center cards can draw far more than a workstation with one card, so the total is what matters. Ask the vendor for the rated maximum and typical draw under inference load, and confirm both with your facility team before you order.

Power supplies and circuit capacity

Confirm the server's redundant power supply configuration, the input voltage it needs and the number of input circuits it will occupy. Ask the facility team how much continuous load each circuit and PDU can carry, since many electrical codes limit sustained load to a fraction of the breaker rating. Plan for the server to run near its sustained draw for long periods, not for short peaks.

Cooling airflow and thermal limits

Dense GPU servers depend on front-to-back airflow, and some passively cooled data center cards expect the chassis fans to move air over them. Ask the vendor for the required airflow and the maximum inlet temperature for the exact configuration you plan to buy. Ask the facility team whether the rack's cold aisle can supply that airflow at peak summer load, and whether alarms will warn you before the GPUs throttle.

Rack depth and height

Long GPU servers and some accelerator chassis need more rack depth than standard application servers, and cable management and rear clearance can add to that. Check the rack's usable depth between the front and rear posts, the number of rack units the server occupies and the weight limit of the rack and floor. Ask the vendor for the full dimensions, including the rails, before the hardware is ordered.

Accelerator form factor

GPUs arrive as full-height, dual-slot cards for workstations, as PCIe cards for standard servers, or as SXM modules that require a matching baseboard. The form factor determines which chassis you can buy, how many cards fit, and whether you can add cards later. Confirm the form factor of each candidate with the vendor and check it against the server model, not only the card name.

Noise in office and edge sites

A workstation or small server with several high-airflow cards can be too loud for an office, a lab or a clinic corridor. Ask the vendor for the acoustic rating or measured noise level at idle and under load, and ask whether the fan curve can be limited. If the server must run outside a data room, plan for a dedicated space or a rack enclosure with acoustic treatment before you commit to the hardware class.

Buying and validating a GPU server for Ollama

This sequence moves from the model and concurrency list to a tested, powered and cooled server, so the purchase is backed by evidence that the GPU is detected and the target models fit in VRAM before hardware is committed to a rack.

  1. Write the model and concurrency list

    The platform owner, with the application team, lists every model the server must run, its quantization, the context length users need and the number of simultaneous requests expected. Concurrency maps to OLLAMA_NUM_PARALLEL and OLLAMA_MAX_LOADED_MODELS, so the list should state how many models must stay loaded at once. This list is the input for every later step. It is done when each model has a named owner, a size estimate and a concurrency target that a reviewer can challenge.

  2. Confirm GPU class support in Ollama's documentation

    Check the GPU candidates against Ollama's published support tables for NVIDIA and AMD hardware, and note the driver or runtime minimums listed for each family. Consumer, workstation and data center cards can differ in support status, so the buyer should confirm the exact model, not just the brand line. Ask the hardware vendor in writing to confirm the same. It is done when a short list of supported SKUs is recorded with the source page and the date it was checked.

  3. Pick a configuration with a bench test

    Select a GPU count and memory size that covers the largest model plus the KV cache for the planned context and parallel slots, with headroom for models that must stay resident together. Run a bench test on a loaner or trial unit, or on a machine with the same card, and record load time, tokens per second and VRAM use under the concurrency target. Compare results with the list from step one. It is done when a written configuration shows measured VRAM use per model and the bench results that justify the purchase.

  4. Verify detection with a GPU check on the target OS

    Install the vendor driver on the exact operating system and version the server will run, then install Ollama and load a model. Run ollama ps and check the server logs to confirm the GPU is detected and the model is processed on it, not on the CPU. Confirm that the chosen cards are visible to the service account. If the check fails, the configuration is not accepted until the cause is fixed. It is done when ollama ps shows GPU processing for every target model and the logs show the expected devices.

  5. Confirm power and cooling with the facility

    Give the facility owner the card count, the rated power draw of the full system under load, and the rack and airflow requirements for the chassis. Ask them to confirm circuit capacity, power connectors, PSU redundancy, cooling capacity at peak load and rack weight limits in writing. Ask the vendor for the rated power figures and the cooling specification in the data sheet. It is done when the facility signs off the power and cooling plan for the exact chassis and card count in the purchase order.

  6. Install and load the target models

    After the hardware is racked, install Ollama on the target OS and pull each model from the list. Load the models at the planned concurrency and check ollama ps to confirm each model fits in VRAM without spilling to system memory. Keep a record of model sizes, load times and GPU memory use under peak load. Repeat the check after any driver, Ollama or model update. It is done when every target model loads together at the planned concurrency and the recorded figures match the bench test within an agreed tolerance.

Security and operational points that affect hardware

The security and operating model you choose for Ollama changes what hardware you need and where it sits. Network exposure, cloud features, patching and model storage each push the GPU host toward a particular placement. Check these before you buy, because they decide whether the box needs a gateway, a separate disk or an isolated network segment.

Keep inference local by design

Ollama states that when it runs locally it does not see your prompts or data. Cloud features can be turned off with OLLAMA_NO_CLOUD=1 or in the server configuration file. Set this on every GPU host that handles regulated data, and confirm in your own environment that no outbound path is needed for the models you run. If the host has no internet route at all, the GPU sizing question stays the same, but model downloads must be staged in advance.

Ollama FAQ

Plan for the loopback default

Ollama binds to 127.0.0.1 on port 11434 by default, and the local API has no authentication. A shared GPU server therefore needs a deliberate access layer, such as a reverse proxy that enforces authentication, placed in front of the bind address you set with OLLAMA_HOST. Decide this before purchase, since the proxy, its TLS termination and its logging add CPU, network and operational load that the hardware plan must cover.

Ollama FAQ

Separate the API key boundary

The local API at localhost has no authentication, but direct cloud inference at ollama.com requires an API key sent as a Bearer token. Keep these credentials apart from the GPU host. If a service on the server calls cloud models, store the key in a secrets manager rather than in the host environment, and confirm which workloads are allowed to reach external endpoints before you size a box for local-only use.

API authentication docs

Give model storage its own disk

Ollama stores models in a default folder on each operating system, and the OLLAMA_MODELS variable moves them. Model weights for larger models can run to many gigabytes each, so size a dedicated volume for the catalog you plan to keep, not just for the operating system. Put that volume on storage you can back up and restore, and confirm how fast it reads, because model loads after a restart depend on it.

Ollama FAQ

Schedule patching for GPU drivers

Ollama ships frequent releases, and GPU driver and runtime compatibility changes with them. Plan maintenance windows that allow a server restart, a driver update and a test model load in one pass, and keep a rollback path to the previous driver. Check the release notes for each Ollama version before upgrading production, since a new release can change GPU detection on your cards.

Example release tag
v0.40.5
Ollama releases

Restrict who can reach the GPU host

Limit administrative access to the GPU server to named operators, and keep it on a segment that only the application tier and monitoring can reach. Physical access matters too, because a workstation-class GPU in an open office has different exposure than a card in a locked rack. Record these choices early, since they determine whether you can use a shared rack, a lab room or a data center cage.

Questions buyers ask before choosing GPUs for Ollama

Does Ollama itself cost money to run on our own hardware?

No. Ollama's pricing page states that running models on your own hardware is always unlimited. Costs that do appear are for the hardware, power, cooling and rack space you provide, and for paid cloud plans if you choose to use cloud-hosted models. Those cloud plans are separate: the page lists Pro at $20 per month ($200 per year), Max at $100 per month, Team at $500 per month and Enterprise at custom pricing. Confirm current terms on the Ollama pricing page before you budget, because the plan line-up can change.

What drives the hardware cost of an Ollama GPU server?

Four factors set the price more than anything else: the GPU class you need, the number of GPUs, the VRAM each card carries, and the server chassis that holds them. Workstation and data center cards cost more than consumer cards but may offer more memory per card and better fit for always-on service. Your model list and expected concurrency decide how much VRAM you need, so the total is mostly a function of workload. Add the cost of power capacity, cooling and rack space, which recur every month. Ask any vendor for a quote that lists GPU model, VRAM per card, card count, chassis and power draw separately.

How long does a GPU sizing exercise take, and what changes the timeline?

The duration depends on how many models you plan to run, how well those models are defined, and how many people must review the result. A sizing exercise is mostly a set of checks: confirm each model's size and quantization, estimate memory for the context length you need, decide how many requests run in parallel, and verify the result against the facilities that will host the server. Delays usually come from unclear workloads or from waiting on power and cooling data. Ask any partner for a written scope with a timeline, and treat a timeline without stated assumptions as incomplete.

What information must we provide before anyone can size the hardware?

Gather three groups of input. First, the model list: names, parameter counts, quantization levels, whether they are approved or fine-tuned weights, and the context lengths users need. Second, the usage profile: how many users, how many requests run at peak, whether jobs are interactive or batch, and how long responses must take. Third, facility data: available power and circuit capacity, cooling method, rack height and depth, network connections and any restrictions on where the server may sit. Missing facility data is the most common reason a sizing plan has to be reopened.

Can our internal team choose the GPUs without outside help?

Often yes, if the team has Linux server administration experience, has tested Ollama on comparable hardware and can read the vendor support tables for the GPU families it considers. The work is manageable for a small set of models with clear limits. It becomes harder when several models must load at once, when multiple GPUs must share a server, or when the facility has tight power or cooling limits. Before buying, run a proof of concept on the chosen class and confirm detection, memory use and load behavior in your own environment.

When is it worth hiring a partner to plan the Ollama hardware?

A partner is worth considering when the purchase is large, the models or user counts are uncertain, or the server must pass a security or compliance review before it goes live. DeployOpen plans, implements and documents self-hosted open-source platforms inside the client's own infrastructure, and most engagements are fixed-scope with scope, deliverables and timelines agreed in writing before work starts. A partner can also prepare the operational and security evidence that reviewers ask for. Ask for a written scope that names the hardware decisions, the facility checks and the handover documents you will receive.

What should we check on a GPU before we buy it for Ollama?

Check four things against the vendor's support information for Ollama: that the GPU family is listed as supported, that the driver version meets the stated minimum for your operating system, that the VRAM per card is enough for your largest model plus the context you need, and that the card fits your power and cooling budget. For AMD cards, confirm the ROCm requirements for your platform. For NVIDIA cards, confirm compute capability and driver minimums. Ask the vendor or reseller for written confirmation of each item for the exact model you plan to buy.

How DeployOpen scopes GPU sizing for private Ollama

DeployOpen plans, implements and documents self-hosted Ollama inside the client's own infrastructure, whether that is a cloud account, a data center or an air-gapped network. For GPU sizing, the scoping work starts before any hardware is ordered: the model list, the expected number of concurrent users, the context lengths the team needs, and the constraints on power, cooling and rack space are written down and agreed. Those inputs decide which GPU classes from Ollama's support tables are worth evaluating, and they give the buyer a clear basis for comparing options.

Most engagements are fixed-scope, so the scope, deliverables and timelines are agreed in writing before work begins. In practice, a GPU sizing scope usually lists the models to be validated, the VRAM target for each, the hardware under evaluation, the configuration settings to be tested and the documentation the client keeps afterward. A quote follows from that written scope, so the reader should ask for the scope document first and check that every model, GPU and workload in their plan appears in it. DeployOpen does not publish a price list, and the cost components, such as discovery, configuration, testing and documentation, are itemized against the agreed work.

Ongoing support is available as a retainer for teams that add models, change hardware or need periodic retesting after Ollama releases. Ask what a retainer covers, how changes to scope are priced and approved, and who on the client side owns hardware decisions. Confirm these points with DeployOpen in writing, and confirm any vendor-specific driver or support details directly with the GPU vendor and the Ollama project before purchase.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.