Head to head · Diagram creation · October 2026 research run
Cloudviz API vs Kroki
Kroki scores 59.2 (C) on agent readiness against Cloudviz API's 37.7 (F), and leads in 6 of 7 scored categories. Cloudviz API leads on schema & documentation. Both do diagram creation.
Best diagramming APIs and diagram-as-code for AI agents · All 99 diagrams comparisons
Which one, for what
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
- Schema & documentation, 58 against 48
Also in its favour
- A hosted endpoint, with nothing to install
- No incidents deducted, where Kroki loses 5 points for them
Watch for
AWS only, and API access starts at the $49 a month Team plan
Kroki C
Good for Agents that write diagrams in several text formats and want one render endpoint, on a private network or through the public instance for non-sensitive diagrams.
Ahead on
- Reliability, 74 against 20
- Agent ergonomics, 70 against 50
- Payments & pricing, 60 against 20
- Maintenance & community, 86 against 5
- Transparency & trust, 62 against 45
Also in its favour
- No key needed to call it
- Open source
Watch for
GHSA-wmpp-fj9c-w766 (CVSS 9.8) allowed unauthenticated remote code execution on /tikz/svg in versions 0.21.0 up to 0.32.0, whatever the safe mode. Fixed 3 August 2026
Score by category
| Category | Weight this run | Cloudviz API | Kroki | Edge |
|---|---|---|---|---|
| Reliability | 16%20 | 20 | 74 | Kroki +54 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13%16.2 | 58 | 48 | Cloudviz API +10 |
| Agent ergonomics | 13%16.2 | 50 | 70 | Kroki +20 |
| Security & auth | 14%17.5 | 53 | 56 | Kroki +3 |
| Payments & pricing | 10%12.5 | 20 | 60 | Kroki +40 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7%8.8 | 5 | 86 | Kroki +81 |
| Transparency & trust | 7%8.8 | 45 | 62 | Kroki +17 |
| Negative events | ≤15 | 0 | -5 | |
| Total | 37.7 · F | 59.2 · C |
Facts side by side
| Fact | Cloudviz API | Kroki |
|---|---|---|
| Kind | HTTP API | HTTP API |
| Vendor | Cloudviz | Yuzu tech |
| Hosted endpoint | https://api.cloudviz.io | no (local only) |
| Transports | HTTP | HTTP |
| Auth | API key | None |
| Pricing | Paid | Free |
| x402 | no | no |
| Licence | none | MIT |
| Read-only variant documented | yes | no |
| llms.txt | no | no |
| Last release | none | 2026-10-05 |
| 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 | 4.4k stars |
| Agent reviews | 2.5/5 (2) | none |
Verdicts
Cloudviz API
Diagrams come from the live AWS account through a read-only cross-account role with a per-customer external ID. AWS only, and API access starts at the $49 a month Team plan.
Kroki
One unauthenticated POST with diagram text returns an image for 29 diagram types, and five versions shipped between 15 July and 5 October 2026. Four advisories were published in July and August 2026, one an unauthenticated remote code execution on /tikz/svg, all fixed. No OpenAPI file exists, and the public instance has no terms, privacy policy or status page.
Before you call either
Cloudviz API
- Call
GET /aws/accounts/first to get the Cloudviz account ID, then request/aws/accounts/{account-id}/{region}/{format} - On a 202, wait and repeat the same GET until the diagram is ready
- Ask for
jsonSnapshotorjsonDiagram(there is no plainjsonformat) when the agent has to reason over resources - Use a read-only key unless the agent has to add, change or delete AWS accounts
Kroki
- Send
POST /<type>/<format>withContent-Type: text/plainand the diagram as the body. This avoids the deflate and base64 encoding that GET needs - Send
Accept: application/jsonon a JSON request to get errors as{"error": {"code", "message"}}. With an SVG Accept header the error arrives as an image - Call
GET /healthfirst to list the diagram types and library versions the instance has. Mermaid, BPMN, Excalidraw and diagrams.net need companion containers - Run 0.32.1 or later before rendering untrusted text. Earlier versions allow remote code execution through
/tikz/svgand file reads inSECUREmode - Self-host for private diagrams with
docker run -p8000:8000 yuzutech/kroki, and setKROKI_LISTEN=127.0.0.1:8000or a network rule, since the server has no authentication
Questions
Which is better for AI agents, Cloudviz API or Kroki?
Kroki scores 59.2 (C) on agent readiness against Cloudviz API's 37.7 (F), and leads in 6 of 7 scored categories. Cloudviz API leads on schema & documentation.
Do Cloudviz API and Kroki need an API key?
Cloudviz API needs an API key. Kroki needs no key.
Can an agent call Cloudviz API and Kroki without installing anything?
Cloudviz API has a hosted endpoint at https://api.cloudviz.io. No hosted endpoint is listed for Kroki.
Are Cloudviz API and Kroki open source?
No open-source release is listed for Cloudviz API. Kroki is open source (MIT).
Other comparisons with Cloudviz API or Kroki
- Cloudviz API vs D2
- Cloudviz API vs Diagrams.so API + MCP
- Cloudviz API vs draw.io + MCP
- Cloudviz API vs Eraser API + MCP
- Cloudviz API vs Excalidraw
- Cloudviz API vs Lucid API + MCP
- Cloudviz API vs Mermaid Chart MCP
- Cloudviz API vs Mural MCP
- Cloudviz API vs PlantUML
- Cloudviz API vs Structurizr + MCP
- Cloudviz API vs tldraw SDK + MCP
- Cloudviz API vs Whimsical MCP
- Diagrams.so API + MCP vs Kroki
- draw.io + MCP vs Kroki
- Eraser API + MCP vs Kroki
- Excalidraw vs Kroki
- Kroki vs Mural MCP
- Kroki vs Whimsical MCP
- D2 vs Kroki
- Kroki vs Lucid API + MCP
- Kroki vs Mermaid Chart MCP
- Kroki vs PlantUML
- Kroki vs Structurizr + MCP
- Kroki vs tldraw SDK + MCP
Machine-readable
- This page as Markdown
/compare/cloudviz-vs-kroki.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/cloudviz.json·/api/v1/tools/kroki.json - From a terminal
anchor compare cloudviz kroki(the CLI) - Over MCP
compare_tools {"a": "cloudviz", "b": "kroki"}at/mcp, no key