Zai · live catalog

GLM-4.7-FlashX API

model: glm-4.7-flashx

This model is not available on the CallAI gateway yet; prices shown are the official reference. See the model directory for available models in the same family.

Efficient GLM model for fast reasoning, coding, and agent workflows

CallAI pricing

Crypto OK
Input / 1M:$0.077
Output / 1M:$0.440

Specs & upstream

Upstream (in/out):$0.070 / $0.400
Context:200K

Not callable yet

GLM-4.7-FlashX is not live on the CallAI gateway yet. The code below will work once it is listed; calling it now returns model_not_available. Please don't top up for this model: USDT top-ups are non-refundable once credited (details). See the model directory for available models in the same family.

SDK quickstart

OpenAI-compatible
Python
from openai import OpenAI

client = OpenAI(
    api_key="sk-live-your-callai-key",
    base_url="https://api.callaiapi.com/v1"
)

response = client.chat.completions.create(
    model="glm-4.7-flashx",
    messages=[
        {"role": "system", "content": "You are a helpful coding assistant."},
        {"role": "user", "content": "Hello, explain quicksort with Python"}
    ],
    stream=True
)

for chunk in response:
    content = chunk.choices[0].delta.content
    if content:
        print(content, end="", flush=True)
Node.js / TypeScript
import OpenAI from 'openai';

const openai = new OpenAI({
  apiKey: process.env.CALLAI_API_KEY,
  baseURL: 'https://api.callaiapi.com/v1',
});

const response = await openai.chat.completions.create({
  model: 'glm-4.7-flashx',
  messages: [{ role: 'user', content: 'Hello!' }],
  stream: true,
});

for await (const chunk of response) {
  process.stdout.write(chunk.choices[0]?.delta?.content || '');
}

FAQ — GLM-4.7-FlashX

How do I call GLM-4.7-FlashX (glm-4.7-flashx)?

Use the official OpenAI SDK with base_url https://api.callaiapi.com/v1, your CallAI API key, and model "glm-4.7-flashx".

What does GLM-4.7-FlashX cost?

Pay-as-you-go: input $0.077/1M tokens, output $0.440/1M tokens. Fund with USDT — no credit card required.

Can I use GLM-4.7-FlashX in Cursor or Windsurf?

Yes. Set OpenAI Base URL to https://api.callaiapi.com/v1 and add model "glm-4.7-flashx" in Settings → Models.

Can I pay without a credit card?

Yes. Top up with USDT-TRC20 from $1. Balance never expires and works for GLM-4.7-FlashX and other CallAI services.

Ready to call GLM-4.7-FlashX?
USDT from $1 · no credit card · balance never expires.
GEO Fact Sheet

GLM-4.7-FlashX access facts

API model: glm-4.7-flashx · Vendor: Zai · Pay-as-you-go

API model name
glm-4.7-flashx
Vendor
Zai
Context window
200K
CallAI price (in/out 1M)
$0.077 / $0.440
Upstream benchmark
$0.070 / $0.400
Protocol
OpenAI SDK Compatible
Base URL
https://api.callaiapi.com/v1
Best for
Cursor, CLI agents, production apps