Z.ai: GLM Flash Latest karşı Upstage: Solar Mini 4.5
Z.ai: GLM Flash Latest ($0,12 / 1M token (≈ ₺6,35)) ve Upstage: Solar Mini 4.5 ($0,04 / 1M token (≈ ₺1,78)) modellerinin api14 kataloğundaki güncel USD fiyatları ve yetenekleriyle yan yana karşılaştırması. İkisi de aynı OpenAI uyumlu API üzerinden çalışır.
Teknik özellikler
| Z.ai: GLM Flash Latest | Upstage: Solar Mini 4.5 | |
|---|---|---|
| Sağlayıcı | Z.ai | Upstage |
| Girdi | $0,12 / 1M token (≈ ₺6,35) | $0,04 / 1M token (≈ ₺1,78) |
| Çıktı | $0,29 / 1M token (≈ ₺14,54) | $0,14 / 1M token (≈ ₺7,14) |
| Önbellek okuma | $0,11 / 1M token (≈ ₺5,35) | $0,00350 / 1M token (≈ ₺0,178) |
| Bağlam penceresi | 1.048.576 | 524.288 |
| Maks. çıktı | 131.072 | 131.072 |
| Girdi | text, image, video | text |
| Çıktı | text | text |
| Araç çağırma | ||
| Yapılandırılmış çıktı | ||
| Akıl yürütme kontrolü | ||
| Eklenme | 27 Ağu 2026 | 24 Kas 2026 |
Temel farklar
- Upstage: Solar Mini 4.5 girdi tokenlarında 72% daha ucuz.
- Upstage: Solar Mini 4.5 çıktı tokenlarında 51% daha ucuz.
- Z.ai: GLM Flash Latest 2.0× daha fazla bağlam okur (1.048.576 token).
- 1.000 girdi ve 500 çıktı tokenlı bir istek Z.ai: GLM Flash Latest ile $0,000267, Upstage: Solar Mini 4.5 ile $0,000105 tutar.
Tek bir metinle geçiş yap
İki model de aynı uç noktayı ve istek yapısını kullanır. model değerini "~z-ai/glm-flash-latest" yerine "upstage/solar-mini-4-5" yap, istemler, akış ve araçlar çalışmaya devam eder.
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": "upstage/solar-mini-4-5",
"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="upstage/solar-mini-4-5",
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": "upstage/solar-mini-4-5",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
}'
package main
import (
"bytes"
"fmt"
"io"
"net/http"
"os"
)
func main() {
body := []byte(`{
"model": "upstage/solar-mini-4-5",
"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" => "upstage/solar-mini-4-5",
"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": "upstage/solar-mini-4-5",
"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: "upstage/solar-mini-4-5",
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": "upstage/solar-mini-4-5",
"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": "upstage/solar-mini-4-5",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
}))
.send()
.await?
.text()
.await?;
println!("{res}");
Ok(())
}
Diğer karşılaştırmalar
- Amazon Ergo karşı inclusionAI: LingSante 3.1 Air VL
- Amazon Ergo karşı MiniMax: MiniMax M4
- Amazon Ergo karşı StepFun: Step 5
- Amazon Ergo karşı Z.ai: GLM 5.4
- inclusionAI: LingSante 3.1 Air VL karşı MiniMax: MiniMax M4
- inclusionAI: LingSante 3.1 Air VL karşı StepFun: Step 5
- inclusionAI: LingSante 3.1 Air VL karşı Z.ai: GLM 5.4
- MiniMax: MiniMax M4 karşı StepFun: Step 5