Saltar al contenido
ZhipuComprobando

glm-5

glm/glm-5

chat completionsContext: 205KHerramientasReasoning
Cargando precio…
Official price$0.589 / $2.648 / 1 M de tokens

Ejemplos de código

Any OpenAI SDK works: set the base URL and your Hermes key.

shell
export HERMES_API_KEY=your_api_key
curl https://api.hermes-ai.net/api/v1/chat/completions \
  -H "Authorization: Bearer $HERMES_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "glm/glm-5",
    "messages": [{"role": "user", "content": "Say hello in one sentence."}],
    "max_tokens": 200
  }'