Skip to main content

Top 10 Coding LLMs

Published

last-modified



3.1 Basics

3.2 Web/Online Models

(alphabetical ↑)

3.3 Physical Hardware

3.4 Running AI Models Locally

3.4.1 Engines

3.4.1.1 Production / High-Throughput Serving

  • vLLM — High-throughput serving engine (multi-user / production)
  • SGLang — High-throughput serving with structured generation (production, multimodal)
  • TensorRT-LLM — NVIDIA’s optimized engine for maximum throughput on NVIDIA GPUs (DGX Spark, RTX)
  • Hugging Face TGI — Text Generation Inference server for production serving

3.4.1.2 General-Purpose / Local Inference

  • llama.cpp — Core C/C++ inference engine (GGUF, CPU + GPU, maximum control). For MoE models, --n-cpu-moe N keeps the expert weights of the first N layers in system RAM, and -ot / --override-tensor is the same placement as a tensor pattern. With the rest of the model offloaded, attention and shared layers stay on the GPU. That split is what lets a 100B-class MoE such as gpt-oss-120b run on a 12–24 GB GPU when the machine has plenty of RAM: llama-server -hf ggml-org/gpt-oss-120b-GGUF --jinja --n-cpu-moe 32.
  • Hugging Face Transformers — Reference Python library; runs almost any model, slower but universal
  • MLX / mlx-lm — Apple’s framework for fast native inference on Apple Silicon
  • TensorFold — A high-performance native inference engine written in Zig. Similar to llama.cpp, it bypasses Python entirely to run Metal (Apple Silicon), CUDA (NVIDIA), and Vulkan kernels directly on the hardware.

3.4.1.3 Hardware-Specific / Niche

  • OpenVINO — Intel’s toolkit for running models on Intel CPUs, GPUs, and NPUs
  • ONNX Runtime GenAI — Microsoft’s cross-platform engine (Windows, DirectML, NPUs)
  • ExLlamaV3 — Fast quantized (EXL3) inference on consumer NVIDIA GPUs
  • ik_llama.cpp — llama.cpp fork with faster CPU and hybrid CPU/GPU inference and newer quant types
  • KTransformers — Niche CPU/GPU engine for MoE offload on a Xeon-class CPU plus a GPU. Attention stays on the GPU; expert weights run from system RAM on AMX/AVX kernels, with hot experts optionally kept on the GPU. The native Windows install is temporarily deprecated in favor of WSL.
  • Strata — A highly specialized inference engine (incorporating parts of llama.cpp) designed strictly to run massive 100B+ parameter Mixture-of-Experts (MoE) models on standard consumer hardware. It uses “expert streaming” to keep frequently used neural network experts in GPU VRAM while rapidly fetching the remaining experts from system RAM and NVMe SSDs.
  • Basalt — NVIDIA Blackwell-optimized local inference engine forked from Strata for selected models, with system-RAM offload and compatible APIs.
  • hipfire — is an inference engine for AMD GPUs. It ships its own Rust runtime, model implementations, quantization formats (MQ3–MQ6, MQ4R, MFP4), typed kernel dispatch and HIP kernels.

3.4.2 Runners

  • Ollama — CLI + local OpenAI-compatible API (most popular for developers)
  • RamaLama — Container-native runner (Podman or Docker) with an OpenAI-compatible API; llama.cpp by default, and vLLM
  • KoboldCpp — Easy single-binary runner with built-in UI
  • Jan — Fully open-source run models locally, with cloud integration, MCP support. desktop app (privacy-focused)
  • LM Studio — Polished desktop GUI
  • textgen — Open-source, offline desktop app with multiple backends, OpenAI/Anthropic-compatible API, tool-calling + MCP, and LoRA training
  • Strata — operates as a fully integrated desktop application and runner. It automatically handles downloading its supported models, sets up smaller draft models for speculative decoding to boost generation speed, and exposes an OpenAI/Anthropic-compatible API on localhost:8080 alongside its own built-in web UI.
  • TensorFold — acts as a standalone runner via a single, zero-dependency Zig binary. It handles checkpoint loading, tokenization, and speculative decoding internally. It also natively spins up an OpenAI-compatible server, allowing it to drop immediately into existing web UIs and downstream workflows.
  • hipfire — provides a curated model list and an OpenAI-compatible HTTP daemon.

