Baltor Get started

Models

GLM 5.3 Flash

By Z.ai. 321.3 billion parameters, a context window of 1,310,720 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
  • 1,310,720 tokens the context length OpenRouter lists OpenRouter, read
Longest output
  • 943,718 tokens the largest output OpenRouter's first provider allows OpenRouter, read
Tool calling
  • Yes OpenRouter lists tools among the supported parameters OpenRouter, read
Structured output
  • Yes OpenRouter lists structured outputs among the supported parameters OpenRouter, read
Reasoning controls
  • Yes OpenRouter lists reasoning controls, with the efforts max, high, low OpenRouter, read
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
  • Reasoning: OpenRouter lists reasoning controls for it OpenRouter, read

Prices

Prices in US dollars per million tokens, as each source lists them
ProviderInputOutputContextAs ofSource
InferenceNet through OpenRouter0.045 USD0.140 USD1,048,576OpenRouter endpoints, read
InferenceNet through OpenRouter0.045 USD0.140 USD1,048,576OpenRouter endpoints, read
Relace through OpenRouter0.070 USD0.280 USD1,048,576OpenRouter endpoints, read
Relace through OpenRouter0.070 USD0.280 USD1,048,576OpenRouter endpoints, read
DeepInfra through OpenRouter0.075 USD0.250 USD1,048,576OpenRouter endpoints, read
DeepInfra through OpenRouter0.075 USD0.250 USD1,048,576OpenRouter endpoints, read
Wafer through OpenRouter0.089 USD0.350 USD1,048,576OpenRouter endpoints, read
Wafer through OpenRouter0.089 USD0.350 USD1,048,576OpenRouter endpoints, read
GMICloud through OpenRouter0.090 USD0.300 USD1,048,576OpenRouter endpoints, read
GMICloud through OpenRouter0.090 USD0.300 USD1,048,576OpenRouter endpoints, read
Morph through OpenRouter0.098 USD0.343 USD1,048,576OpenRouter endpoints, read
Morph through OpenRouter0.098 USD0.343 USD1,048,576OpenRouter endpoints, read
RunInfra direct0.100 USD0.400 USD1,048,576models.dev, read
OpenInference through OpenRouter0.100 USD0.500 USD1,048,576OpenRouter endpoints, read
OpenInference through OpenRouter0.100 USD0.500 USD1,048,576OpenRouter endpoints, read
Decart through OpenRouter0.128 USD0.425 USD1,048,576OpenRouter endpoints, read
Decart through OpenRouter0.128 USD0.425 USD1,048,576OpenRouter endpoints, read
Phala through OpenRouter0.128 USD0.425 USD1,048,576OpenRouter endpoints, read
Phala through OpenRouter0.128 USD0.425 USD1,048,576OpenRouter endpoints, read
Novita through OpenRouter0.132 USD0.440 USD1,048,576OpenRouter endpoints, read
Novita through OpenRouter0.132 USD0.440 USD1,048,576OpenRouter endpoints, read
StreamLake through OpenRouter0.141 USD0.470 USD1,024,000OpenRouter endpoints, read
StreamLake through OpenRouter0.141 USD0.470 USD1,024,000OpenRouter endpoints, read
Io Net through OpenRouter0.142 USD0.475 USD262,144OpenRouter endpoints, read
Io Net through OpenRouter0.142 USD0.475 USD262,144OpenRouter endpoints, read
Sail Research through OpenRouter0.142 USD0.475 USD1,048,576OpenRouter endpoints, read
Sail Research through OpenRouter0.142 USD0.475 USD1,048,576OpenRouter endpoints, read
AtlasCloud through OpenRouter0.150 USD0.500 USD1,048,576OpenRouter endpoints, read
AtlasCloud through OpenRouter0.150 USD0.500 USD1,048,576OpenRouter endpoints, read
BaseTen through OpenRouter0.150 USD0.500 USD1,048,576OpenRouter endpoints, read
BaseTen through OpenRouter0.150 USD0.500 USD1,048,576OpenRouter endpoints, read
BaseTen through OpenRouter0.150 USD0.500 USD1,048,576OpenRouter endpoints, read
BaseTen through OpenRouter0.150 USD0.500 USD1,048,576OpenRouter endpoints, read
Baseten direct0.150 USD0.500 USD1,048,576models.dev, read
CoreWeave direct0.150 USD0.500 USD1,048,576models.dev, read
CoreWeave through OpenRouter0.150 USD0.500 USD1,048,576OpenRouter endpoints, read
CoreWeave through OpenRouter0.150 USD0.500 USD1,048,576OpenRouter endpoints, read
Crusoe through OpenRouter0.150 USD0.500 USD1,048,576OpenRouter endpoints, read
Crusoe through OpenRouter0.150 USD0.500 USD1,048,576OpenRouter endpoints, read
Deep Infra direct0.150 USD0.500 USD1,048,576models.dev, read
DigitalOcean through OpenRouter0.150 USD0.500 USD1,048,576OpenRouter endpoints, read
DigitalOcean through OpenRouter0.150 USD0.500 USD1,048,576OpenRouter endpoints, read
Fireworks through OpenRouter0.150 USD0.500 USD1,048,576OpenRouter endpoints, read
Fireworks through OpenRouter0.150 USD0.500 USD1,048,576OpenRouter endpoints, read
Friendli direct0.150 USD0.500 USD1,048,576models.dev, read
Friendli through OpenRouter0.150 USD0.500 USD1,048,576OpenRouter endpoints, read
Friendli through OpenRouter0.150 USD0.500 USD1,048,576OpenRouter endpoints, read
Hugging Face direct0.150 USD0.500 USD1,048,576models.dev, read
Inceptron through OpenRouter0.150 USD0.500 USD1,048,576OpenRouter endpoints, read
Inceptron through OpenRouter0.150 USD0.500 USD1,048,576OpenRouter endpoints, read
Near AI through OpenRouter0.150 USD0.500 USD1,048,576OpenRouter endpoints, read
Near AI through OpenRouter0.150 USD0.500 USD1,048,576OpenRouter endpoints, read
Nebius Token Factory direct0.150 USD0.500 USD1,024,000models.dev, read
Parasail through OpenRouter0.150 USD0.500 USD1,048,576OpenRouter endpoints, read
Parasail through OpenRouter0.150 USD0.500 USD1,048,576OpenRouter endpoints, read
Reka through OpenRouter0.150 USD0.500 USD262,144OpenRouter endpoints, read
Reka through OpenRouter0.150 USD0.500 USD262,144OpenRouter endpoints, read
SiliconFlow direct0.150 USD0.500 USD1,049,000models.dev, read
SiliconFlow through OpenRouter0.150 USD0.500 USD1,048,576OpenRouter endpoints, read
SiliconFlow through OpenRouter0.150 USD0.500 USD1,048,576OpenRouter endpoints, read
Together through OpenRouter0.150 USD0.500 USD1,048,575OpenRouter endpoints, read
Together through OpenRouter0.150 USD0.500 USD1,048,575OpenRouter endpoints, read
Together AI direct0.150 USD0.500 USD1,048,575models.dev, read
Venice through OpenRouter0.150 USD0.500 USD1,048,576OpenRouter endpoints, read
Venice through OpenRouter0.150 USD0.500 USD1,048,576OpenRouter endpoints, read
Z.AI through OpenRouter0.150 USD0.500 USD1,048,576OpenRouter endpoints, read
Z.AI through OpenRouter0.150 USD0.500 USD1,048,576OpenRouter endpoints, read
NextBit through OpenRouter0.165 USD0.550 USD1,048,576OpenRouter endpoints, read
NextBit through OpenRouter0.165 USD0.550 USD1,048,576OpenRouter endpoints, read
Berget.AI direct0.290 USD0.580 USD524,288models.dev, read
Cloudflare through OpenRouter0.300 USD1.00 USD1,310,720OpenRouter endpoints, read
Cloudflare through OpenRouter0.300 USD1.00 USD1,310,720OpenRouter endpoints, read
Modal direct0.450 USD1.50 USD1,000,000models.dev, read
Modal through OpenRouter0.450 USD1.50 USD1,048,576OpenRouter endpoints, read
Modal through OpenRouter0.450 USD1.50 USD1,048,576OpenRouter endpoints, read

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
UD-IQ1_S86.7 GiB92.9 GiB97.0 GiB
UD-IQ1_M90.9 GiB97.3 GiB101 GiB
UD-IQ2_XXS94.9 GiB101 GiB106 GiB
UD-Q2_K_XL101 GiB108 GiB112 GiB
UD-IQ3_XXS112 GiB120 GiB124 GiB
UD-Q3_K_XL137 GiB146 GiB150 GiB
UD-IQ4_XS146 GiB155 GiB159 GiB
UD-Q4_K_XL186 GiB197 GiB201 GiB
UD-Q5_K_XL224 GiB237 GiB241 GiB
UD-Q6_K_XL272 GiB287 GiB291 GiB
Q8_0318 GiB335 GiB339 GiB
BF16598 GiB629 GiB633 GiB

Start it with a local runtime

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

Use it from your harness

Set up for Baseten with the model zai-org/GLM-5.3-Flash. 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": {
    "baseten": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "Baseten",
      "options": {
        "baseURL": "https://inference.baseten.co/v1",
        "apiKey": "{env:BASETEN_API_KEY}"
      },
      "models": {
        "zai-org/GLM-5.3-Flash": {
          "name": "GLM 5.3 Flash",
          "limit": {
            "context": 1310720,
            "output": 943718
          }
        }
      }
    }
  }
}
  • 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": {
    "baseten": {
      "baseUrl": "https://inference.baseten.co/v1",
      "api": "openai-completions",
      "apiKey": "$BASETEN_API_KEY",
      "models": [
        {
          "id": "zai-org/GLM-5.3-Flash"
        }
      ]
    }
  }
}
  • The apiKey field can name an environment variable as $NAME.

From Pi documentation, read .

Codex

Codex speaks only the Responses API, and Baseten documents no Responses address. A gateway that offers one can sit in between.

  • 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

Claude Code sends Anthropic Messages requests, and Baseten documents no such address. A gateway that translates to that API can sit in between.

  • 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 .

Other ways to reach it

Published results

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