Kimi Tokenizer API

Helper endpoint exposed by the Moonshot platform for counting tokens against a given model's tokenizer prior to submission, useful for managing long-context budgets.

Documentation

API entry from apis.yml

apis.yml Raw ↑
aid: kimi-moonshot:tokenizer
name: Kimi Tokenizer API
description: Helper endpoint exposed by the Moonshot platform for counting tokens against a given model's
  tokenizer prior to submission, useful for managing long-context budgets.
humanURL: https://platform.moonshot.cn/docs
baseURL: https://api.moonshot.cn/v1/tokenizers
tags:
- Tokenizer
- Utilities
properties:
- type: Documentation
  url: https://platform.moonshot.cn/docs