Inference cloud and API running open models on wafer-scale chips, with a free tier, pay-per-token Developer plan and coding plans.
Markstream
Streaming Markdown renderer packages for AI chat apps, with versions for Vue, React, Next.js, Svelte, Angular and Nuxt.
What is Markstream?
Markstream is a family of Markdown renderers built for AI applications, where a model sends text a few tokens at a time and the Markdown is incomplete at every step. Instead of flickering or breaking, the renderer keeps partial syntax stable, reuses DOM nodes and draws code blocks, tables, math and diagrams as they arrive. It ships one package per framework: markstream-vue (labelled stable) for Vue 3, Nuxt and VitePress, markstream-react for React and Next.js, plus Svelte 5, Angular, Octane and Vue 2 ports, and a parser-only package for any JavaScript app. Features include progressive Mermaid and D2 diagrams, KaTeX math, streaming diff code blocks through stream-diffs, virtualization for long documents and a safe HTML policy. Frontend developers use it to render SSE or WebSocket chat output or to embed rich Markdown in docs sites. The packages install from npm, the docs include a playground for each framework, and the project accepts sponsorship on GitHub Sponsors. No paid plans are listed.
Use cases
- Render streaming AI chat output
- Show Mermaid diagrams as they stream
- Display code diffs while they generate
- Render KaTeX math in LLM answers
- Parse Markdown into structured nodes
- Embed rich Markdown in a docs site
Who it's for
Why use Markstream
- Partial Markdown from a model renders cleanly instead of breaking the layout mid-stream.
- A package for each framework lets you stay in the stack you already use.
- Progressive Mermaid and streaming code diffs make AI answers with diagrams and patches readable as they appear.
- The parser-only package lets you build your own interface on the same parsing behavior.
- Task-based guides and per-framework playgrounds shorten setup for chat apps and docs sites.
Markstream features
- Streaming-first rendering of incomplete Markdown
- Progressive Mermaid and D2 diagrams
- Streaming diff code blocks via stream-diffs
- KaTeX math rendering
- 42 built-in components
- Virtualization for long documents
- Pluggable parse hooks for tokens
- Safe HTML policy
- Worker support and SSR-safe imports
- Custom tags and component overrides
Markstream integrations
How to get started with Markstream
- Pick the package for your framework, such as markstream-vue or markstream-react.
- Install it with your package manager and add any optional peers you need, such as mermaid, katex or stream-diffs.
- Import the renderer component and its CSS, then append each incoming chunk of model output to the content prop.
- Mark the stream as final when it ends so the last nodes settle.
- Customize components, tags and code blocks using the guides.
Markstream limitations
- Only the Vue package is labelled stable; the others are beta or alpha
- The Svelte package supports Svelte 5 only
- The Angular package needs Angular 20 or newer
- Mermaid, KaTeX and stream-diffs are optional peer dependencies you install separately
Markstream pricing
Markstream is open source, so you can use and self-host it for free.
Prices can change and may vary by country or exclude tax. Check the official pricing page.
Markstream alternatives
The main Markstream alternatives listed on Debuly are Instructor, AI SDK, Chainlit, Hyperbrowser, LLM and Rapid-MLX. The table compares pricing and platforms; order is A–Z.
| Tool | Pricing | Starting price | Platforms |
|---|---|---|---|
| Markstream | Open source | — | Web, Vue, React, Svelte |
| AI SDK | Open source | — | Node.js, npm, Self-hosted |
| Chainlit | Open source | — | Python package, Self-hosted |
| Hyperbrowser | Freemium | $30/mo | API, CLI, Python SDK |
| Instructor | Open source | — | API, Self-hosted |
| LLM | Open source | — | CLI, API |
| Rapid-MLX | Open source | — | macOS, CLI, API, Self-hosted |
AI SDK
Free open-source TypeScript toolkit for building AI-powered apps and agents with one API across OpenAI, Anthropic, Google and more.
Open sourceVisit AI SDK (official site)Chainlit
Open-source Python framework for building chat interfaces for LLM apps, now archived and no longer maintained.
Open sourceVisit Chainlit (official site)
Hyperbrowser
Cloud infrastructure that gives AI agents hosted Chrome sessions, isolated sandboxes, and web fetch, crawl and search APIs.

Instructor
Open-source library that gets validated, typed structured data out of LLMs using Pydantic models and automatic retries.
Open sourceVisit Instructor (official site)
LLM
Command-line tool and Python library by Datasette for prompting OpenAI, Claude, Gemini and local models, with SQLite logging.
Open sourceVisit LLM (official site)
Rapid-MLX
Free Apache 2.0 local LLM server and Mac app for Apple Silicon with OpenAI and Anthropic-compatible APIs for coding agents.
Open sourceVisit Rapid-MLX (official site)
Markstream FAQ
Is Markstream free and open source?
No paid plans or pricing are listed. It is distributed as packages installed through a package manager, its source is on GitHub, and maintenance is supported through GitHub Sponsors.
Which frameworks does Markstream support?
Vue 3, Nuxt and VitePress (stable), React, Next.js and Remix (beta), Svelte 5, Angular standalone components, Octane and Vue 2.6 or 2.7, plus a framework-agnostic parser.
Does Markstream render Mermaid and math?
Yes. It supports progressive Mermaid and D2 diagrams and KaTeX math, using optional peer packages you install when you need them.
Can it handle SSE or WebSocket output?
Yes. The docs include guides for AI chat, SSE and WebSocket Markdown, where you append each chunk to the content and mark the stream done at the end.
Does it work with Next.js server rendering?
markstream-react lists Next.js App Router and Pages Router support with SSR-safe entries, and a separate Next.js guide covers server-first rendering.
What are alternatives to Markstream?
Streamdown, react-markdown and Vercel's AI Elements also render Markdown in chat interfaces, with different framework coverage. On Debuly, compare Instructor, AI SDK and Chainlit.
Sources & verification
Facts on this page come from the official sources below, each with the date we read it. Written by Debuly; the vendor did not review this page.
| Source | Type | Accessed |
|---|---|---|
| markstream.simonhe.me/frameworks/ | official | |
| markstream.simonhe.me/pricing | pricing | |
| markstream.simonhe.me/guide/features | official | |
| markstream.simonhe.me/ | official | |
| markstream.simonhe.me/llms-full.txt | official | |
| markstream.simonhe.me/llms.txt | official |
Image credits
- Logo: from markstream.simonhe.me · fetched · Vendor trademark, used only to identify the product; removed on request
- Cover: none collected yet, so a generated tile is shown.
Spot an error? Report an issue with this listing. We also remove a logo or image on the owner's request.


