Klinn is now OpenCheap. Same models, same keys, same prices; api.klinn.dev keeps working. What changed

opencheap.si

zai-org/GLM-4.7-Flash API price

On OpenCheap, zai-org/GLM-4.7-Flash (Zhipu) costs $0.00047 per 1M input tokens and $0.0031 per 1M output tokens (cached input $0.000069), through one OpenAI-compatible API.

Prices updated 2026-11-03 21:05 UTC.

Price per 1M tokens

zai-org/GLM-4.7-Flash on OpenCheap: our price per million tokens, context length, and the public list price
Input, our price$0.00047
Output, our price$0.0031
Cached input, our price$0.000069
Context length202K tokens
OpenRouter list, input · output$0.060 · $0.400
vs list−99%

“vs list” compares our price with OpenRouter's list price on a 1:3 input:output blend, as on the Models page.

Variants

  • GLM 4.7 Flash Thinking (opencheap/glm-4.7-flash:thinking): $0.110 input · $0.600 output per 1M tokens

How to call zai-org/GLM-4.7-Flash

Base URL https://api.opencheap.si/v1, model id opencheap/glm-4.7-flash, and an API key from the console. Any OpenAI SDK works.

curl https://api.opencheap.si/v1/chat/completions \
  -H "Authorization: Bearer $OPENCHEAP_API_KEY" -H "Content-Type: application/json" \
  -d '{ "model": "opencheap/glm-4.7-flash", "messages": [{ "role": "user", "content": "Hi" }] }'
import os
from openai import OpenAI
client = OpenAI(base_url="https://api.opencheap.si/v1", api_key=os.environ["OPENCHEAP_API_KEY"])
r = client.chat.completions.create(model="opencheap/glm-4.7-flash",
    messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)

FAQ

What is the cheapest zai-org/GLM-4.7-Flash API?

On OpenCheap, zai-org/GLM-4.7-Flash costs $0.00047 per 1M input tokens and $0.0031 per 1M output tokens, and cached input $0.000069 per 1M tokens. Each request is routed to the cheapest healthy source for the model. You pay from one prepaid balance, with no monthly fee.

Is it OpenAI-compatible?

Yes. Point any OpenAI SDK or HTTP client at the base URL https://api.opencheap.si/v1 with an OpenCheap API key, and call /chat/completions with the model id opencheap/glm-4.7-flash. Requests and responses have the same shape as OpenAI's chat completions, streaming included.

Does it work with Cursor, Claude Code or Codex?

Yes. In Cursor, add the custom model opencheap/glm-4.7-flash with the base URL https://api.opencheap.si/v1. In Claude Code, set ANTHROPIC_BASE_URL to https://api.opencheap.si and ANTHROPIC_MODEL to opencheap/glm-4.7-flash. In Codex, add OpenCheap as a model provider with base_url https://api.opencheap.si/v1. The quickstart has each setup step by step.

More Zhipu models

Every major model, one key.

Read the docs