Files
puter/src/docs
Filip KujundžićandDaniel Salazar 4ec125bbc6 Add Gemini 4 Carbon, Gemini 4 Hydrogen and Kling 4 video models (#4616)
* Add Gemini 4 Carbon and Kling 4 video models

* Include Kling 4 models in the video driver catalog test

* Document the Kling 4 prompt limit for non-English text

Kling 4.0 and 4.0 Flash take 26,000 characters of English but 11,000
of other languages, with mixed text sharing the limit in proportion.
The video page and the quotas page said 26,000 for every prompt.

- txt2vid.md and rate-limits-and-quotas.md give both limits, the rule
  for mixed text, and the error each one returns.
- Puter still rejects only a prompt over 26,000 characters. Kling
  enforces the lower limit, and its refusal reaches the caller as
  `upstream_bad_request` with nothing charged. A test covers that path.

* Add Gemini 4 Hydrogen and cap unary Gemini 4 Carbon output

Google released `gemini-4-hydrogen` on 2026-11-12. It uses the same
native request shape as Carbon and Argon.

- Hydrogen is served natively at $1.50 input, $7.50 output and $0.075
  cached input per million tokens, with fast service at 1.8 times
  those rates. It accepts `low`, `medium`, `high` and `xhigh` reasoning
  effort, ignores temperature, and takes text and images.
- A Carbon response that isn't streamed is capped at 32,768 output
  tokens, as Argon's already is, and the credit hold is sized to that
  cap. Google reports this limit for both models. The cap is now a
  field of the native model options instead of a check on Argon's id.
- chat.md and rate-limits-and-quotas.md list Hydrogen's reasoning
  levels and limits and Carbon's unary cap.

* Move the reasoning_effort model list out of the chat options table

The `reasoning_effort` row in chat.md listed the models that read the
option. Model-specific details belong under Model-specific features,
which already gives each family's accepted values.

- The row no longer names models.
- The Gemini and Moonshot Kimi sections say that their other models
  ignore the option.

---------

Co-authored-by: Daniel Salazar <daniel.salazar@puter.com>
2026-11-14 00:23:04 -07:00
..
2026-11-06 16:22:48 +07:00
…

Puter.js Docs

Docs · Developer · Puter.com · X

screenshot


Puter.js Docs

The Puter.js documentation contains everything you need to build powerful applications with Puter.js.

  • Get started with Puter.js by reading documentations on usage and best practices
  • Browse all available APIs, including AI, networking, authentication, and cloud services
  • Find code examples and implementations to speed up your development

Getting Started

💻 Local Development

git clone https://github.com/HeyPuter/docs
cd docs
npm install
npm run dev

→ This should launch Puter.js Docs at http://127.0.0.1:8080 (or the next available port).


Support

Connect with the maintainers and community through these channels:

We are always happy to help you with any questions you may have. Don't hesitate to ask!


License

This repository, including its sub-projects, modules, and components, is licensed under MIT, and its content is licensed under CC BY-SA 4.0 unless explicitly stated otherwise. Third-party libraries included in this repository may be subject to their own licenses.