NVIDIA GPU requirements for Ollama

Which NVIDIA cards, drivers and settings Ollama needs, how to select specific GPUs on a multi-GPU host, and what to confirm before you buy or deploy.

On this page

NVIDIA GPU requirements for Ollama: which cards and drivers work

An NVIDIA card works with Ollama when it appears in Ollama's GPU support table and meets the compute capability and driver minimums stated in the documentation. Both conditions matter. A recent card that is missing from the table, or a supported card running an older driver, may not be used for inference, and the model will run on the CPU instead. Ollama is open source under the MIT license and runs on hardware you control, so this check is a planning step your own team can complete before money is spent. Start with the Ollama GitHub repository, where the project publishes its installation and hardware notes.

Teams need this check at three points. The first is before purchase, when a GPU model is on a shortlist and the question is whether Ollama will use it at all. The second is before a server build, when the operating system image, driver version and container runtime are chosen, because those choices decide whether the driver minimum is met. The third is after a change, such as a driver update, a kernel upgrade, a new chassis or a moved card, when a GPU that worked before no longer appears to Ollama. In that case, check the server logs and the output of ollama ps to see whether the model is loading on the GPU or the CPU before you change any settings.

Before you approve a card, confirm three things against the documentation for the Ollama version you plan to run: the current compute capability minimum, the NVIDIA driver minimum for your operating system, and whether your exact model appears in the support table. Ollama ships frequent releases, so a table checked months ago may be out of date. The project's Ollama GitHub releases page shows what changed. Record the result in your build notes with the Ollama version and driver version, so the next person who changes the server can repeat the check.

Checks that decide whether an NVIDIA card is usable

An NVIDIA card can be listed in Ollama's documentation and still fail on a specific server because of its driver, memory or product class. Run the four checks below in order, and record the Ollama release you tested so the results can be repeated after an upgrade.

Compute capability against the support table

Compute capability is NVIDIA's version number for the instruction set a GPU supports. Ollama's GPU documentation lists the minimum compute capability it accepts, and a card below that line will not be used for GPU inference. Look up the exact card model in NVIDIA's published list, then compare it with the minimum in Ollama's current GPU documentation for the release you plan to run. A card that is not on the list should be treated as unsupported until tested.

Ollama FAQ

Driver version minimum for the release

Ollama uses the NVIDIA driver installed on the host, so the driver is a separate requirement from the card. Each Ollama release can raise the minimum driver it needs for CUDA. Confirm the minimum for your release in the GPU documentation, then check the driver with nvidia-smi on the server. Record the driver branch in your build notes, because a routine driver update on a shared host can break detection without any change to Ollama itself.

VRAM against the model plan

Passing the support check does not mean the models you plan to serve will fit. Model weights, the context window and parallel requests all draw from the same video memory. Size the card against the largest model and context length you expect to load at the same time, not against the card's headline capacity. If a model does not fit, Ollama splits it between GPU and system memory, which usually slows responses noticeably. Confirm the memory figures against the model sizes you intend to run, not against vendor claims.

Data center, workstation or consumer class

Ollama's support tables group NVIDIA cards into data center, workstation and consumer classes. Check which class your card belongs to and whether that class appears in the table for your release. Data center cards are often used in servers with managed cooling and power, while consumer cards may be listed only for desktop use. Ask the vendor or your hardware reseller to confirm the exact product name, because similar names can differ in memory and supported features.

Recording the release tested

GPU support changes between Ollama releases, and the documentation for one release may not match another. Record the Ollama version, the driver branch, the card model and the test model in a single validation note. Repeat the check after each upgrade before routing production traffic to the server. Ollama publishes release notes on its GitHub releases page, and reading the notes for the version you plan to deploy is a quick way to spot changes to GPU support.

Ollama GitHub releases

Configuration options for NVIDIA GPU selection in Ollama

This table compares the four settings that decide which NVIDIA GPUs Ollama uses and how much work it runs at once: CUDA_VISIBLE_DEVICES, OLLAMA_NUM_PARALLEL, OLLAMA_MAX_LOADED_MODELS and OLLAMA_MAX_QUEUE. Read each row for its documented default and the setups where it fits a single workstation or a multi-GPU server. The main takeaway is that GPU visibility is a device choice, while the other three settings control how requests share the memory you have.

