AWS Builder Center
The Platform Decision: Deploying Enterprise Coding Models

The Platform Decision: Deploying Enterprise Coding Models

GPU economics, fine-tuning tradeoffs, ROI math, and architecture patterns that survive quarterly model releases. A practical guide.

The Platform Decision: Infrastructure, Economics, and Architecture for Enterprise Coding Assistants

Part 2 of 2 · On making deployment decisions you won't regret in six months.

Part 1  made the case that parameter count is the wrong starting point for evaluating coding assistants. The system around the model - retrieval, tooling, workflows - determines most of the real-world outcome.
This part is about the practical consequences. If you're deciding whether to self-host, which tier to pick, whether fine-tuning makes sense, and how to justify the spend - this is the piece to bookmark.
After reading this, you'll be able to:
  • Calculate real infrastructure costs per developer at each model tier
  • Decide when fine-tuning a small model beats deploying a large one
  • Build the business case in language finance teams understand
  • Architect a system that survives quarterly model releases
  • Match model tier to your team's actual needs

The True Cost of Each Tier

Going from 14B to 70B is a 5× increase in parameters. It is not a 5× increase in cost. It's 6–10× - and the reasons are structural.

Deployment Reality

Small (7–14B, Q4)Medium (32B, Q4)Large (70–80B, Q4)
VRAM5–11 GB20–24 GB42–50 GB
GPU1× A10G1× A100-40GB1× A100-80GB or 2× A10G
Tokens/sec55–7525–3812–20
Concurrent users / GPU8–123–51–2
Monthly cloud cost~$800–1,200~$2,500–4,000~$6,000–12,000
Time to first token0.3–0.5s0.5–1.0s1.0–2.5s
Ops complexity"Run a container""Needs monitoring""Needs a team"
Q4 = 4-bit quantization - compressing each weight from the default 16 bits to 4 bits, cutting memory ~4× at a small quality cost. Cloud costs based on AWS/GCP on-demand inference instances, mid-2026.

Where the Non-Linearity Comes From

