โšกUnder $0.50/hr๐Ÿง VRAM Estimatorโš–Compare GPUs๐ŸŽFree LLM APIs๐ŸŽฏModel Index
EdgeDenseContext: 125K

Mistral NeMo 12B

Comprehensive deployment profile and benchmark telemetry for Mistral NeMo 12B. Self-hosting memory footprints, verified token economics, and direct API endpoints.

Verified Engineering Benchmarks

SWE-bench
49.2%
LiveCodeBench
52.1%
MATH-500
86%
MMLU
82%

VRAM Requirements & Sizing

FP16 Weights
24 GB
INT4 / GGUF (Quantized)
8 GB
Recommended GPU
1x L40S
๐Ÿ”— Quick Actions
๐Ÿ–ฅ๏ธ Compatible GPUs & Self-Host Pricing

Deterministic VRAM math from entity graph. Green = fits in single GPU.

GPUVRAMFP16FP8INT4Calculator Link
H100 SXM580 GBโœ“ fitsโœ“ fitsโœ“ fitsPre-filled โ†’
H200141 GBโœ“ fitsโœ“ fitsโœ“ fitsPre-filled โ†’
B200192 GBโœ“ fitsโœ“ fitsโœ“ fitsPre-filled โ†’
A100 80GB80 GBโœ“ fitsโœ“ fitsโœ“ fitsPre-filled โ†’
L40S48 GBโœ“ fitsโœ“ fitsโœ“ fitsPre-filled โ†’
RTX 409024 GBโœ“ fitsโœ“ fitsโœ“ fitsPre-filled โ†’
โšก Verified Free API Available
Mistral AINo Card
1 RPS (60 RPM), phone verification required via La Plateforme

KV-Cache Memory Scaling

PrecisionWeights4K Context32K Context128K ContextTotal 4KTotal 32KTotal 128K
FP1624.5 GB0.3 GB1.2 GB4.8 GB~24.8 GB~25.7 GB~29.3 GB
FP812.5 GB0.15 GB0.6 GB2.4 GB~12.7 GB~13.1 GB~14.9 GB
INT4/AWQ7.5 GB0.08 GB0.3 GB1.2 GB~7.6 GB~7.8 GB~8.7 GB
โœ“ OptimizedWeights + KV-Cache formula: Total = Weights + 2 ร— Layers ร— Heads ร— Head_Dim ร— Context ร— Bytes_Per_Element + 2 GB CUDA

Production Run Commands

vLLM ServerCopy via DevTools โ†’
python3 -m vllm.entrypoints.openai.api_server \
  --model mistralai/Mistral-Nemo-Instruct-2407 \
  --max-model-len 32768 \
  --gpu-memory-utilization 0.95 \
  --tensor-parallel-size 1 \
  --fp8-mlx

Tensor parallelism: TP=1 ยท Max model len: 32768 ยท Quantization: FP8

Ollama ModelfileCopy via DevTools โ†’
FROM mistralai/Mistral-Nemo-Instruct-2407

PARAMETER num_ctx 4096
PARAMETER num_thread 4

TEMPLATE "<|im_start|>{{user}}<|im_end|>
<|im_start|>assistant<|im_end|>
{{.}}"

num_ctx tuned for 4096 tokens ยท Increase num_ctx for longer context (up to 128k for supported GPUs)

Host-vs-API Breakeven Analysis

Self-Host Cost
$0.34/hr
1x L40S 48GB ยท 520K tokens/hr
API Cost
$0.15/$M in
$0.15/$M out ยท Groq/DeepInfra/OpenRouter
Breakeven Point
1.1M tokens/day
Self-host cheaper above this volume
๐Ÿ’ก Breakeven Insight

At $0.34/hr self-hosting on 1x L40S 48GB, you break even after 1.1M input tokens per day compared to $0.15/M API costs. Below that threshold, serverless APIs (Groq , DeepInfra) are strictly cheaper. Above it, self-hosting with vLLM on spot GPUs provides better unit economics at scale.

Active API Providers & Free Tiers

ProviderInput / 1MOutput / 1MSpeedFree Tier Status
DeepInfra$0.07$0.09120 tok/sPaid API Only
Together AI$0.10$0.10100 tok/sPaid API Only
OpenRouter$0.07$0.09110 tok/sPaid API Only

OpenAI SDK Drop-in

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.deepinfra.com/v1",
  apiKey: process.env.DEEPINFRA_API_KEY,
});

const response = await client.chat.completions.create({
  model: "mistral-nemo-12b",
  messages: [{ role: "user", content: "Hello" }],
});

Related Engineering Guides & Analysis

What should I do next?