PrimaLabs
A serverless API from former national-lab researchers that tunes its runtime to each workload, top-ranked on output speed for several open models.
- Example models
- Kimi K3.1 Pro, DeepSeek V4.1 Flash 1017, MiMo-V2.6-Pro, Nemotron 3.5 Lightning
By The Subconscious Team · Updated
What is PrimaLabs?
PrimaLabs is a San Francisco inference company led by co-founders Prasanna Balaprakash, its CEO, and Chaitanya Hiremath. Balaprakash was Director of AI Programs at Oak Ridge National Laboratory, and the company says its team spent 15 years inside Department of Energy national labs. It calls its product an adaptive operating system for inference: the runtime measures how an application actually runs and re-tunes scheduling, caching, parallelism and speculative decoding to match, and a tuned runtime can ship as a versioned deployment on PrimaLabs capacity, customer-owned GPUs or an air-gapped site. In July 2026 it joined NVIDIA and three national labs as an industry partner on the DOE Genesis Mission. It has not published funding or named customers.
The serverless API serves six open models: Kimi K3.1 Pro, DeepSeek V4.1 Flash 1017, MiMo-V2.6-Pro, Nemotron 3.5 Lightning and Nemotron 3.5 Super VL, all with 1M context, plus GLM-5.3 Flash at 262K. Kimi K3.1 Pro lists at $1.80 in, $0.18 cached and $9.00 out per million tokens, and DeepSeek V4.1 Flash at $0.90 in, $0.018 cached and $3.60 out. In Artificial Analysis snapshots PrimaLabs cites, it ranked first on output speed for Nemotron 3.5 Lightning at 714 tokens per second, Nemotron 3.5 Super VL at 554 and MiMo-V2.6-Pro at 407, and first of 15 on cost per task for Kimi K3.1 Pro at $2.94. The API speaks the OpenAI Chat, OpenAI Responses and Anthropic Messages formats, keeps zero data retention on request and response content, and is also sold through OpenRouter and Vercel.
PrimaLabs pros, cons and use cases
Upsides
- Top output speed on several open models in Artificial Analysis benchmarks.
- OpenAI and Anthropic compatible, so Claude Code and Codex connect directly.
- Zero data retention on every serverless endpoint.
- The same tuned runtime can move to your own GPUs or an air-gapped site.
Core use cases
- Coding and document agents on Kimi K3.1 Pro or MiMo-V2.6-Pro where output speed matters.
- High-volume text and vision tasks on Nemotron 3.5 Lightning and Super VL.
- Government and research teams that need inference inside their own boundary.
Downsides
- Small catalog of six models, with list prices above several hosts on DeepSeek V4.1 Flash.
- No published funding, customers, compliance certifications or numeric rate limits.
- Speed claims are snapshots it selects from Artificial Analysis, and they vary week to week.
PrimaLabs alternatives compared
Pick any row for the full head-to-head.
| Provider | Model access | Flagship models | Speed | Price | Customization | Deployment | Long context | Compare |
|---|---|---|---|---|---|---|---|---|
| Open weights | Kimi K3.1 Pro, DeepSeek V4.1 Flash 1017, MiMo-V2.6-Pro, Nemotron 3.5 | 714 tok/s on Nemotron 3.5 Lightning (Artificial Analysis, per PrimaLabs) | $0.90–$1.80 in, $3.60–$9.00 out per 1M (DeepSeek V4.1 Flash, Kimi K3.1 Pro) | Workload-tuned runtime, no fine-tuning | Serverless API, dedicated, your GPUs or air-gapped; OpenRouter, Vercel | 1M on most models; 262K on GLM-5.3 Flash | ||
| Open weights | DeepSeek V4.1 1017 Marathon, Inkling 2 Small Marathon, GLM-5.3 Marathon | 2x faster task completion | 50–80% lower cost; billed on processed tokens | Marathon post-trained variants | Managed API, dedicated, on-prem | 5M+ effective context | Compare | |
| Closed, plus open gpt-oss | GPT-6.2 Astra, GPT-6.2 Sol, GPT-6.1 Terra, GPT-6 Luna | Fast mode; Ultrafast on GPT-6.2 Astra and Sol | $0.10–$8 in, $0.50–$40 out per 1M | N/A | API, Azure OpenAI, Bedrock | 1.05M; 2x input past 272K | Compare | |
| Closed | Claude Fable 5.2, Opus 5.5, Sonnet 5.5, Haiku 5.5 | Fast mode up to 2.5x on Fable 5.2 and Opus 5.5 | $0.10–$8 in, $0.50–$40 out per 1M | N/A | API, Bedrock, Vertex AI, Microsoft Foundry | 1M; Haiku 5.5 costs more past 100K | Compare | |
| Closed and open, 200+ models | Gemini 4 Carbon, Argon, Neon, Hydrogen, Claude, Gemma | Hydrogen and Flash tiers built for low latency | Carbon and Argon $4 in, $20 out; Hydrogen $1.50/$7.50; 3.8 Flash $0.75/$3.75 until 2027 | Custom training on GPUs or TPUs | Managed on Google Cloud | 1M on Gemini 4 models and 3.8 Flash | Compare | |
| Closed and open, 100+ models | Claude, GPT-6.2 Astra, Nova, DeepSeek | Latency-optimized option on some models | ~20–35% above direct; Claude and GPT at parity | Fine-tuning, Custom Model Import | Managed on AWS, AgentCore | Varies by model | Compare | |
| Open weights | Kimi K3.1 Pro, GLM 5.3, DeepSeek V4.1 Flash, Qwen4 Max | Unknown | Parity with Fireworks and Baseten | LoRA and full SFT; RL via Post-Training | Serverless, dedicated, GPU clusters | 1M on Kimi K3.1 Pro, GLM 5.3, DeepSeek V4.1 Flash | Compare | |
| Open weights | DeepSeek V4.1 Flash, GLM 5.3, Kimi K3 | Ultra-fast up to 1,500 tok/s on DeepSeek V4.1 Flash (vendor, preview) | Fine-tunes served at base price; Spot at 50% off | SFT, DPO; RL via Training API | Serverless, dedicated GPUs | Full 1M on DeepSeek V4.1 Flash, GLM 5.3 | Compare | |
| Open weights, 20+ curated | GLM 5.3, DeepSeek V4.1 Flash, Kimi K3.1 Pro, gpt-oss 120B | 0.49s TTFT, lowest measured | H100 about $6.50/hr dedicated | Deploy any model with Truss; SFT and RL via Loops | Model APIs, dedicated, self-host, Microsoft Foundry | Varies by model | Compare | |
| Open weights | GPT-OSS 120B, Qwen 3.8 27B | 500–1,000 tok/s | $0.33 in, $0.71 out (GPT-OSS 120B) | No fine-tuned model hosting | GroqCloud API | Around 131K max | Compare | |
| Open weights | GPT-OSS 120B, Qwen 3.8 27B | ~3,000 tok/s on GPT-OSS 120B | $0.35 in, $0.75 out (GPT-OSS 120B) | Unknown | Shared API, dedicated, partners | 131K on GPT-OSS 120B, 128K on Qwen 3.8 27B | Compare | |
| Open weights | DeepSeek V4 Flash, Llama 3.1 8B | Unknown | From $0.02 per 1M | No managed fine-tuning | Shared API, no contracts | 1M on DeepSeek V4 Pro | Compare | |
| Open weights | GLM 5.3, Kimi K3.1 Pro, DeepSeek V4.1 Flash | Balances price, speed and reliability; :fastest on request | Provider rates, no markup | N/A | Serverless router via OpenRouter; dedicated Endpoints | Up to 1M, provider-dependent | Compare | |
| Bring your own weights, plus 14 shared Model APIs | Kimi K3.1 Pro, GLM 5.3, DeepSeek V4.1 Flash (shared) | ~1s container boot | Per second; H100 about $4.29/hr list | Run any training code | Serverless GPU containers, shared Model APIs | Depends on the model you deploy | Compare | |
| Open weights | DeepSeek V4.1 Flash, GLM 5.3, Kimi K3, Inkling 2 Small, gpt-oss 120B | Unknown | $0.011 per 1K Neurons; 10K free daily | BYO LoRA on small models (beta) | Serverless on Cloudflare network; Subconscious via AI Gateway | 1M on DeepSeek V4.1 Flash, Kimi K3 and Inkling 2 Small | Compare | |
| Closed | Grok 4.7, Grok 4.20, Grok 4.3 | ~54 tok/s on Grok 4.6 | $2 in, $6 out (Grok 4.7); 2x past 200K | Unknown | First-party API, Amazon Bedrock | 500K (4.7), 1M (4.20, 4.3) | Compare | |
| Open weights, plus closed Codestral | Mistral Large 4, Small 4 | Unknown | $0.15–$1.50 in, $0.60–$7.50 out per 1M | Forge (enterprise); fine-tuning API deprecated | API, Azure, Bedrock, Vertex, self-host | 1M on Large 4; 256K on others | Compare | |
| Open weights (MIT) | DeepSeek V4.1 Flash | ~209 tok/s on V4.1 Flash | Off-peak hours at half price | Open weights to fine-tune | First-party API, Hugging Face weights | 1M, 384K max output | Compare | |
| Open weights, custom license | Kimi K3.1 Pro, Kimi K3 | ~33 tok/s on Kimi K3 | $2 in, $10 out (K3.1 Pro); $3 in, $15 out (K3) | Open weights to fine-tune | API, Kimi Code, OpenRouter | 1M | Compare | |
| Open weights (GLM-5.3 License; MIT on Flash and older) | GLM-5.4, GLM-5.3, GLM-5.3-Flash | ~80 tok/s on GLM-5.3 | $1.40 in, $4.40 out (GLM-5.4, GLM-5.3); free Flash tier | Open weights; GLM-5.3 License adds review for large hosts | API, GLM Coding Plan | 1M (GLM-5.4, GLM-5.3) | Compare | |
| Open weights incl. Qwen 3.8 Max (custom license) | Qwen4-Max, Qwen 3.8-Max | ~54 tok/s on Qwen4-Max | $1.50 in, $4.50 out international | No fine-tuning on hosted Max | Model Studio on Alibaba Cloud | 1M (Qwen4-Max) | Compare | |
| Closed API; open Muse Spark Open and Glimmer | Muse Wonder, Muse Spark 1.3, Muse Ember, Muse Spark Open | ~145–233 tok/s on Muse Spark 1.3 | $0.10–$4 in, $0.50–$20 out; Contributor tier cheaper | Open Muse weights to fine-tune | Meta Model API, Oracle Cloud | 1M | Compare | |
| Closed, plus open Command A+ | Command A+, Command A, Embed 5, Rerank 5 | 375 tok/s on Command A+ W4A4, per Cohere | $0.0375–$2.50 in, $0.15–$10 out per 1M | Enterprise fine-tuning, incl. private | API, Bedrock, Azure, OCI, VPC, on-prem | 256K on Command A; 128K on A+ | Compare | |
| Open weights | GLM-5.3, MiniMax M3.1 Flash, GPT-OSS 120B | ~800 tok/s on MiniMax M2.7 (SN50, SemiAnalysis) | $0.22–$2.80 in, $0.59–$8.80 out per 1M | Unknown | SambaCloud, racks for neoclouds | Up to 1M (GLM-5.3, MiniMax M3.1 Flash) | Compare | |
| Open weights, 60+ models | DeepSeek V4 Pro, Kimi K3, MiniMax M3, GLM | Among top hosts on throughput | From $0.06 per 1M input | Serve uploaded fine-tunes | Token Factory, dedicated, raw GPUs | Varies by model | Compare | |
| Open weights | GLM-5.4, DeepSeek V4.1 Flash, Qwen3.8 27B, Nemotron 3.5 | Up to 9.9x faster TTFT vs vLLM (vendor claim) | $0.05–$1.40 in, $0.20–$4.40 out per 1M | Serverless LoRA fine-tuning | Serverless, self-serve and tailored dedicated, raw GPUs | Varies by model; cluster-wide KV cache | Compare | |
| Hosted media models | FLUX, Kling, Seedream | Cold starts on less popular endpoints | Per image, per video second, GPU time | LoRA training endpoints | Hosted API, serverless GPUs | Not applicable | Compare | |
| Open weights | DeepSeek V4 Pro, Gemma 4 | Unknown | From $0.06 per 1M; batch 50% off | Hot-swappable LoRA adapters | Serverless, GPU cloud, dedicated | Full 1M on DeepSeek V4 Pro | Compare | |
| Open weights, plus proxied closed models | GLM 5.3, Kimi K3, DeepSeek V4 Pro | Unknown | $0.05–$30 in, $0.13–$180 out per 1M; DIEM staking | Unknown | Serverless API, consumer app | 1M on most current models | Compare | |
| Any Hugging Face model | Kimi K3.1 Pro, DeepSeek V4.1 Flash, GLM-5.3, MiniMax M3.1 Flash | 600ms p99 real-time budget | Per-parameter rates; batch 50% off | Private Hugging Face repos | Serverless, elastic, dedicated, batch | Varies by model | Compare | |
| Open, closed and custom | Kimi K3.1 Pro, Kimi K3, GLM-5.2, Schematron | Batch windows of 24h to 7 days | Operator $9/mo; Studio $49/mo; batch 25%+ off | Specialized models like Schematron | API, gateway, batch API | Varies by model | Compare | |
| Open and third-party models | DeepSeek V4 Flash, GLM-5.2, Google Veo | Near bare-metal performance | H100 from $2.60/GPU-hr | Unknown | Shared, autoscaling, reserved GPUs | Varies by model | Compare | |
| Thinking Machines | Open weights | Inkling 2 Small, Inkling 2 Mini | Unknown | Per 1M tokens by prefill, sample, train; Inkling 2 Small $0.30, $1.00, $1.50 | LoRA SFT and RL via Tinker | Training API, beta serverless (first-gen Inkling only) | Inkling 2 samples up to 1M; Tinker training 32K–256K | Compare |
| Open weights | Kimi K3.1 Pro, GLM-5.3, DeepSeek V4.1 Flash | Low-latency default; slower windows cheaper | 30–85% below other hosts by completion window | Customer LoRA fine-tunes | API plus Sailboxes | Varies by model | Compare | |
| Specialist models | morph-v3-fast, morph-v3-large | 10,500+ tok/s Fast Apply | $0.80 in, $1.20 out (morph-v3-fast) | Fine-tuning offered | OpenAI compatible API; self-hosted on Enterprise | Unknown | Compare | |
| Open weights, plus specialist coding models | DeepSeek V4.1 Flash, Kimi K3, GLM 5.3, relace-apply-3 | ~10,000 tok/s apply | $0.07 in, $0.50 out (DeepSeek V4.1 Flash) | Unknown | Hosted API, OpenRouter or self-hosted | 128K on apply; varies by open model | Compare | |
| Decision models | Jev, jev-1.14 | 70–500ms per call | $0.042 per 1M input tokens; output free | Unknown | Early-access API, plus Vercel AI Gateway, OpenRouter and LiteLLM | 64K per request, 32K per question; 262K opt-in | Compare | |
| Open weights (Apache 2.0 or StepFun license) and API models | Step 5, Step 3.7 Flash | ~128 tok/s on Step 3.7 Flash | $0.20 in, $1.15 out (Step 3.7 Flash) | Open weights to fine-tune | First-party API, OpenRouter | Up to 1M (Step 5); 256K on Step 3.7 Flash | Compare | |
| Hosted media models | Seedance 2.5, Qwen-Image-3.0 | Unknown | Images from fractions of a cent | Fine-tuned diffusion checkpoints | Unified API, serverless GPUs, bare metal | Not applicable | Compare | |
| Proprietary coding models, plus hosted open models | KAT-Coder-Pro V2.5, KAT-Coder-Air V2.5 | Unknown | $0.74 in, $2.96 out (Pro V2.5), or KwaiKAT Coding Plan | Unknown | MaaS API, bare metal | 256K | Compare | |
| Open weights | GLM-5.3, DeepSeek V4.1 Flash | 2–2.8x vs stock vLLM or SGLang (vendor) | Per token, prepaid credits; $0.20 in, $1.80 out (GLM-5.3) | Agent-tuned dedicated deployments | Serverless, dedicated | Up to 1M (GLM-5.3, DeepSeek V4.1 Flash) | Compare | |
| Open weights plus its own tuned models | GLM 5.3, Kimi K3.1 Pro, Nemotron 3.5 Lightning 30B | ~540 tok/s on Nemotron 3.5 Lightning 30B, ~141 on GLM 5.3 (vendor) | From $0.07 in, $0.20 out; dedicated H100 at $8 an hour | Kernel-tuned dedicated deployments of any HF model | Model APIs, dedicated, reserved, batch | Varies by model | Compare | |
| Open weights plus its own Particle-1 tune | Particle-1, DeepSeek V4.1 Flash, GLM 5.3 Flash | ~327 tok/s, 0.4s to first token on Particle-1 (Vercel AI Gateway) | $0.12 in, $0.40 out (GLM 5.3 Flash); $0.25 in, $1 out (Particle-1) | Unknown | Serverless API, Vercel AI Gateway | 1M | Compare | |
| Small hosted catalog plus bring your own weights | DeepSeek V4.1 Flash, Ideogram 4.5 | 36K tok/s on GPT-OSS 120B, 8xH100 (vendor) | $0.1425 in, $0.57 out (DeepSeek V4.1 Flash) | Compiles any PyTorch or HF model | Serverless (early access), on-prem license | Unknown | Compare | |
| Closed and open, 400+ models | DeepSeek, Qwen, Claude, Gemini, GPT | Unknown | Provider rates; 3–5% top-up fee | Custom deployments | Gateway API, dedicated, BYOK | Varies by model | Compare | |
| Closed weights (Mercury dLLMs) | Mercury 3, Mercury Voice | ~1,070 tok/s on Mercury 3 (vendor) | $0.20 in, $0.70 out (Mercury 3); 50% off at launch | Fine-tuning on request | Serverless API, Bedrock, Azure, private | 1M | Compare | |
| Open weights, uncensored fine-tunes | DeepSeek V4.1 Flash, Dolphin Mistral 24B | Unknown | $0.01 in, $0.07 out (DeepSeek V4.1 Flash) | Own uncensored fine-tunes | Decentralized serverless API | 1M (DeepSeek V4.1 Flash) | Compare | |
| Open weights | DeepSeek V4.1 Flash, GLM 5.3 Flash | 200+ tok/s; fast tier ~2x | $0.06 in, $0.24 out (DeepSeek V4.1 Flash) | N/A | Serverless API | 1M context | Compare | |
| Open weights | MiniMax M2.7, DeepSeek V3.2, GPT-OSS 120B | 1,000+ tok/s on GPT-OSS 120B (vendor) | $0.21–$0.28 in, $0.38–$1.20 out per 1M | Custom LoRA and fine-tuned checkpoints | Serverless API, dedicated racks, bare metal | 192K (MiniMax M2.7) | Compare | |
| Open weights, plus closed GPT and Claude | Kimi K3.1 Pro, DeepSeek V4.1 Flash 1017, GLM-5.3 Flash | 491 tok/s on DeepSeek V4.1 Flash 1017 (Vercel) | $0.075–$1.70 in, $0.28–$8.50 out per 1M (open) | Serving-stack tuning, no fine-tuning | Serverless API, reserved tailored capacity | 1M context on most models | Compare | |
| Open weights, plus your own fine-tunes on dedicated | GLM-5.3, Kimi K3.1 Pro, DeepSeek V4 Pro, Gemma 4 | 701 tok/s on GLM-5.3 (Artificial Analysis) | No public sheet; $0.33 per 1M blended (DeepSeek V4 Pro) | Dedicated fine-tune serving; training on Sovereign AI | Serverless API, dedicated, your cloud or on-prem | 1M on GLM-5.3 and DeepSeek; 131K on Gemma 4 | Compare | |
| Open weights | Kimi K3.1 Pro, DeepSeek V4.1 Flash, GLM-5.3 | ~1,450 tok/s on DeepSeek V4.1 Flash (Artificial Analysis, per Lithos) | $0.15 in, $0.60 out (DeepSeek V4.1 Flash Base, early access); speed tiers cost more | Bring your own model (per workload) | Serverless API, dedicated, on-prem engine | 1M context | Compare | |
| Open weights | GLM-5.3, Kimi K3.1 Pro, DeepSeek V4.1 Flash 1017 | Realtime; async starts within ~1 min; batch within 24h | Async up to 50% off realtime, batch up to 80% off | Custom models on request | Serverless API, async, batch, dedicated | Unknown | Compare |
Frequently asked questions
What is PrimaLabs?
PrimaLabs is a San Francisco inference company led by co-founders Prasanna Balaprakash, its CEO, and Chaitanya Hiremath. Balaprakash was Director of AI Programs at Oak Ridge National Laboratory, and the company says its team spent 15 years inside Department of Energy national labs. It calls its product an adaptive operating system for inference: the runtime measures how an application actually runs and re-tunes scheduling, caching, parallelism and speculative decoding to match, and a tuned runtime can ship as a versioned deployment on PrimaLabs capacity, customer-owned GPUs or an air-gapped site. In July 2026 it joined NVIDIA and three national labs as an industry partner on the DOE Genesis Mission. It has not published funding or named customers.
What is PrimaLabs best for?
Coding and document agents on Kimi K3.1 Pro or MiMo-V2.6-Pro where output speed matters; High-volume text and vision tasks on Nemotron 3.5 Lightning and Super VL; Government and research teams that need inference inside their own boundary.
How much does PrimaLabs cost?
PrimaLabs pricing at a glance: $0.90–$1.80 in, $3.60–$9.00 out per 1M (DeepSeek V4.1 Flash, Kimi K3.1 Pro). Rates change often, so check PrimaLabs's pricing page before committing.
How much context does PrimaLabs support?
PrimaLabs's long-context support: 1M on most models; 262K on GLM-5.3 Flash.
What are the downsides of PrimaLabs?
Small catalog of six models, with list prices above several hosts on DeepSeek V4.1 Flash; No published funding, customers, compliance certifications or numeric rate limits; Speed claims are snapshots it selects from Artificial Analysis, and they vary week to week.
What are the best alternatives to PrimaLabs?
Common alternatives include Subconscious, OpenAI, Anthropic, Google Vertex AI, Amazon Bedrock. Each has a head-to-head comparison with PrimaLabs on this site.
Sources: PrimaLabs, PrimaLabs models, PrimaLabs zero data retention, Kimi K3.1 Pro on PrimaLabs, DeepSeek V4.1 Flash on PrimaLabs, NVIDIA Nemotron on PrimaLabs, MiMo-V2.6-Pro on PrimaLabs, PrimaLabs joins the DOE Genesis Mission, PrimaLabs on Artificial Analysis. Pricing and model lineups change often; figures are a snapshot.