SettingDefault (Ollama FAQ)Single-GPU workstationMulti-GPU server
CUDA_VISIBLE_DEVICESNot set, so all detected NVIDIA GPUs are visibleUsually unnecessary; set it only if the card is shared with another workloadPins Ollama to chosen cards so other services keep their GPUs; confirm the index order on your host before relying on it
OLLAMA_NUM_PARALLEL1 parallel request per modelThe default fits single-user work; raising it adds per-request memory on the same cardTune per model against the VRAM each GPU has free after loading; more parallel slots mean more memory use per model
OLLAMA_MAX_LOADED_MODELS3 times the number of GPUs, or 3 on CPUThe default can exceed what one card holds, so models may evict each other and reload slowlyUseful when models are dedicated to specific GPUs; confirm that loaded models fit across cards without spilling to CPU
OLLAMA_MAX_QUEUE512 queued requestsRarely reached by one user; a large queue can hide a stalled GPUSets how much backlog builds before requests are rejected; set it with your gateway timeouts in mind
Evidence to collectConfigured values from the service environmentOutput of nvidia-smi and ollama ps after a test loadPer-GPU memory use under peak concurrent load, and logs showing which device loaded each model

How to confirm an NVIDIA GPU is detected and selected

This sequence confirms that the host sees the NVIDIA card, that Ollama detects it and loads models onto it, and that you can limit Ollama to chosen devices with a verified retest.

  1. Confirm the driver and GPU are visible on the host

    The systems administrator logs into the host before Ollama is involved and checks that the NVIDIA driver is installed and that the operating system lists the card. On Linux, run nvidia-smi from a shell and confirm that each expected GPU appears with its model name, total memory and driver version. On Windows, use the same tool from a terminal or check Device Manager. This step is complete when every card you plan to use is listed with healthy status. If a card is missing, fix the driver or hardware problem first, because Ollama cannot use a device the host does not expose. Confirm the driver version against the requirements in the current Ollama documentation for your release.

  2. Install or update Ollama on the host

    The administrator installs Ollama or upgrades an existing install using the method your organization uses, such as the official installer, a package, or a container image. Record the exact version after installation so later log checks can be matched to a known release. Ollama publishes frequent releases, so confirm the exact install commands and supported platform details against the installed release and the Ollama documentation rather than older notes. This step is complete when the version command returns the release you approved and the Ollama service starts without errors.

  3. Check the Ollama logs for GPU detection

    Restart the Ollama service, then read its server logs. Look for lines that report the discovered CUDA devices, their names and their available memory. The log location depends on how Ollama was installed, so confirm it for your platform. A healthy start lists your NVIDIA GPUs. If the log reports no GPU, or falls back to CPU, check the driver version and compute capability against the support table for the installed release before changing any other setting. This step is complete when the logs name each GPU you expect, with memory matching what nvidia-smi reported.

  4. Run a model and confirm where it loads

    Pull a small test model and send one prompt to the local API on the default port. While the model is loaded, run ollama ps and read the processor column. It shows whether the model sits fully on the GPU, is split between GPU and CPU, or runs entirely on CPU. Also run nvidia-smi in a second shell and confirm that GPU memory use rises while the model is loaded. This step is complete when the model reports GPU processing and the memory counters move on the expected card. A split or CPU-only result means the model does not fit or the GPU is not used, and both need investigation before production use.

  5. Identify the device indexes you want to use

    Using the device order shown in the nvidia-smi output and the Ollama startup log, write down the index of each GPU that should serve this Ollama instance. Keep a record of which physical card corresponds to which index, because the index numbering can differ between tools and after hardware changes. Confirm the numbering with the operating system and driver documentation for your server before you rely on it. This step is complete when you have a written list of the indexes to keep and the indexes to exclude.

  6. Restrict visible devices with CUDA_VISIBLE_DEVICES

    Set the CUDA_VISIBLE_DEVICES environment variable for the Ollama service to the indexes you chose, for example as a comma-separated list. Apply it through the service configuration that your installation uses, then restart Ollama so the setting takes effect. Do not rely on a variable set only in an interactive shell, because the service will not inherit it. Confirm the exact configuration method for your installed release. This step is complete when the service restarts cleanly and the configuration is saved where your team can review it.

  7. Retest detection and placement after the change

    Repeat the log check and the model run from the earlier steps. The startup log should list only the GPUs you selected, and ollama ps should show the test model on one of those cards. Confirm with nvidia-smi that the excluded GPU shows no memory use from Ollama during the run. Keep the log excerpt and command output with the change record so that a later upgrade or driver update can be checked against the same baseline. This step is complete when the retest matches the selection you wrote down.

