What are MuleSoft Anypoint Platform capabilities - pricing, Mule Flows/Messages, CloudHub 2.0 workers?
TL;DR
Bottom line: MuleSoft Anypoint Platform uses usage-based pricing measured by Mule Flows (max concurrent per hour), Mule Messages (total monthly), and data throughput (GB/month). Two tiers: Integration Starter (50 flows, 5M messages) and Integration Advanced (200 flows, 20M messages). CloudHub 2.0 provides managed replicas from 0.1 to 4 vCores.
Key limit: Flow count is multiplied by replicas — 1 flow deployed on 3 replicas counts as 3 flows against your allotment.
Watch out for: The pricing model shift from vCore-based to usage-based (Flows/Messages) in late 2023/2024. Legacy contracts may still use vCore allocations.
Best for: Enterprise API-led integration requiring 1,500+ pre-built connectors, full API lifecycle management, and multi-cloud deployment with DataWeave transformation.
Authentication: Connected Apps with OAuth 2.0 (client credentials for M2M, authorization code for user-context).
System Profile
MuleSoft Anypoint Platform is Salesforce's enterprise iPaaS providing a unified environment for designing, building, deploying, and managing APIs and integrations. It follows "API-led connectivity" with three layers: system APIs (connect to backends), process APIs (orchestrate business logic), and experience APIs (serve consumers). This card covers platform-level capabilities, pricing, and infrastructure limits — not specific connector APIs or MuleSoft Automation (RPA, IDP).
DataWeave auto-coerces types — "123" string becomes 123 number. Always use explicit coercion: payload.amount as Number. [src2]
Streaming payloads consumed on first read. Enable repeatableFileStoreStream to allow re-reading. [src4]
Date/time: DataWeave uses ISO 8601 by default. For epoch timestamps, use payload.date as Number {unit: "milliseconds"}. [src2]
Error Handling & Failure Points
Common Error Codes
Code
Meaning
Cause
Resolution
429
Rate limit exceeded
>15 req/s per IP (CloudHub API) or >10 TPS (Object Store)
Exponential backoff, max 5 retries
503
Service unavailable
Replica restarting or scaling
Retry after 30s; check Runtime Manager
408
Request timeout
Exceeded 300s CloudHub limit
Redesign as async pattern
413
Payload too large
Request body > 1 GB
Chunk payload; use streaming
MULE:CONNECTIVITY
Connection refused/timeout
Target system down or network
Check firewall rules, VPN status
MULE:RETRY_EXHAUSTED
All retries failed
Persistent downstream failure
Dead letter queue; alert ops
MULE:EXPRESSION
DataWeave error
Null payload, wrong type
Null-safe: payload.field default ""
MULE:STREAM_MAXIMUM_SIZE_EXCEEDED
Buffer overflow
Streaming payload exceeds buffer
Increase maxInMemorySize
Failure Points in Production
Flow count surprise at renewal: More replicas for HA triples flow count beyond contract. Fix: Audit flow counts monthly via Usage Reports API; right-size replica counts. [src2]
Object Store TTL expiry during batch: State expires mid-job (30-day max). Fix: Use external DB for batch state; Object Store only for short-lived idempotency keys. [src5]
vCore pool exhaustion: New deployments fail silently. Fix: Monitor via Platform APIs; alert at >80% allocated; stop unused sandbox apps. [src4]
Streaming payload consumed twice: Payload null after logger reads it. Fix: Enable repeatableFileStoreStream in HTTP Listener config. [src4]
Connected App secret expiration: CI/CD pipeline breaks. Fix: Monitor secret expiration; rotate on schedule; use rolling connected apps. [src6]
Firewall rule limit (300): Complex topology exhausts limit. Fix: Use CIDR aggregation; consolidate by subnet; consider network peering. [src3]
Anti-Patterns
Wrong: Counting flows without considering replicas
// BAD — assumes 10 flows = 10 against allotment
// Reality: 10 flows x 3 replicas = 30 flows
App has 10 flows deployed on 3 replicas for HA
Expected: 10 flows | Actual: 30 flows (10 x 3)
Correct: Factor replicas into capacity planning
// GOOD — plan with replica multiplier
Total = sum(app_flows x app_replicas) for all apps
App A (5 flows x 2 replicas) + App B (3 flows x 1 replica) = 13 flows
Rule: Use 1 replica for non-production environments
Wrong: Synchronous processing for large payloads
// BAD — blocks for 5+ minutes, hits 300s timeout
HTTP Listener → Transform 500MB file → POST to target
Result: 408 timeout after 300 seconds
Correct: Async pattern with Anypoint MQ
// GOOD — async with status tracking
HTTP Listener → Validate → Publish to MQ → Return 202 Accepted
Subscriber flow: MQ → Chunk → Process → Update status
Client polls status endpoint for completion
Wrong: Using Object Store as a database
// BAD — data disappears after 30 days
Store customer preferences in Object Store v2
Result: All data silently deleted after TTL expiry
"Sandbox is free" assumption: Sandbox consumes from same vCore pool as production. Fix: Use 0.1 vCore single-replica in sandbox; stop apps when not testing. [src4]
Ignoring data throughput metric: Monitoring overhead counts toward allotment. Fix: Monitor via Usage Reports; reduce logging verbosity in production. [src2]
Not pinning connector versions: Upgrades introduce breaking changes. Fix: Pin versions in pom.xml; test upgrades in sandbox first. [src1]
Underestimating message volume: Frequent polling accumulates millions. Fix: Calculate: triggers/min x 60 x 24 x 30. Use watermark-based polling. [src2]
Single-replica production: No failover — restart means downtime. Fix: Minimum 2 replicas for production (auto multi-AZ, 60+ miles apart). [src4]
Premium connector surprise: SAP, Oracle EBS not in base tiers. Fix: Identify all connectors during evaluation; get add-on pricing before signing. [src8]
CloudHub 1.0 is in maintenance mode. Mule 3.x has reached end of extended support. MuleSoft follows Salesforce's release cadence with three major releases per year.
When to Use / When Not to Use
Use When
Don't Use When
Use Instead
Enterprise needs 1,500+ connectors for complex multi-system integration
Simple point-to-point between 2-3 SaaS apps
Workato, Zapier, or native integrations
API-led connectivity with system/process/experience layers
MuleSoft does not publish list prices. All estimates ($100K-$400K+/year) are from industry reports and vary by negotiation, Salesforce relationship, and volume. Always get a formal quote.
Usage-based pricing (Flows/Messages) applies to new contracts. Legacy vCore-based contracts have different limits. Confirm your contract model before planning.
CloudHub 2.0 limits (15 req/s, 300s timeout) are current as of early 2026 but subject to change. Verify against latest release notes.
Sandbox environments consume from the same resource pool as production. There is no "free tier."
Object Store v2 billing is payload-based: a 500 KB GET counts as 5 units (1 per 100 KB).
Premium connectors (SAP, Oracle, Workday) require separate licensing and can increase TCO by 20-40%.