Learning path + reference · July 2026

Coding with AI

From fast vibe coding to spec-driven development, the workflow for shipping real software with AI.

1 Get hands-on
2 Add structure
3 Build for keeps

Learn the workflow, in order

New to coding with AI? Start here, then use the reference below to pick your stack.

  1. 1Vibe Coding: From Zero to Herotuaregs · GuideStart loose: build with AI by feel and learn fast.
  2. 2Spec-Driven Developmenttuaregs · GuideAdd structure: write the spec, let AI build it, stay in charge.
  3. 3Git Fundamentalstuaregs · GuideStop breaking things once AI writes half your code.
  4. 4Building effective agentsAnthropic · ArticleLevel up to agents that code alongside you.

Reference

Route by task

Agent = Model + Harness. Pick a model, a place to run it, and a harness. Re-verify anything older than a month.

Cheap / low-risk

DeepSeek V4 Flash — logging, simple edits

Default workhorse

Kimi K2.6 or Sonnet-class — coding, PR review, refactors, tests

Hard / repeated failures

Frontier — Opus 4.8, GPT-5.5, Fable 5 if available

Private / offline

Qwen local via Ollama

Fallback

Second provider route (e.g. Claude via OpenRouter)

Benchmarks are routing signals, not truth. Set defaults from them, correct with your own failure data.

Measure cost per successful task, not per token. A cheap model that causes rework is expensive.

Models

Price = in / out per 1M tokens, first-party unless noted. Compare SWE-Bench within the same column only.

ModelCreator · License$ in / outSWE-BenchAlso on
Claude Fable 5Anthropic · Closed$10 / $5080.3% ProClaude Code, claude.ai
Claude Opus 4.8Anthropic · Closed$5 / $2569.2% Pro · 88.6% VerClaude Code, Cursor, OpenRouter, Bedrock, Vertex
Claude Sonnet 5Anthropic · Closed~$3 / $15near Opus 4.8Claude Code, Cursor
Claude Sonnet 4.6Anthropic · Closed$3 / $15strongCursor, Windsurf, Cline, OpenRouter
Claude Haiku 4.5Anthropic · Closed$1 / $573.3% VerOpenRouter
GPT-5.5OpenAI · Closed$5 / $3058.6% Pro · 88.7% VerCodex CLI, Copilot, Cursor, Azure
GPT-5.3-CodexOpenAI · Closed$1.75 / $14coding-tunedCodex CLI
Gemini 3.1 ProGoogle · Closed$2 / $12 ($4/$18 >200K)54.2% Pro · 80.6% VerGemini CLI, Vertex, Cursor, OpenRouter
Grok 4.xxAI · Closed~$2.60 / $7.80Tier BCursor, OpenRouter
DeepSeek V4-ProDeepSeek · MIT$1.74 / $3.4880.6% VerOpenRouter, Together, DeepInfra, Morph, HF
DeepSeek V4-FlashDeepSeek · MIT$0.14 / $0.2879% VerOpenRouter :free, DeepInfra, Morph, Ollama
DeepSeek V3.2DeepSeek · MIT~$0.23 / ~$1best value classicOpenRouter, Ollama
GLM 5.2Z.ai · Open$1.40 / $4.40 (~$0.45/$3.31 OR)62.1% ProOpenRouter, HF, GLM Coding Plan
GLM-4.7-FlashZ.ai · OpenfreedecentOpenRouter, Ollama
Kimi K2.6Moonshot · Open$0.95 / $4.0080.2% Ver · 58.6% ProOpenRouter, Together, Groq, DeepInfra, HF
Kimi K2.7 CodeMoonshot · Apache 2.0~K2.6, -30% thinkingcoding-tunedOpenRouter, HF
MiniMax M3MiniMax · Open$0.60 / $2.40 (~$0.10/$1.21 OR)80.5% VerOpenRouter, Atlas Cloud
MiniMax M2.7MiniMax · Open$0.30 / $1.2056.2% ProTogether, Atlas Cloud
Qwen3.7-MaxAlibaba · Closed APIvia Alibaba Cloud80%+ VerOpenRouter
Qwen 3.6-27BAlibaba · Apache 2.0free local (22GB)77.2% VerOllama, HF, Together, OpenRouter
Qwen 3.6 PlusAlibaba · Open$0.50 / $3.0061.6% Terminal-BenchTogether, OpenRouter
Qwen3 CoderAlibaba · Apache 2.0free on OpenRouterbest free codingOpenRouter :free, Ollama
Qwen 2.5 Coder 32BAlibaba · Apache 2.0free local (18GB+)best local classicOllama, LM Studio, Continue
Nemotron 3 UltraNVIDIA · OpenMDW~$0.42 / $2.61 (OR)#2 open (AA index)NVIDIA NIM, OpenRouter :free, HF
North Mini CodeCohere · Apache 2.0free local33.4 AA CodingHF, Ollama, vLLM
Codestral 22BMistral · Openfree local (12GB)best autocomplete localOllama, Mistral API, OpenRouter
Devstral Small 24BMistral · Openfree local (16GB)near-frontier localOllama, Mistral API
Llama 4 ScoutMeta · Openfree local / :free ORsolid · 10M ctxHF, Ollama, Groq, Together
Poolside Laguna M.1Poolside · Closedfree tier#1 Kilo usageKilo Code, Poolside
openPangu 2.0Huawei · Openfree localcompetitiveHF, vLLM

