GLM-5 vs GPT-5.6 Sol
GLM-5 は当社のカタログでの提供を終了しました。以下の数値は最後に公開された料金です。このモデルは呼び出せなくなっていますが、比較対象のもう一方のモデルは引き続き利用できます。
どんなときに、どちらを選ぶか
glm-5 はテキスト専用で、百万トークンあたりの料金は入力 $1、出力 $3.2、キャッシュから読み取る入力 $0.2 です。gpt-5.6-sol はそれぞれ $5、$30、$0.5 で、出力料金には約 9.4 倍の差があり、glm-5 のほうが安価です。gpt-5.6-sol は画像入力に対応し、コンテキスト長は glm-5 の 200000 トークンに対して 1050000 トークンです。一方、最大出力は glm-5 が 131072 トークン、gpt-5.6-sol が 128000 トークンで、glm-5 のほうがわずかに大きくなっています。画像やリポジトリ全体を含むプロンプトには gpt-5.6-sol、大量のテキスト専用処理には glm-5 を選んでください。
ベンチマーク
両モデルとも測定されている項目は 9 件です。
ベンダー公表値: Alibaba (Qwen) Alibaba (Qwen) Alibaba (Qwen) Alibaba (Qwen) Alibaba (Qwen) Alibaba (Qwen) Alibaba (Qwen) Anthropic Anthropic Anthropic Anthropic Anthropic ByteDance DeepSeek DeepSeek DeepSeek Google Google Google Google MiniMax Moonshot Moonshot OpenAI OpenAI OpenAI OpenAI OpenAI OpenAI OpenAI Tencent Z.ai Z.ai Z.ai Z.ai
料金
| GLM-5 | GPT-5.6 Sol | Δ | |
|---|---|---|---|
| 入力 / 100 万トークン | $1 | $5 | 0.2× |
| 出力 / 100 万トークン | $3.2 | $30 | 0.11× |
| キャッシュ読み取り / 100 万トークン | $0.2 | $0.5 | 0.4× |
| キャッシュ書き込み | - | 1.25x (30m) / 2.5x (12h) | - |
ビルド時点の現行カタログの料金です。最新の料金表は各モデルのページに掲載しています。 主表は基本料金です。入力の長さに応じてリクエスト全体の単価が変わります。全料金帯は各モデルページで確認できます。
GPT-5.6 Sol · 入力長別の料金
リクエスト全体に入力長の区分の単価が適用されます。料金は100万トークンあたりの米ドルです。
| 入力トークン数 | 入力 | 出力 | 思考モード入力 |
|---|---|---|---|
| 0 - 272,000 | $5 | $30 | - |
| 272,001 - 1,050,000 | $10 | $45 | - |
両モデルの位置:100 万トークンあたりの入力料金(この課金単位のチャットモデル全 91 件、対数スケール)
対応機能
| GLM-5 | GPT-5.6 Sol | |
|---|---|---|
| ツール呼び出し | あり | あり |
| 思考の制御 | 設定可能 | 設定可能 |
| 構造化出力 | あり | あり |
| プロンプトキャッシュ | 自動(暗黙的) | 自動 + 明示 |
| キャッシュ保持時間 | 公表なし | at least 30m by default, 12h option on the Responses API |
| キャッシュ対象の最小プレフィックス | 公表なし | 1,024 トークン |
仕様
| GLM-5 | GPT-5.6 Sol | |
|---|---|---|
| 入力モダリティ | テキスト | テキスト 画像 |
| 出力モダリティ | テキスト | テキスト |
| リリース | 2026-02-12 | 2026-07-09 |
| 知識カットオフ | - | 2026-02 |
| コンテキストウィンドウ | 200,000 | 1,050,000 |
| 最大出力 | 131,072 | 128,000 |
| 思考パラメータ | thinking.type | reasoning.effort |
| 指定可能な値 | thinking.type
| reasoning.effort
|
| デフォルト | enabled。GLM-5 では思考するかどうかをモデルが自動で判断します | medium |
仕様は各ベンダーのドキュメントから転記しています。ベンダーが公表していない項目は、推測で埋めずに省いています。 出典の一覧: GLM-5 · GPT-5.6 Sol
1 つのプロンプトを両モデルで実行(ゲートウェイ経由で測定)
GLM-5 合格 · 3 sentences
Enabling reasoning forces the model to perform multiple hidden steps to "think" through a problem, drastically increasing the volume of data processed per query compared to a standard response. Because our billing is directly tied to this processing volume, the additional computational work required for higher accuracy has proportionally doubled our consumption. Essentially, the spike reflects a trade-off where we are paying a higher variable cost to secure significantly better analytical outcomes.
出力 1393 tok (+1308 思考) レイテンシ 36.0 s
GPT-5.6 Sol 合格 · 3 sentences
Enabling reasoning makes the model generate additional internal tokens before producing an answer, so each request consumes more billable compute. Reasoning may also increase response length, latency, tool calls, and retries, further raising per-request cost. In short, usage volume may be unchanged, but the cost per task increased enough to double the bill.
出力 111 tok (+34 思考) レイテンシ 2.3 s
指示への忠実さ(ちょうど 3 文という、数えて確かめられる条件)、読み手に合わせた書き分け(CFO 向けの語り口)、そして下のトークンメーターに表れる、表示されない思考への課金の差。
GLM-5 合格 · 8/8 cases
Here is the fixed code: ```python def longest_run(xs): if not xs: return 0 best = 1 cur = 1 for i in range(1, len(xs)): if xs[i] == xs[i - 1]: cur += 1 best = max(best, cur) else: cur = 1 return best ``` **Explanation:** The bug stems from initializing `best` and `cur` to zero, which causes the function to count the number of *transitions* between adjacent elements rather than the total number of items in the run, resulting in a return value that is always one less than the actual length (reporting 0 for a single element and 1 for a pair). By initializing the counters to 1 and resetting `cur` to 1 when a streak breaks, the logic correctly counts the items themselves; adding an explicit check for an empty list ensures the function handles the zero-element edge case correctly.
出力 2907 tok (+2694 思考) レイテンシ 73.7 s
GPT-5.6 Sol 合格 · 8/8 cases
```python def longest_run(xs): if not xs: return 0 best = cur = 1 for i in range(1, len(xs)): if xs[i] == xs[i - 1]: cur += 1 else: cur = 1 best = max(best, cur) return best ``` The original function counted equal *adjacencies* rather than items, so a run of length one produced `0` and every longer run was undercounted by one. Initializing `cur` and `best` to `1` for nonempty input makes them represent item counts, resetting `cur` to `1` starts a new run at the current item, and updating `best` on every iteration ensures a run reaching the final index is included.
出力 316 tok (+135 思考) レイテンシ 5.2 s
修正が本当に正しいか(実行して確かめられる)、説明の密度、範囲の限られたタスクでのトークン効率。
GLM-5 合格 · 5/5 fields, guidance "withheld pending the Q4 close"
```json { "company": "Meridian Robotics", "quarter": "September quarter", "revenue_usd_m": 412, "growth_pct": 11, "guidance": "withheld pending the Q4 close" } ```
出力 3620 tok (+3561 思考) レイテンシ 91.8 s
GPT-5.6 Sol 合格 · 5/5 fields, guidance "withheld pending the Q4 close"
{"company":"Meridian Robotics","quarter":"September quarter","revenue_usd_m":412,"growth_pct":"11+","guidance":"withheld pending the Q4 close"}
出力 194 tok (+147 思考) レイテンシ 3.2 s
スキーマの遵守(存在しないフィールドを作らない)、ハルシネーションを誘う条件への耐性(guidance は明示的に伏せてある)、構造化出力の実現方法の違い。
GLM-5 合格 · 119 words, 0 banned, 1 question
We are thrilled to introduce Global Prompt Caching, a powerful new capability within our API gateway designed to optimize your AI operations. By intelligently storing prompt responses across every supported provider, this feature drastically reduces latency and cuts operational costs. Instead of processing identical requests repeatedly, our system serves cached results instantly, ensuring consistent performance even during high-traffic periods. Why pay full price for repeated inference on the same inputs? This update gives developers fine-grained control over cache lifetimes and hit rates, allowing for predictable budgeting and faster application response times. You can activate this functionality directly in your dashboard settings today. Start maximizing your efficiency now and deliver a snappier experience to your end-users without unnecessary API expenditure.
出力 715 tok (+571 思考) レイテンシ 18.9 s
GPT-5.6 Sol 合格 · 120 words, 0 banned, 1 question
Today, we’re introducing Provider Prompt Cache, a new API gateway feature that reuses prompt prefixes across supported AI providers, reducing latency, token costs, and duplicated processing. Teams can define cache policies once, route requests dynamically, and preserve provider flexibility without rewriting application logic. Switching models during testing or failover? The gateway identifies eligible prompt segments, applies provider-specific caching controls, and reports hits, misses, savings, and expiration details through unified logs and metrics. Configurable TTLs, tenant isolation, encryption, and cache-bypass options help teams balance performance, privacy, and freshness for every workload. Provider Prompt Cache is available today in beta through the dashboard and API, with SDK examples and migration guidance included. […]
出力 733 tok (+564 思考) レイテンシ 7.7 s
制約の遵守(語数の上限、禁止語リスト、疑問文はひとつだけ)、文体の癖、長さの制御。
1 行の変更で切り替え
以下のどのタブにも両方のモデル ID が入っています。書き換えるのはハイライトされた 2 行だけで、エンドポイント、キー、リクエスト形式はすべて同じです。
from openai import OpenAI
client = OpenAI(
base_url="https://synthorai.io/v1",
api_key="sk-syn-...",
)
resp = client.chat.completions.create(
model="glm-5",
# model="gpt-5.6-sol", # この行のコメントを外し、上の行をコメントアウト
messages=[{"role": "user", "content": "Summarize this diff"}],
reasoning_effort="medium",
)
print(resp.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://synthorai.io/v1",
apiKey: "sk-syn-...",
});
const resp = await client.chat.completions.create({
model: "glm-5",
// model: "gpt-5.6-sol", // この行のコメントを外し、上の行をコメントアウト
messages: [{ role: "user", content: "Summarize this diff" }],
reasoning_effort: "medium",
});
console.log(resp.choices[0].message.content);curl https://synthorai.io/v1/chat/completions \
-H "Authorization: Bearer sk-syn-..." \
-H "Content-Type: application/json" \
-d '{
"model": "glm-5",
# "model": "gpt-5.6-sol", # この行のコメントを外し、上の行をコメントアウト
"messages": [{"role": "user", "content": "Hello"}],
"reasoning_effort": "medium"
}'package main
import (
"context"
"fmt"
"github.com/openai/openai-go/v3"
"github.com/openai/openai-go/v3/option"
)
func main() {
client := openai.NewClient(
option.WithBaseURL("https://synthorai.io/v1"),
option.WithAPIKey("sk-syn-..."),
)
resp, _ := client.Chat.Completions.New(context.TODO(), openai.ChatCompletionNewParams{
Model: "glm-5",
// Model: "gpt-5.6-sol", // この行のコメントを外し、上の行をコメントアウト
Messages: []openai.ChatCompletionMessageParamUnion{
openai.UserMessage("Summarize this diff"),
},
ReasoningEffort: openai.ReasoningEffortMedium,
})
fmt.Println(resp.Choices[0].Message.Content)
}import com.openai.client.OpenAIClient;
import com.openai.client.okhttp.OpenAIOkHttpClient;
import com.openai.models.chat.completions.*;
import com.openai.models.ReasoningEffort;
OpenAIClient client = OpenAIOkHttpClient.builder()
.baseUrl("https://synthorai.io/v1")
.apiKey("sk-syn-...")
.build();
ChatCompletion resp = client.chat().completions().create(
ChatCompletionCreateParams.builder()
.model("glm-5")
// .model("gpt-5.6-sol") // この行のコメントを外し、上の行をコメントアウト
.addUserMessage("Summarize this diff")
.reasoningEffort(ReasoningEffort.MEDIUM)
.build());
System.out.println(resp.choices().get(0).message().content().orElse(""));よくある質問
GLM-5 と GPT-5.6 Sol ではどちらが安いですか?
主表は基本料金です。入力の長さに応じてリクエスト全体の単価が変わります。全料金帯は各モデルページで確認できます。
GLM-5 と GPT-5.6 Sol の A/B テストは、実装を 2 つ用意せずにできますか?
はい。どちらも同じ OpenAI 互換エンドポイントから 1 つの API キーで利用できます。切り替えはモデル名の文字列を 1 行変えるだけなので、トラフィックの一部をそれぞれに振り分けて、請求額を直接比較できます。
GLM-5 と GPT-5.6 Sol はプロンプトキャッシュに対応していますか?
はい。どちらのモデルも、キャッシュ読み取りは通常の入力単価より安く課金されます。そのため、同じプレフィックスを繰り返し使うワークロードでは、定価から見込まれるよりコストが下がります。キャッシュ読み取りの正確な単価は、上の料金表に掲載しています。