Z.ai's (formerly Zhipu AI) flagship open-weight coding model with a 1M-token context window. Mixture-of-Experts architecture with 753B total parameters and ~40B active per request, featuring two cost-balancing reasoning modes. Tops several coding benchmarks while remaining a fraction of the cost of comparable proprietary frontier models. MIT-licensed weights.
1.0M tokens
2
Kullanılabilir
En ucuz
OpenRouter
$2.60/1M tokens
OpenRouter, Zhipu AI
Toplam maliyete göre sıralanır (1M token başına giriş + çıkış). Sağlayıcı ayrıntılarını görmek için bir satır seçin.
| Sağlayıcı | Fiyat (1M başına) | Hız sınırları | Bölgeler | Durum | Gecikme |
|---|---|---|---|---|---|
Giriş: $0.60Çıkış: $2.00 | 200 RPM / 300K TPM | us-east-1 | Sağlıklı | 0ms | |
Giriş: $0.60Çıkış: $2.00 | 300 RPM / 500K TPM | us-east-1global | Sağlıklı | 0ms |
Bu modeli OpenRouter üzerinden OpenAI uyumlu bir SDK ile kullanın.
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://openrouter.ai/api/v1",
apiKey: process.env.OPENROUTER_API_KEY,
});
const response = await client.chat.completions.create({
model: "z-ai/glm-5.2",
messages: [
{ role: "user", content: "Hello!" }
],
});
console.log(response.choices[0].message.content);OpenRouter API kullanılıyor · OpenAI uyumlu SDK