Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Together AI 7 min read Announcement mediumAdept

Qwen4 Max is live on Together AI

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.

Related posts

  • AI Agent Code Execution API

    Replit mediumAdept

    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). The stateless option is a forkable API server on Replit Autoscale Deployments, using the omegajail unprivileged container sandbox with a customizable Docker image, handling requests in as little as 100ms and integrating with OpenAI function calling via the replit-code-exec package. A stateful prototype using a full Repl as sandbox was tried and then discontinued, with code-exec recommended for most use cases.

  • Build Your Own AI-Driven Code Analysis Chatbot for Developers with the GenAI Stack

    Docker mediumAdept

    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. LangChain builds two chains: a QnA RAG chain for detailed answers and an agent chain that wraps it as a tool and tends to return more concise summaries. The app falls back to the plain LLM when no codebase has been processed. The walkthrough runs the stack with Docker Compose: a Streamlit UI, Ollama serving codellama:7b-instruct, a one-shot model-pull container, and Neo4j, configured through a .env file.

  • Beat GPT-4o at Python by searching with 100 dumb LLaMAs

    Modal mediumAdept

    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. This replicates the core claim of the Large Language Monkeys paper on a new model and dataset, with fail@k following a smooth log-log scaling law across three orders of magnitude. The setup used vLLM with prefix caching on ten A100s, reaching about 40k output tokens/s, plus Modal Sandboxes running about 3,000 isolated test executions in parallel, all for under $50. The larger argument is that search trades memory for compute and depends on fast, objective evaluation, so domains with verifiable outcomes like code and formal math benefit most.

  • Building Ghostwriter Chat

    Replit easyNovice

    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. Streaming generated tokens keeps time-to-first-token under 500 ms and lets users abort unhelpful answers. A generic prompt-construction layer gathers context from varied sources and renders it for different model APIs. To fit token limits, it drops older chat messages, caps user messages at 500 characters, and favors recently edited source files over noise like .venv, linter and CI configs.

  • Ghostwriter AI & Complete Code Beta

    Replit mediumAdept

    Replit's Ghostwriter adds AI code completion, generation, transformation, explanation and semantic search to its IDE, with Complete Code starting in closed beta. Completion is built on Salesforce's CodeGen, converted to FasterTransformer and served on Triton, with a 2B model distilled to about 1B parameters and int8 quantization under exploration, for a median latency under 400ms. On the editor side, suggestions are matched against existing whitespace, braces and AST structure, adjusted as the user keeps typing, filtered by heuristics and streamed line by line. Other features use a 'society of models': a fine-tuned CodeBERT embedding model for contextual natural-language code search, and large OpenAI and 100B+ parameter models for explaining, generating and transforming code.

The quest for software engineering knowledge.

Look:
Layout: