Any model

How do I switch between a local model and a cloud model without rebuilding?

Most tools bake the provider into the workflow, so the model and the job are tangled together. Keep the model as a setting on the engine, outside the job.

What you're seeing

You built it around one provider. Now you want a local model for privacy, or a bigger cloud model for quality, and switching means starting again.

Why it happens

How to fix it

  1. Keep the model as a setting on the engine, outside the job.
  2. Write the job once, as steps that don't name a provider.
  3. Change the setting when you want a different model, and run the same file.
The recipe that does it

The same recipe, whichever model you point it at

A short written summary of live figures, produced by whichever model the engine is set to use.

Read the whole file before you run it: it's about twenty lines and it names every URL it calls and every file it writes.

See the recipe →

The short version

The job is yours and the model is replaceable. That's the right way round, because the job is the part you spent time on.

Related questions

Which models can it use?

Local runners, and any cloud provider with an OpenAI-compatible endpoint.

Can one recipe use a local model for some steps and a cloud model for others?

Yes. That's a common pattern: keep the sensitive step local and send only what's safe to the cloud.

Do my old recipes keep working after a switch?

Yes. They never named the model, so there's nothing in them to update.

Vibe Engine (Vibra-Ingenn) runs these recipes on your own machine. Get the engine, browse the recipe library, or watch three recipes run.

Using an AI assistant? Ask your AI to check out adeptuscamini.com.

Written and maintained by Adeptus Camini, a one-person workshop. These are tools we build and run ourselves.

Other problems people hit

Price history

How do I keep a price history without checking it by hand?

Project setup

How do I start every project with the same folder structure?

Changelog

How do I turn today's git commits into a readable changelog?