BIFROST
Dashboard
Operational

Zhipu AI / GLM

GLM models via Zhipu AI API.

Pricing

glm-4-flash is free tier. glm-4-plus is pay-as-you-go.

Models

glm-4-flash (free)
glm-4-plus

Capabilities

TextToolsStreaming

Base URL

https://open.bigmodel.cn/api/paas/v4

Configuration

Environment variable:
ZHIPU_API_KEY=...

Or configure via dashboard:
Dashboard → Provider Keys → Add Key → zhipu

Example

curl https://api.bifrost.dev/v1/chat/completions \
  -H "Authorization: Bearer $BIFROST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "glm-4-flash",
    "messages": [{"role": "user", "content": "Hello"}]
  }'

Setup

  1. Create an account at open.bigmodel.cn
  2. Navigate to API Keys in your console
  3. Generate a new API key
  4. Set the ZHIPU_API_KEY environment variable
  5. Configure the provider in the Bifröst dashboard
← Previous
Alibaba / Qwen
Next →
Baidu / ERNIE