Skip to content

CYPHIR Benchmark

60% of AI-generated code
is human overhead.

CYPHIR is the AI-native authoring format.

Same web output. Fewer tokens. Better code.

Your token limit just got 2.5x longer.

The overhead exists in all web code. AI is the first author that doesn't need it — so we built a format that doesn't produce it.

0%More Code Per Dollar
0%Fewer Output Tokens
0%A11y Compliance
Scroll

About CYPHIR

CYPHIR is an AI-native authoring format. It replaces the verbose, human-readable code that AI models currently generate with a compact intermediate representation that compiles to standards-compliant web output.

The thesis is simple: 60–80% of AI-generated web code exists solely for human readability. Eliminate that overhead, and you reduce token costs, latency, and error surface — while the browser receives identical output.

CYPHIR was developed by @DrDriftwood and Large Format (LRGFRMT.com).

A Layer-by-Layer Diagnostic

Every layer of the web stack carries human-readable overhead that AI doesn't need. The warm-toned segments represent tokens that exist purely for human comprehension.

OVERHEAD
REQUIRED

Same output.
A fraction of the tokens.

Seven UI components. Two authoring approaches. Identical visual output. The token counts speak for themselves.

Never hit the token wall mid-build again.

lowA single content card with image, title, description, tag/badge, and CTA button. Includes hover states.

Traditional
187 tokens
<div class="max-w-sm rounded-xl overflow-hidden shadow-lg bg-slate-800 hover:shadow-2xl transition-shadow duration-300">
  <img class="w-full h-48 object-cover" src="/image.jpg" alt="AI-generated abstract visualization">
  <div class="p-6">
    <span class="inline-block bg-indigo-500/20 text-indigo-400 text-xs font-semibold px-3 py-1 rounded-full mb-3">
      Research
    </span>
    <h3 class="text-xl font-bold text-slate-50 mb-2">The Human Overhead Thesis</h3>
    <p class="text-slate-400 text-sm leading-relaxed mb-4">
      60–80% of AI-generated web code exists purely for human readability. We measured it.
    </p>
    <button class="w-full bg-indigo-600 hover:bg-indigo-500 text-white font-medium py-2.5 px-4 rounded-lg transition-colors duration-150">
      Read More
    </button>
  </div>
</div>
CYPHIR IR
142 tokens
{
  "v": 1,
  "tokens": {
    "c": {"p": "#6366f1", "bg": "#1e293b", "fg": "#f8fafc", "mt": "#94a3b8", "pbg": "#6366f133", "ptx": "#818cf8"},
    "sp": [0, 4, 8, 12, 16, 24, 32, 48],
    "fs": [12, 14, 16, 18, 20, 24],
    "r": [0, 4, 8, 12, 16],
    "sh": {"lg": "0 10 15 -3 #0004", "xl": "0 20 25 -5 #0006"}
  },
  "tree": [
    {
      "id": "card", "maxw": 384, "r": 4, "ov": "hidden",
      "sh": "lg", "bg": "bg", "tr": "all 300",
      "c": [
        {"tag": "img", "src": "/image.jpg", "alt": "AI-generated abstract visualization", "w": "100%", "h": 192, "fit": "cover"},
        {
          "id": "body", "p": 6,
          "c": [
            {"id": "badge", "txt": "Research", "bg": "pbg", "fc": "ptx", "fs": 0, "fw": 600, "px": 3, "py": 1, "r": 4, "d": "inline-block", "mb": 3},
            {"tag": "h3", "txt": "The Human Overhead Thesis", "fs": 4, "fw": 700, "fc": "fg", "mb": 2},
            {"tag": "p", "txt": "60–80% of AI-generated web code exists purely for human readability. We measured it.", "fc": "mt", "fs": 1, "lh": 1.6, "mb": 4},
            {"id": "cta", "tag": "button", "txt": "Read More", "w": "100%", "bg": "p", "fc": "#fff", "fw": 500, "py": 3, "px": 4, "r": 3, "tr": "all 150", "cur": "pointer"}
          ]
        }
      ]
    }
  ],
  "states": {
    "card": {"hover": {"sh": "xl"}},
    "cta": {"hover": {"bg": "#818cf8"}}
  }
}
TOKEN REDUCTION24%
BYTES628 → 892
A11Y TRADITIONAL88%
A11Y CYPHIR100%
Rendered Output
Image
Research

The Human Overhead Thesis

60–80% of AI-generated web code exists purely for human readability. We measured it.

Identical. The authoring format changed. The output didn't.

The Numbers

Aggregate metrics across all seven test cases. Every measurement uses the same tokenizer (cl100k_base).

More Code Per Dollar
0%
Same token budget builds 2.5x more components
Avg Token Reduction
0%
Across 7 UI components of increasing complexity
Cost Per Generation
$0.012$0.005
At Sonnet 4.6 pricing ($15/M output tokens)
Projected Enterprise Savings*
$328K–$548K
Based on 100M output tokens/day (Sonnet–Opus pricing)

Tokens per Test Case

Cumulative Token Divergence

Test CaseTraditionalCostCYPHIRCostReductionA11y
Content Card187$0.0028142$0.002124%100%
Responsive Nav312$0.0047168$0.002546%100%
Data Table445$0.0067198$0.003055%100%
Form + Validation523$0.0078215$0.003259%100%
Dashboard Layout892$0.0134324$0.004964%100%
Dark Mode Toggle634$0.0095187$0.002870%100%
Animated Hero756$0.0113267$0.004065%100%
Total3,749$0.05621,501$0.0225

Costs calculated at Claude Sonnet 4.6 output pricing ($15/M tokens)

The Architecture

CYPHIR removes the human-readable layer between AI intent and browser execution. Three stages. Zero runtime overhead.

01

AI Authors Intent

The AI generates a compact IR document — just structure, tokens, and relationships. No verbose syntax, no human-readable naming.

{ "id": "card", "maxw": 384,
  "r": 4, "sh": "lg",
  "c": [{ "tag": "h3",
    "txt": "Title", "fw": 700 }] }
02

Compiler Transforms

The CYPHIR compiler expands the IR into standards-compliant HTML, CSS, and JS — injecting accessibility, semantics, and best practices automatically.

IR → semantic HTML
IR → optimized CSS
IR → ARIA attributes
IR → responsive rules
IR → interaction handlers
03

Browser Renders

The browser receives standard web code — identical to hand-authored output. No runtime, no framework, no dependencies. Just HTML, CSS, and JS.

<div class="card" role="article"
  aria-label="Content card">
  <h3>Title</h3>
  <style scoped>/* optimized */</style>
</div>

Roadmap

Tier 1: AI-Native Authoring FormatNOW
Tier 2: AI-Native FrameworkNEXT
Tier 3: AI-Native RuntimeVISION