AI agents come with an annoying catch. You build automation to save money, yet routing every single step to a flagship cloud model burns through your API budget in days. Meanwhile, client contracts and internal dashboard screenshots can't go to a third-party cloud at all because of NDAs. Two new open models split that workload cleanly: offline Inkling 2 Mini on your laptop, and fast agentic DeepSeek V4.1 Flash for long cloud loops.
Inkling 2 Mini from Thinking Machines: An Offline Mac Model with Looped Layers
On November 20, 2026, Thinking Machines Lab—founded by former OpenAI leaders led by Mira Murati—released Inkling 2 Mini under Apache 2.0. Skip the hype around paid wrappers and private clubs already popping up around it: the model itself on Hugging Face and Ollama is completely free.
Its signature trick is a looped transformer. Instead of storing 48 separate layers in memory, it holds 24 physical layers: the first six and last six run once, while the middle twelve loop three times using shared weights. You get the compute depth of 48 layers in half the file size. Under the hood is an MoE design: out of 26.4B total parameters, 3.4B are active per token at base (5.4B effective across the triple loop).
NVFP4/MXFP8 weights take ~20 GB, and quantized Ollama builds fit in 13.5–17 GB. It runs on Apple Silicon Macs with 32 GB unified memory, NVIDIA DGX Spark, or 32 GB+ VRAM GPUs, supports up to a 1M-token context window, and natively reads images (40 to 4,096 px per side). On Thinking Machines' benchmarks, it scores 20.1 on AA Index v5.0 versus 4.4 for Gemma 4 31B and 6.3 for Muse Glimmer.
It's ideal for private work: searching contract folders offline on a plane, reading Search Console or ad-account screenshots, and drafting support replies. You can run it through the free Ollama runner with an auto-unload timer:
# Download and run Inkling 2 Mini on a Mac (32 GB+ RAM)
# Ollama frees memory automatically after 5 minutes of idle time
OLLAMA_KEEP_ALIVE=5m ollama run inkling-2-mini
This command caches the weights, opens a terminal chat, and spins up a local API for scripts. After five idle minutes, the model unloads so your laptop stays snappy. Thinking Machines warns that compact models can still misfire on autonomous tool calls—even deleting files—so keep it in read-only and draft mode with human approval.
DeepSeek V4 Flash and V4.1 Flash: An Agentic Workhorse with a 1M Context Window
For long, multi-step agents in the cloud or on a cluster, you need a bigger engine. That's where DeepSeek V4 Flash and its newer sibling DeepSeek V4.1 Flash stepped in, both under the MIT license.
In late July, DeepSeek-V4-Flash-0731 arrived (284B total / 13B active parameters, 1M context). The size didn't grow, yet heavy post-training (fine-tuning via RL and distillation for tool use) sent its agent scores soaring. On Hugging Face, it beat DeepSeek's own V4-Pro Preview: Terminal Bench 2.1 hit 82.7, DeepSWE reached 54.4, and Cybergym hit 76.7. Artificial Analysis estimated it cost roughly 60% less per task than comparable GPT 5.6 Luna.
In the fall, DeepSeek quietly pointed its deepseek-flash API endpoint (and old deepseek-v4-flash alias) to DeepSeek V4.1 Flash (checkpoint 1017). The architecture shifted to a 40-layer Causal Encoder-Decoder with 552B parameters (8B active reading prompts, 16B generating). Thanks to that redesign and FP4 precision, the global KV cache shrank to 890 bytes per token—nearly four times smaller than V4 Flash. It also added DeepSeek-ViT vision, tunable reasoning depth (1–100), and built-in web search.
Comparison of DeepSeek-V4.1-Flash against Kimi-K3, GLM-5.3, Opus5, and GPT5.6-Sol on agent benchmarks (Source: deepseek-ai/DeepSeek-V4.1-Flash on Hugging Face)
The chart tells a clear story: across cybersecurity, automation, and coding, V4.1 Flash already beats heavier rivals, trailing only flagship Opus in pure terminal tasks. DeepSeek API pricing stays dirt cheap: cached input costs $0.003 per 1M tokens off-peak and $0.006 peak, fresh input runs $0.15 / $0.30, and output costs $0.60 / $1.20 (with a 50% off-peak discount on weekdays from 01:00–04:00 and 06:00–10:00 UTC).
You can't host 552B weights at home without a cluster, but in the cloud it plugs right into the OpenAI SDK (or the Anthropic-compatible endpoint at https://api.deepseek.com/anthropic):
import os
from openai import OpenAI
# Connect to DeepSeek API via the standard OpenAI SDK
client = OpenAI(
api_key=os.environ["DEEPSEEK_API_KEY"],
base_url="https://api.deepseek.com",
)
# deepseek-flash routes directly to DeepSeek-V4.1-Flash
response = client.chat.completions.create(
model="deepseek-flash",
messages=[
{"role": "system", "content": "You are a code review engineer."},
{"role": "user", "content": "Find bottlenecks in this build."},
],
)
print(response.choices[0].message.content)
Old scripts calling deepseek-v4-flash will still hit V4.1 Flash, though it's cleaner to switch to deepseek-flash and split jobs across both models:
| Criterion | Inkling 2 Mini | DeepSeek V4.1 Flash |
|---|---|---|
| Role | Private files, screenshots, offline drafts | Long agent loops and coding |
| Hosting | Mac (32 GB+ RAM) or 32 GB+ VRAM GPU | DeepSeek API (deepseek-flash) or cluster |
| Design | 26.4B MoE (3.4B/5.4B active), looped layers | 552B CED MoE (8B/16B active), 890 B/token KV cache |
| License | Apache 2.0, free locally | MIT, from $0.003 (cached) and $0.60 (output) / 1M |



