← Back to Storyboard

Skills System — Token Economy Benchmark

144 trials × 3 configurations × 4 scene counts (6/9/12/24) × 4 scenario variants × 3 briefs. Synthetic estimator calibrated to per-call token shapes. Cost units = billed input + 10× output (output is ~10× input price). Live-render numbers via npm run bench:skills:real.

Configurations

C1No agent SDKNaive baseline
C2Agent SDKCurrent production
C3Agent SDK + Skills SystemThis phase

Scenario A · thin brief → quality output

User types a short prompt like “12 bear scenes catching salmon, Ghibli style.” Without the SDK they must manually orchestrate plan → develop → anchor → optimize, with realistic 1.7× iteration, before any render. The agent SDK collapses the entire pipeline into a single cached agent context.

6 scenes
9.3×
cheaper than no-agent
9 scenes
10.2×
cheaper than no-agent
12 scenes
10.9×
cheaper than no-agent
24 scenes
13.8×
cheaper than no-agent
6-scene project
C1
110248 cost
C2
11804 cost
C3
11924 cost
9-scene project
C1
175817 cost
C2
17288 cost
C3
17468 cost
12-scene project
C1
249035 cost
C2
22772 cost
C3
23012 cost
24-scene project
C1
618418 cost
C2
44706 cost
C3
45186 cost

Scenario B · pre-detailed prompts → render only

User has done the scene authoring themselves and provides finished per-scene render prompts. The SDK still saves on architecture overhead (single static prefix + tool schemas registered once + cache discipline). The wow story lives in scenarios A and C.

6 scenes
1.6×
cheaper than no-agent
9 scenes
1.7×
cheaper than no-agent
12 scenes
1.7×
cheaper than no-agent
24 scenes
2.0×
cheaper than no-agent
6-scene project
C1
18723 cost
C2
11804 cost
C3
11924 cost
9-scene project
C1
28928 cost
C2
17288 cost
C3
17468 cost
12-scene project
C1
39696 cost
C2
22772 cost
C3
23012 cost
24-scene project
C1
88392 cost
C2
44706 cost
C3
45186 cost

Scenario C · fragmented APIs (40-model catalog)

Same thin brief as A, BUT the user must integrate against ~40 separate model providers (fal, gemini, runway, …) without a unified SDK. Per-scene MODEL-PICKER round (all 40 schemas pasted in context) + PARAM-MAPPING round (translate scene → chosen-provider schema), iterated 1.5× because picks fail and params get rejected. The unified SDK collapses this into one normalized capability registry.

6 scenes
15.2×
cheaper than no-agent
9 scenes
16.2×
cheaper than no-agent
12 scenes
17.1×
cheaper than no-agent
24 scenes
20.1×
cheaper than no-agent
6-scene project
C1
179998 cost
C2
11804 cost
C3
11924 cost
9-scene project
C1
280442 cost
C2
17288 cost
C3
17468 cost
12-scene project
C1
388535 cost
C2
22772 cost
C3
23012 cost
24-scene project
C1
897418 cost
C2
44706 cost
C3
45186 cost

Scenario C · fragmented APIs (100-model catalog)

The next bar — 100-provider saturated marketplace. Per-scene model-picker has 2.5× more provider schemas to scan. This is where the wow saving lives: complex long-form content from a thin prompt, against a fragmented model marketplace.

6 scenes
21.0×
cheaper than no-agent
9 scenes
22.1×
cheaper than no-agent
12 scenes
23.0×
cheaper than no-agent
24 scenes
26.1×
cheaper than no-agent
6-scene project
C1
247498 cost
C2
11804 cost
C3
11924 cost
9-scene project
C1
381692 cost
C2
17288 cost
C3
17468 cost
12-scene project
C1
523535 cost
C2
22772 cost
C3
23012 cost
24-scene project
C1
1167418 cost
C2
44706 cost
C3
45186 cost

🎬 Scenario D · Professional 4-step workflow

Real professional creators don't ship single text-to-image renders. The canonical pro workflow per scene is a 4-step chain that fans out across 4 different modalities, each requiring a distinct model and parameter mapping:

  1. Text → Image — generate the hero shot / key frame for the scene (prompt + style + character lock)
  2. Image → Video — animate the key frame into a motion clip via i2v (motion prompt + duration + dimensions match)
  3. Text → Audio — TTS dialogue or music score for the scene
  4. Video + Audio → Final asset — sync, format-coerce, and compose the deliverable scene clip

Without a unified SDK, EACH step needs its own model-picker round (different modality-aware schemas) + param-mapper round + URL plumbing between providers. With the SDK, it's 4 tool calls in one cached agent context.

Scenario D · minimal 4-step pro workflow (40-model catalog)

The ship-something baseline: t2i → i2v → t2a → mix. 4 model calls per scene, each requiring its own picker + mapper round in C1 plus chain-reasoning rounds for inter-step URL plumbing.

6 scenes
21.9×
cheaper than no-agent
9 scenes
22.5×
cheaper than no-agent
12 scenes
23.0×
cheaper than no-agent
24 scenes
24.6×
cheaper than no-agent
6-scene project
C1
480748 cost
C2
21932 cost
C3
22052 cost
9-scene project
C1
731567 cost
C2
32480 cost
C3
32660 cost
12-scene project
C1
990035 cost
C2
43028 cost
C3
43268 cost
24-scene project
C1
2100418 cost
C2
85218 cost
C3
85698 cost

