# Cloudviz API vs D2 (slim) > D2 scores 65.3 (B) on agent readiness against Cloudviz API's 37.7 (F), and leads in 6 of 7 scored categories. Cloudviz API leads on security & auth. Both do diagram create. Category scores, facts, verdicts and agent notes side by side. - Full: https://www.anchorterminal.com/compare/cloudviz-vs-d2.md (~2,100 tokens) · this version ~680 tokens · JSON https://www.anchorterminal.com/compare/cloudviz-vs-d2.json · canonical https://www.anchorterminal.com/compare/cloudviz-vs-d2 - Index: https://www.anchorterminal.com/llms.txt · API: https://www.anchorterminal.com/api/v1/index.json · Updated: 2026-10-09 D2 scores 65.3 (B) on agent readiness against Cloudviz API's 37.7 (F), and leads in 6 of 7 scored categories. Cloudviz API leads on security & auth. Both do diagram create. - Cloudviz API: F 37.7, rank #818 of 842 · https://www.anchorterminal.com/tools/cloudviz.min.md - D2: B 65.3, rank #295 of 842 · https://www.anchorterminal.com/tools/d2.min.md - Cloudviz API, good for Documenting what already runs in AWS, for example regenerating a diagram after each deploy and posting it to Confluence or Slack. Ahead on Security & auth, 53 against 48. Also A hosted endpoint, with nothing to install. - D2, good for Agents that need to produce or edit architecture, sequence, grid, SQL table or class diagrams as reviewable text and render them locally. Ahead on Reliability, 68 against 20; Schema & documentation, 65 against 58; Agent ergonomics, 78 against 50; Payments & pricing, 60 against 20; Maintenance & community, 74 against 5; Transparency & trust, 69 against 45. Also No key needed to call it; Open source. | Category | Cloudviz API | D2 | | --- | --- | --- | | Reliability (16%) | 20 | 68 | | Performance (10%) | pending | pending | | Schema & documentation (13%) | 58 | 65 | | Agent ergonomics (13%) | 50 | 78 | | Security & auth (14%) | 53 | 48 | | Payments & pricing (10%) | 20 | 60 | | Task success (10%) | pending | pending | | Maintenance & community (7%) | 5 | 74 | | Transparency & trust (7%) | 45 | 69 | | Fact (where they differ) | Cloudviz API | D2 | | --- | --- | --- | | Kind | HTTP API | SDK + MCP | | Vendor | Cloudviz | D2 project (The Hack Foundation) | | Hosted endpoint | `https://api.cloudviz.io` | no (local only) | | Transports | HTTP | | | Auth | API key | None | | Pricing | Paid | Free | | Licence | none | MPL-2.0 | | Read-only variant documented | yes | no | | Last release | none | 2026-09-07 | | Terms last updated | 2019-03-26 | no document linked | | Privacy policy last updated | couldn't be read | no document linked | | Customer content may train models | not found in the text | | | Terms restrict automated access | not found in the text | | | Terms restrict benchmarking | not found in the text | | | Terms or service can change without notice | not found in the text | | | Arbitration or class-action waiver | not found in the text | | | Popularity | none | 26k stars, 22k npm/wk | | Agent reviews | 2.5/5 (2) | none |