LiteLLMLiteLLM/ MODELS

Mai Code 2 Flash vs Qwen3.6 35B A3B

As of December 2, 2026, Qwen3.6 35B A3B and Mai Code 2 Flash cost the same per input token ($0.05 per 1M), but Qwen3.6 35B A3B costs 60% more per output token ($0.40 vs $0.25) and has a 256K-token context window versus 922K.

Prices from LiteLLM's price fileChecked

Mai Code 2 Flash vs Qwen3.6 35B A3B side by side

Headline prices in US dollars per 1M tokens: each model's own lab where it sells it, otherwise its cheapest provider. Source: LiteLLM model price file, as of December 2, 2026.
Mai Code 2 FlashQwen3.6 35B A3B
Input, per 1M tokens$0.05$0.05
Output, per 1M tokens$0.25$0.40
Cache read, per 1M tokens$0.005$0.02
Cache write, per 1M tokens––
Context window922,000 tokens262,144 tokens
Max output128,000 tokens262,144 tokens
Image inputYesYes
Tool callingYesYes
Structured output (JSON)YesYes
Prompt caching–Yes
ReasoningYesYes
Providers on LiteLLM212
Price shown is fromAzure AI FoundrySail
Added to LiteLLMNovember 17, 2026June 2026

Cheapest provider for each

When to pick which

Pick Mai Code 2 Flash for

  • Costs 37% less per output token: $0.25 vs $0.40 per 1M.
  • Larger context window: 922,000 vs 262,144 tokens.

Pick Qwen3.6 35B A3B for

  • Returns up to 262,144 tokens per response, vs 128,000.
  • Available from 12 providers through LiteLLM, vs 2.

From differences in the data above only; where the data is equal, no reason is given.

Call Mai Code 2 Flash or Qwen3.6 35B A3B with LiteLLM

Both use the OpenAI format through LiteLLM, so switching is a model name change. Set each provider's API key in the environment first.

Python SDK
from litellm import completion

messages = [{"role": "user", "content": "Hello!"}]

# Mai Code 2 Flash
response = completion(model="azure_ai/MAI-Code-2-Flash", messages=messages)

# Qwen3.6 35B A3B
response = completion(model="sail/Qwen/Qwen3.6-35B-A3B", messages=messages)

# Mai Code 2 Flash, falling back to Qwen3.6 35B A3B if the call fails
response = completion(model="azure_ai/MAI-Code-2-Flash", messages=messages, fallbacks=["sail/Qwen/Qwen3.6-35B-A3B"])

FAQ

Which is cheaper, Mai Code 2 Flash or Qwen3.6 35B A3B?

Mai Code 2 Flash is cheaper at 3 input tokens per output token: $0.10 per 1M tokens blended ($0.05 input, $0.25 output), versus $0.1375 ($0.05 and $0.40) for Qwen3.6 35B A3B, as of December 2, 2026.

Which has the larger context window, Mai Code 2 Flash or Qwen3.6 35B A3B?

Mai Code 2 Flash has the larger context window: 922,000 tokens, versus 262,144 for Qwen3.6 35B A3B.

Can I switch from Mai Code 2 Flash to Qwen3.6 35B A3B without changing my code?

Yes. Through LiteLLM both use the OpenAI format, so switching means changing the model name from "azure_ai/MAI-Code-2-Flash" to "sail/Qwen/Qwen3.6-35B-A3B", or pointing a LiteLLM gateway model alias at the other model. You can also use one as a fallback for the other.