opendunes

GLM 4.7 Flash

by Z.AIReleased 19 January 2026

GLM-4.7 Flash is a compact model that reads and writes text and keeps about 200 pages in mind at once. It balances quality against running cost and is tuned for coding assistants: planning long tasks, writing code and working with the tools you connect. Z.ai reports it leads other open models of its size on public tests.

TakesText
GivesText

What it costs

You pay for what each request uses. No subscription, no minimum.

≈ 0,087 DA per message3 000 DA buys about 34 000 messages

One message, the ordinary use

1 000 tokens sent× 20,14 DA per 1M0,020 DA
500 tokens back× 133,13 DA per 1M0,067 DA
Total≈ 0,087 DA

Every rate

Meter↑ you send↓ comes back
Text tokens20,14 DA133,13 DA

per 1M tokens

Answer a quick question≈ 0,036 DA
Explain an error message and the fix≈ 0,069 DA
Write a function and its tests≈ 0,13 DA
Review a pull request of about 400 lines≈ 0,28 DA
Summarise a large file of code≈ 0,32 DA
When you pay
After the answer, from your balance. Nothing is held.
Why it varies
A longer question or a longer answer costs more.
After each one
The exact charge shows on the request.
DepositDeposits from 50 DA, with Edahabia or CIB.

Where your request runs

Two companies run this model. OpenDunes sends each request to one of them, picked by price and speed. If it fails, the next one takes it. DA per 1M tokens: ↑ what you send · ↓ what comes back.

Cloudflare…
↑ Sent, per 1M
20,14 DA
↓ Back, per 1M
133,13 DA
Cache read
none
Latency
…
Throughput
…
Novita…
↑ Sent, per 1M
23,30 DA
↓ Back, per 1M
133,13 DA
Cache read
3,33 DA
Latency
…
Throughput
…
Provider↑ Sent↓ BackCache readLatencyThroughputUptime
Cloudflare20,14 DA133,13 DAnone………
Novita23,30 DA133,13 DA3,33 DA………

You pay the price of the provider that served your request. Prices read 15:19 · speed over the last 30 minutes · uptime over 3 days.

See it in action

Real requests, real replies. Try any of them yourself — one click, pre-filled.

Structured output
You send

Turn this customer email into JSON with intent, urgency and order_id.

customer-email.txt
It replied

{ "intent": "refund", "urgency": "high", "order_id": "OD-58421" }

Try in Chat Lab
Writing
You send

Two lines to welcome a shop in Oran.

It replied

Welcome to our new shop in Oran — fresh bread every morning, and coffee the way the city likes it. Come in, the first cup is on us.

Try in Chat Lab

Try your own request — same model, pre-selected.

Open Chat Lab

Call it in code

Swap the base URL and the key. Your OpenAI code runs unchanged.

POST /v1/chat/completions
Base URL
https://opendunes.com/v1
Model ID
z-ai/glm-4.7-flash
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://opendunes.com/v1",
    api_key=os.environ["OPENDUNES_API_KEY"],
)

resp = client.chat.completions.create(
    model="z-ai/glm-4.7-flash",
    messages=[{"role": "user", "content": "Two lines to welcome a shop in Oran."}],
)

print(resp.choices[0].message.content)

Runs this request once on your balance.

Parameters you can send

Standard OpenAI fields, grouped by what they control. Anything not listed is accepted and ignored.

Shaping the reply

How long, how varied, where to stop.

max_tokenstemperaturetop_ptop_kmin_pstopseedfrequency_penaltypresence_penaltyrepetition_penaltylogit_biaslogprobstop_logprobs

Reasoning

Let it think before answering — and see the thinking.

reasoninginclude_reasoning

Structured output

Get JSON you can parse instead of prose.

response_formatstructured_outputs

Tools

Let the model call your functions.

toolstool_choice

Questions about GLM 4.7 Flash

  • How much does GLM 4.7 Flash cost in dinars?

    About 0,087 DA per message. ↑ 20,14 DA · ↓ 133,13 DA per 1M tokens.

  • Is GLM 4.7 Flash free? Can I try it?

    No. You pay per use from your balance, with no subscription. Try it in Chat at the same price.

  • What is GLM 4.7 Flash best for?

    GLM-4.7 Flash is a compact model that reads and writes text and keeps about 200 pages in mind at once. It balances quality against running cost and is tuned for coding assistants: planning long tasks, writing code and working with the tools you connect. Z.ai reports it leads other open models of its size on public tests.

  • GLM 4.7 Flash or GLM 4.7?

    GLM 4.7 costs 0,48 DA more for the same message.

  • How do I pay for GLM 4.7 Flash without an international card?

    Deposit dinars with your Edahabia or CIB card. Every model, GLM 4.7 Flash included, is paid from that balance. No foreign card, no conversion.

  • Does GLM 4.7 Flash work in Arabic, French or Darja?

    Z.ai lists English and Chinese. Arabic, French and Darja are not named.

  • Can it read PDFs, images or a whole book?

    It reads text. Up to 200K tokens in one request, about 200 pages. It writes up to 88 000 words at once.

  • Is GLM 4.7 Flash open source?

    Yes, its weights are public. Open weights on Hugging Face

  • Who makes GLM 4.7 Flash, and when was it released?

    Z.AI. Released 19 January 2026.

Other Z.AI models, priced in dinars

See all Z.AI models
GLM 5.3 FlashZ.AI · Aug 26, 2026

#8 for agent work · GLM-5.3 Flash takes text, images and video, writes back text, and keeps about 1,000 pages in mind at once. Z.ai built it for light, quick coding and long tasks it carries out by itself, and says it stays accurate over very long material while using less computing. Pick it when the job includes screenshots or clips and you want to keep running costs down.

#20 of 119 for codingThinks firstUses your tools
≈0,13 DAper message
View model
GLM 5.3Z.AI · Aug 18, 2026

#2 for slide decks · GLM-5.3 reads and writes text, keeps about 1,000 pages in mind at once, and always thinks before it answers, though you choose low, high or maximum effort, with maximum the default. Z.ai says it beats the earlier GLM-5.2 at coding and gets good results without wasting effort. Pick it for demanding programming and long jobs it carries out by itself. GLM-5.3 Prime is a faster version of it, and GLM-5.3 Flash suits work with pictures and video.

#13 of 119 for codingThinks firstUses your tools
≈0,26 DAper message
View model
GLM 5.2Z.AI · Jun 16, 2026

#10 for games · GLM 5.2 thinks before it answers. It reads and writes text, keeps about 1,000 pages in mind at once, and can write an answer several hundred pages long. Z.ai made it for software projects from start to finish: it keeps track of the requirements, follows the same standards throughout, and carries a job from the first brief to release on several platforms, and you can ask it to think hard or at maximum.

#28 of 119 for codingThinks firstUses your tools
≈1,13 DAper message
View model
GLM 5.3 FlashXZ.AI · Sep 18, 2026

The high-speed FlashX edition of GLM-5.3-Flash, reaching up to 200 tokens a second on the same 320B hybrid-attention model with 18B active, for efficient coding, visual understanding and long agent tasks

Thinks firstUses your tools1 000 pages at once
≈0,33 DAper message
View model