3.4.3 UIs

  • Open WebUI — Self-hosted web UI (excellent with Ollama)
3.4.3.0.1 Notes
  • Strata: Unlike general-purpose engines like llama.cpp or runners like Ollama that aim to support thousands of different open-source models, Strata deliberately sacrifices broad compatibility. It is heavily optimized for a very small roster of sparse MoE models. As of 0.2.21 (24 Nov 2026) that roster is Qwen3.8-Flash-Next, Qwen3.6-35B-A3B, Tencent Hy4-Flash, and Inkling 2 Mini. DeepSeek V4.1-Flash support ended after 0.2.13, the last release that set it up and started it. Strata does not run gpt-oss. You generally do not use Strata to run a standard 8B or 14B parameter model. You use it specifically when you want to force a 125-billion parameter model to run efficiently at dozens of tokens per second on a 12GB to 24GB gaming GPU, bypassing the need for an expensive dedicated server.
  • TensorFold: aims for bare-metal efficiency, portability, and ease of use, but achieves it through a modern Zig codebase rather than C/C++. It is highly optimized for Apple Silicon and NVIDIA GPUs (including DGX Spark systems), accelerating local inference by removing heavy ML dependencies and orchestrating the entire stack—from kernel execution to API serving—inside one executable.

3.4.4 Comparing Local Model Runners

Aspect llama.cpp Ollama LM Studio Jan Open WebUI KoboldCpp vLLM SGLang
Primary focus Core low-level inference engine (GGUF, max control) Easy CLI + local OpenAI-compatible API (developer-friendly) Polished desktop GUI for chat, discovery & experimentation Fully open-source desktop app (privacy-first, local + cloud) Self-hosted web UI (pairs excellently with Ollama/vLLM) Easy single-binary runner with built-in creative UI High-throughput multi-user / production serving High-performance large-scale serving (esp. agents & multimodal)
License MIT MIT Proprietary (free for personal + internal business) Apache 2.0 Custom (permissive with branding requirements for large deployments) AGPL-3.0 (llama.cpp core is MIT) Apache 2.0 Apache 2.0
Interface CLI + optional simple web UI / server CLI-first + basic desktop app + API Excellent GUI + CLI (lms) + headless daemon Desktop app (macOS/Windows/Linux) + local API server Full web UI (browser) Single executable + built-in KoboldAI Lite web UI CLI / Python server CLI / Python server
Model discovery Manual GGUF download (Hugging Face, etc.) Curated library + simple ollama pull Built-in Hugging Face browser with size/VRAM estimates Jan Hub + Hugging Face integration Via connected backend (Ollama/vLLM/etc.) Manual GGUF load Hugging Face / local models Hugging Face / local models
API OpenAI-compatible (llama-server) OpenAI-compatible + native (port 11434) OpenAI- + Anthropic-compatible (port 1234) OpenAI-compatible (port 1337) Connects to any OpenAI-compatible backend OpenAI-compatible + KoboldAI + others (port 5001) OpenAI-compatible (+ Anthropic Messages) OpenAI-compatible (+ Anthropic/Ollama-style)
Best hardware edge Broadest support (CPU, Metal, CUDA, ROCm, Vulkan); MoE experts in RAM (--n-cpu-moe) so 100B-class models fit 12–24 GB GPUs Lower overhead; strong on NVIDIA & Apple Silicon Strong MLX performance on Apple Silicon llama.cpp + MLX; good cross-platform Depends on backend llama.cpp backends (CUDA/Vulkan/ROCm/CPU) NVIDIA/AMD focused; excellent multi-GPU throughput NVIDIA/AMD + strong prefix caching for agents
Headless/server Yes (native llama-server) Native from the start (systemd/Docker-friendly) Yes (llmster since early 2026) Yes (local API server) Yes (Docker-first) Yes (single binary server) Native high-performance server Native high-performance server
Extras / Strengths Maximum control, quantizations (GGUF), minimal deps, hybrid CPU+GPU, expert offload (--n-cpu-moe, -ot / --override-tensor) Excellent ecosystem, Modelfiles, Docker, optional cloud Document chat (RAG), MCP client, continuous batching, remote sharing MCP support, agents, cloud model integration, privacy focus Built-in RAG, multi-user auth, pipelines/plugins, image/voice Story/roleplay tools, image gen, TTS/STT, world info Continuous batching, PagedAttention, multi-LoRA, production scale RadixAttention (prefix reuse), speculative decoding, multimodal, agent-optimized

