Baltor Get started

Models

Qwen3.5-27B

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

Facts

Released
2026-02-24 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
27.8 billion counted from the safetensors weight files Hugging Face, read
Active parameters
Unknown
Knowledge cutoff
Unknown
Context window
  • 262,144 tokens the maximum position embeddings in the model configuration model configuration, read
Longest output
Unknown
Tool calling
  • Yes the chat template in the tokenizer configuration accepts tool definitions Hugging Face, read
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

Each provider's own price in US dollars per million tokens, as an openly licensed source lists it
ProviderInputOutputContextAs ofSource
Merge Gateway0.086 USD0.688 USD131,072 older than 30 days; check the providermodels.dev, read
OrcaRouter0.086 USD0.688 USD262,144 older than 30 days; check the providermodels.dev, read
Kilo Gateway0.195 USD1.56 USD262,144 older than 30 days; check the providermodels.dev, read
NanoGPT0.250 USD2.00 USD260,096 older than 30 days; check the providermodels.dev, read
SiliconFlow0.250 USD2.00 USD262,144 older than 30 days; check the providermodels.dev, read
SiliconFlow (China)0.260 USD2.09 USD262,144 older than 30 days; check the providermodels.dev, read
Deep Infra0.260 USD2.60 USD262,144 older than 30 days; check the providermodels.dev, read
OpenRouter0.270 USD2.16 USD262,144 older than 30 days; check the providermodels.dev, read
Ofox0.290 USD2.05 USD256,000 older than 30 days; check the providermodels.dev, read
Hugging Face0.300 USD2.40 USD262,144 older than 30 days; check the providermodels.dev, read
Mixlayer0.300 USD2.40 USD262,144 older than 30 days; check the providermodels.dev, read
Novita AI0.300 USD2.40 USD262,144 older than 30 days; check the providermodels.dev, 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
IQ2_XXS8.9 GiB10.4 GiB11.9 GiB
IQ2_XS9.5 GiB11.0 GiB12.5 GiB
IQ2_S9.8 GiB11.3 GiB12.8 GiB
IQ2_M10.3 GiB11.8 GiB13.3 GiB
Q2_K11.2 GiB12.8 GiB14.3 GiB
IQ3_XXS12.0 GiB13.6 GiB15.1 GiB
Q2_K_L12.4 GiB14.0 GiB15.5 GiB
IQ3_XS12.6 GiB14.2 GiB15.7 GiB
Q3_K_S13.0 GiB14.6 GiB16.1 GiB
IQ3_M13.1 GiB14.8 GiB16.3 GiB
Q3_K_M13.8 GiB15.5 GiB17.0 GiB
Q3_K_L14.4 GiB16.1 GiB17.6 GiB
IQ4_XS14.7 GiB16.4 GiB17.9 GiB
IQ4_NL15.4 GiB17.2 GiB18.7 GiB
Q4_015.4 GiB17.2 GiB18.7 GiB
Q3_K_XL15.5 GiB17.2 GiB18.7 GiB
Q4_K_S15.8 GiB17.6 GiB19.1 GiB
Q4_K_M16.7 GiB18.6 GiB20.1 GiB
Q4_116.8 GiB18.6 GiB20.1 GiB
Q4_K_L17.6 GiB19.5 GiB21.0 GiB
Q5_K_S18.5 GiB20.5 GiB22.0 GiB
Q5_K_M19.5 GiB21.5 GiB23.0 GiB
Q5_K_L20.3 GiB22.3 GiB23.8 GiB
Q6_K22.0 GiB24.2 GiB25.7 GiB
Q6_K_L22.6 GiB24.8 GiB26.3 GiB
Q8_027.1 GiB29.5 GiB31.0 GiB
BF1650.9 GiB54.4 GiB55.9 GiB

Start it with a local runtime

  • Ollama
    ollama run hf.co/bartowski/Qwen_Qwen3.5-27B-GGUF:Q4_0
  • LM Studio
    lms get bartowski/Qwen_Qwen3.5-27B-GGUF
    lms server start
  • llama.cpp server
    llama-server -hf bartowski/Qwen_Qwen3.5-27B-GGUF:Q4_0 --jinja
  • vLLM
    vllm serve Qwen/Qwen3.5-27B
  • SGLang
    sglang serve --model-path Qwen/Qwen3.5-27B --port 30000

Use it from your harness

Set up for DeepInfra with the model Qwen/Qwen3.5-27B. 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": {
    "deepinfra": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "DeepInfra",
      "options": {
        "baseURL": "https://api.deepinfra.com/v1/openai",
        "apiKey": "{env:DEEPINFRA_TOKEN}"
      },
      "models": {
        "Qwen/Qwen3.5-27B": {
          "name": "Qwen3.5-27B"
        }
      }
    }
  }
}
  • 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": {
    "deepinfra": {
      "baseUrl": "https://api.deepinfra.com/v1/openai",
      "api": "openai-completions",
      "apiKey": "$DEEPINFRA_TOKEN",
      "models": [
        {
          "id": "Qwen/Qwen3.5-27B"
        }
      ]
    }
  }
}
  • The apiKey field can name an environment variable as $NAME.

From Pi documentation, read .

Codex

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

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

export ANTHROPIC_BASE_URL="https://api.deepinfra.com/anthropic"
export ANTHROPIC_AUTH_TOKEN="$DEEPINFRA_TOKEN"
export ANTHROPIC_MODEL="Qwen/Qwen3.5-27B"
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 .

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.

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.