Baltor Get started

Models

Qwen3 235B A22B Thinking 2507

By Qwen. 235.1 billion parameters, a context window of 262,144 tokens and the licence apache-2.0.

Facts

Released
2025-07-25 the day the repository was first published on Hugging Face Hugging Face, read
Licence
apache-2.0 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
235.1 billion counted from the safetensors weight files Hugging Face, read
Active parameters
22.2 billion estimate estimated from the expert counts and sizes in the configuration model configuration, read
Knowledge cutoff
2025-06-30 the knowledge cutoff OpenRouter lists OpenRouter, read
Context window
  • 262,144 tokens the maximum position embeddings in the model configuration model configuration, read
  • 131,072 tokens the context length OpenRouter lists OpenRouter, read
Longest output
  • 117,964 tokens the largest output OpenRouter's first provider allows OpenRouter, read
Tool calling
  • Yes the chat template in the tokenizer configuration accepts tool definitions Hugging Face, read
  • Yes OpenRouter lists tools among the supported parameters OpenRouter, read
Structured output
  • Yes OpenRouter lists response_format, a JSON mode, among the supported parameters OpenRouter, read
Reasoning controls
  • Yes OpenRouter lists reasoning controls OpenRouter, read
Inputs and outputs
text in, text out Hugging Face, read
Good for
  • Reasoning: OpenRouter lists reasoning controls for it OpenRouter, read

Prices

Prices in US dollars per million tokens, as each source lists them
ProviderInputOutputContextAs ofSource
ModelScope direct0 USD0 USD262,144 older than 30 days; check the providermodels.dev, read
IO.NET direct0.110 USD0.600 USD262,144 older than 30 days; check the providermodels.dev, read
SiliconFlow (China) direct0.130 USD0.600 USD262,000 older than 30 days; check the providermodels.dev, read
submodel direct0.200 USD0.600 USD262,144 older than 30 days; check the providermodels.dev, read
Alibaba through OpenRouter0.230 USD2.30 USD131,072OpenRouter endpoints, read
Kilo Gateway direct0.230 USD2.30 USD131,072 older than 30 days; check the providermodels.dev, read
OpenRouter direct0.230 USD2.30 USD131,072 older than 30 days; check the providermodels.dev, read
Hugging Face direct0.300 USD3.00 USD262,144 older than 30 days; check the providermodels.dev, read
Jiekou.AI direct0.300 USD3.00 USD131,072models.dev, read
Novita through OpenRouter0.300 USD3.00 USD131,072OpenRouter endpoints, read
NovitaAI direct0.300 USD3.00 USD131,072 older than 30 days; check the providermodels.dev, read
Venice through OpenRouter0.450 USD3.50 USD128,000OpenRouter 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
Q2_K79.8 GiB85.8 GiB90.2 GiB
Q2_K_L79.9 GiB85.9 GiB90.3 GiB
UD-Q2_K_XL82.1 GiB88.1 GiB92.5 GiB
Q3_K_S94.5 GiB101 GiB106 GiB
UD-Q3_K_XL96.7 GiB104 GiB108 GiB
Q3_K_M105 GiB112 GiB116 GiB
IQ4_XS117 GiB125 GiB129 GiB
Q4_0124 GiB132 GiB137 GiB
Q4_K_S125 GiB133 GiB137 GiB
UD-Q4_K_XL125 GiB133 GiB138 GiB
Q4_K_M132 GiB141 GiB145 GiB
Q4_1137 GiB146 GiB150 GiB
Q5_K_S151 GiB160 GiB165 GiB
UD-Q5_K_XL155 GiB165 GiB169 GiB
Q5_K_M155 GiB165 GiB170 GiB
Q6_K180 GiB191 GiB195 GiB
UD-Q6_K_XL185 GiB196 GiB201 GiB
Q8_0233 GiB246 GiB251 GiB
UD-Q8_K_XL247 GiB261 GiB266 GiB
BF16438 GiB462 GiB466 GiB

Start it with a local runtime

  • Ollama
    ollama run hf.co/unsloth/Qwen3-235B-A22B-Thinking-2507-GGUF:Q4_0
  • LM Studio
    lms get unsloth/Qwen3-235B-A22B-Thinking-2507-GGUF
    lms server start
  • llama.cpp server
    llama-server -hf unsloth/Qwen3-235B-A22B-Thinking-2507-GGUF:Q4_0 --jinja
  • vLLM
    vllm serve Qwen/Qwen3-235B-A22B-Thinking-2507
  • SGLang
    sglang serve --model-path Qwen/Qwen3-235B-A22B-Thinking-2507 --port 30000

Use it from your harness

Set up for Hugging Face with the model Qwen/Qwen3-235B-A22B-Thinking-2507. 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": {
    "huggingface": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "Hugging Face",
      "options": {
        "baseURL": "https://router.huggingface.co/v1",
        "apiKey": "{env:HF_TOKEN}"
      },
      "models": {
        "Qwen/Qwen3-235B-A22B-Thinking-2507": {
          "name": "Qwen3 235B A22B Thinking 2507",
          "limit": {
            "context": 262144,
            "output": 117964
          }
        }
      }
    }
  }
}
  • 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": {
    "huggingface": {
      "baseUrl": "https://router.huggingface.co/v1",
      "api": "openai-completions",
      "apiKey": "$HF_TOKEN",
      "models": [
        {
          "id": "Qwen/Qwen3-235B-A22B-Thinking-2507"
        }
      ]
    }
  }
}
  • The apiKey field can name an environment variable as $NAME.

From Pi documentation, read .

Codex

Codex speaks only the Responses API, and Hugging Face 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 Hugging Face 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

  • IO.NET, model Qwen/Qwen3-235B-A22B-Thinking-2507
  • Jiekou.AI, model qwen/qwen3-235b-a22b-thinking-2507
  • Kilo Gateway, model qwen/qwen3-235b-a22b-thinking-2507
  • ModelScope, model Qwen/Qwen3-235B-A22B-Thinking-2507
  • NovitaAI, model qwen/qwen3-235b-a22b-thinking-2507
  • OpenRouter, model qwen/qwen3-235b-a22b-thinking-2507
  • SiliconFlow (China), model Qwen/Qwen3-235B-A22B-Thinking-2507
  • submodel, model Qwen/Qwen3-235B-A22B-Thinking-2507
  • Ollama, model hf.co/unsloth/Qwen3-235B-A22B-Thinking-2507-GGUF:Q4_0

Published results

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