New AI Models in Figma to shadcn/ui Plugin
The Figma to shadcn/ui plugin now turns designs into code with OpenAI GPT-6, xAI Grok, Claude Opus 5.5 and Gemini 4. One API key covers each provider's models.

The Figma to shadcn/ui plugin now generates shadcn/ui code from your Figma designs with AI models from four providers: Anthropic, Google, OpenAI and xAI. This update adds Claude Fable 5.2, Opus 5.5, Sonnet 5.5 and Haiku 5.5, three Gemini 4 models and Gemini 3.8 Flash, four GPT-6 models, and Grok 4.7 and Grok 4.20 Reasoning. Claude Opus 5.5 is the new default, and one API key per provider works for every model from that provider.
The model picker in the plugin settings is now grouped by provider.

Anthropic Claude models
Four Claude models are new:
- Claude Fable 5.2 is Anthropic's most capable model. Anthropic describes it as built "for demanding reasoning and long-horizon agentic work" and prices it above the Opus tier.
- Claude Opus 5.5 is the plugin's new recommended model and is selected by default. Anthropic describes it as "for long-running agentic coding and knowledge work".
- Claude Sonnet 5.5 is, in Anthropic's words, "the best combination of speed and intelligence".
- Claude Haiku 5.5 is Anthropic's fastest model, aimed at high-volume, latency-sensitive tasks.
Claude Fable 5, Sonnet 5, Opus 4.8, Opus 4.7 and Sonnet 4.6 stay in the list. Claude Fable 5.2 and Claude Fable 5 need an Anthropic organization with standard 30-day data retention. Organizations on Anthropic's legacy zero data retention can't use them unless Anthropic approves it.
Google Gemini models
Google's group now has Gemini 4 Carbon, Gemini 4 Neon, Gemini 4 Hydrogen and Gemini 3.8 Flash, next to Gemini 3.1 Pro Preview. On its models page, Google calls Gemini 4 Carbon its strongest reasoning model, built for complex software engineering. It describes Gemini 4 Neon as frontier-level intelligence with fast end-to-end task completion, and Gemini 4 Hydrogen as speed and efficiency for everyday coding and agentic workflows. Gemini 3.8 Flash takes the place of Gemini 3.5 Flash.
The plugin now sends your Gemini API key in a request header (x-goog-api-key) instead of the URL's query string, so the key no longer appears in request URLs.
OpenAI GPT models
You can now pick OpenAI's GPT-6 models in the plugin. OpenAI describes them like this on its models page:
- GPT-6.2 Astra: "Our most capable model for your hardest projects, from start to finish."
- GPT-6.2 Sol: "Our go-to model for everyday work, from coding to powering agents at scale."
- GPT-6.1 Terra: "A fast, efficient model for visual reasoning, precise computer use, and clear, natural writing."
- GPT-6 Luna: "Our most efficient model for focused, high-volume tasks."
The plugin calls the GPT-6 models at medium reasoning effort, with an API key from the OpenAI platform. Every request to OpenAI asks it not to store the request.
xAI Grok models
xAI is a new provider, with two models: Grok 4.7 and Grok 4.20 Reasoning. xAI's models page says that for code you should "use Grok 4.7. It is the most capable model we've built." Grok 4.20 Reasoning is the reasoning version of xAI's Grok 4.20 model and has a lower per-token price than Grok 4.7. As with OpenAI, the plugin asks xAI not to store your requests.
Once you verify an xAI key on one Grok model, the other Grok model uses it too:

