Urgent.News

What's breaking now, across thousands of outlets.

Tech

Figma-to-Code at Scale: What Actually Drives Cost, Quota, and Quality

Or: why the "smart" way to fetch Figma designs turned out to be the expensive way. TL;DR: The "fetch a lightweight outline first" advice is backwards — it cost almost as much as fetching everything at once, and up to 2× more on plain, un-componentized files. The real cost isn't the token bill everyone watches — it's Figma's hard API quota (one bad fetch pattern turns a 50-screen project from half…

Figma-to-code workflows often advise grabbing a lightweight outline first to fetch only the necessary styling, but this approach may be counterproductive. Testing revealed that fetching a lightweight outline can cost almost as much as fetching everything at once, and in some cases, up to twice as much. The real costs are not the token bill that everyone watches but Figma's hard API quota and the hidden tax of an AI agent re-reading everything it has fetched.

The cost of fetching a file depends mainly on the file's construction, the number of times Figma's API can be called, and the hidden tax of the AI agent re-reading everything fetched. To measure this, the author pointed Figma's remote MCP server at six frames inside one file, including five plain screens and one proper screen from Figma's Simple Design System (SDS) example.

The results showed that the SDS About page, built with real components and Code Connect, had almost double the number of visible nodes but cost 40% less than the plain-frame page.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

BioSwift Devlog #1: Let's Compile DNA in Swift

Howdy! I am currently working on building a bioinformatics library for Swift, like BioPython, Rust-Bio, and BioRuby. I am building it on a MacBook Pro from 2018, and I have already faced a few…

More from Friday 25 September →