Visual Studio Codespaces pricing Preview
Cloud-powered development environments accessible from anywhere
Visual Studio Codespaces is currently in public preview.
US government entities are eligible to purchase Azure Government services from a licensing solution provider with no upfront financial commitment or directly through a pay-as-you-go online subscription.
Important—The price in R$ is merely a reference; this is an international transaction and the final price is subject to exchange rates and the inclusion of IOF taxes. An eNF will not be issued.
Azure Germany is available to customers and partners who have already purchased this, doing business in the European Union (EU), the European Free Trade Association (EFTA)and in the United Kingdom (UK). It provides data residency in Germany with additional levels of control and data protection. You can also sign up for a free Azure trial.
With Visual Studio Codespaces, you can create fully managed, cloud-hosted development environments or register your own self-hosted development environments with the service.
There is no charge for self-hosted environments.
Cloud-hosted environments can be in a “suspended” or an “active” state and incur two types of costs – storage and compute. Storage costs are incurred for the lifetime of an environment (i.e. from when you create them until you delete them).
Storage costs for all instance types are $-/hour.
Additionally, while an environment is in an “active” state, it incurs compute costs. Compute costs for each instance type are covered in the table below:
|Instance type||Approximate cost to run per hour *|
|Basic (2 cores, 4GB RAM, 64 GB SSD)||$-|
|Standard (4 cores, 8 GB RAM, 64 GB SSD)||$-|
|Premium (8 cores, 16 GB RAM, 64 GB SSD)||$-|
Some example pricing for common scenarios over a 730-hour month:
|Scenario||Instance type||Active hours||Total hours||Approximate cost|
|Reviewing a pull request||Basic||2||2||$-|
|Occasional use on a heavy data processing workload||Premium||40||730||$-|
|Dormant project (unused, suspended environment)||Standard||0||730||$-|
Note: Your Azure bill will show prices displayed in environment units. Prices above are translated to local currency and should match your usage where an environment unit is $-.
Environment Units bundle compute, IP, network, snapshots and disk costs together. A Visual studio environment instance is billed on an hourly basis according to a base set of Environment units which depend on the environment size. A standard Visual Studio environment has a different base rate of environment units than a premium Visual Studio environment due to the difference of compute, IP, network, snapshots and disk costs together.
During creation, you can set an amount of time (e.g. 5 minutes, 2 hours) after which, if there is no connection, the environment will be suspended. You can also suspend an environment from the portal. While an environment is suspended, you are only billed for storage until that environment is deleted or made active again.
Time is measured in seconds, so you will be billed for 6 minutes and 45 seconds of active time.
Yes, a cloud-hosted environment incurs storage costs until you delete it.
Yes, you can use Azure credits from your Visual Studio Subscription, Azure free account or other eligible programs toward Visual Studio Codespaces usage.
By default, Visual Studio Codespaces provisions fully managed environments that run in Azure. These environments are backed by the full power of the cloud (always available, quick to create, scalable, etc). However, you may also register your own physical or virtualised environment to your Visual Studio Codespaces plan. This allows you to have some of the benefits of Visual Studio Codespaces (e.g. use of the web-based editor) while leveraging your existing, potentially specialised, infrastructure.
The documentation for Visual Studio Codespaces includes a complete Visual Studio Codespaces FAQ.
Estimate your monthly costs for Azure services
Review Azure pricing frequently asked questions
Learn more about Visual Studio Codespaces