OpenRouter model

GLM 5.1

Z.ai: GLM 5.1. Vergelijk API-prijzen, provider, contextlengte, capaciteiten, use cases, latentie en alternatieven. General chat via OpenRouter, API workloads. $0.185 / 1M tokens / $0.58 / 1M tokens. 204.8k tokens.

OpenRouterPlatform curatedCatalog
StreamingTool callingJSON modeLong context
Inputprijs$0.185 / 1M tokens
Outputprijs$0.58 / 1M tokens
Contextlengte204.8k tokens
Max output8.2k tokens

Wat is GLM 5.1 in NextModel?

Z.ai: GLM 5.1. Vergelijk API-prijzen, provider, contextlengte, capaciteiten, use cases, latentie en alternatieven. General chat via OpenRouter, API workloads. $0.185 / 1M tokens / $0.58 / 1M tokens. 204.8k tokens.

Beste toepassingen

  • General chat via OpenRouter
  • API workloads

OpenAI-compatibel voorbeeld

Houd de OpenAI SDK-stijl aan, wijs base_url naar NextModel en gebruik catalogus-ID z-ai--glm-5.1.

Python
from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://api.nextmodel.app/v1"
)

resp = client.chat.completions.create(
    model="z-ai/glm-5.1",
    messages=[{"role": "user", "content": "Hello from NextModel"}]
)

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

Vergelijkbare alternatieven

OpenRouterCatalog

This model always redirects to the latest model in the Claude Fable family.

$1.88 / 1M tokensInput$9.40 / 1M tokensOutput1MContext
Best forimage understanding, multimodal chat
RoutingConfigured
StreamingTool callingJSON modeVision
Platform curatedNextModel gateway catalog (Go origin)
View details
OpenRouterCatalog

This model always redirects to the latest model in the Anthropic Claude Haiku family.

$0.188 / 1M tokensInput$0.94 / 1M tokensOutput200kContext
Best forimage understanding, multimodal chat
RoutingConfigured
StreamingTool callingJSON modeVision
Platform curatedNextModel gateway catalog (Go origin)
View details
OpenRouterCatalog

This model always redirects to the latest model in the Claude Opus family.

$0.94 / 1M tokensInput$4.70 / 1M tokensOutput1MContext
Best forimage understanding, multimodal chat
RoutingConfigured
StreamingTool callingJSON modeVision
Platform curatedNextModel gateway catalog (Go origin)
View details

FAQ

Z.ai: GLM 5.1 FAQ