Baltor Get started

Models

GLM-5.3-Flash-BF16

By zai-org. 321.3 billion parameters, a context window of 1,048,576 tokens and the licence mit.

Facts

Released
2026-08-25 the day the repository was first published on Hugging Face Hugging Face, read
Licence
mit the licence the model card declares Hugging Face, read
Open weights
Yes the weights are published in this Hugging Face repository Hugging Face, read
Parameters
321.3 billion counted from the safetensors weight files Hugging Face, read
Active parameters
25.4 billion estimate estimated from the expert counts and sizes in the configuration model configuration, read
Knowledge cutoff
Unknown
Context window
  • 1,048,576 tokens the maximum position embeddings in the model configuration model configuration, read
Longest output
Unknown
Tool calling
Unknown
Structured output
Unknown
Reasoning controls
Unknown
Inputs and outputs
text, image in, text out Hugging Face, read
Good for
  • Vision: Hugging Face files it under image-text-to-text Hugging Face, read

Prices

No source lists a price for this model. It may only run on your own hardware.

Run it on your own hardware

Weights are the sizes of the files a source lists, or an estimate from the parameter count where none does. Memory is an estimate: weights plus KV cache plus 512 MiB and 5 percent of the weights for runtime buffers. Check it against your hardware.

QuantizationWeightsMemory at 8,192 tokensMemory at 32,768 tokens
IQ1_S69.7 GiB75.1 GiB79.2 GiB
IQ1_M77.3 GiB83.1 GiB87.2 GiB
IQ2_XXS90.0 GiB96.4 GiB100 GiB
IQ2_XS94.5 GiB101 GiB105 GiB
IQ2_S100 GiB107 GiB111 GiB
IQ2_M112 GiB120 GiB124 GiB
Q2_K117 GiB125 GiB129 GiB
IQ3_XXS129 GiB138 GiB142 GiB
IQ3_XS137 GiB146 GiB150 GiB
Q3_K_S137 GiB146 GiB150 GiB
Q3_K_M144 GiB153 GiB158 GiB
Q3_K_L151 GiB161 GiB165 GiB
IQ3_M155 GiB165 GiB169 GiB
IQ4_XS166 GiB176 GiB180 GiB
Q4_0171 GiB182 GiB186 GiB
Q4_K_S176 GiB187 GiB191 GiB
IQ4_NL187 GiB198 GiB202 GiB
Q4_K_M187 GiB198 GiB202 GiB
Q4_1189 GiB200 GiB204 GiB
Q5_K_S212 GiB225 GiB229 GiB
Q5_K_M227 GiB240 GiB244 GiB
Q6_K_S250 GiB264 GiB268 GiB
Q6_K262 GiB277 GiB281 GiB
Q8_0318 GiB336 GiB340 GiB

Start it with a local runtime

  • Ollama
    ollama run hf.co/bartowski/GLM-5.3-Flash-BF16-GGUF:Q4_0
  • LM Studio
    lms get bartowski/GLM-5.3-Flash-BF16-GGUF
    lms server start
  • llama.cpp server
    llama-server -hf bartowski/GLM-5.3-Flash-BF16-GGUF:Q4_0 --jinja
  • vLLM
    vllm serve zai-org/GLM-5.3-Flash-BF16
  • SGLang
    sglang serve --model-path zai-org/GLM-5.3-Flash-BF16 --port 30000

Use it from your harness

Set up for Ollama with the model hf.co/bartowski/GLM-5.3-Flash-BF16-GGUF:Q4_0. Each endpoint page has the same setup for its own address.

OpenCode

Put this in opencode.json in your project folder:

{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "ollama": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "Ollama",
      "options": {
        "baseURL": "http://localhost:11434/v1"
      },
      "models": {
        "hf.co/bartowski/GLM-5.3-Flash-BF16-GGUF:Q4_0": {
          "name": "GLM-5.3-Flash-BF16"
        }
      }
    }
  }
}
  • OpenCode reads any OpenAI-compatible address through the @ai-sdk/openai-compatible package, and an address that speaks the Responses API through @ai-sdk/openai.

From OpenCode documentation, read .

Pi

Put this in ~/.pi/agent/models.json:

{
  "providers": {
    "ollama": {
      "baseUrl": "http://localhost:11434/v1",
      "api": "openai-completions",
      "apiKey": "ollama",
      "models": [
        {
          "id": "hf.co/bartowski/GLM-5.3-Flash-BF16-GGUF:Q4_0"
        }
      ]
    }
  }
}
  • The apiKey field can name an environment variable as $NAME.

From Pi documentation, read .

Codex

Put this in a terminal:

codex --oss --local-provider ollama -m hf.co/bartowski/GLM-5.3-Flash-BF16-GGUF:Q4_0
  • Codex speaks the Responses API only: responses is the one supported wire API of a custom provider. Ollama and LM Studio are built in and start with --oss.

From Codex documentation, read .

Claude Code

Put this in ~/.claude/settings.json, or variables in your shell:

export ANTHROPIC_BASE_URL="http://localhost:11434"
export ANTHROPIC_AUTH_TOKEN="ollama"
export ANTHROPIC_MODEL="hf.co/bartowski/GLM-5.3-Flash-BF16-GGUF:Q4_0"
claude
  • Claude Code sends Anthropic Messages requests to ANTHROPIC_BASE_URL. Anthropic says it does not support routing Claude Code to models other than Claude through any gateway, so some features may not work with another model.

From Claude Code documentation, read .

Published results

These are results other people published. Baltor did not run them and does not rank models by them.

Two more publishers are linked, never copied, because their terms do not allow it:

  • Artificial Analysis publishes its own intelligence, speed and price measurements.
  • OpenRouter lists current prices and uptime for each provider it routes to.