Bun is mostly drop-in
Bun runs the SDK with no special configuration. bun add @anthropic-ai/sdk, bun run app.ts, done. Bun's TypeScript-native pipeline often makes development noticeably faster than Node + tsx.
Deno needs an import map
Deno can run the SDK via npm: specifiers (import Anthropic from "npm:@anthropic-ai/sdk";). Set permissions explicitly: --allow-net=api.anthropic.com and --allow-env are usually enough.
Cloudflare Workers and Vercel Edge share constraints
Workers and Vercel Edge both run on V8 isolates with a web-standard API surface. Streaming and tool use work; file streams and Node-only Files API helpers do not. Test your specific code path on the runtime you ship to — 'works in Node' does not transfer for free.
Principle: Pick the runtime by your latency and feature needs. The SDK works on all of them; only some helpers do.