GLM-5.1 API via TokenMix

Use GLM-5.1 from Zhipu as a chat model through the TokenMix AI API relay and multi-model gateway.

GLM-5.1 is Zhipu's latest flagship model with improved reasoning, coding, and agent capabilities. Tiered pricing by context length (<=32K and >32K). 200K context window.

API access

  • Base URL: https://api.tokenmix.ai/v1
  • Model ID: glm-5.1
  • OpenAI SDK compatible. Change the base URL and use your TokenMix API key.

Pricing

Input $0.771429/M tokens, output $3.085714/M tokens

Capabilities

Function calling, JSON mode, Streaming, Reasoning

Model specs

  • Context: 200K tokens
  • Max output: 128K tokens

Availability

1/1 available API endpoints are healthy right now.

Recent performance

TTFT 2483ms, latency 4715ms, throughput 50.7 tok/s.

Start using this model

Create an API key, top up from $1 when needed, and call this model through the TokenMix OpenAI-compatible endpoint.

Create API key · View pricing · Quickstart