Heading one

A short paragraph with bold, italic, and inline code. Visit the TanStack AI docs for more.

Lists

  • Apples
  • Oranges
  • Pears
  1. First
  2. Second
  3. Third

Streaming markdown should render gracefully while content is still arriving.

ProviderModelContext
OpenAIgpt-4o128k
GoogleGemini 21M
AnthropicClaude 4200k
tsx
import { useState } from "react";

export function Counter() {
  const [n, setN] = useState(0);
  return <button onClick={() => setN(n + 1)}>{n}</button>;
}