3.4.4.1 Developer-focused comparison: LM Studio vs Ollama

Aspect LM Studio Ollama
Primary focus Polished desktop GUI for discovery, chat & experimentation CLI + background service for scripting, APIs & integrations
License Proprietary (free for personal + internal business use) Fully open-source (MIT)
Interface Excellent GUI + CLI (lms) + headless daemon (llmster) CLI-first + local API; has added a basic desktop app
Model discovery Built-in Hugging Face browser with size/VRAM estimates Curated library + simple ollama pull model:tag
API OpenAI- + Anthropic-compatible (port 1234) OpenAI-compatible + native endpoints (port 11434)
Best hardware edge Stronger MLX performance on Apple Silicon Lower overhead, often slightly faster on NVIDIA
Headless/server Yes (llmster since early 2026) Native from the start (systemd/Docker-friendly)
Extras Built-in document chat (RAG), MCP client, LM Link (remote device sharing), continuous batching Excellent ecosystem integrations, Modelfiles, official Docker image, optional cloud models

3.4.4.2 When Ollama is usually better: You want a fully open-source, auditable tool.

  • You are a developer building scripts, agents, or apps (many frameworks and coding tools assume Ollama by default).
  • You need Docker, Kubernetes, or long-running headless servers with minimal footprint.
  • You prefer the lowest idle RAM and fastest cold-start times (especially on NVIDIA GPUs).
  • You want the absolute simplest CLI workflow (ollama run model).

3.4.5 Local-first inference

RamaLama vs Ollama — key differences

Both tools let you run large language models locally, but they take different approaches.

3.4.5.1 Quick summary

Aspect Ollama RamaLama
Core idea Simple local model runner + library Container-native way to run models
Default execution Runs models directly on the host Runs models inside containers (Podman/Docker) by default
Who makes it Ollama Inc. containers org (Podman / Red Hat ecosystem)
Model sources Primarily its own library (+ limited HF) Hugging Face, Ollama registry, ModelScope, any OCI registry, URLs, local files
Runtimes Built around llama.cpp llama.cpp (default) and vLLM
Hardware handling You (or the installer) handle GPU libraries Auto-detects GPU and pulls a matching optimized container image
Security / isolation Host process Rootless containers, read-only mounts, network isolation by default
Commands feel like ollama run, ollama pull, etc. Familiar container-style: ramalama run, pull, serve, push
Best for Easiest “just chat with a local model” experience People who already use containers and want the same workflow + stronger isolation

3.4.5.2 Main philosophical difference

  • Ollama optimizes for simplicity and a polished consumer experience. Install it, pull a model, chat. Models usually run as normal processes on your machine.
  • RamaLama optimizes for making AI work like containers. It treats models more like images: pull from multiple registries, run them in isolated containers, serve them, convert them to OCI images, push them to registries, etc. The slogan is essentially “make working with AI boring” by using the tools and patterns people already know from Podman/Docker.

3.4.6 Practical implications

  • Isolation & security: RamaLama wins by default (models stay inside rootless containers).
  • GPU setup: RamaLama is often easier on Linux (especially Fedora/RHEL-style systems) because the container already contains the right CUDA/ROCm/etc. libraries.
  • Model choice: RamaLama is more flexible about where models come from (especially Hugging Face and OCI registries).
  • Ecosystem fit:
    • Ollama → very widely supported by agents (goose, OpenCode, Hermes, etc.).
    • RamaLama → also usable (many tools treat it as an OpenAI-compatible endpoint or have explicit support), and it can even pull from the Ollama registry.

3.4.7 When to choose which

  • Choose Ollama if you want the simplest, most popular local model runner and don’t care about container isolation.
  • Choose RamaLama if you already live in a container world (Podman/Docker), want better isolation by default, or need to pull models from Hugging Face / OCI registries more cleanly.

Both expose OpenAI-compatible APIs, so most agents and tools can talk to either of them.

3.4.8 Other local inference options

  • llama.cpp offers low-level control and GGUF support.
  • LM Studio provides a desktop interface and API.
  • Jan is an open-source desktop application.
  • Open WebUI provides a self-hosted web frontend.
  • KoboldCpp and vLLM support additional local and high-throughput serving setups.

