GLM-4.7 Flash
Coming soonGLM-4.7 Flash (free on Z.ai itself, paid at hosts).
Context window—
Input$0.09130 IQDper 1M tokens
Output$0.60830 IQDper 1M tokens
Input modalitiesText→ Text
Providers3
Overview
| Model ID | z-ai/glm-4.7-flash |
|---|---|
| Series | Z.ai |
| Context window | — |
| Max output | — |
| Input modalities | Text |
| Output modalities | Text |
| Providers | 3 |
Price on OPTES
Our price, per provider, in US dollars and Iraqi dinars (1 USD = 1,380 IQD, rounded up to 10 IQD).
| Provider | Input | Output | Note |
|---|---|---|---|
| Cloudflare Workers AI | $0.09 · 130 IQD | $0.60 · 830 IQD | Lowest |
Providers
Our price, per provider, in US dollars and Iraqi dinars (1 USD = 1,380 IQD, rounded up to 10 IQD).
| Provider | Input | Output | Note |
|---|---|---|---|
| Cloudflare Workers AI | $0.09 · 130 IQD | $0.60 · 830 IQD | Lowest |
| Featherless | $0.098 · 140 IQD | $0.60 · 830 IQD | ApproximateFeatherless lists it by class name (glm47-flash); mapped to this model |
| Novita AI | $0.105 · 150 IQD | $0.60 · 830 IQD |
Call it through the OPTES API
This model is coming soon to OPTES. This is how the call will look; your OPTES key will work for it.
curl https://api.optes3.com/v1/chat/completions \ -H "Authorization: Bearer $OPTES_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "z-ai/glm-4.7-flash", "messages": [{"role": "user", "content": "Suggest three names for a café in Baghdad."}] }'import osfrom openai import OpenAIclient = OpenAI(base_url="https://api.optes3.com/v1", api_key=os.environ["OPTES_API_KEY"])resp = client.chat.completions.create( model="z-ai/glm-4.7-flash", messages=[{"role": "user", "content": "Suggest three names for a café in Baghdad."}],)print(resp.choices[0].message.content)import OpenAI from "openai";const client = new OpenAI({ baseURL: "https://api.optes3.com/v1", apiKey: process.env.OPTES_API_KEY });const resp = await client.chat.completions.create({ model: "z-ai/glm-4.7-flash", messages: [{ role: "user", content: "Suggest three names for a café in Baghdad." }],});console.log(resp.choices[0].message.content);Coming soon to OPTES Coming soon
Get your OPTES API key now. The same key will call this model when it opens.