Scenario D · minimal 4-step pro workflow (100-model catalog)

Same 4-step minimal pipeline against the saturated 100-provider marketplace.

6 scenes
34.2×
cheaper than no-agent
9 scenes
35.0×
cheaper than no-agent
12 scenes
35.6×
cheaper than no-agent
24 scenes
37.3×
cheaper than no-agent
6-scene project
C1
750748 cost
C2
21932 cost
C3
22052 cost
9-scene project
C1
1136567 cost
C2
32480 cost
C3
32660 cost
12-scene project
C1
1530035 cost
C2
43028 cost
C3
43268 cost
24-scene project
C1
3180418 cost
C2
85218 cost
C3
85698 cost

🎯 Scenario E · Typical 7-step pro workflow

What real production teams actually ship — voice + score + color consistency + upscale on top of the minimal D pipeline:

  1. Text → Image — hero shot / key frame
  2. Image → Upscaled image — sharpen for clean i2v input
  3. Image → Video — animate the key frame
  4. Video → Color-graded video — palette consistency across scenes
  5. Text → Voice — TTS dialogue
  6. Text → Music — background score
  7. Video + Voice + Music → Final asset — sync, format, compose

7 model calls per scene. Each step needs its own model-picker round (different modality-aware schemas) and param-mapper round in C1, plus URL plumbing between steps. The agent SDK absorbs all of it as 7 cheap tool calls in one cached conversation context.

Scenario E · typical 7-step pro workflow (40-model catalog)

What real production teams ship at today's catalog size. Voice + score + color grade + upscale + the canonical t2i/i2v/mix backbone.

6 scenes
24.2×
cheaper than no-agent
9 scenes
24.6×
cheaper than no-agent
12 scenes
25.0×
cheaper than no-agent
24 scenes
26.1×
cheaper than no-agent
6-scene project
C1
775873 cost
C2
32054 cost
C3
32174 cost
9-scene project
C1
1174254 cost
C2
47663 cost
C3
47843 cost
12-scene project
C1
1580285 cost
C2
63272 cost
C3
63512 cost
24-scene project
C1
3280918 cost
C2
125706 cost
C3
126186 cost

Scenario E · typical 7-step pro workflow (100-model catalog)

The peak case in the bench — typical pro workflow × saturated 100-provider marketplace. The largest honest synthetic saving.

6 scenes
38.9×
cheaper than no-agent
9 scenes
39.5×
cheaper than no-agent
12 scenes
39.9×
cheaper than no-agent
24 scenes
41.1×
cheaper than no-agent
6-scene project
C1
1248373 cost
C2
32054 cost
C3
32174 cost
9-scene project
C1
1883004 cost
C2
47663 cost
C3
47843 cost
12-scene project
C1
2525285 cost
C2
63272 cost
C3
63512 cost
24-scene project
C1
5170918 cost
C2
125706 cost
C3
126186 cost

What you get on top of the savings

  • 100% routing accuracy on 50 curated multi-scene briefs across 9 intent categories
  • ~70 added tokens per turn for compiled skill rules — well below the 1.5KB hard cap
  • Auto-pinned skills survive page reloads via localStorage; user preferences become session-stable
  • Self-learning — after enough thumbs-up votes on a pattern not yet covered by an existing skill, the system drafts a new one for you to promote
  • Privacy-isolated telemetry — per-bucket cookie auth, hashed blob keys, no cross-user mixing

Methodology — Scenario A (thin)

C1 user runs four phases per project before render: Planner (1 call), Scene Developer (N calls reading brief + style + ALL prior scene full texts), Anchor Checker (N calls), Prompt Optimizer (N calls). 1.7× iteration multiplier. Output sized realistically (1000-1500 chars per scene from a quality LLM).

Methodology — Scenario C (fragmented)

Same as A, plus per-scene model-picker round (all provider schemas pasted in context: 40 or 100 × ~500 chars each) and param-mapping round (translate scene → chosen-provider schema). Both rounds iterate 1.5× because real users retry when picks fail or params get rejected.

Methodology — Scenario D (multistep)

Inherits Scenario A pipeline + Scenario C's fragmented overhead, then fans out per scene across 4 steps. Each step pays its own picker (full catalog scan) + mapper, with step-specific extra context (i2v needs image dimension constraints, mix needs sync requirements). Plus 4 chain-reasoning rounds per scene for inter-step URL plumbing (3 transitions + 1 extra coordination round because mix consumes BOTH step 2 and step 3 outputs). Picker/mapper iterate at 1.5×; chain reasoning at 2× (chain failures dominate retries — format mismatches and codec issues across providers). C2/C3 absorb all of this via tool chaining in one cached agent loop.

Both scenarios — C2 and C3

Single agent loop. Static prefix (system + tool schemas + style guide) cached at 90% rate after turn 0. C3 adds a ~360-char compiled-rules block per turn that doesn't cache; trade-off is marginal cost per turn vs better routing → fewer retries.

Sources: plan §6 · bench README · token-model.ts · demo walkthrough