Model management includes downloading and selecting models, quantization, Modelfiles, and custom system prompts. Hardware, memory requirements, and trade-offs vary by model and runner.

4 Top Coding Agents: AA Coding Agent Index v2.1

Rank Configuration Model (effort) AA Index FrontierCode 2.0 FC Rank Terminal-Bench 4.1 SWE-Atlas QnA
1 Antigravity CLI Gemini 4 Neon (xhigh) 58.6 43 6 (tie) 65 68
2 Claude Code Claude Fable 5.2 (xhigh) 58.5 49 1 (tie) 64 62
3 Devin Fusion CLI Claude Opus 5.5 Max + GPT-6 Luna High 58.4 44 3 (tie) 63 68
4 Claude Code Claude Fable 5.2 (high) 58.2 49 1 (tie) 64 62
5 Claude Code Claude Opus 5.5 (max) 58.2 44 3 (tie) 65 66
6 Claude Code Claude Sonnet 5.5 (max) 56.3 39 10 66 64
7 Claude Code Claude Fable 5.2 (max) 55.7 44 3 (tie) 63 60
8 Antigravity CLI Gemini 4 Carbon (high) 55.5 38 11 65 64
9 Muse Code Muse Wonder Full (max) 54.5 35 14 60 69
10 Codex GPT-6.2 Astra (max) 53.5 42 9 64 55
11 Codex GPT-6.2 Astra (xhigh) 53.1 43 6 (tie) 62 54
12 Codex GPT-6 Astra (max) 53.1 43 6 (tie) 58 59
13 Claude Code Claude Fable 5.2 (medium) 53.0 36 13 60 64
14 Claude Code Claude Fable 5.1 (max) 52.5 33 15 58 66
15 Antigravity CLI Gemini 4 Hydrogen (xhigh) 52.3 37 12 60 60

Sources: AA Coding Agent Index component scores (whole numbers, Nov 25, 2026); one-decimal Index values from the Nov 19 snapshot. FC Rank is among these 15 rows.

4.1 Cloud and hybrid options

Hosted providers can complement local inference when a task needs a more capable model or additional capacity. Hybrid setups balance privacy, cost, latency, rate limits, and data-sovereignty requirements.

4.1.1 NeoClouds (also neoclouds or neo-clouds)

Specialized, AI-first cloud providers built primarily around high-performance GPU (and other accelerator) infrastructure for AI training, fine-tuning, and inference.

Unlike traditional hyperscalers (AWS, Microsoft Azure, Google Cloud), which offer a broad catalog of general-purpose services and later added GPU support, NeoClouds are designed from the ground up for dense GPU clusters, high-bandwidth low-latency networking, and the power/cooling demands of modern AI workloads. Their core offering is typically GPU-as-a-Service (GPUaaS)—renting accelerator capacity by the hour, reservation, or longer contract—often with thinner virtualization layers or bare-metal access.

4.1.1.1 Key characteristics

  • GPU-centric architecture and capacity
  • Optimized networking and storage for large-scale model training and inference
  • Narrower service surface focused on AI rather than general IT
  • Frequently more competitive pricing or faster access to the latest accelerators than hyperscalers
  • Serve AI labs, startups, enterprises, and sometimes other cloud providers

Notable examples (as of late 2026): CoreWeave, Nebius, Lambda, Crusoe, and a growing long tail of regional and specialized operators.

Why it matters in the agentic / practical AI landscape
NeoClouds address the compute bottleneck that constrains both frontier model development and self-hosted or production agent systems. They expand the set of places you can actually rent serious GPU capacity outside the major hyperscalers.

4.2 Making models usable by agents

4.3 Security and operational considerations

4.3.1 Security Resources for local models

4.3.2 Local Model Vulnerabilities

Here is an overview of the main known classes of LLM exploits and attack surfaces (as of late 2026). This focuses on categories that appear repeatedly in research, real incidents, and frameworks such as the OWASP Top 10 for LLM Applications (2026 edition). It deliberately stays at the conceptual level.

