Microsoft Bicep · Rate Limits

Microsoft Bicep Rate Limits

Bicep is a client-side compiler / language; it has no SaaS API surface of its own. Local CLI operations (bicep build, bicep decompile, bicep publish) have no rate limits beyond local-machine resources. When Bicep deployments execute against Azure, all rate limiting comes from Azure Resource Manager (ARM) and the target resource providers. Throttling responses, headers, and policies match the upstream ARM behavior.

Microsoft Bicep Rate Limits is the machine-readable rate-limit profile for Microsoft Bicep on the APIs.io network, conforming to the API Commons Rate Limits specification.

It captures 6 rate-limit definitions, measuring invocations_per_second, requests_per_second, nested_deployments, bytes_compiled, and varies.

The profile also includes 4 backoff/retry policies defined and response codes documented for throttled and serviceUnavailable.

Tagged areas include ARM Templates, Azure, Cloud, Deployment, and DevOps.

6 Limits Throttle: 429
ARM TemplatesAzureCloudDeploymentDevOpsInfrastructure as CodeRate Limiting

Limits

Bicep CLI local operations local-machine
invocations_per_second
-1
No rate limit; bound only by local CPU and memory.
ARM subscription writes (deployment plane) subscription/region/serviceprincipal
requests_per_second · second
10
Deployments are write operations against ARM. Bucket size 200 tokens, refill 10/sec.
ARM subscription reads (validation / what-if) subscription/region/serviceprincipal
requests_per_second · second
25
Bucket size 250, refill 25/sec.
ARM template deployment depth subscription
nested_deployments
800
Maximum 800 nested deployments per top-level deployment; 5-level nesting limit.
ARM template size deployment
bytes_compiled
4194304
Compiled JSON template ≤ 4 MB; max 256 parameters / 256 variables / 800 resources per template.
Resource-provider-specific limits varies
varies
see vendor docs per provider (Microsoft.Compute, Microsoft.Network, Microsoft.Storage, etc.)
Each downstream resource provider applies its own throttling token buckets.

Policies

ARM token-bucket retry
Honor Retry-After on 429 responses. Azure SDKs implement exponential backoff automatically; Bicep CLI uses the SDK underneath.
Idempotent deployments
Bicep deployments are idempotent — re-running with the same parameters yields the same state. Combine with what-if to preview changes without mutating state.
Modules to reduce single-deployment fan-out
Break large templates into modules with serial / parallel scope to avoid hitting the per-deployment 800-resource cap.
Deployment scopes
Bicep supports tenant, management group, subscription, and resource group deployment scopes. Subscription-scope deployments share the subscription-level token buckets.

Sources

Work with this as data

Every rate limit here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for rate limits

4 MCP tools reach this
  • find_rate_limitsBrowse and filter every rate limit in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This rate limit
curl "https://apis.io/api/v1/rate-limits/microsoft-bicep-rate-limits"
All rate limits
curl "https://apis.io/api/v1/rate-limits?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.