---
title: "Qwen4 Max is live on Together AI"
description: "Qwen4 Max, Alibaba's 2.4T-parameter sparse MoE model with 71B active parameters, is available on Together Serverless Inference with a 1M-token context window."
url: "https://swe.quest/articles/qwen4-max-is-live-on-together-ai-17d896f20c754c71"
canonical: "https://www.together.ai/blog/qwen4-max"
source: "Together AI"
published: "2026-11-21"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 7
tags: ["llms","ai-coding","inference","python"]
---

# Qwen4 Max is live on Together AI

A post on [Together AI](https://swe.quest/sources/together.md), published 2026-11-21, 7 min read, Announcement. Original: [https://www.together.ai/blog/qwen4-max](https://www.together.ai/blog/qwen4-max)

## Summary

Qwen4 Max, Alibaba's 2.4T-parameter sparse MoE model with 71B active parameters, is available on Together Serverless Inference with a 1M-token context window. Given a symptom-only bug report and all 344 files of the Tornado repository (652,519 tokens) with no tools or retrieval, it returned a patch in 72 seconds for about 69 cents. The patch marks unawaited websocket write task exceptions as retrieved, cites the matching precedent in iostream.py, and passes the maintainers' regression tests plus the full 1,673-test suite. Automatic prompt caching cut a repeat request's time to first token from 54 to 8 seconds and its input cost from 66 to about 3 cents. Requests must stream, and thinking is on by default and billed as output tokens.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [AI for coding](https://swe.quest/tags/ai-coding.md) (AI & ML)
- [Inference & serving](https://swe.quest/tags/inference.md) (AI & ML)
- [Python](https://swe.quest/tags/python.md) (Languages)

## Prerequisites

- LLM APIs ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))
- Python asyncio ([easy posts on Python](https://swe.quest/tags/python.md?difficulty=easy))

## Keywords

Qwen4 Max, Together AI, Tornado, asyncio, prompt caching, mixture-of-experts

## Related posts

- [AI Agent Code Execution API](https://swe.quest/articles/ai-agent-code-execution-api-8f63888d403b81a8.md): Replit · 2023-09-19 · Medium · 4 min read · AI agents, Sandboxing & isolation, LLMs, Serverless, Python
  Replit offers sandboxed code execution so LLM agents can run untrusted generated code, contrasting a stateless model (like Bard's implicit code execution for math) with a stateful, session-long project environment (like ChatGPT).
- [Build Your Own AI-Driven Code Analysis Chatbot for Developers with the GenAI Stack](https://swe.quest/articles/build-your-own-ai-driven-code-analysis-chatbot-for-developers-with-the-genai-062f35bb279ec41b.md): Docker · 2024-06-06 · Medium · 10 min read · RAG & retrieval, LLMs, AI for coding, Containers, Python
  Code Explorer, a winning Docker AI/ML Hackathon project, is a RAG chatbot that answers questions about a local codebase by parsing source files, chunking them with LangChain's RecursiveCharacterTextSplitter (5000 characters with 500 overlap), and storing embeddings in a Neo4j vector store.
- [Beat GPT-4o at Python by searching with 100 dumb LLaMAs](https://swe.quest/articles/beat-gpt-4o-at-python-by-searching-with-100-dumb-llamas-907f6997678a8d61.md): Modal · 2024-08-05 · Medium · 7 min read · LLMs, Inference & serving, Evaluation, AI for coding, Serverless
  Sampling LLaMA 3.1 8B Instruct many times and checking each candidate against HumanEval's unit tests raises pass@k from 66.4% at k=1 to 90.5% at k=100, matching GPT-4o's reported 90.2% pass@1, and to 95.1% at k=1000.
- [Building Ghostwriter Chat](https://swe.quest/articles/building-ghostwriter-chat-cdc3d6aa03870bc4.md): Replit · 2023-03-27 · Easy · 5 min read · AI for coding, LLMs, Developer tools
  Ghostwriter Chat embeds an LLM-powered assistant directly in the Replit IDE, using file context, chat history and program output so users never copy-paste into a separate tool.
- [Ghostwriter AI & Complete Code Beta](https://swe.quest/articles/ghostwriter-ai-complete-code-beta-eb4c500f5fc252eb.md): Replit · 2022-09-08 · Medium · 9 min read · AI for coding, Inference & serving, LLMs, Developer tools
  Replit's Ghostwriter adds AI code completion, generation, transformation, explanation and semantic search to its IDE, with Complete Code starting in closed beta.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
