Seedance 2.0 | Special Offer ✦ 10% OFF NOW | Ends May 13 (UTC+0)
chatglm
z-ai/glm-4.7

z-ai/glm-4.7

202,752 context · $0.39/M input tokens · $1.75/M output tokens

GLM-4.7 is Z.ai’s latest flagship model, featuring upgrades in two key areas: enhanced programming capabilities and more stable multi-step reasoning/execution. It demonstrates significant improvements in executing complex agent tasks while...

Fiyatlandırma

Kullandıkça öde

Ön ödeme yok, yalnızca kullandığınız kadar ödeyin

Giriş$0.39 / M Tokens
Çıkış$1.75 / M Tokens

Modeli dene

z-ai/glm-4.7
Çevrimiçi
chatglm
Merhaba! Yardımcı bir yapay zeka asistanıyım. Size nasıl yardımcı olabilirim?

API Kullanımı

API'mizle entegre etmek için aşağıdaki kod örneklerini kullanın:

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="z-ai/glm-4.7",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

print(response.choices[0].message.content)

Model Tanıtımı

Z-Ai glm-4.7

z-ai glm-4.7


Why It Looks Great

  • Large Language Model architecture for efficient processing
  • 202752 context window for long document handling
  • Competitive pricing at $0.4/$1.6 per million tokens

Key Features

  • Context Window: 202752 tokens
  • Max Output: 65535 tokens
  • Vision: Supported
  • Function Calling: Supported

Specifications

SpecificationValue
ProviderZ-Ai
Model TypeLarge Language Model (LLM)
ArchitectureN/A
Context Window202752 tokens
Max Output65535 tokens
InputText
OutputText
VisionSupported
Function CallingSupported

Pricing

Token TypeCost per Million Tokens
Input$0.4
Output$1.6

How to Use

  1. Write your prompt — describe the task, provide context, and specify desired output format.
  2. Submit — the model processes your request and returns the response.

API Integration

Base URL: https://llm.wavespeed.ai/v1 API Endpoint: chat/completions Model ID: z-ai/glm-4.7


API Usage

Python SDK

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="z-ai/glm-4.7",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

print(response.choices[0].message.content)

cURL

curl https://llm.wavespeed.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "z-ai/glm-4.7",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Notes

  • Model: z-ai/glm-4.7
  • Provider: Z-Ai

Bilgi

Sağlayıcıchatglm
Türllm

Desteklenen İşlevsellik

Giriş
Metin
Çıkış
Metin
Bağlam202,752
Maks. Çıkış65,535
Vision-
Function Calling✓ Destekleniyor

API Erişim Kılavuzu

Base URLhttps://llm.wavespeed.ai/v1
API Endpointchat/completions
Model IDz-ai/glm-4.7

GLM 4.7 API

z-ai/glm-4.7

GLM-4.7 is Z.ai’s latest flagship model, featuring upgrades in two key areas: enhanced programming capabilities and more stable multi-step reasoning/execution. It demonstrates significant improvements in executing complex agent tasks while...

Giriş

$0.39 /M

Çıkış

$1.75 /M

Bağlam

203K

Maks. Çıkış

66K

Araç Kullanımı

Destekleniyor

GLM 4.7'i WaveSpeedAI'da deneyin

Birleşik API'miz aracılığıyla GLM 4.7'e erişin — OpenAI uyumlu, soğuk başlatma yok, şeffaf fiyatlandırma.

GLM 4.7 hakkında sık sorulan sorular

GLM 4.7 API ücreti ne kadar?+

WaveSpeedAI fiyatlandırması: milyon giriş tokenı başına $0.39 ve milyon çıkış tokenı başına $1.75. Prompt caching ve toplu işleme ayrı faturalanır ve uzun, tekrar eden yüklerde etkin maliyeti düşürür.

GLM 4.7'in bağlam penceresi nedir?+

GLM 4.7 istek başına 203K bağlam tokenını ve 66K çıkış tokenını destekler.

GLM 4.7 OpenAI uyumlu mu?+

Evet. WaveSpeedAI, GLM 4.7 modelini https://llm.wavespeed.ai/v1 adresindeki OpenAI uyumlu endpoint üzerinden sunar. Resmi OpenAI SDK'sını WaveSpeedAI API anahtarınızla bu base URL'ye yöneltin — başka kod değişikliği gerekmez.

GLM 4.7'e nasıl başlarım?+

WaveSpeedAI'a giriş yapın, Access Keys'te bir API anahtarı oluşturun, ardından yukarıda gösterilen model id ile https://llm.wavespeed.ai/v1/chat/completions adresine bir istek gönderin. Yeni hesaplar GLM 4.7'i değerlendirmek için ücretsiz krediler alır.

İlgili LLM API'leri