GLM-4 9B
A GGUF chat model on Autarcho. You pay for the tokens you send and the tokens it generates, at the two rates set for this model.
Model details
Prices can change without a deploy. You can see the current price in the app before you send anything, and what a month of use costs is worked through on one page.
- Model id
glm-4-9b@1.0or the full hash8027e1089273e8817b2df0d91c9aa17c5ea467246dcdacac34989f8919fe6540- Format
- GGUF, 5.7 GB. Checked before it was listed.
- Quantisation
- Q4_K. Read from the file: the format most of its weights are stored in. Size and speed both follow from it.
- Parameters
- 9.40B, counted from the file.
- Context
- 32,768 tokens, as the file declares it. A prompt longer than that is refused before it runs, and nothing is charged.
- Licence
- mit, as the publisher put it in the file. This model is served by independent operators; check that licence before you build on the output.
- Price
- 0.02 USDC per 1M generated tokens. Input 0.004 USDC per 1M input tokens.
- A thousand requests
- About 0.0064 USDC for a thousand requests that each send 100 tokens and write 300. The app shows the running total, because the answer is what actually bills.
- Availability
- Answered by an operator who has this model loaded. The app shows what is being served when you send.
Architecture glm4, read from the file's own header. It is what the
runtime uses to load the model, and it is not a claim about what the model is good at.
Example request
The endpoint is OpenAI-compatible, so the model id is the only thing that changes.
curl -s https://api.autarcho.com/v1/chat/completions \
-H "Authorization: Bearer ak_..." \
-H "content-type: application/json" \
-d '{
"model": "glm-4-9b@1.0",
"messages": [{ "role": "user", "content": "Hello" }],
"stream": true
}' A key is ak_ followed by 64 hex characters, made on your own machine. The start page covers the key, the credit and this request from a shell.
You pay for the tokens the request sends and the tokens it generates, at the two rates
printed above.
Questions
What does GLM-4 9B cost?
0.02 USDC per 1M generated tokens. Input 0.004 USDC per 1M input tokens. A request is billed for the tokens it sends and the tokens it generates.
What does GLM-4 9B cost for a thousand requests?
About 0.0064 USDC for a thousand requests that each send 100 tokens and write 300, at this model's rates. Larger prompts and longer answers cost more; the app shows the running figure.
How much can GLM-4 9B read at once?
The model's own file declares a context of 32,768 tokens. A request longer than that is refused before it runs, and nothing is charged.
How do I call GLM-4 9B?
Use the model id glm-4-9b@1.0 with any OpenAI-compatible client, pointed at https://api.autarcho.com/v1. The example above is the whole request.
Serving this model
An operator who runs this model keeps 80% of what each job it serves is charged. The network owns no hardware; a worker is somebody's own machine, making outbound connections only.