Which model should you use?
Start with Claude Opus 5.5, the plugin's default. Anthropic suggests moving to Fable 5.2 when Opus 5.5 at higher effort still falls short. We haven't run a benchmark of these models on Figma to code, so the table below follows each provider's own guidance.
| Provider | Provider's first pick | Faster or lower-cost pick |
|---|---|---|
| Anthropic | Claude Opus 5.5 | Claude Sonnet 5.5, Claude Haiku 5.5 |
| OpenAI | GPT-6.2 Astra | GPT-6.2 Sol, GPT-6 Luna |
| Gemini 4 Carbon | Gemini 4 Hydrogen | |
| xAI | Grok 4.7 | Grok 4.20 Reasoning |
Anthropic says to start with Opus 5.5 "for most workloads". OpenAI says to use GPT-6.2 Astra "if you're not sure where to start", GPT-6.2 Sol "to balance intelligence and cost" and GPT-6 Luna for "cost-sensitive, high-volume workloads". Google calls Gemini 4 Carbon its strongest reasoning model and Gemini 4 Hydrogen the one for speed and efficiency. xAI points to Grok 4.7 for code, and Grok 4.20 Reasoning costs less per token.
If you already pay one of these providers, start with that provider's first pick and the key you have. The plugin shows the approximate input token count for the selected frame before you press Build it, and each provider publishes its per-token prices, so you can compare the cost of the same frame across models. The result also depends on your Figma file. Frames built with the shadcn/ui kit for Figma and its variables give every model the same, well-named structure to work from. We wrote more about that in why AI in Figma depends more on structure than prompts.
Removed models
Gemini 3.5 Flash. Google has taken Gemini 3.5 Flash out of AI Studio and lists it on its deprecations page. If you had it selected, the plugin moves you to Gemini 3.8 Flash the next time it starts, and your Google key moves with it.
v0 1.5 Medium and v0 1.5 Large. The v0 Model API no longer responds to requests, so these models can't generate code, and the plugin couldn't verify v0 keys. Both models are gone from the picker. If one of them was selected, the plugin clears that choice and the saved v0 key when it starts, and you pick another model. Open in v0 and Copy CLI still work after each generation. Open in v0 is available when Next.js is your selected framework, and both links last 24 hours.
API key setup
The plugin works with your own API key. Your provider bills the tokens each generation uses, and the plugin license is separate from that. The plugin includes 15 free uses before you need a license.
One key per provider covers all of its models. If you already saved a Claude or Gemini key, the plugin copies it to that provider's new models when it starts, so Claude Opus 5.5 or Gemini 4 Carbon work without entering the key again. For OpenAI and xAI you add a key once:
- Create an API key with your provider and add credits to the account.
- Open the plugin settings and pick a model from that provider.
- Paste the key and press Verify API key.
The key is stored on your device, in Figma's local plugin storage. The plugin security page describes what is sent to each provider. Step-by-step instructions for each provider are in the docs:
FAQ
Can I use ChatGPT or GPT models in the Figma to shadcn/ui plugin?
Yes. The plugin supports OpenAI's GPT-6.2 Astra, GPT-6.2 Sol, GPT-6.1 Terra and GPT-6 Luna through the OpenAI API. You need an API key from the OpenAI platform with credits on it; you don't sign in with a ChatGPT account.
Does the plugin support Grok?
Yes. Grok 4.7 and Grok 4.20 Reasoning from xAI are in the model picker. One xAI API key works for both.
Which AI model is best for Figma to code?
We recommend Claude Opus 5.5, which is the plugin's default. For the other providers, use the model each one recommends first: GPT-6.2 Astra for OpenAI, Gemini 4 Carbon for Google and Grok 4.7 for xAI.
Do I need my own API key?
Yes. Code generation runs on your API key from Anthropic, Google, OpenAI or xAI, and that provider bills you for the tokens. Learn how tokens and keys work in the API keys and tokens lesson.
What happened to the v0 models?
The v0 Model API stopped responding, so v0 1.5 Medium and v0 1.5 Large were removed and v0 keys no longer work in the plugin. The Open in v0 and Copy CLI buttons still work on generated code.
Will my existing API key work with the new models?
Yes, within the same provider. A saved Claude key works for Claude Fable 5.2, Opus 5.5, Sonnet 5.5 and Haiku 5.5, and a saved Gemini key works for the Gemini 4 models and Gemini 3.8 Flash. OpenAI and xAI need their own keys.
The last plugin update added code generation for your stack, with Base UI, Vite, React Router and TanStack Start. If you'd rather build whole screens from your code editor, the agent skills do Figma to shadcn/ui code from Claude Code, Cursor or Codex.


