Appearance
Qwen3.6 35B A3B ​
End of Life
Qwen3.6 35B A3B reached end of life on 26 September 2026 and is no longer available. Its replacement, Qwen3.8 27B, is available in Preview from 29 September 2026. See the migration guidance for client changes.
The documentation below is retained for historical reference.
Overview ​
Qwen3.6 35B A3B is a multimodal reasoning model from Qwen with a sparse mixture-of-experts architecture. The upstream model exposes 35B total parameters with 3B activated parameters and is designed for advanced reasoning, agentic workflows, coding, and visual understanding. On Swisscom Inference Endpoints, the documented capabilities for this model are text input, image input, tool calling, and non-thinking mode. The model supports a native context length of up to 262,144 tokens.
Supported languages: multilingual
Input: multilingual text, image
Output: multilingual text, code, tool calls
Note
- Qwen3.6 35B A3B generates thinking content by default before producing the final answer.
- Non-thinking mode can be enabled by setting
chat_template_kwargs.enable_thinkingtofalse. - This page documents the features currently exposed on Swisscom Inference Endpoints.
Use Cases: Applications that require multimodal reasoning, visual question answering, coding assistance, tool calling, structured workflows, and long-context analysis.
Model Card: qwen3.6-35b-a3b
Performance & Benchmarks
Market Position (June 2026): Qwen3.6 35B A3B is a competitive open-source model in its size class. According to the Artificial Analysis Intelligence Index, the leading open-source models as of June 2026 are Kimi K2.6, MiMo-V2.5-Pro, DeepSeek V4 Pro, and GLM-5.1. Qwen3.6-35B-A3B stands out for its efficiency, delivering strong agentic coding and multimodal performance at a fraction of the parameter count of competing models.
Key competitors:
- Kimi K2.6 (Moonshot AI) — #1 open-source
- MiMo-V2.5-Pro (Xiaomi) — #2 open-source
- DeepSeek V4 Pro (DeepSeek) — #3 open-source
- GLM-5.1 (Z.AI) — #4 open-source
- Qwen3.6 35B A3B (35B total / 3B active) — top performer in the sub-40B parameter class
Speed vs. Capability: When thinking mode is disabled (enable_thinking=false), Qwen3.6 delivers very fast responses while maintaining capabilities comparable to significantly larger models, enabling:
- Low-latency responses for real-time applications
- High-throughput scenarios
- Cost-efficient inference at scale
Figure: Qwen3.6 35B A3B ranking among open-source models (Source: Artificial Analysis, June 2026)
Multimodal reasoning ​
Qwen3.6 35B A3B can process image and text input in the same request. This makes the model suitable for tasks such as:
- describing scenes and visual content
- extracting information from screenshots, charts, and documents
- solving reasoning tasks that combine image and text context
- generating grounded answers based on visual evidence
Tool calling ​
Qwen3.6 35B A3B is suitable for agentic workflows where the model needs to call external functions. By supplying a tools definition and setting tool_choice, applications can let the model decide when a tool should be invoked and then continue the conversation with tool results.
Best practices ​
- For thinking mode on general tasks, use
temperature=1.0,top_p=0.95,top_k=20, andpresence_penalty=1.5. - For thinking mode on precise coding tasks (e.g. WebDev), use
temperature=0.6,top_p=0.95,top_k=20, andpresence_penalty=0.0. - For non-thinking mode, use
temperature=0.7,top_p=0.8,top_k=20, andpresence_penalty=1.5. - When image or video input is used, place the media before the task instruction inside the message content.
- In multi-turn applications, keep only the final answer in the stored conversation history instead of the full thinking trace, unless
preserve_thinking=trueis enabled intentionally for agent scenarios. - For most tasks, set
max_completion_tokensto at least 32,768. For complex math or competition-level problems, 81,920 is recommended.
Endpoints ​
1. Create Chat Completion ​
POST /v1/chat/completions
Description ​
Generates a chat completion for text-only, multimodal, or tool-calling requests.
Request Body ​
json
{
"model": "qwen/qwen3.6-35b-a3b",
"messages": [
{
"role": "user",
"content": "Summarize the main differences between retrieval and fine-tuning."
}
],
"temperature": 0.6,
"top_p": 0.95,
"max_completion_tokens": 2048,
"stream": false
}| Field | Type | Required | Description |
|---|---|---|---|
model | string | Yes | ID of the model to use. Only qwen/qwen3.6-35b-a3b is available. |
messages | array | Yes | List of messages in the conversation. Message content can be plain text or multimodal content blocks. |
temperature | number | No | Sampling temperature. Lower values usually improve consistency for reasoning tasks. |
top_p | number | No | Nucleus sampling parameter. |
tools | array | No | Tool definitions for function calling. |
tool_choice | string or object | No | Controls whether and how the model selects a tool. |
extra_body | object | No | Additional model-specific options, such as chat_template_kwargs.enable_thinking. |
max_completion_tokens | integer | No | Maximum number of tokens to generate. |
stream | boolean | No | If true, the response is streamed in chunks. Default: false. |
Response (When stream is false) ​
json
{
"id": "chat-abcdefg1234567",
"object": "chat.completion",
"created": 1770000000,
"model": "qwen/qwen3.6-35b-a3b",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "<think>...</think>Retrieval augments a model with external knowledge at runtime, while fine-tuning changes model behavior through additional training."
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 26,
"completion_tokens": 58,
"total_tokens": 84
}
}INFO
In the default mode, the model may include <think></think> tags in the returned content before the final answer.
2. List Models ​
GET /v1/models
Description ​
Lists all available models and their metadata.
Response ​
json
{
"object": "list",
"data": [
{
"id": "qwen/qwen3.6-35b-a3b",
"object": "model",
"created": 1770000000,
"owned_by": "SwissAI"
}
]
}Example Code Snippets ​
Note:
The production URL for this API is available in the corresponding plan for this model in the Digital Marketplace. To retrieve the URL:
- Navigate to the Digital Marketplace.
- Go to the Documentation section.
- Select the plan associated with the
Qwen3.6 35B A3Bmodel.- Locate the production URL provided in the plan details.
- Set up the environment variable
API_URLto the production URL retrieved.
1. Text reasoning with curl ​
bash
curl -X POST $API_URL/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen/qwen3.6-35b-a3b",
"messages": [
{
"role": "user",
"content": "Compare vector search and SQL search in three short bullet points."
}
],
"temperature": 0.6,
"top_p": 0.95,
"max_completion_tokens": 1024
}'2. Image input with Python ​
python
import base64
import os
import openai
def image_to_base64(image_path: str) -> str:
with open(image_path, "rb") as img:
return base64.b64encode(img.read()).decode("utf-8")
client = openai.OpenAI(
api_key=os.getenv("YOUR_API_KEY"),
base_url=os.getenv("API_URL") + "/v1",
)
base64_image = image_to_base64("your_image.jpg")
response = client.chat.completions.create(
model="qwen/qwen3.6-35b-a3b",
messages=[
{
"role": "user",
"content": [
{
"type": "image_url",
"image_url": {
"url": f"data:image/jpeg;base64,{base64_image}"
}
},
{
"type": "text",
"text": "Extract the key information from this screenshot."
}
]
}
],
temperature=0.6,
top_p=0.95,
max_completion_tokens=2048,
)
print(response.choices[0].message.content)3. Tool calling with Python ​
python
import json
import os
import openai
client = openai.OpenAI(
api_key=os.getenv("YOUR_API_KEY"),
base_url=os.getenv("API_URL") + "/v1",
)
def get_weather(location: str) -> str:
return f"The current weather in {location} is 12°C and cloudy."
tools = [
{
"type": "function",
"function": {
"name": "get_weather",
"description": "Return the current weather for a location.",
"parameters": {
"type": "object",
"properties": {
"location": {
"type": "string",
"description": "City and country"
}
},
"required": ["location"]
}
}
}
]
messages = [
{
"role": "system",
"content": "Use available tools when external information is required."
},
{
"role": "user",
"content": "What is the weather in Bern today?"
}
]
response = client.chat.completions.create(
model="qwen/qwen3.6-35b-a3b",
messages=messages,
tools=tools,
tool_choice="auto",
temperature=0.6,
top_p=0.95,
)
tool_calls = response.choices[0].message.tool_calls
messages.append({"role": "assistant", "tool_calls": tool_calls})
for tool_call in tool_calls:
if tool_call.function.name == "get_weather":
arguments = json.loads(tool_call.function.arguments)
result = get_weather(arguments["location"])
messages.append(
{
"role": "tool",
"tool_call_id": tool_call.id,
"name": tool_call.function.name,
"content": result,
}
)
final_response = client.chat.completions.create(
model="qwen/qwen3.6-35b-a3b",
messages=messages,
temperature=0.6,
top_p=0.95,
)
print(final_response.choices[0].message.content)4. Non-thinking mode with Python ​
python
import os
import openai
client = openai.OpenAI(
api_key=os.getenv("YOUR_API_KEY"),
base_url=os.getenv("API_URL") + "/v1",
)
response = client.chat.completions.create(
model="qwen/qwen3.6-35b-a3b",
messages=[
{
"role": "user",
"content": "Provide a one-sentence summary of retrieval-augmented generation."
}
],
temperature=0.7,
top_p=0.8,
max_completion_tokens=512,
extra_body={
"chat_template_kwargs": {
"enable_thinking": False
}
},
)
print(response.choices[0].message.content)Replace YOUR_API_KEY with the actual API key. The authentication flow is described in Inference Endpoints Overview.

