Meta Muse Wonder Launches on AI Gateway: A Million-Token Context Built for Coding Agents

Meta Muse Wonder lands on AI Gateway, targeting coding and long-running agents with 1M tokens and multimodal input.
Meta's Muse Wonder is now on AI Gateway, callable with one unified API key and no Meta account. It targets coding, long-running agents, and computer use, with multi-step planning, sub-agent delegation, and error recovery. It offers a 1M-token context, text/image/PDF input, and tool calling, letting code, screenshots, and docs run in one workflow.
Meta's Muse Wonder model is now officially available on AI Gateway, letting developers call it with a single unified API key — no separate Meta account required. The model targets a clear set of use cases: coding, long-running agents, and computer use.

Why "Long-Running" Is the Keyword Here
Most people expect a coding model to autocomplete code or answer technical questions. Muse Wonder clearly aims higher — it's designed to plan multi-step tasks, delegate work to sub-agents, and recover from errors during execution.
Those three capabilities map directly onto where agents most often fall apart in production. No matter how strong single-step performance is, once a task chain stretches to dozens of steps, a failure at any link can bring the whole flow down. By baking error recovery into the model design, Muse Wonder signals that it's built not for one-shot Q&A but for automation that actually runs.
The "computer use" capability also deserves separate attention. It means the model can understand screen content and perform interactions, not just process code in text form.
Long-running agents don't refer to conversational AI that ends after a single exchange. They're automated programs that can be given a goal and keep executing autonomously for minutes, hours, or even longer. They're typically driven by a "plan—execute—observe—correct" loop: the model first breaks a task into sub-steps, calls tools (reading and writing files, running commands, operating a browser) to execute them, then judges from the returned results whether the goal has been met. The core difficulty of such systems isn't single-step reasoning but error accumulation — every small deviation gets amplified along the chain, which is why the industry broadly emphasizes checkpoints, retries, and self-recovery mechanisms. Context window size, the reliability of tool calls, and the ability to remember intermediate state together determine whether a long-running agent can actually finish a complete task rather than collapsing midway.
What a 1M-Token Context Plus Multimodal Input Means
Muse Wonder supports a 1 million token context window and accepts text, images, and PDFs as input, while also supporting tool calling and structured output.
In a real workflow, these capabilities interlock:
- A large context lets the model swallow the key parts of an entire codebase at once, without repeated trimming
- Image input lets it read interface screenshots
- PDF input lets requirements docs and technical specs flow straight into context
- Structured output + tool calling form the infrastructure for an agent to take actions
The original post specifically notes that the agent can handle code, screenshots, and documents within the same workflow. The weight of that sentence lies in "the same" — developers don't have to build multiple parallel pipelines for different modalities; the model layer has already connected them.
Tokens are the basic units in which a model processes text. An English word usually corresponds to 1–2 tokens, while a Chinese character typically maps to 1 token per character or so. A 1 million token context window roughly equates to several thousand pages of documents or the core files of a mid-sized codebase in a single pass. The larger the context window, the more information the model can "remember" in a single call, and the less likely key dependencies get lost to trimming — but it also brings rising inference costs and the problem of "information in the middle being ignored." Multimodal input means the model can receive formats beyond text — images, PDFs, and so on — and encode them uniformly into the same context. Combined, these two let developers hand the model a requirements doc (PDF), interface screenshots (images), and source code (text) all at once, and let it build cross-modal connections on its own, without an extra OCR or format-conversion layer in between.
How to Integrate: One Key Does It All
For developers, the barrier is low. The whole process is just two steps: set AI_GATEWAY_API_KEY in your environment variables, then set the model name to meta/muse-wonder-1.0.
Here's how it looks with the Vercel AI SDK:
import { streamText } from 'ai';
const result = streamText({
model: 'meta/muse-wonder-1.0',
prompt: 'Plan a codebase refactor and identify the tools needed.',
});
for await (const text of result.textStream) {
process.stdout.write(text);
}
For coding agents specifically, you can also run npx vercel ai-gateway setup directly, then select meta/muse-wonder-1.0 in the agent's model settings. There's also a model playground and model catalog for trying things out and checking details.
AI Gateway itself provides a unified interface: calling models, tracking usage and cost, configuring routing, retries, and failover. At the API level it supports multiple calling patterns including Chat Completions and Claude Code, and keys can either be AI Gateway's own or your own provider key (BYOK).
AI Gateway is a type of intermediary service sitting between applications and various model APIs, offering unified authentication, unified model naming, usage and cost tracking, routing and distribution, automatic retries, and failover. The core problem it solves: when an application needs to call models from multiple vendors, it doesn't have to maintain separate SDKs, keys, and billing logic for each. BYOK (Bring Your Own Key) is a common mode in which developers use keys they've applied for from the model vendor, and the gateway handles only forwarding and governance, avoiding lock-in to a single provider. The Vercel AI SDK is an open-source library for frontend and full-stack developers that abstracts away underlying model differences through unified interfaces like streamText and generateText — switching models usually just means changing the model name string.
A Few Signals Worth Noting
First, the model layer and the gateway layer are decoupling. Muse Wonder is Meta's model, but it's distributed through AI Gateway, and developers don't need a Meta account. This pattern — "models plug into a gateway, the gateway governs uniformly" — is becoming the infrastructure norm in the multi-model era.
Second, the competitive focus for coding agents is shifting to robustness. The move from single-point capabilities toward multi-step planning, sub-agent delegation, and error recovery suggests the industry now takes baseline capability for granted — whether a long task can run to completion reliably is the real question.
Third, the combination of context length and multimodality is reshaping workflow design. When code, screenshots, and documents can be handled in the same frame, steps that once required manually shuttling information between tools can potentially be compressed into a single call.
Muse Wonder's actual performance still needs hands-on verification, but its capability combination already points clearly in one direction: coding agents that can plan on their own, correct their own errors, and understand both code and interfaces are moving from concept to callable product.
One-line Summary
Meta Muse Wonder lands on AI Gateway, targeting coding and long-running agents with a 1M-token context and multimodal input.
Paragraph Summary
Meta's Muse Wonder model is now officially on AI Gateway, callable by developers with a single unified API key and no Meta account. It targets three scenarios — coding, long-running agents, and computer use — with core capabilities including multi-step task planning, sub-agent delegation, and mid-execution error recovery, aimed at the robustness of long task chains. It supports a 1 million token context window, accepts text, images, and PDFs, and offers tool calling and structured output, letting code, screenshots, and documents be handled in a single workflow. Integration is minimal: set AI_GATEWAY_API_KEY and use the model name meta/muse-wonder-1.0. The article sees three trends reflected here: decoupling of the model layer from the gateway layer, the competitive shift of coding agents toward robustness, and how the combination of context and multimodality is reshaping workflow design.
Related articles

ChatGPT Space Launches: Team Collaboration and New Pages Features Explained
ChatGPT Space is OpenAI's new team collaboration feature with Pages, real-time collaboration, and Slack/Google Drive sync. We break down its privacy design, multi-platform integration, and the full workflow from conversation to document.

Migrating Apache Spark UDFs to GPU Acceleration with AI Agents
NVIDIA developer blog explains how AI Agents rewrite Apache Spark UDFs for GPU acceleration, covering migration criteria, agent rewriting and verification workflows, plus pitfalls like result consistency and CPU-GPU transfer overhead.

Zed Editor v0.40.4-rc2 Released: Usage Credits Now Available Without Upgrading
Zed editor releases v0.40.4-rc2, allowing users to use usage credits for AI features without upgrading to a paid plan, lowering the trial barrier.