Language
WEJŚCIE / 1M$0.182
WYJŚCIE / 1M$0.572
ODCZYT CACHE / 1Mten model nie obsługuje cache
KONTEKST200Ktokenów na żądanie
Wywołaj ten model
from openai import OpenAI

client = OpenAI(
    api_key="sk-ak-...",
    base_url="https://apikey.sh/v1",
)

resp = client.chat.completions.create(
    model="glm-5.1",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)
Specyfikacja
DostawcaZhipu
KategoriaZrównoważone
Kontekst200K tokens
Maks. wyjście131.1K
Endpoint/v1/chat/completions
toolsreasoningstreaming