Own Weights

AI model portability: moving models between clouds

AI model portability explained: what must move with your weights between cloud accounts and on-prem, and how to test the move before you switch.

Updated

AI model portability is the ability to move a model you own from one host to another, such as from one cloud account to a different one or into your own building, and get the same results on the new host. The weights are only part of the move. The model keeps working when the tokenizer, config, prompt, output format, adapters, eval set and serving settings move with it and pass the same test on arrival.

Own Weights (home) fine-tunes an open-weight model for one high-volume task a company now sends to a frontier API, tests it against the current model on the company’s own data, and serves it in the customer’s cloud account or on-prem. The customer owns the weights, and that ownership is what makes a move possible. A model you can only call through a vendor’s endpoint moves only when the vendor allows it.

What has to travel with the weights?

A weights file alone will not reproduce your results. Move these with it:

  • The weights file, with a checksum, so you can prove the copy matches the original.
  • The tokenizer and model config. A tokenizer that differs by one version can change output on the new host.
  • The chat template and prompt text the model was trained and tested with.
  • The output schema, such as the JSON fields and allowed values your application parses.
  • Any adapter files, and a note of the base model version they were trained on.
  • The eval set, its answer key, and the scores the current model earned on it.
  • Serving settings: maximum input length, output limit, number format and batch limits.
  • A version record that says which of these belong together.

A missing item is the usual cause of a failed move. The model loads, returns text, and quietly does a different job. Keeping that record under version control is covered in keeping the model you tested.

Can you export model weights from a cloud provider?

Yes, if you hold the files. Weights you trained and stored in your own bucket or volume are ordinary files, and you can copy them out. Weights that exist only behind a managed endpoint often cannot be downloaded. Read the contract and check the console before you assume an export is possible. The contract side of this risk is covered in AI vendor lock-in. Finding that gap now costs far less than finding it in the middle of a migration.

How do you switch cloud providers with an AI model?

This is a hypothetical order of work, not a customer story:

  1. Copy the weights and every file in the list above. Record a checksum for each one.
  2. Freeze the version. Write down the exact files, prompt and output schema you are moving.
  3. Stand up the model on the new host with the same serving settings. Build the container again on the new host instead of copying a running machine, because drivers, networking and identity rules differ between hosts.
  4. Run the same eval set against the old and new hosts. Compare scores, not bytes. Small numeric differences between hosts are normal, and the eval decides whether they matter for your task.
  5. Send a small share of traffic to the new host and watch the same checks you use in production.
  6. Keep the old host running for a rollback window, then shut it down once the new host has held up.

If a step fails, stop and fix it on the old host. Do not move traffic to a host that has not passed the eval.

Does multi-cloud LLM deployment make sense?

Running the same model on two hosts doubles the operations work. Each host has its own setup, access rules and storage. A practical pattern is one primary host plus a second copy that you test on a schedule. That copy protects you during an outage, and it proves the move will work when you need it.

Multi-cloud is the wrong choice when one cloud account already holds your data, your volume is steady, and no contract forces a move. In that case, portability is insurance. You keep the files, the eval set and the version record, and you skip the second production stack. For where a model should run in the first place, see running a model in your own cloud account.

What makes a model file portable?

Look for three things. First, a format that stores tensors and metadata only, so loading the file cannot run code. Safetensors is a common example of that kind of format. Avoid checkpoints built on serialized Python objects, because loading them can execute code. Second, a manifest that names the base model version, the tokenizer version and the config. Third, a record that ties the weights to one eval score, so nobody loads the wrong copy by mistake.

Where does portability fall short?

Portability does not make every setup equal. Three limits matter.

The open-weight model license sets what you may do with the weights, so read it before you copy them into a new environment. A move is not finished when the file loads. A fine-tuned model earns its place only when it passes the eval on the host where it runs.

Some hosts will not let you export a model at all. Then you may need to retrain from your own data instead of moving the old weights. Retraining takes your data, your eval set and a fresh test, which is more work than a file copy.

Fine-tuning also has limits on the other side. On a public 510-contract extraction exam, our Accuracy model scored 0.717, ahead of Claude Opus at 0.635 and Claude Haiku at 0.584. Claude took that exam with one prompt and no task training. A fine-tuned model can beat a frontier model on one narrow task with good data. That does not mean it beats Claude at everything, and the result is not legal advice. Full results are on the benchmark page. If your task changes every few weeks, a fixed model may be the wrong fit, and an API may serve you better.

Plan for portability before you sign anything. Keep the weights, the eval set and the version record in one place you control. To see which of your AI calls could move to a model you own, run the free AI cost audit or ask us for a call.

Questions

ai model portability

AI model portability means you can move a model you own between hosts and get the same results on the new one. It covers the weights plus the tokenizer, prompt, output format, adapters and eval set. Test the moved copy on your own data before it takes live traffic.

move llm between clouds

Copy the weights and the version record, rebuild the serving setup on the new host, then run your eval set against both hosts. Move traffic in steps and keep the old host running for rollback. Do not send users to the new host until its scores match.

export model weights

If you trained the model and stored its files yourself, you can copy them out. Managed endpoints often expose only an API, so check the contract for export rights. Get the file list in writing before you depend on it.

multi cloud llm deployment

Running on two hosts doubles the operations work, because each host needs its own drivers, networking and access rules. A workable setup is one primary host and a tested second copy for failover or a future move. Skip the second production stack unless downtime or a contract forces it.

switch cloud provider with an ai model

Freeze the exact files and settings, rebuild the model on the new host, and compare its eval scores with the old host. Keep the old host up until the new one has carried real traffic without a problem.