Supported bindings in local and remote dev
Local Development: Includes wrangler dev (without the --remote flag) and the Cloudflare Vite plugin. This mode simulates the Cloudflare Workers environment locally.
Remote Development: Uses wrangler dev --remote), deploying your code to Cloudflareβs infrastructure during development. This ensures all bindings and resources match production conditions. There is no Vite plugin equivalent for testing remote resources.
| Binding | Local (Wrangler & Vite) | Remote (Wrangler only) |
|---|---|---|
| AI | β 1 | β |
| Assets | β | β |
| Analytics Engine | β 2 | β |
| Browser Rendering | β | β |
| D1 | β | β |
| Durable Objects | β | β |
| Email Bindings | β | β |
| Hyperdrive | β 3 | β |
| Images | β | β |
| KV | β | β |
| mTLS | β | β |
| Queues | β | β |
| R2 | β | β |
| Rate Limiting | β | β |
| Service Bindings (multiple Workers) | β | β |
| Vectorize | β 4 | β |
| Workflows | β | β |
Tip: If you need to use any bindings marked with β under local development, run:
Terminal window wrangler dev --remoteThis command allows you to develop against remote resources and data stored on Cloudflare's network.
-
Using Workers AI always accesses your Cloudflare account in order to run AI models and will incur usage charges, even in local development. β©
-
Analytics Engine is supported in local development with Wrangler but is not currently supported in the Vite plugin. β©
-
Using Hyperdrive with local development allows you to connect to a local database (running on
localhost) but you cannot connect to a remote database. To connect to a remote database, usewrangler dev --remote. β© -
Using Vectorize always accesses your Cloudflare account to run queries, and will incur usage charges even in local development. β©
Was this helpful?
- Resources
- API
- New to Cloudflare?
- Products
- Sponsorships
- Open Source
- Support
- Help Center
- System Status
- Compliance
- GDPR
- Company
- cloudflare.com
- Our team
- Careers
- 2025 Cloudflare, Inc.
- Privacy Policy
- Terms of Use
- Report Security Issues
- Trademark