GLM 5.3 API

Coding and agentic model with a 1M token context, 128K output, always-on reasoning at low, high, or max effort, native web search, and tool calling.

Z.aiテキスト生成1M コンテキストリリース 2026年8月14日Singapore独自エンドポイント新着

GLM 5.3 について

Coding and agentic model with a 1M token context, 128K output, always-on reasoning at low, high, or max effort, native web search, and tool calling.

Notes: - Context window: 1M tokens - Maximum output: 128K tokens - Always reasons; thinking cannot be disabled - Reasoning effort: low, high, or max (max recommended for complex coding) - A request for a different effort, or to turn thinking off, is served at the nearest supported level - Built-in web search adds $0.033 per request when used - Supports function calling, structured output (JSON mode), and streaming

別名 Z.ai GLM 5.3

reasoningfunction callingweb search

GLM 5.3 の仕様

モデルID
glm-5-3
プロバイダー
Z.ai
カテゴリ
テキスト生成
リリース
2026年8月14日
コンテキスト長
1M トークン
最大出力
131,072 トークン
入力
テキスト
出力
テキスト
構造化出力
JSON モード
リージョン
Singapore
エンドポイント
POST/v1/chat/completionsPOST/v1/responsesPOST/v1/messagesPOST/v1beta/models/glm-5-3:generateContent
代替モデルID
glm-5.3zai/glm-5.3zhipu/glm-5.3

GLM 5.3 API の料金

EmpirioLabs カタログのライブ従量課金料金です。使った分だけの支払いで、月額最低料金はありません。

タイプ
仕様
料金
入力
per 1M prompt tokens
$1.40
出力
per 1M generated tokens
$4.40
Web search
per request
$0.033
料金ページ全体で比較

GLM 5.3 API の呼び出し方

GLM 5.3 は OpenAI 互換の Chat Completions API を提供します。任意の OpenAI SDK を EmpirioLabs API キーで https://api.empiriolabs.ai/v1 に向け、モデル ID glm-5-3 を使ってください。 EmpirioLabs ダッシュボードで API キーを取得してください。

cURL
curl https://api.empiriolabs.ai/v1/chat/completions \
  -H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "glm-5-3",
    "messages": [
      {"role": "user", "content": "Write a haiku about the ocean."}
    ]
  }'
Python (OpenAI SDK)
from openai import OpenAI

client = OpenAI(
    base_url="https://api.empiriolabs.ai/v1",
    api_key="YOUR_EMPIRIOLABS_API_KEY",
)

response = client.chat.completions.create(
    model="glm-5-3",
    messages=[{"role": "user", "content": "Write a haiku about the ocean."}],
)
print(response.choices[0].message.content)
GLM 5.3 API の完全リファレンス

GLM 5.3 API のパラメーター

EmpirioLabs 上の GLM 5.3 API が対応するリクエストパラメーターです。フィールドを省略した場合はデフォルト値が適用されます。

パラメータタイプデフォルト範囲 / 値説明
max_tokensinteger655361 から 131072Maximum number of output tokens to generate.
temperaturenumber10 から 1Controls randomness. Lower values make responses more deterministic.
top_pnumber0.950.01 から 1Nucleus sampling cutoff.
reasoning_effortenummaxlow, high, maxGLM 5.3 reasoning effort. This model always reasons and cannot be turned off. low is lightweight, high is enhanced, and max is deep reasoning. max is recommended for...
do_samplebooleantrue-Enable sampling. Turn off for greedy deterministic output (temperature and top_p are ignored).
tool_web_searchbooleanfalse-Enable built-in web search. Adds $0.033 per request when used.
search_recency_filterenumnoLimitoneDay, oneWeek, oneMonth, oneYear, noLimitLimit web search results to a recency window.
countinteger101 から 50Number of web search results to retrieve when web search is enabled.
search_domain_filterstring--Restrict web search to a specific domain.
search_promptstring--Optional prompt used to summarize retrieved web search results.
search_resultbooleantrue-Return web search result metadata in the response when web search is enabled.
tool_streambooleanfalse-Stream function-call arguments incrementally when streaming.
toolsarray[]-OpenAI-compatible function calling tool definitions.
tool_choiceobject--OpenAI-compatible tool choice control.
ドキュメントにあと2個のパラメーター

GLM 5.3 API: よくある質問

GLM 5.3 API の料金はいくらですか?

EmpirioLabs では GLM 5.3 は従量課金です: Input $1.40 per 1M prompt tokens; Output $4.40 per 1M generated tokens; Web search $0.033 per request。このページのライブ料金表は常に API の請求額と一致します。

GLM 5.3 のコンテキストウィンドウはどれくらいですか?

GLM 5.3 は 1M トークンのコンテキストウィンドウに対応しています(1回の応答あたり最大 131,072 出力トークン)。

GLM 5.3 API は OpenAI 互換ですか?

はい。GLM 5.3 は OpenAI 互換の Chat Completions API を提供しているため、既存の OpenAI SDK は base_urlhttps://api.empiriolabs.ai/v1 に向けてモデル ID を glm-5-3 に設定するだけで動作します。

統合する前にブラウザで GLM 5.3 を試せますか?

はい。EmpirioLabs プレイグラウンドでは API と同じパラメーターで GLM 5.3 をブラウザ上で実行できるので、コードを書く前にプロンプトを試せます。

GLM 5.3 の API キーはどうやって取得しますか?

EmpirioLabs アカウントを作成し、ダッシュボードの API Keysでキーを生成してください。課金は従量制クレジットなので、実行したリクエストの分だけ支払います。

より良いエンドポイントを使う準備はできていますか?

ご自身のモデルを当社のスタックに展開したい方は、ぜひご価格をご覧ください。