
GLM-5.1
Z.ai
- コンテキスト長
- 203K 202,752 トークン
- 最大出力
- 131K 131,072 トークン
- 入力 / 出力
- テキスト → テキスト
API料金
USD / 100万トークン
| 入力 | 出力 | キャッシュ入力 |
|---|---|---|
|
|
|
時系列
- · 重みのバージョン · 参照リンク
入力/出力料金 · USD / 100万トークン
| モデル | 参照リンク | 入力/出力料金 |
|---|---|---|
glm-5.1standard | zai-pricing APIルートは利用できません | $1.40 / $4.40 |
- · 参照リンク · GitHub search · Z.ai · pulls · anomalyco/models.dev · @models-dev-automation[bot]
- · 参照リンク · GitHub search · Z.ai · pulls · BerriAI/litellm · @dparkmit24
抜粋
env -u ZAI_API_KEY python -c 'import litellm; print(litellm.validate_environment(model="zai/glm-5.1"))'
- · カタログへの掲載 · GitHub · MiniMax-AI/minimax-code · code
抜粋
/** * Shared compatibility shim for the `edit` tool's arguments. * * Two model-side quirks are normalized before schema validation runs (both * mirror Pi 0.79's builtin edit tool shim): * * 1. Some models (MiniMax-M3 / GLM-5.1) emit `edits` as a JSON string even * though the public schema is `edits[]` — parse it back into an array. * 2. Legacy single-edit input (`oldText` / `newText` at the top level) is * folded into `edits[]`. * * One shared implementation is referenced by all three edit defs * (agent-core base, desktop, cloud); edit-defs-contract tests assert the * references are identical. */ export interface PreparedEditArguments { path: string; edits: { oldText: string; newText: string }[]; } export function prepareEditArguments(args: unknown): PreparedEditArguments { if (!args || typeof args !== 'object' || Array.isArray(args
このコード内の参照は、実際に使用されるモデル識別子を裏付けるものではありません。
仕様
GLM-5.1 は Z.ai のAIモデルです(重み公開)。リリース日:2026-04-07。 コンテキストウィンドウは202,752 トークンです。 最大出力は131,072 トークンです。 100万トークンあたりの料金は、入力が$1.40、出力が$4.40です。
- コンテキスト長
- 202,752
- 最大出力
- 131,072
- 入力
- テキスト
- 出力
- テキスト
- 重み
- 公開
- 入力 · USD / 100万トークン
- $1.40
- 出力 · USD / 100万トークン
- $4.40
- キャッシュ入力 · USD / 100万トークン
- $0.26
よくある質問
GLM-5.1 のコンテキスト長は?
コンテキストウィンドウは202,752 トークンです。 最大出力は131,072 トークンです。
GLM-5.1 の料金は?
100万トークンあたりの料金は、入力が$1.40、出力が$4.40です。 キャッシュ入力は100万トークンあたり $0.26。
GLM-5.1 の重みは公開されていますか?
はい。Z.ai が重みを公開しています。
GLM-5.1 のリリース日は?
2026-04-07。