A short paragraph with bold, italic, and inline code. Visit the
TanStack AI docs for more.
Streaming markdown should render gracefully while content is still arriving.
| Provider | Model | Context |
|---|---|---|
| OpenAI | gpt-4o | 128k |
| Gemini 2 | 1M | |
| Anthropic | Claude 4 | 200k |
import { useState } from "react";
export function Counter() {
const [n, setN] = useState(0);
return <button onClick={() => setN(n + 1)}>{n}</button>;
}