The 10x cliff. Five models hit 80.2–80.6% Verified at $2.40–$12/M out. The next 8 pts (GPT-5.5, Opus 4.8 ~88.6%) cost $25–30/M.

Fable 5 caveat. US export-control suspended access June 12, 2026; back for US users ~July 1. Verify outside the US.

Where to run them

Highest throughputCerebras
Lowest first-token latencyGroq
Lowest cost per tokenDeepInfra
Fine-tuning + inferenceTogether / Fireworks
One API across everythingOpenRouter (ZenMux for auto-route)
Media gen — dev / consumerfal.ai / Higgsfield
Compliance / on-prem keysLiteLLM self-hosted
EU data residencyNebius, Mistral, Scaleway
Private / offlineOllama local
ProviderTypeWhat it doesGo
Anthropic APIFirst-partyClaude direct · cache reads at 10% inputopen
OpenAI APIFirst-partyGPT directopen
Google AI StudioFirst-partyGemini direct · free tieropen
DeepSeek APIFirst-partyCheapest frontier-class · off-peak discountsopen
Moonshot APIFirst-partyKimi K2 directopen
Z.aiFirst-partyGLM direct · coding subscriptionopen
Alibaba CloudFirst-partyQwen directopen
Mistral La PlateformeFirst-partyMistral, Codestral · EU-hostedopen
xAI APIFirst-partyGrok directopen
OpenRouterRouter400+ models, one key, fallback · +5.5% credit feeopen
ZenMuxRouterAuto-routing (zenmux/auto), failover, output insuranceopen
HF Inference ProvidersRouterRoutes to 18 hosts · zero markupopen
LiteLLMRouter (self-host)OSS proxy, keys on-prem · SOC 2 / HIPAA pickopen
DeepInfraOpen hostCheapest per token · widest open catalogopen
Together AIOpen hostBroad catalog + fine-tuning · batch 50% offopen
FireworksOpen hostFastest structured output · day-0 releasesopen
GroqSpeed hostLowest first-token latency · free tier 30 RPMopen
CerebrasSpeed hostHighest throughput (~3,000 tok/s) · tiny catalogopen
Novita AIHybrid hostModel APIs + raw GPUs (H100/H200) · spotopen
MorphOpen hostbf16 serving, no fp8 quant · codegen speculative decodeopen
HyperbolicOpen hostBudget batch inferenceopen
fal.aiMedia gen1,000+ image/video/audio models · dev APIopen
ReplicateMedia + LLM50,000+ community Cog modelsopen
HiggsfieldMedia (consumer)50+ video models · $15–99/mo creditsopen
ModalDeploy your ownCode-first GPU containers · <1s cold startopen
BasetenDeploy your ownUI-first deploys · sub-400ms voiceopen
RunPodDeploy your ownRaw GPU rental · cheap spotopen
HF Inference EndpointsDeploy your ownAny Hub model · dedicated autoscalingopen
NebiusDeploy your ownEU-hosted · GDPR-friendlyopen
OllamaLocalFree unlimited · ~0.6GB/B params at Q4open
Ollama CloudManaged localSame CLI/API, hosted GPUs · Pro ~$20/moopen
LM StudioLocalGUI for local modelsopen
vLLMSelf-host engineProduction-grade servingopen

Agents (harnesses)

AgentTypeModelsGo
Claude CodeFirst-party CLI/appClaude familyopen
Codex CLIFirst-party CLIGPT familyopen
Gemini CLIFirst-party CLIGeminiopen
Copilot Agent ModeIDE-nativeGPT familyopen
CursorAI IDEBYOM (Claude, GPT, Gemini…)open
WindsurfAI IDEMultipleopen
ClineVS Code ext · BYOMAnything via OpenRouter/Ollamaopen
RooCodeVS Code ext · BYOMAnything · strong multi-fileopen
AiderTerminal · BYOMAnything · git-nativeopen
Kilo CodeBYOMAnything · free tiers · leaderboardopen
Continue.devVS Code ext · localOllama modelsopen

Cost levers

  • Prompt caching

    Cache reads ~10% of input (Anthropic). Fireworks/Groq 50% off cached. Biggest lever for agent loops.

  • Batch APIs

    50% off async work.

  • Long-context surcharge

    Claude 1M ctx: no premium. Gemini 3.1 Pro: 2x input above 200K.

  • Same model, cheaper host

    DeepSeek V4 Pro: $1.30 DeepInfra vs $1.74 direct vs $2.10 Together.

  • Subscriptions vs API

    Claude Pro/Max, Codex Plus, GLM Coding Plan, OpenCode Go ($10/mo).

  • 1/36th rule

    V4 Flash ≈ 82% of Opus at ~1/36th input price. Let Opus stop doing Flash's job.

Keep up as this moves

One email a week with new guides, tools, and model updates.