Data center, workstation and consumer NVIDIA cards compared

Data center accelerators are often the first choice for shared inference servers because they usually offer large memory pools and are built for racks and managed server airflow. Their presence in a product family does not settle the question, though. Start with the support table in the Ollama repository and match the exact model name and memory variant, since one product line can appear with several memory sizes.

  • Exact table entry: Confirm the specific SKU and memory configuration listed in the support table before you request a quote.
  • Memory capacity: Large VRAM can hold bigger models or longer contexts on one card, which affects how many models can stay loaded at once.
  • Power and cooling: Many server accelerators assume the chassis supplies airflow. Confirm with the server vendor that the chassis, fans and power budget match the card's thermal design.
  • Rack fit and host platform: Check form factor, power connectors and PCIe slot compatibility with the server you plan to buy.
  • Driver branch: Confirm which NVIDIA driver branch supports the card on your operating system, and pin it before you upgrade.

Before purchase, check the exact model against the support table, then confirm chassis airflow, power and the driver branch with the vendor.

How a host decides which NVIDIA GPU serves requests

The path starts at the host driver: if the NVIDIA driver is missing or cannot see the card, Ollama has no GPU to use. Next, check that the card appears in Ollama's support table and meets the compute capability and driver minimums. CUDA_VISIBLE_DEVICES then limits which GPUs are eligible, and the model is loaded onto the selected device. If the model lands in system memory instead, Ollama has fallen back to CPU, and that is the signal to read the server logs and find out why.

Decision path from driver check to GPU or CPU fallback.

Recovering NVIDIA GPUs after suspend

A host that wakes from suspend or resume can lose sight of its NVIDIA GPU, and Ollama then either runs more slowly on the CPU or fails to use the card at all. The first sign is usually in the model load or the output of ollama ps, which shows whether a model is running on the GPU or the CPU. Treat a change in that behavior after a resume as a GPU visibility problem until you have ruled it out, and start with the driver rather than the model.

Run the checks in order. Confirm the driver state first with nvidia-smi, which should list the GPU and its driver version. If the card is missing from that output, the problem sits below Ollama. Restart the Ollama service next, then review the server logs from the restart for messages about GPU discovery or fallback to CPU. If the device still does not appear after the restart, reboot the host and repeat the same checks. The exact commands, service names, log locations and whether a driver reload is needed depend on your operating system, distribution and NVIDIA driver version, so confirm each step against your own environment before you apply it to a production server.

Record every failure with the date, the OS and driver versions, the sleep or resume event and the log lines you saw. A single event after a resume may be a transient power-management issue. If the GPU drops out again after resumes, treat it as a configuration issue to fix and document, such as power settings, suspend hooks, driver packaging or the use of CUDA_VISIBLE_DEVICES to select devices. For a shared server, the simplest durable fix is often to disable suspend on that host, since an always-on inference server rarely needs it.

Security and operations on GPU hosts running Ollama

A GPU host running Ollama is only as safe as its network placement and its update process. The cards below cover the settings that decide who can reach the model server, which features call out to the internet, and how driver and runtime changes get tested before they reach users.

Unauthenticated local API

The local Ollama API on port 11434 does not require authentication. Anyone who can reach that port can run inference on your GPU and use the models you have pulled. If the GPU host must serve more than one machine or user, place an authenticating reverse proxy in front of it and keep the Ollama port itself closed to the network. Confirm the proxy handles every endpoint your clients use before you rely on it.

API authentication docs

Default loopback binding

Ollama binds to 127.0.0.1 by default, so a fresh install is reachable only from the host itself. Check the bind address on every GPU host with the server process and the service unit, because a changed value in one place can expose the port. Record the bind setting in your build documentation so reviewers can see what was intended.

