OpenAI: GPT-6 Luna Pro lawan Z.ai: GLM 5.3 Flash (TEE)
Perbandingan berdampingan OpenAI: GPT-6 Luna Pro (US$0,35 / 1 jt token (≈ Rp 6.453)) dan Z.ai: GLM 5.3 Flash (TEE) (US$0,28 / 1 jt token (≈ Rp 5.163)) menggunakan harga USD dan kemampuan terkini dari katalog api14. Keduanya berjalan melalui API yang sama dan kompatibel dengan OpenAI.
Spesifikasi
| OpenAI: GPT-6 Luna Pro | Z.ai: GLM 5.3 Flash (TEE) | |
|---|---|---|
| Penyedia | OpenAI | Z.ai |
| Masukan | US$0,35 / 1 jt token (≈ Rp 6.453) | US$0,28 / 1 jt token (≈ Rp 5.163) |
| Keluaran | US$1,75 / 1 jt token (≈ Rp 32.267) | US$1,75 / 1 jt token (≈ Rp 32.267) |
| Baca cache | US$0,04 / 1 jt token (≈ Rp 645) | US$0,04 / 1 jt token (≈ Rp 774) |
| Tulis cache | US$0,44 / 1 jt token (≈ Rp 8.067) | - |
| Pencarian web | US$35,00 / 1 rb pencarian (≈ Rp 645.338) | - |
| Jendela konteks | 1.050.000 | 1.048.576 |
| Output maks. | 128.000 | 943.718 |
| Masukan | file, image, text | text, image, video |
| Keluaran | text | text |
| panggilan alat | ||
| Output terstruktur | ||
| Pengaturan penalaran | ||
| Ditambahkan | 22 Sep 2026 | 26 Agu 2026 |
Perbedaan utama
- Z.ai: GLM 5.3 Flash (TEE) 20% lebih murah untuk token input.
- Permintaan dengan 1.000 token input dan 500 token output berbiaya US$0,00123 dengan OpenAI: GPT-6 Luna Pro dan US$0,00116 dengan Z.ai: GLM 5.3 Flash (TEE).
Berganti cukup dengan satu string
Kedua model menggunakan endpoint dan bentuk permintaan yang sama. Ubah nilai model dari "openai/gpt-6-luna-pro" ke "z-ai/glm-5.3-flash:tee", prompt, streaming, dan tools tetap berfungsi.
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api14.com/api/v1",
apiKey: process.env.API14_API_KEY,
});
const result = await client.chat.completions.create({
"model": "z-ai/glm-5.3-flash:tee",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
});
console.log(result.choices[0].message.content);
from openai import OpenAI
import os
client = OpenAI(
base_url="https://api14.com/api/v1",
api_key=os.environ["API14_API_KEY"],
)
result = client.chat.completions.create(
model="z-ai/glm-5.3-flash:tee",
messages=[
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
],
)
print(result.choices[0].message.content)
curl https://api14.com/api/v1/chat/completions \
-H "Authorization: Bearer $API14_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "z-ai/glm-5.3-flash:tee",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
}'
package main
import (
"bytes"
"fmt"
"io"
"net/http"
"os"
)
func main() {
body := []byte(`{
"model": "z-ai/glm-5.3-flash:tee",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
}`)
req, _ := http.NewRequest("POST", "https://api14.com/api/v1/chat/completions", bytes.NewReader(body))
req.Header.Set("Authorization", "Bearer "+os.Getenv("API14_API_KEY"))
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
out, _ := io.ReadAll(res.Body)
fmt.Println(string(out))
}
<?php
$ch = curl_init("https://api14.com/api/v1/chat/completions");
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Authorization: Bearer " . getenv("API14_API_KEY"),
"Content-Type: application/json",
],
CURLOPT_POSTFIELDS => json_encode([
"model" => "z-ai/glm-5.3-flash:tee",
"messages" => [
[
"role" => "user",
"content" => "Explain vector databases in two sentences."
]
]
]),
]);
$response = json_decode(curl_exec($ch), true);
print_r($response);
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Main {
public static void main(String[] args) throws Exception {
String body = """
{
"model": "z-ai/glm-5.3-flash:tee",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
}
""";
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api14.com/api/v1/chat/completions"))
.header("Authorization", "Bearer " + System.getenv("API14_API_KEY"))
.header("Content-Type", "application/json")
.POST(HttpRequest.BodyPublishers.ofString(body))
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
}
}
using OpenAI;
using OpenAI.Chat;
using System.ClientModel;
var client = new ChatClient(
model: "z-ai/glm-5.3-flash:tee",
credential: new ApiKeyCredential(Environment.GetEnvironmentVariable("API14_API_KEY")!),
options: new OpenAIClientOptions { Endpoint = new Uri("https://api14.com/api/v1") });
ChatCompletion completion = client.CompleteChat("Explain vector databases in two sentences.");
Console.WriteLine(completion.Content[0].Text);
require "net/http"
require "json"
uri = URI("https://api14.com/api/v1/chat/completions")
req = Net::HTTP::Post.new(uri, {
"Authorization" => "Bearer #{ENV["API14_API_KEY"]}",
"Content-Type" => "application/json",
})
req.body = {
"model": "z-ai/glm-5.3-flash:tee",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
}.to_json
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |h| h.request(req) }
puts JSON.parse(res.body)
// Cargo.toml: reqwest = { version = "0.12", features = ["json"] }, tokio = { version = "1", features = ["full"] }, serde_json = "1"
use serde_json::json;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let key = std::env::var("API14_API_KEY")?;
let res = reqwest::Client::new()
.post("https://api14.com/api/v1/chat/completions")
.bearer_auth(key)
.json(&json!({
"model": "z-ai/glm-5.3-flash:tee",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
}))
.send()
.await?
.text()
.await?;
println!("{res}");
Ok(())
}
Perbandingan lainnya
- Amazon Ergo lawan MiniMax: MiniMax M4
- Amazon Ergo lawan Qwen: Qwen4 35B A3B
- Amazon Ergo lawan StepFun: Step 5
- Amazon Ergo lawan Z.ai: GLM 5.4
- MiniMax: MiniMax M4 lawan Qwen: Qwen4 35B A3B
- MiniMax: MiniMax M4 lawan StepFun: Step 5
- MiniMax: MiniMax M4 lawan Z.ai: GLM 5.4
- Qwen: Qwen4 35B A3B lawan StepFun: Step 5