Research · Startup Ideas · 4 Oct 2026

SpecDistill

Machine-synthesised by my idea pipeline. Not validated; numbers and claims are unverified unless linked.

Last updated 8 Nov 2026

All startup ideas

At a glance

Compile validated natural-language specs into small, versioned local neural functions — zero per-call API cost, no prompt drift.

AI and developer tools

  1. 1. Problem

    Teams running recurring text-processing functions (classification, extraction, triage, routing) pay per-call LLM API costs forever, and…

  2. 2. Solution

    A tool + service that compiles a validated NL spec into a small local neural function: teacher model generates training examples from the…

  3. 3. Path to customers

    Open-source CLI for individual devs (bottom-up, Cursor/OpenCode communities) → hosted distillation + registry for teams.

1.Concept

Compile validated natural-language specs into small, versioned local neural functions — zero per-call API cost, no prompt drift. A tool + service that compiles a validated NL spec into a small local neural function: teacher model generates training examples…

Read the full text

Compile validated natural-language specs into small, versioned local neural functions — zero per-call API cost, no prompt drift.

A tool + service that compiles a validated NL spec into a small local neural function: teacher model generates training examples from the spec + real traffic samples → trains a lightweight adapter → versions it like code (spec-in, function-out). Runs locally, zero per-call API cost, regression-tested against the spec.

Why now

EMNLP 2026 compile-by-training paper published; API premium-tier pricing rising; chained-prompt research proves narrow functions are separable

2.Design sketch

Spec parser (structured function contract) → example generator (teacher LLM + production samples) → LoRA/adapter trainer on 3B-class base → evaluation harness (regression against spec tests) → versioned artifact registry → local runtime (llama.cpp/ONNX).

Read the full text

Spec parser (structured function contract) → example generator (teacher LLM + production samples) → LoRA/adapter trainer on 3B-class base → evaluation harness (regression against spec tests) → versioned artifact registry → local runtime (llama.cpp/ONNX). CLI-first, CI/CD hooks.

3.Startup workflow

Hypothetical business model from the pipeline, not an offer

Open-source CLI for individual devs (bottom-up, Cursor/OpenCode communities) → hosted distillation + registry for teams. Wedge: one high-volume function class first (support-ticket triage) with published cost-savings benchmarks.

4.Market brief

Pipeline estimate, unverified

TAM: ~$15B global LLM API spending by 2027; 20-30% is high-volume, narrow-function traffic → ~$3-4.5B addressable. SAM: SMB/mid-market AI app developers (OpenCode/Cursor ecosystem, ~500K+ agent developers) — ~$600M-1B.

Read the full text

TAM: ~$15B global LLM API spending by 2027; 20-30% is high-volume, narrow-function traffic → ~$3-4.5B addressable.

SAM: SMB/mid-market AI app developers (OpenCode/Cursor ecosystem, ~500K+ agent developers) — ~$600M-1B.

SOM (3yr): 1-2% of SAM via open-core + hosted distillation — ~$10-15M ARR potential.

ContextForge/CacheForge/TokenMizer-style tools optimize prompts and caching; inference providers optimize hosted models. Nobody owns the "compile spec → local function" step. The EMNLP 2026 "Compile by Training" paper (83.6% semantic accuracy, no per-call cost) is the methodological anchor; no productized implementation exists.

5.Need

Problem statement from the pipeline, unverified unless linked

Evidence of need: Strong (4 linked, 0 unlinked)

Rated by counting findings with a public link: 3 or more is Strong, 1-2 is Some, none is Unverified.

Teams running recurring text-processing functions (classification, extraction, triage, routing) pay per-call LLM API costs forever, and their prompt "functions" drift with every model upgrade.

Read the full text

Teams running recurring text-processing functions (classification, extraction, triage, routing) pay per-call LLM API costs forever, and their prompt "functions" drift with every model upgrade. There's no path from a proven natural-language spec to a cheap, versioned, locally-runnable function.

6.Innovation

Innovation level

High

Pipeline score 8 of 10

From the pipeline's novelty score: 8-10 High, 5-7 Medium, 1-4 Low.

Feasibility

High

Pipeline score 8 of 10

From the pipeline's feasibility score: 8-10 High, 5-7 Medium, 1-4 Low.

7.Revenue potential

Pipeline estimate, unverified

Revenue band

High

Largest money figure in the pipeline's market-size text: 10 B or more High, 1-10 B Medium, under 1 B Low, no figure Not rated.

Original basis

$3-4.5B addressable (of $15B LLM API spending by 2027)

8.Evidence

9.Risks

  • Quality gap: distilled functions may under-serve edge cases → mitigate with confidence-based fallback to full model.
  • Model churn: base model improvements may shrink the cost gap → target privacy-sensitive + offline use cases too.
  • Incumbent entry: OpenAI/Anthropic could ship distillation features → open-source + local-first is the moat.

Working on something similar? Let's compare notes.

Get in touch