Bring your own AI
Blocwrite works with OpenRouter (cloud models) or LM Studio (local models). Pick one in the app under Profile → AI — both stay fully supported.
OpenRouter (cloud)
Use hundreds of models via your own API key. Keys and requests go between your browser and OpenRouter — Blocwrite does not bundle credits.
- Create an account at openrouter.ai and create an API key.
- In Blocwrite: Profile → AI → choose OpenRouter, paste your key, then Refresh models and pick one.
- Optional: change Base URL only if you use a proxy; default is
https://openrouter.ai/api/v1.
Many models have free tiers on OpenRouter; you control cost and model choice.
LM Studio (local)
Run models on your machine. No OpenRouter key needed for this path — switch provider in Settings whenever you want cloud models again.
- In LM Studio: load a model and start the server (Developer tab).
- In LM Studio: open Server Settings and turn on Enable CORS.
- In Blocwrite: Profile → AI → choose LM Studio (local), paste the Base URL from LM Studio’s Local Server panel, then pick your model.
Safari blocks local HTTP — use Chrome or Firefox. If Brave fails, disable Shields for this site.