⌕ search /

GitLab Duo Self-Hosted: GPU requirements

GitLab Duo Self-Hosted: the AI Gateway sits between the GitLab instance and the models you serve with vLLM; code completion goes to Codestral 22B, chat to Llama 3.3 70B.

GPUs10× H100 SXM5served together
$ / hour$34.76market price
$ / month$25,376running around the clock
First token378 mstarget 500 ms
Load500 users, 10 % activethe design's default

Open in Builder →

About this design

what is drawn and what is assumed

GitLab Duo Self-Hosted: the AI Gateway sits between the GitLab instance and the models you serve with vLLM; code completion goes to Codestral 22B, chat to Llama 3.3 70B. GitLab's support table: Codestral 22B v0.1 full for code completion and code generation, partial for chat; Llama 3.3 70B full for all three. Code generation is not drawn as its own route.

Pipeline

one row per module
Module Category Model or component GPUs on its own Time per call Grade
AI Gateway (no GPU) Tools & external APIs Tool / API call no GPU 0 ms
Code completion · Codestral 22B LLM Codestral 22B 2 1.41 s0.8 calls per request calibrated
Chat · Llama 3.3 70B LLM LLaMA 3.3 70B 8 7.45 s0.2 calls per request calibrated
Served separately: 10 · served together: 10

More users

same pipeline, same GPU
UsersGPUs$ / hourFirst token
250×0.5 5× H100 SXM5 $17.26 378 ms
500×1 10× H100 SXM5 $34.53 378 ms
1,000×2 11× H100 SXM5 $37.98 441 ms
2,000×4 28× H100 SXM5 $96.67 371 ms

On other GPUs

same pipeline, same load
GPUGPUs$ / hourFirst token
H100 SXM5 this design 10× H100 SXM5 $34.53 378 ms
B200 SXM 5× B200 SXM $42.75 231 ms
B300 SXM 5× B300 SXM $47.50 230 ms
H200 NVL 22× H200 NVL $80.76 384 ms
H200 SXM 10× H200 SXM $43.80 358 ms
RTX PRO 6000 Blackwell Server Edition no answer: Chat · Llama 3.3 70B: Fits on 4 GPU (4×1), but the best single-stream latency here is TTFT 950 ms > 500 ms target. No card count fixes this — raise TTFT to ≥950 ms or pick a faster GPU.

The source's own figure

not our estimate

GitLab's minimum for a 22B model such as Codestral: 2 × A100 80 GB (110 GB); an H100 80 GB needs the same number of GPUs as an A100 80 GB, or 1 × H200. A 7B model: 1 × A100 40 GB (35 GB).

Minimums based on NVIDIA A100 GPUs — no developer count, prompt size or latency is published; GitLab's benchmarks cover Mistral 7B and Mixtral only. Assumed here, not published: the 80 / 20 split between completion and chat, 500 developers with 10 % active, a 500 ms first-token target (code completion needs a short one), 1,500 prompt and 64 answer tokens for completion, 4,000 and 400 for chat, FP8 for both models.

Related designs

Code and routing

Frequently asked questions

How many GPUs does GitLab Duo Self-Hosted need?

10× H100 SXM5 for 500 users, 10 % active, with the modules sharing GPUs where they can.

What does GitLab Duo Self-Hosted cost per hour?

$34.76 an hour ($25,376 a month) at market prices for 10× H100 SXM5. Estimates, not quotes.

What happens to GitLab Duo Self-Hosted with twice the users?

It needs 11× H100 SXM5 at $37.98 an hour, against 10× H100 SXM5 at the default load.

Sized by the same planner as the Builder, at the design's default load, GPU and models, with today's market GPU prices. How the Builder sizes a pipeline. Estimates, not quotes.

Prices are collected daily from each provider's public price list or API. Estimates, not quotes — always confirm on the provider's own page before committing.

How this works · How accurate it is