Inkling-2-Mini-codex-adapted Coding-Optimized LoRA Adapter: 4GB+ VRAM

At a Glance
| Item | Value |
|---|---|
| Repository | harness-hub/Inkling-2-Mini-codex-adapted |
| Family guide | Inkling-2 guide (6 articles) |
| Published | 2026-12-03 |
| License | apache-2.0 |
| Formats | safetensors |
| Source type | Primary source (the publisher itself) |
Values determined by this site’s code when the information was collected. Dates are JST.
Overview
harness-hub has released “harness-hub/Inkling-2-Mini-codex-adapted", a LoRA adapter for thinkingmachines/Inkling-2-Mini. This model is an adapter trained via TRL reinforcement learning to operate as the backend for OpenAI’s Codex CLI. According to the model card, it is designed to increase the number of solved SWE-bench Pro tasks while significantly reducing output tokens.
Specifications
- Parameter count: 26.4B total parameters, 3.4B active parameters (base model specifications)
- Architecture: 24-layer decoder-only transformer (sparse Mixture-of-Experts FFN layers, 3x shared loop in the middle 12 layers, total 48 layers applied), multimodal support (text and image)
- Context length: Up to 131k tokens (at evaluation)
Performance
As evaluation results provided by the publisher, the model card includes the following comparison tables.
SWE-bench Pro (hard 51), 2 h per task comparison results (comparison target: Inkling-2-Mini)
| SWE-bench Pro (hard 51), 2 h per task | Inkling-2-Mini | Inkling-2-Mini-codex-adapted | Change |
|---|---|---|---|
| pass@3 (50 tasks) | 66.0% | 74.0% | +8.0 ± 12.3 points |
| avg@3 (50 tasks) | 46.7% | 60.7% | +14.0 ± 9.9 points |
| Output tokens per solved task (13 tasks) | 34.7k | 23.4k | −33% [−39, −26] |
| Reasoning tokens per solved task (13 tasks) | 23.5k | 13.7k | −42% [−49, −35] |
| Visible output tokens per solved task (13 tasks) | 11.2k | 9.7k | −14% [−25, −1] |
| Tool calls per solved task (13 tasks) | 55.5 | 46.4 | −16% [−23, −9] |
| Model turns per solved task (13 tasks) | 53.5 | 44.7 | −16% [−23, −9] |
| Minutes per solved task (10 tasks) | 22.7 | 17.7 | −22% [−30, −15] |
Terminal-Bench 2.1, 1 h per task comparison results (comparison target: Inkling-2-Mini)
| Terminal-Bench 2.1, 1 h per task | Inkling-2-Mini | Inkling-2-Mini-codex-adapted | Change |
|---|---|---|---|
| pass@3 (79 tasks) | 64.6% | 65.8% | +1.3 ± 8.3 points |
| avg@3 (79 tasks) | 54.0% | 55.3% | +1.3 ± 5.2 points |
| Output tokens per solved task (31 tasks) | 14.9k | 8.3k | −44% [−53, −36] |
| Reasoning tokens per solved task (31 tasks) | 10.4k | 5.2k | −50% [−60, −40] |
| Visible output tokens per solved task (31 tasks) | 4.5k | 3.1k | −31% [−37, −24] |
| Tool calls per solved task (31 tasks) | 20.8 | 15.2 | −27% [−36, −16] |
These tables show that the solve rates (pass@3 and avg@3) for real-repository coding tasks on SWE-bench improve over the base model, and that reasoning tokens and tool call counts can be significantly reduced while maintaining accuracy. Specifically, output tokens decreased by 33% on SWE-bench Pro, and reasoning tokens decreased by 50% on Terminal-Bench 2.1 while maintaining accuracy. On the other hand, the improvement in pass accuracy (pass@3) on Terminal-Bench 2.1 is a marginal +1.3 points, remaining on par with the base model for certain tasks. While excelling in efficiency and token reduction, it does not show dramatic accuracy improvements across all benchmarks.
Strengths and Use Cases
This model is a LoRA adapter specifically trained to operate as the backend for OpenAI’s Codex CLI. It inherits the multimodal text and image input support and up to 131k context length of the base model thinkingmachines/Inkling-2-Mini, while optimizing its operational efficiency as an agent through reinforcement learning (TRL’s AsyncGRPO).
Model card tags and settings indicate intended use cases for agents (agents), tool use (tool-use / harness-adapter), and coding (codex). Specifically, its greatest strength is its ability to deliver task-solving capabilities equal to or greater than the base model while drastically reducing redundant thinking tokens, tool calls, and model turns in real-repository coding tasks like SWE-bench Pro and terminal operation agent tasks like Terminal-Bench 2.1. Unlike the base model, which lacks pronounced biases as a general-purpose model, this adapter is oriented toward enhancing practicality as a coding assistant or development support agent.
How It Differs from Similar Models
Our site has previously covered models that applied conversion, quantization, or different approaches to the same base model. For example, ukisai Released MLX Version of Swift Inkling 2 Mini, which covered the conversion for Apple MLX, focused on operation in Apple Silicon environments and lightweighting via quantization of non-expert weights. Similarly, “Swift-Inkling-2-GSQ-RCO-GGUF": Response Examples and Required VRAM from 12GB on Our Site centered on supporting efficient execution formats for local environments. In contrast, this model introduces a LoRA adapter via TRL reinforcement learning aimed at improving agent performance and efficiency on the Codex CLI rather than focusing on quantization or format conversion, carrying a different trade-off than pure converted versions.
Hardware Requirements
Estimated requirements (calculated by Local Model Watch)
| Your VRAM | Quantization | File size | Est. memory needed |
|---|---|---|---|
| 32GB (RTX 5090, etc.) | Q8_0 | 25.9GB | 31.1GB |
Memory estimates add a 20% runtime overhead (KV cache, etc.) to the actual size of the distributed files. Actual usage varies with context length, batch size and inference engine. These figures are computed by this site from file sizes, not published by the model’s authors. File sizes are measured from the converted build harness-hub/Inkling-2-Mini-codex-adapted-GGUF. Compare with other models in our VRAM quick reference. What the quantization names mean: glossary.
Can You Run It Locally?
Runs in Ollama, LM Studio and llama.cpp via a converted build.
The publisher ships safetensors, but harness-hub/Inkling-2-Mini-codex-adapted-GGUF provides a GGUF build you can use.
License — apache-2.0 (Commercial use allowed): Permits commercial use, modification and redistribution. Redistribution requires including the license and stating changes; includes a patent grant.
Compiled by this site’s code from the published formats, converted builds we have found, and each engine’s own model registry. “Not found" means we have not seen such a build, not that none exists. License summaries are not legal advice — check the publisher’s original terms before relying on them.
How to Get It
This model is available on Hugging Face and is distributed as open weights. The repository contains a PEFT-format LoRA adapter, which can be used by combining engines such as vLLM or llama.cpp.
When loading and serving as a LoRA with vLLM, you can download the weights with the following command:
hf download harness-hub/Inkling-2-Mini-codex-adapted --include "vllm/*" --local-dir inkling-codex
Additionally, if you wish to use it in GGUF format, it can be obtained through the corresponding GGUF distribution repository. The Apache 2.0 license applies.
Quantized and Converted Variants
→ Scroll horizontally to see all columns
| Added | Publisher | Format | Repository | Smallest VRAM tier (build, est. memory) |
|---|---|---|---|---|
| 2026-12-05 | harness-hub | GGUF | harness-hub/Inkling-2-Mini-codex-adapted-GGUF | F16 0.0GB (fits in 4GB VRAM) |
File sizes of each build:
- Available builds in harness-hub/Inkling-2-Mini-codex-adapted-GGUF: F16 0.0GB / Q8_0 25.9GB
In addition, 6 converted build(s) from other uploaders exist on Hugging Face; this site lists only builds from the model’s publisher or established quantization maintainers.
This section is appended automatically by Local Model Watch when a converted build of this model appears after publication. Memory figures are estimated from the size of the distributed files. What the quantization names mean: glossary.
Related Articles
- Inkling-2-Mini-hermes-adapted Vision-Language Model: 4GB+ VRAM
- Inkling-2-Mini-Hermes-Agent-LoRA: 4GB+ VRAM
- Swift-Inkling-2-GSQ-RCO-GGUF: Our Test Answers, 12GB+ VRAM
- Swift Inkling 2 Mini MLX-bf16 Released for Apple Silicon
What to Read Next
- Find models by VRAM (This model needs at least 32GB) → VRAM quick reference
- Explore the same model family → Inkling-2 family overview (6 articles, 12 converted builds)
- Engines that run this model → llama.cpp / Ollama
- What Q8_0 mean and where to get this model → GGUF format guide and models / Quantization and model-format glossary
- Other models for the same task → Other vision-language models
Sources
- https://huggingface.co/harness-hub/Inkling-2-Mini-codex-adapted
- https://huggingface.co/thinkingmachines/Inkling-2-Mini
Update History
- 2026-12-05: Added converted builds to “Quantized and Converted Variants”: harness-hub/Inkling-2-Mini-codex-adapted-GGUF
- 2026-12-05: Updated the hardware requirements table with the actual file sizes of harness-hub/Inkling-2-Mini-codex-adapted-GGUF.
- 2026-12-05: Changed the title to show what the article covers (VRAM requirements, file list, etc.).