Ollama FAQ

Changing the bind address

The OLLAMA_HOST environment variable sets the address and port Ollama listens on. Use it deliberately, for example to listen on a private interface that your proxy can reach, rather than on all interfaces. Verify the result from another machine with a test request, since a successful service start does not prove the port is reachable only where you intended.

Cloud features off on sensitive hosts

Ollama's cloud features can be disabled with OLLAMA_NO_CLOUD=1 or in the server configuration file. On GPU hosts that handle regulated or confidential data, set this value and confirm it is active after each restart. Also confirm which clients on the network can still reach any cloud endpoints, since local inference and cloud calls use different paths.

Staging driver and Ollama updates

Test NVIDIA driver and Ollama version changes on a staging host with the same GPU model before production. Ollama ships frequent releases, including pre-releases, so pin the version you tested and record it. Run a fixed set of model loads and inference requests after each change, and confirm the GPU is still detected in the logs before promoting the update.

Ollama release notes

Model storage and access review

Models are stored in a fixed directory by default, and OLLAMA_MODELS moves them to another location. Set the storage path on a volume with appropriate ownership and permissions, and review which accounts can read or replace model files. Keep a record of which models are on each GPU host so a replacement or rollback after an update is traceable.

Questions buyers ask about NVIDIA GPUs for Ollama

Does Ollama cost money to run on our own NVIDIA GPUs?

No license fee applies to running models on your own hardware. Ollama's pricing page states that running models on your own hardware is always unlimited, and Ollama is open source under the MIT license. Your costs come from the hardware, power, cooling, the host operating system and the staff time to install and maintain it. Paid Ollama plans cover cloud models, and the Enterprise plan adds model access controls, cost budgets per user or API key, a dedicated support channel and custom security options. If you need those controls for a local server, confirm with Ollama whether they apply to your deployment before you budget for them. Any partner fee for a GPU check follows from the written scope, so ask for a quote that lists each deliverable.

How long does an NVIDIA GPU check take?

The duration depends on how many hosts and GPUs are involved, how many driver and kernel combinations must be verified, and whether the server must stay in production during testing. A single workstation with one card is a small job. A multi-GPU server with mixed cards and several Ollama services takes longer, because model loading, GPU placement and recovery each need their own tests. No fixed time applies across all environments, so ask for a plan that breaks the work into inventory, driver and compute checks, model load tests and retest. Confirm maintenance windows as well, since reboots and driver changes interrupt users. DeployOpen plans most engagements as fixed scope, and timelines are agreed in writing before work starts.

What does a GPU check need from our team?

A GPU check needs access, inventory and decisions. Expect to provide the following before testing starts:

  • Host access: sudo rights on each target machine, the Linux kernel and NVIDIA driver versions in use, and the output of nvidia-smi.
  • Inventory: the GPU model, VRAM and card count for each host, plus the models and context lengths you plan to run.
  • Decisions: which users or applications will reach the API, whether the server is shared, and who approves driver and kernel changes.

Your team also needs a maintenance window for reboots and for any test that fills GPU memory. Without an owner for driver changes after the check, the findings will go stale quickly.

Can our internal team check NVIDIA GPUs for Ollama itself?

Yes, a team with Linux administration experience can check a single host. Start with the support table in Ollama's documentation, confirm the NVIDIA driver requirements for your Ollama version, and load a model while watching the server logs and ollama ps for GPU use. Internal teams usually find the hard parts in the edges: a driver and kernel update that breaks the card after a reboot, a GPU that drops out after suspend, or CUDA_VISIBLE_DEVICES selecting the wrong card. Check whether your team has spare hardware for testing and someone who owns driver changes. If either is missing, an outside check may finish sooner. Base the decision on who will run the server once the check is complete.

What makes an NVIDIA GPU check harder?

Four conditions make the check harder than a single-card test:

  • Multi-GPU hosts, where Ollama must place models across cards and CUDA_VISIBLE_DEVICES must select the right devices in the right order.
  • Mixed cards in one host, which can mean different VRAM sizes and different support status for the same driver.
  • Suspend and resume, where a GPU may stop responding and need a driver reset or a reboot to recover.
  • Data center and workstation cards that appear in the support table under different conditions, so each model needs its own confirmation.

