> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wandb.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# What is the difference between wandb.init modes?

When you call `wandb.init`, you can choose a mode that controls how the client communicates with the W\&B server. The following modes are available:

* `online` (default): The client sends data to the W\&B server.
* `offline`: The client stores data locally on the machine instead of sending it to the W\&B server. Use the [`wandb sync`](/models/ref/cli/wandb-sync) command to synchronize the data later.
* `disabled`: The client simulates operation by returning mocked objects and prevents any network communication. The client turns off all logging, but all API method stubs remain callable. Use this mode for testing.

***

<Badge stroke shape="pill" color="orange" size="md">[Experiments](/support/models/tags/experiments)</Badge>
