Onlook
Open-source, AI-first visual editor for designing directly in React code.
Best for
Designers and developers turning ideas into UI or slides, especially if you want to self-host.
Skip it if
You don't want a vendor or server holding your key or you need offline or local models.
Rank in Design & Presentations
4th of 13 by editor score
Key Safety
62/100 (grade B), safer than 17% of its category
Overview
Onlook is an open-source design tool where you visually edit and style a Next.js and Tailwind app while an AI agent writes the code. The hosted product is a subscription, and the self-hosted version runs with your own model provider key.
Key features
- Visual editing of React code
- AI agent for changes
- Tailwind styling panel
- Branching and checkpoints
Works with these providers
2 provider options, fewer than the 3.5 average for design & presentations. Usage is billed by the provider at its list price.
Our verdict
Onlook is ranked 4th of 13 design & presentations on BYOK Tools and trails its category on key safety. Its standout strength: bridges designers and developers. The main trade-off: BYOK only when self-hosted.
What we like
- Bridges designers and developers
- Apache-2.0 licence
Watch out for
- BYOK only when self-hosted
- Focused on Next.js and Tailwind
How Onlook compares
Against the highest-rated design & presentations on BYOK Tools. Scores are out of 5 (editor) and 100 (Key Safety).
| Tool | Editor score | Key Safety | Pricing | Providers | Open source | Local models | Key stays local |
|---|---|---|---|---|---|---|---|
| Onlook | 4.1 | 62 | Freemium | 2 | – | – | |
| Screenshot to Code | 4.6 | 86 | Freemium | 3 | – | ||
| ALLWEONE Presentation AI | 4.1 | 74 | Open source | 3 | – | ||
| Next AI Draw.io | 4.1 | 100 | Open source | 9 | |||
| OpenUI | 4.1 | 100 | Open source | 5 |
- Want it free? ALLWEONE Presentation AI is the top-rated free option in this category.
- Prioritising key safety? Screenshot to Code scores 86/100.
How to use Onlook with your own API key
- 1
Create an API key
Get a key from your provider's console: Anthropic, OpenRouter. Create a separate key just for Onlook so you can revoke it on its own.
- 2
Set a spending limit
Set a monthly budget or usage cap in the provider dashboard before you start. It is the simplest protection against a leaked key or a runaway agent.
- 3
Install Onlook
Deploy Onlook on your own server (most projects ship a Docker image), then open its web interface.
- 4
Add your key
Paste the key into Onlook's provider or model settings. Your key is stored by the service (usually encrypted) and requests may route through its servers.
What it costs to run Onlook
Pricing for Onlook itself: Freemium (Free tier; paid plans; self-host free). Model usage is billed by your provider. Estimated monthly API spend by usage level, using live list prices:
| Model | Light~5 messages a day | Regular~20 messages a day | Heavy~80 messages a day |
|---|---|---|---|
| Claude Haiku 5.5Anthropic · Budget | $0.031 | $0.24 | $2.78 |
| Claude Fable 5.2Anthropic · Flagship | $2.48 | $19 | $222 |
Estimates assume typical chat-length messages with conversation history and no prompt caching. Prices from OpenRouter's public models API. Run your own numbers.
BYOK Key Safety Score
Key handling in Onlook
Grade B
Your key is stored by the service (usually encrypted) and requests may route through its servers.
Category average: 84/100
- Key storage18/40
Key is held by the vendor, so you rely on their security.
- Auditable code25/25
Open source: anyone can verify how keys are handled.
- Self-hosting15/15
Can run entirely on your own infrastructure.
- Offline option0/10
Cloud providers only.
- Provider choice4/10
2 provider options, which lets you pick the provider whose data terms you trust.
Whatever the score, give each app its own key, set a monthly spend limit with your provider, and revoke keys you no longer use. Read the key-safety checklist.
Onlook FAQ
- Does Onlook support bring your own key?
- Yes. Onlook accepts your own API key from Anthropic and OpenRouter. Usage is billed by the provider at its API rates.
- Where does Onlook store my API key?
- On the vendor's or your own server, and requests may be routed through it. Its BYOK Tools Key Safety Score is 62/100.
- Is Onlook free?
- Freemium: Free tier; paid plans; self-host free. API usage is billed separately by your model provider.
- How much does it cost to use Onlook with my own API key?
- For regular use (about 20 messages a day), API costs run from roughly $0.24 to $19 a month depending on the model, based on current list prices.
- Is Onlook open source?
- Yes. The source code is at https://github.com/onlook-dev/onlook. It can also be self-hosted.
- Can Onlook run local models?
- No. Onlook works with cloud providers only.
- Which platforms does Onlook support?
- Web, Self-hosted.
- What are the best alternatives to Onlook?
- Popular alternatives include Screenshot to Code, Next AI Draw.io, SlideDeck AI and Presenton. See the comparison table above for pricing, providers and key safety side by side.
Community reviews
No reviews yet.
Alternatives to Onlook
All design & presentations →Screenshot to Code
Design & Presentations
Turn screenshots, mockups and Figma designs into clean HTML, Tailwind, React or Vue.
Next AI Draw.io
Design & Presentations
Create and edit draw.io diagrams through chat with your model of choice.
SlideDeck AI
Design & Presentations
Co-create PowerPoint decks with the LLM of your choice.
Presenton
Design & Presentations
Open-source AI presentation generator that runs locally with your keys.
ALLWEONE Presentation AI
Design & Presentations
Open-source Gamma alternative for generating editable slide decks.
OpenUI
Design & Presentations
Describe a UI in words and see it rendered live, then export the code.