Each condition adds test cases and retests after every driver update. Confirm the exact support status of each card with Ollama's current documentation before you buy or deploy.

When is a partner worth engaging for GPU work?

A partner is worth engaging when the GPU check feeds a larger decision, such as a shared server that many users depend on, a regulated environment that needs documented configuration, or a hardware purchase that depends on the result. DeployOpen plans, implements, hardens, backs up, documents and supports self-hosted open-source platforms in your own infrastructure, including your cloud accounts, data centers and air-gapped networks. For Ollama, that work can include host configuration, access controls in front of the API and retesting after driver updates. DeployOpen does not issue audit reports or certifications, which independent auditors and certification bodies handle. Ongoing support and upgrades are available as retainers if the server needs regular driver and version updates.

What does a fixed-scope GPU check deliver?

A fixed-scope GPU check delivers a written record of what was tested and what changed. Typical deliverables include a list of the hosts and GPUs tested, the driver and Ollama versions used, the results of model load and placement tests, and any CUDA_VISIBLE_DEVICES settings chosen for multi-GPU hosts. It should also include a recovery procedure for suspend and resume issues and a retest after fixes are applied. The exact deliverables, timelines and any hosts excluded are agreed in writing before work starts. Ask for the deliverable list in the quote so that you can compare it with an internal plan line by line.

Working with DeployOpen on GPU selection and validation

DeployOpen plans, deploys and documents self-hosted Ollama inside your own infrastructure, whether that is a cloud account you control, a data center or an air-gapped network. A GPU validation engagement starts from a written scope that names the hardware in scope, the operating systems and driver versions, the models you intend to run and the acceptance checks that decide whether a card is approved. Most engagements are fixed-scope, so the deliverables and timeline are agreed in writing before any work begins, and the quote follows from that scope rather than from a list price.

In general terms, the work covers confirming each GPU against the support tables and the driver minimums that apply to your operating system, checking that the CUDA runtime sees the intended devices and that CUDA_VISIBLE_DEVICES selects them in the expected order, and running representative models to confirm the GPU is actually used rather than silently falling back to CPU. It also covers recovery steps after suspend or driver reloads, a short record of the configuration, and a retest after driver or Ollama upgrades. To scope this well, prepare a hardware inventory with GPU model, count, host and PCIe layout, a list of OS and NVIDIA driver versions per host, and the model list with the quantizations and context lengths you plan to serve. Confirm the current driver minimum and support table with NVIDIA and Ollama before you send the inventory, since those change between releases.

Ask for a written statement of what is excluded, including whether hardware procurement, rack or power work, and changes to production hosts are part of the quote. Also confirm who owns the findings after handover and what happens if a card is found unsupported. A useful next step is to send the inventory and model list together so the scope reflects the workload you actually plan to run.

How DeployOpen works on this

DeployOpen plans, implements, hardens, documents and supports self-hosted Ollama inside the infrastructure you control, including the NVIDIA GPU hosts it runs on. We start from your target models and how users will reach the server, then confirm the card, driver and configuration choices in writing before any host is changed.

How we scope

  • Engagements are fixed-scope, with the GPU hosts, models and drivers agreed in writing before work starts.
  • We record each target model, its expected context length and the number of concurrent users it must serve.
  • We confirm each candidate NVIDIA card against Ollama's support table and the driver version your team already runs.

How we build

  • We install the NVIDIA driver and CUDA components on the chosen operating system and verify the GPU is detected.
  • We set CUDA_VISIBLE_DEVICES and test that Ollama loads models on the intended cards rather than falling back to CPU.
  • We document the suspend and resume recovery steps and test them on the hosts you will operate.

How we hand over

  • You receive a written host record with GPU model, driver version, compute capability and the environment variables set.
  • Runbooks cover checking GPU detection with ollama ps and server logs, plus the steps to reload the driver after suspend.
  • We walk your platform and operations teams through the configuration so they can repeat it on new hosts.

How we support

  • Ongoing support, driver and Ollama upgrades, and continuous testing are available as retainers.
  • Retainers can cover re-verifying GPU detection after driver updates and new Ollama releases.
  • Ask any partner for a quote that lists which hosts, drivers and upgrade cycles are included.

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.