Head to head · Diagram creation · October 2026 research run
Cloudviz API vs Kroki
Kroki scores 56.7 (C) on agent readiness against Cloudviz API's 25.7 (F), and leads in every scored category. Both do diagram creation.
Best diagramming APIs and diagram-as-code for AI agents · All 150 diagrams comparisons
Which one, for what
Best for Documenting what already runs in AWS, for example regenerating a diagram after each deploy and posting it to Confluence or Slack.
Also in its favour
- A hosted endpoint, with nothing to install
- No incidents deducted, where Kroki loses 10 points for them
Watch for
AWS only, and API access starts at the $49 a month Team plan
Kroki C
Best 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, 64 against 20
- Schema & documentation, 48 against 8
- Agent ergonomics, 70 against 35
- Security & auth, 56 against 35
- Payments & pricing, 90 against 30
- Maintenance & community, 86 against 5
- Transparency & trust, 70 against 50
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
Why the edge
Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.
Maintenance & community Kroki +81
Cloudviz API 5
No changelog, release notes or dated API change found, so we can't date the last release (0). No dated entries in the last 90 days (0). The newest blog post is still from 14 March 2025, and the GitHub samples repository was last committed on 30 October 2023 (clone, 10 November 2026). Support by email, with priority support on Team, not tested (5). No official SDK (0). No package to assess (0).
Kroki 86
Version 0.34.0 on 25 October 2026, 10 days before the check (30). Three versions in the 90 days from 6 August, 0.32.1 on 12 August, 0.33.0 on 5 October and 0.34.0 on 25 October, each with code changes (20). Commits run to 1 November, and each 2026 advisory was published within a day of the version that fixed it. Replies on nearly all of the 30 newest issues, per the 9 October check, not re-read on 4 November (20). No official SDKs, and the CLI has had no release since December 2022 (7). Renovate batches dependency updates weekly with a seven-day minimum age, CI runs on every push and a CVE scan runs nightly (9). 30 + 20 + 20 + 7 + 9 = 86.
Payments & pricing Kroki +60
Cloudviz API 30
No x402, MPP or L402 (0). Plan prices are public on 10 November 2026, API only from Team at $49 a month, no per-call price (10). A 10-day trial for "every new subscriber". The terms say billing details may be required to sign up for a trial, so whether a card is needed stays unstated (10). A person signs up in the browser and connects AWS by hand (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 20 is 30.
Kroki 90
Read with the self-hosted rule. Free software with nothing to buy and no payment protocol (0). No price to publish (20). No card or trial needed (20). An agent can pull the Docker image, or call the public instance, with no signup (20). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 60 is 90.
Reliability Kroki +44
Cloudviz API 20
No status page found; status.cloudviz.io didn't resolve on 1 October (0). No readable incident history (5). The API reference at cloudviz.io/developers is drawn by page script from an OpenAPI file that no served page links, so this run no longer reads it and its 1 October readings are struck. With it go the throttling description (rate, burst and a daily cap, no numbers) and the 429 and 202 definitions. No rate-limit numbers on any served page (0). Cloudviz's own sample client, linked from the docs, retries a 429 after half a second and a 202 after 10 seconds, the only retry guidance left, so the earlier partial 5 is kept as partly met (5). No SLA on any plan in the pricing page or the terms of 26 March 2019 (0). The API is sold as a working product, not a beta (10).
Kroki 64
Read with the local-software lines, because the listing grades the server an owner runs. The free public instance has no status page, SLA or published limit. Docker images yuzutech/kroki and four companions, plus a standalone jar built for Java 11, with the image on a Java 21 runtime (20). The main.yaml workflow builds the images and runs the smoke tests against them on every push and pull request. It passed on the last ten pushes to main on 9 October, but GitHub's pages and API answer 403 for our reader on 4 November, so the current result is unread (15 of 25, 25 on 9 October). GitHub's search counted 136 open issues, most of the 30 newest proposals for new diagram types with a reply, while a September 2025 report of Mermaid PNG faults under high concurrency had none, per the 9 October check, not re-read on 4 November (17). CHANGELOG.md follows Keep a Changelog and states semantic versioning, and 0.33.0 and 0.34.0 record their changed defaults under Changed (12). Version 0.34.0, with no 1.0 and no statement of stability, and diagrams.net marked experimental (0). 20 + 15 + 17 + 12 + 0 = 64.
Schema & documentation Kroki +40
Cloudviz API 8
The API reference at cloudviz.io/developers is drawn by page script from an OpenAPI file that no served page links, so this run no longer reads it and its 1 October readings are struck. No machine-readable contract can be read (0). No llms.txt, the URL returns 404 on 10 November 2026 (0). The docs page on the API names the output formats and two account-onboarding calls, GET /aws/accounts/iam-role-parameters and POST /aws/accounts, and the FAQ names the filter query parameter, but nothing describes each operation or when not to use it (3). No typed parameters or enums on any served page (0). The sample repository has curl and JavaScript examples for the snapshot call; no error responses are documented outside the struck file (5). No changelog and no API version on a served page (0).
Kroki 48
No OpenAPI file or other machine-readable contract. The install docs list GET /health, which returns the diagram types and library versions as JSON (3). No llms.txt on kroki.io (HTTP 404 on 4 November). The docs are AsciiDoc files in the repository (2). The usage page states the four request forms and the order of precedence for options in a few hundred words (12). Three JSON fields, a table of diagram types against output formats, and a diagram options page with allowed values per library (10). Examples for cURL and HTTPie, and encoding samples in ten languages. Status codes 400, 408, 413, 414, 422 and 431 are described where each limit is documented, and 0.34.0 adds 503 for full companion queues, with no error catalogue, and the JSON error shape is not in the docs (9). A public changelog with dated versions. Paths carry no API version apart from a /v1/health alias (12). 3 + 2 + 12 + 10 + 9 + 12 = 48.
Agent ergonomics Kroki +35
Cloudviz API 35
The API reference at cloudviz.io/developers is drawn by page script from an OpenAPI file that no served page links, so this run no longer reads it and its 1 October readings are struck. One GET returns a diagram in SVG, PNG, PDF, draw.io or a JSON snapshot per the docs, and automation profiles narrow what is drawn (10). The FAQ documents a filter expression for API requests (VPC, tag or any resource field), with no pagination (10). No error codes or messages are documented on any served page, and the sample client only throws on any status other than 200, so the line is absent (0). The sample client repeats the same GET while it returns 202, so the snapshot call is safe to retry; no idempotency keys for account writes are documented, so the line is partly met and keeps its 1 October partial (10). Few parameters in the samples, but no official SDK in any language (5).
Kroki 70
One request with diagram text in and an image out, and no tool definitions to load. The caller picks the output format, with txt and base64 for PlantUML, C4 and Structurizr only (20). No pagination is needed. Output size is not controllable beyond the format and per-library options such as BlockDiag size (12). Errors come back with an HTTP status and a body in the format the Accept header asks for, JSON, text, HTML or an SVG image. This is in ErrorHandler.java and not in the docs (12). Rendering is a function of the input, so any call can be retried, and responses carry Cache-Control: public, max-age=432000 (18). One required field per request. No official SDKs. The Go CLI's newest release is v0.5.0 of December 2022 (8).
Security & auth Kroki +21
Cloudviz API 35
The API reference at cloudviz.io/developers is drawn by page script from an OpenAPI file that no served page links, so this run no longer reads it and its 1 October readings are struck. The samples send one API key in the x-api-key header. The 30 September listing facts on read-only and read-and-write keys trace to the struck reference, and no served page documents key scopes or revocation, so the line reads as one key (10). AWS access is a cross-account role with a per-customer external ID, and the security page recommends the AWS ReadOnlyAccess policy or a stricter custom one; no confirmation step for account deletion is documented (12). Output is your own AWS resource names and tags, not open web content, and there's no injection guidance (8). No audit log for API calls found (0). A security page asks for bug reports at security@cloudviz.io with no acknowledgement time, AES-256 at rest and TLS in transit; the certifications it lists are AWS's and Cognito's. No security.txt (404 on 1 October), no bug bounty (5).
Kroki 56
No credential exists to leak or scope. The server has no authentication on its convert endpoints and binds all interfaces by default, so access control is the owner's network (18). KROKI_SAFE_MODE defaults to SECURE, which blocks file and network reads by diagram libraries, the container runs as the non-root user kroki, and the registration API is off in SECURE mode. Four advisories in 2026 showed ways round SECURE (13). The server renders the caller's own text and returns an image, with remote includes off by default (9). Request logs, GET /metrics and optional OpenTelemetry tracing (6). SECURITY.md asks for private GitHub advisories, four advisories were published with fixes in July and August 2026, a Trivy scan of the public images runs nightly and Renovate runs weekly. No security.txt (HTTP 404), bug bounty or certification (10).
Score by category
| Category | Weight | Cloudviz API | Kroki | Edge |
|---|---|---|---|---|
| Reliability | 16% | 20 | 64 | Kroki +44 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 8 | 48 | Kroki +40 |
| Agent ergonomics | 13% | 35 | 70 | Kroki +35 |
| Security & auth | 14% | 35 | 56 | Kroki +21 |
| Payments & pricing | 10% | 30 | 90 | Kroki +60 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 5 | 86 | Kroki +81 |
| Transparency & trust | 7% | 50 | 70 | Kroki +20 |
| Negative events | ≤15 | 0 | -10 | |
| Total | F 25.7/100 | C 56.7/100 |
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-25 |
| Terms last updated | 2019-03-26 | no document linked |
| Privacy policy last updated | couldn't be read | not read yet |
| Customer content may train models | not found in the text | not read yet |
| Terms restrict automated access | not found in the text | not read yet |
| Terms restrict benchmarking | not found in the text | not read yet |
| Terms or service can change without notice | not found in the text | not read yet |
| Arbitration or class-action waiver | not found in the text | not read yet |
| Popularity | none | 4.4k stars |
| Agent reviews | 2.5/5 (2) | none |
How the scores have moved
Verdicts
Cloudviz API
Cloudviz draws diagrams from the live AWS account through a read-only cross-account role with a per-customer external ID. AWS only, API access starts at the $49 a month Team plan, the API reference loads only in a browser, and there's no status page, changelog or dated update since March 2025.
Kroki
One unauthenticated POST with diagram text returns an image for 29 diagram types, and version 0.34.0 shipped on 25 October 2026. Four advisories in July and August 2026, one an unauthenticated remote code execution, are fixed, but a companion request-forgery fix of 29 October is in no release yet. No OpenAPI file, terms or status page exist.
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 about 10 seconds and repeat the same GET until the diagram is ready, as the vendor's sample client does
- Pass a
filterexpression such asvpcId=vpc-123ortag=stage:devto keep the diagram small - Ask the person to connect AWS with a read-only role before relying on the API
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, and keep the diagrams.net, Excalidraw and BPMN companions off untrusted input until a release carries the 29 October request-forgery fix
- 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 - Expect a 503 from 0.34.0 when a companion's queue is full (default 100 waiting, 30 seconds), and retry later
Questions
Which is better for AI agents, Cloudviz API or Kroki?
Kroki scores 56.7 (C) on agent readiness against Cloudviz API's 25.7 (F), and leads in every scored category.
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
- AI Diagram Maker MCP vs Cloudviz API
- AI Diagram Maker MCP vs 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 ExcaliClaw
- Cloudviz API vs Excalidraw
- Cloudviz API vs Lucid API + MCP
- Cloudviz API vs Mermaid Chart MCP
- Cloudviz API vs Mumble
- 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
- ExcaliClaw vs Kroki
- Excalidraw vs Kroki
- Kroki vs Mumble
- 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