GPU memory cliffs. There's no smooth ramp. A 70B at Q4 needs ~42 GB VRAM - that means an A100-80GB at $6+/hr, or multi-GPU with tensor parallelism (splitting the model across GPUs that coordinate each forward pass). A 14B fits on a single A10G at $1/hr. You're not scaling linearly; you're jumping between hardware tiers.
Throughput collapse. At 70B, generation drops to 12–20 tokens/sec. To serve 10 developers at the same responsiveness as a 14B, you need 4–5× more GPU capacity. If the suggestion arrives after the developer has already typed the line, it's worthless.
Operational overhead. Multi-GPU inference means NCCL (NVIDIA's GPU-to-GPU communication library) coordination, tensor parallelism configuration, cross-device health checks. This is no longer "deploy a container." It's a dedicated infrastructure workstream.
Quantization compounds. Aggressive quantization damages larger models more - errors accumulate across more layers. A 14B at Q4 loses ~1–2% on benchmarks. A 70B at Q4 may lose 3–5% [1].

What This Means for a 50-Person Team

1
2
3
14B: 2× A10G = ~$2,000/month → $40/developer
32B: 2× A100 = ~$7,000/month → $140/developer
70B: 2× A100-80GB = ~$14,000/month → $280/developer
Is a 2–5% benchmark improvement worth $140 more per developer per month? For most teams: no. That money delivers more value spent on retrieval infrastructure, tool integration, or an engineer to build proper workflows.

Fine-Tuning: When Small Models Punch Above Their Weight

"Can we fine-tune a 14B to match a 70B?" The answer is annoyingly nuanced: for some tasks yes, for others absolutely not.

Where Fine-Tuning Works

Fine-tuning shines when the task distribution is narrow and stable. If 90% of developer interactions are the same 5–10 patterns - generating CRUD endpoints, writing tests in your framework, creating boilerplate for internal libraries - a fine-tuned 14B will match or beat a general 70B on those specific tasks. Faster, cheaper, and it'll nail your conventions because you trained it on them.
A June 2026 analysis found: "across engineering workflows, domain-specific fine-tuned models on enterprise-controlled infrastructure are matching or exceeding frontier performance on the tasks that generate the most revenue" [2]. Not on every task. On the tasks that repeat.
Good candidates for fine-tuning: - Teams with strict internal frameworks or DSLs (domain-specific languages - custom syntax your org uses) - Organizations with strong conventions general models don't follow - Autocomplete workloads where latency is the constraint - High-volume, low-complexity generation (configs, tests, migrations)

Where Fine-Tuning Falls Apart

Fine-tuning trades generalization for specialization. The moment someone steps outside the specialization boundary, the model is worse than the general-purpose alternative.
It also fails when: - The codebase evolves faster than retraining allows (the model goes stale) - There aren't enough curated examples (< 1,000 high-quality pairs) - Tasks require cross-domain reasoning (code + docs + architecture + business context) - Mistakes are expensive (security review, compliance, architecture decisions)

The LoRA Economics

LoRA (Low-Rank Adaptation) - a technique that freezes the original model weights and trains a small set of adapter weights on top - has made fine-tuning practical:
1
2
3
Full fine-tune (14B): 4× A100-80GB, 8–24 hours, ~$2,000–6,000/run
LoRA fine-tune (14B): 1× A100-40GB, 2–6 hours, ~$100–300/run
Output: 50–200 MB adapter (not a full 28 GB model)
The adapter approach is operationally elegant: run one base model, swap adapters per team or task type. Frontend team gets one adapter, data engineering gets another, infrastructure gets a third. Same GPU, different behavior.

The Pattern That Works

The most effective deployments use a routing strategy:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Request Router
│
┌────────────────┼────────────────┐
▼ ▼ ▼
Fine-tuned 14B General 32B Frontier API
+ LoRA adapters (self-hosted) (fallback)

• Autocomplete • Multi-file • Architecture
• Test gen • Refactoring • Novel design
• Boilerplate • PR review • Cross-system
• Conventions • Doc gen • Complex debug

~70% of ~25% of ~5% of
requests requests requests
This reduces infrastructure costs by 40–60% compared to running a single large model for everything, while matching quality across the board. The 70% going to the cheap tier are pattern-matching tasks where speed matters more than depth.

The Productivity Equation

Here's a framework that works for getting infrastructure budget approved. Simple, transparent, and it speaks finance.
1
Annual Value = Developers × Requests/Day × Minutes Saved × (Hourly Cost / 60) × Working Days

Running the Numbers

Conservative assumptions for a 200-person engineering org:
InputValue
Developers200
AI interactions/day40 (autocomplete + chat + review)
Minutes saved/interaction3 (includes avoided context switches)
Fully loaded cost$85/hour (US mid-market)
Working days250
1
2
= 200 × 40 × 3 × ($85/60) × 250
= $8.5M/year in recovered engineering time
Even at half the minutes-saved assumption (1.5 min): $4.26M/year.

Now Look at Infrastructure Cost

TierAnnual Cost (200 devs)% of Value at Stake
14B~$24K0.3%
32B~$84K1.0%
70B~$168K2.0%
The difference between 14B and 70B infrastructure: $144K/year. The value at stake: $4–8M. The tier choice is not the important decision. What matters: does the retrieval work? Is the UX good enough for adoption? Are the workflows actually useful?
A $24K/year 14B deployment with great retrieval and high adoption delivers more value than a $168K/year 70B deployment with neither.

The Trust Factor

One caveat. Model quality affects adoption through trust. If suggestions are noticeably bad for complex tasks, developers lose confidence and stop using the system entirely. Microsoft's EngThrive research found AI tools can reduce task time by up to 56% [3] - but only when developers trust the output enough to accept rather than rewrite.
Once trust breaks, re-engagement is brutally hard.
Practical approach: start with 32B for the "main" experience - good enough to build trust. Then selectively route simpler tasks to 14B once developers are engaged with the workflow.

When Large Models Actually Earn Their Keep

None of this means "never deploy a large model." Genuine scenarios where 70B+ is the right call:
ScenarioWhy Scale Helps
Large orgs (500+ devs)Cost/dev drops; workflows amortize across many users
Platform teamsArchitecture reasoning across 50+ microservices
Cross-repo analysisHow changes in Service A affect B, C, D
Security/compliance reviewSubtle vulnerabilities need nuanced reasoning
Legacy modernizationTranslating intent of 20-year-old code
Architecture decisionsWeighing performance, maintainability, scalability simultaneously
Where large models are a waste: autocomplete, boilerplate, test generation, single-file edits, greenfield projects, teams under 50 people.
The diminishing returns curve:
1
2
3
4
5
6
7
8
9
10
11
Quality
│ ·····················
│ ·····
│ ·····
│ ···· ← sweet spot for most teams
│ ···
│ ··
│ ·
│·
└──────────────────────────────────────────────► Parameters
0 7B 14B 32B 70B 130B+
The knee - best quality-per-dollar - sits between 14B and 32B for most coding tasks.

Building Systems That Outlive Models

Here's the strongest practical recommendation in this series: the model deployed today will be obsolete within six months. The infrastructure built around it will serve for years.
In 18 months, SWE-bench scores went from 33.4% (Claude 3 Opus, March 2024) to 93.9% (Claude Fable 5, June 2026) [4]. Open-source 32B now matches proprietary models from a year ago. This improvement rate is not slowing.
Hard-coupling infrastructure to a specific model means rebuilding every two quarters. Here's how to avoid that.

Five Principles

1. Abstract the inference layer.
1
2
3
4
5
6
7
8
9
Application (workflows, UI, developer tools)
│
Orchestration (routing, fallback, A/B)
│
Inference Abstraction (unified API)
│
┌────┴────┬──────────────┐
Model A Model B External API
(14B) (32B) (frontier)
The application talks to a unified API. Behind it, you can swap models without changing anything above.
2. Separate retrieval from inference. Code search indices, embedding databases, and AST graphs should work regardless of which model generates completions. Model swap = retrieval keeps working.
3. Standardize tool interfaces. Every tool - terminal, git, test runner, CI - exposes a stable contract. Model-specific syntax changes get absorbed by a thin adapter, not propagated up.
4. Route by complexity. Simple autocomplete → 7B. Single-file edits → 14B. Multi-file reasoning → 32B. Novel architecture → frontier API. Intelligent routing reduces cost while preserving quality where it matters.
5. Instrument obsessively. Log prompt-completion pairs, track acceptance rates, measure time-to-accept, monitor whether suggestions survive code review. When a new model drops, there's real data to compare against - not someone else's benchmark scores.

The Upgrade Path

Then model upgrades look like any other infrastructure change - a canary deployment (gradually routing traffic to validate before full rollout):
  1. Deploy new model alongside existing (canary)
  2. Route 10% of traffic (shadow)
  3. Compare real metrics (measure)
  4. Shift traffic on evidence (promote)
  5. Retire old model (cleanup)

Decision Matrix

Quick reference for teams making the call today:
Small (7–14B)Medium (32B)Large (70B+)
Team sizeAny, esp. < 5050–500500+
Primary useAutocomplete, boilerplate, testsMulti-file, refactoring, reviewArchitecture, cross-repo, security
Latency< 500ms< 1.5s< 3s / async OK
GPUs1–2 A10G1–2 A100-40GB2+ A100-80GB
Ops maturityStandard deployExperienced infraDedicated AI platform team
Fine-tuning valueHighMediumLow (already general)
When to pickStarting out, cost-sensitive, latency-criticalDefault for most enterprisesProven value at smaller tiers + specific complex needs

Final Thought

A coding assistant is a platform, not a model.
The model is the engine. Retrieval is the fuel. Tools are the transmission. Workflows are the vehicle.
Nobody evaluates a car by displacement alone. Nobody evaluates a database by its storage engine alone. A coding assistant deserves the same systems-level evaluation.
The enterprises that extract the most value share a pattern: - Invest in retrieval first - Build model-agnostic infrastructure - Measure outcomes (minutes saved, PRs shipped) rather than capabilities (benchmark scores) - Design for adoption as a first-class concern - Swap models like infrastructure components - on evidence, through canary deploys
Parameter count is the least durable and most easily replaced part of the stack. Models improve every quarter. A model that doesn't exist yet will be better than whatever ships today. But retrieval systems, tool integrations, workflows, and developer trust - those compound. Those persist.
Build the platform. The models will take care of themselves.

References

[1] Local AI Master Research Team. "7B vs 14B vs 32B vs 70B: Which Model Size to Run." April 2026.
[2] "The Denominator." Scenarica Newsletter, June 2026.
[3] Microsoft. "A New Framework for Transforming Developer Productivity (EngThrive)." May 2026.
[4] CodingFleet. "14 Months of Benchmark Scores (2024–2026)." June 2026.
[5] Black Duck. "AI Coding Hits 97% Enterprise Adoption." June 2026.
[6] Hoffmann, J., et al. "Training Compute-Optimal Large Language Models." arXiv:2203.15556, NeurIPS 2022.
[7] METR. RCT on AI Tool Productivity. 2025. MIT/NBER. "AI Agents: Code Volume vs. Shipped Software." 2026.
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article