Skip to content

Migrating to Inferray

Moving to Inferray is mostly a configuration change. Your SDK, prompts and request shapes stay the same; the base URL, the key and the model IDs change.

A safe rollout

  1. Create a key in a separate project, such as migration-test, so test traffic is easy to find.
  2. Change the base URL and key in one environment, and map your model IDs to the catalogue.
  3. Run your test suite and compare outputs, latency and cost in the logs.
  4. Move production over, one service at a time.

Turn on auto top-up before production traffic arrives, so a low balance never stops requests.

Keep the old configuration behind an environment variable until you're confident: switching back is the same two settings.