4.3.2.1 1. Prompt Injection (still #1)

  • Direct: Attacker writes instructions that override the system prompt or safety rules.
  • Indirect / context injection: Malicious instructions are planted in external content the model later processes (emails, documents, web pages, RAG results, tool outputs, memory, etc.). Real-world examples include zero-click data exfiltration (e.g., EchoLeak against Microsoft 365 Copilot) and tool/agent hijacking.
  • Variants include jailbreaks (role-play, encoding, multi-turn persuasion) aimed at bypassing safety training.

4.3.2.2 2. Sensitive Information Disclosure / Data Leakage

Models or applications can leak training data, system prompts, user conversation history, credentials, or proprietary information through responses, logs, embeddings, or tool calls. Techniques include membership inference, training-data extraction, and system-prompt extraction.

4.3.2.3 3. Excessive Agency / Tool & Agent Abuse

When an LLM can call tools, browse, write code, send messages, or control systems, injected instructions can make it perform unauthorized actions (file access, API calls, privilege escalation, lateral movement). This risk rose sharply in rankings with the spread of agentic systems.

4.3.2.4 4. Supply-Chain Attacks

  • Malicious models or weights (including the pickle / “broken pickle” / Sleepy Pickle family we discussed earlier).
  • Poisoned packages, MCP servers, plugins, or fine-tuning artifacts.
  • Compromised model hubs or distribution channels.

4.3.2.5 5. Data & Model Poisoning / Backdoors

Attackers influence training, fine-tuning, or retrieval data so the model behaves normally most of the time but activates harmful behavior under a trigger (sleeper agents, backdoored code generation, biased outputs, etc.).

4.3.2.6 6. Unbounded Consumption / Resource Abuse

Attacks that force excessive token generation, repeated inference, or expensive tool use, driving up cost or causing denial-of-service. Also includes model-extraction / distillation attacks that steal capability by querying the target model.

4.3.2.7 7. Misinformation / Hallucination Abuse

Models can be steered (or simply fail) into producing confident but false or harmful content that users or downstream systems act upon.

4.3.2.8 8. Hidden Context / System-Prompt Exposure

Secrets, authorization logic, or internal instructions placed in the system prompt or retrieved context can be extracted or abused.

4.3.2.9 9. Vector / Embedding / RAG Weaknesses

Poisoning of vector stores, cross-tenant leakage in embeddings, or adversarial retrieval that surfaces malicious documents.

4.3.2.10 10. Improper Output Handling

Model output is treated as trusted and fed into browsers, shells, databases, or other interpreters without sanitization, enabling classic injection or XSS-style follow-on attacks.

4.3.2.11 Additional established categories outside the strict Top 10

  • Adversarial examples / input perturbations — small, often imperceptible changes that flip model behavior.
  • Model inversion & privacy attacks — reconstructing training examples or attributes.
  • Multimodal attacks — injecting payloads via images, audio, or other modalities that the model processes.
  • Agent-specific chains — memory poisoning, persistent tool hijacking, self-propagating behavior across sessions or systems.
  • Infrastructure / serving vulnerabilities — flaws in inference servers, gateways (e.g., LiteLLM-style issues), or serialization formats beyond pickle.

4.3.2.12 Practical note

Most real-world incidents combine several of the above (e.g., indirect prompt injection → excessive agency → data exfiltration). Open-weight models have repeatedly shown higher susceptibility to certain cyber-relevant payload chains than the strongest closed models, though both remain targets.

The landscape evolves quickly; the dominant practical risks in production systems right now center on prompt/context injection, agent tool abuse, and supply-chain model/package poisoning. Defenses typically involve layered controls: input/output filtering, least-privilege tooling, provenance checks, retrieval isolation, and continuous red-teaming rather than relying on any single technique.

4.4 Security Summary: What Can the Model Reach?

Running models locally protects your prompts from third-party providers, but it does not automatically make the setup safe. The decisive security question is not “Is the model local?” — it is “What can the model (or the software around it) reach?”

4.4.1 The practical risk ladder

Reach level What the model can touch Risk profile
Chat only Conversation text Low — limited to generating text
Files / project context Local documents, code, .env files Medium — can exfiltrate or rewrite secrets if it has write access
Tools / shell / network Terminal commands, HTTP requests, file system, APIs High — can execute code, send data out, or fetch remote payloads
Agent + persistent access Multiple tools + memory + long-running privileges Critical — full blast radius of the host

A backdoored or triggerable model (or a poisoned chat template) is only as dangerous as the permissions and tools you give it. In the ProjectDiscovery demonstration highlighted in the video, a fine-tuned model behaved normally on clean tests until a short trigger phrase caused it to instruct an agent to send the project’s .env file to an external server. The model itself did not contain the final payload; it simply knew to fetch and run one.

4.4.2 Key attack surfaces that expand “reach”

  • Model file + chat template — Weights are data, but GGUF templates (Jinja) and metadata can embed hidden instructions or, in rare cases, enable code execution if the runner is unsandboxed.
  • Runner / inference server — Bugs or misconfigurations in Ollama, LM Studio, llama.cpp, etc., can leak memory, environment variables, or allow unauthorized control.
  • Network binding — Binding to 0.0.0.0 (or leaving the port unauthenticated) turns a local server into a public one. Exposed, unauthenticated instances are routinely scanned and abused.
  • Tool / agent permissions — Shell access, file write, or unrestricted network is the difference between a chat bot and a remote-code-execution surface.

4.4.3 Practical containment principles

  1. Minimize reach by default — Prefer pure chat. Grant tools only when necessary and under least privilege.
  2. Keep the server on loopback (127.0.0.1). For remote access use an authenticated tunnel (e.g., Tailscale) or a reverse proxy with authentication — never expose the raw inference port.
  3. Keep the runner updated and enable any available authentication features.
  4. Treat model files as untrusted input — Prefer reputable sources, verify provenance where possible, and consider scanning templates.
  5. Separate secrets from the model’s working environment — Do not give the process access to credentials it does not need.

Bottom line: Local inference removes the cloud provider from the trust boundary, but it transfers the entire security responsibility to you. The model is only as private and safe as the smallest set of resources you allow it to reach.

4.5 NVIDIA OpenShell is an open, secure runtime designed for AI agents. It provides a governed environment that controls agent execution, access, and inference routing, independent of the underlying model or application.

4.5.1 Core Idea

Security is enforced in the environment rather than inside the model or agent code. Nothing is allowed by default. Permissions are granted through explicit policies, and enforcement occurs outside the agent’s process so it cannot be bypassed or “prompted away.” All allow/deny decisions are fully auditable. It works with any model, agent harness, or framework across cloud, hybrid, on-premises, edge, and air-gapped environments under a single policy layer.

4.5.2 Key Benefits

  • Agent governance outside the model: Separates agent behavior from environment interactions; every action is monitored and controlled.
  • Zero-trust access: Deny-by-default model with intent-based permissions enforced externally.
  • Safe operation of agent fleets: Unified policy enforcement for open or closed models and various harnesses at scale.

4.5.3 Main Components

  • Agent Sandboxes: Isolated environments with no direct network access, privilege restrictions, file limits, and kernel-level system-call filtering. Requests are brokered through a secured channel.
  • Policy Prover: Formal verification engine that checks policies stay within allowed boundaries and evaluates network rules for risk.
  • Gateway: Control plane that authenticates users, manages sandbox lifecycles, delivers policies/credentials, and brokers access.
  • Supervisor: Runtime overseer outside the sandbox that evaluates network requests against policy (at binary, destination, method, and path levels), supplies credentials only when allowed, applies live policy updates, and logs every decision.

4.5.4 Reference Architecture

A full-stack setup powered by the OpenShell runtime, NVIDIA Vera CPUs, Vera Rubin systems, and NVIDIA Sentry on BlueField-4 for industrial-scale safe agents in AI factories, enterprise settings, and at the edge.

4.5.5 Who It’s For & What It Supports

Primarily developers building autonomous agents, platform teams, and security/IT teams that need to enable agent use without granting broad host, network, credential, or model access. It is model- and harness-agnostic (supports Claude Code, Codex, GitHub Copilot CLI, LangChain Deep Agents, custom agents, etc.) and is not itself an agent framework—it sits underneath them. It goes beyond simple containers/pods by adding agent-specific controls for lifelong governance, credential handling, egress policy, inference routing, and multi-agent workflows.

OpenShell is open source (available on GitHub), runs on Docker, Podman, Kubernetes (via Helm), and experimental runtimes, works with NVIDIA DGX systems, supports cloud model endpoints via a policy-aware router, and does not require Vera CPUs (though they provide performance and efficiency gains).

4.5.6 Technical Resources