
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.
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
glm-5-3/v1/chat/completionsPOST/v1/responsesPOST/v1/messagesPOST/v1beta/models/glm-5-3:generateContentglm-5.3zai/glm-5.3zhipu/glm-5.3EmpirioLabs カタログのライブ従量課金料金です。使った分だけの支払いで、月額最低料金はありません。
GLM 5.3 は OpenAI 互換の Chat Completions API を提供します。任意の OpenAI SDK を EmpirioLabs API キーで https://api.empiriolabs.ai/v1 に向け、モデル ID glm-5-3 を使ってください。 EmpirioLabs ダッシュボードで API キーを取得してください。
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."}
]
}'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)EmpirioLabs 上の GLM 5.3 API が対応するリクエストパラメーターです。フィールドを省略した場合はデフォルト値が適用されます。
| パラメータ | タイプ | デフォルト | 範囲 / 値 | 説明 |
|---|---|---|---|---|
| max_tokens | integer | 65536 | 1 から 131072 | Maximum number of output tokens to generate. |
| temperature | number | 1 | 0 から 1 | Controls randomness. Lower values make responses more deterministic. |
| top_p | number | 0.95 | 0.01 から 1 | Nucleus sampling cutoff. |
| reasoning_effort | enum | max | low, high, max | GLM 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_sample | boolean | true | - | Enable sampling. Turn off for greedy deterministic output (temperature and top_p are ignored). |
| tool_web_search | boolean | false | - | Enable built-in web search. Adds $0.033 per request when used. |
| search_recency_filter | enum | noLimit | oneDay, oneWeek, oneMonth, oneYear, noLimit | Limit web search results to a recency window. |
| count | integer | 10 | 1 から 50 | Number of web search results to retrieve when web search is enabled. |
| search_domain_filter | string | - | - | Restrict web search to a specific domain. |
| search_prompt | string | - | - | Optional prompt used to summarize retrieved web search results. |
| search_result | boolean | true | - | Return web search result metadata in the response when web search is enabled. |
| tool_stream | boolean | false | - | Stream function-call arguments incrementally when streaming. |
| tools | array | [] | - | OpenAI-compatible function calling tool definitions. |
| tool_choice | object | - | - | OpenAI-compatible tool choice control. |
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 は 1M トークンのコンテキストウィンドウに対応しています(1回の応答あたり最大 131,072 出力トークン)。
はい。GLM 5.3 は OpenAI 互換の Chat Completions API を提供しているため、既存の OpenAI SDK は base_url を https://api.empiriolabs.ai/v1 に向けてモデル ID を glm-5-3 に設定するだけで動作します。
はい。EmpirioLabs プレイグラウンドでは API と同じパラメーターで GLM 5.3 をブラウザ上で実行できるので、コードを書く前にプロンプトを試せます。
EmpirioLabs アカウントを作成し、ダッシュボードの API Keysでキーを生成してください。課金は従量制クレジットなので、実行したリクエストの分だけ支払います。