---
title: "Discussion on \"Gemini 4 Neon in a React chat: going past 64K output without breaking your token meter\" | Hashnode"
description: "Discussion on \"Gemini 4 Neon in a React chat: going past 64K output without breaking your token meter\". Gemini 4 Neon can write up to 1M tokens in one answer, but only if you raise maxOutputTokens. Here's the AI SDK setup, the usage number that misleads, and what happens when a long stream drops, tested against a mock."
url: "https://hashnode.com/posts/gemini-4-neon-in-a-react-chat-going-past-64k-output-without-breaking-your-token-meter/6b01241d755082f8a75b7c50"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Gemini 4 Neon in a React chat: going past 64K output without breaking your token meter](https://cuelark.hashnode.dev/gemini-4-neon-in-a-react-chat-going-past-64k-output-without-breaking-your-token-meter?utm_source=hashnode&utm_medium=feed)

Gemini 4 Neon can write up to 1M tokens in one answer, but only if you raise maxOutputTokens. Here's the AI SDK setup, the usage number that misleads, and what happens when a long stream drops, tested against a mock.

2d ago · 6 min read · cuelark.hashnode.dev  
Read the article

-   [#ai](https://hashnode.com/tag/ai)
-   [#gemini](https://hashnode.com/tag/gemini)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#nextjs](https://hashnode.com/tag/nextjs)

## Written by

[Cuelark](https://hashnode.com/@cuelark)

@cuelark

  
[View profile](https://hashnode.com/@cuelark)

Open-source React components for AI agent interfaces, built for shadcn/ui.

Open-source React components for AI agent interfaces, built for shadcn/ui.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
