
Muse Spark 1.2 is now available on Vercel AI Gateway
Quick Answer
Meta's Muse Spark 1.2 is now available on Vercel AI Gateway, enhancing code generation, debugging, and developer workflows.
Quick Take
It supports long-horizon tasks like generating entire repositories and iterative code improvements, with a unified API for tracking usage and costs.
Key Points
- Muse Spark 1.2 improves code generation and debugging capabilities.
- Designed for long-horizon tasks like entire repository generation.
- Unified API in AI Gateway tracks usage and optimizes performance.
- No platform fees on inference, including BYOK requests.
- Model leaderboard tracks usage of popular AI models over time.
DeepSignal Analysis
What happened
Meta has released Muse Spark 1.2 on the Vercel AI Gateway, focusing on enhancements in code generation and debugging. This version is designed for long-term coding tasks, such as generating entire repositories and improving code iteratively. It also features a unified API for tracking usage and costs.
Key evidence
- Muse Spark 1.2 includes improvements in code generation, debugging, and understanding codebases, enhancing developer workflows.
- The model is capable of generating entire repositories and managing large projects through iterative code writing and compiling.
- AI Gateway offers a unified API for model usage, tracking costs, and performance optimizations, reflecting provider pricing without additional fees.
Why it matters
The introduction of Muse Spark 1.2 could significantly streamline developer workflows by automating complex coding tasks. Its ability to handle long-horizon projects may reduce development time and improve code quality. The unified API also simplifies model integration and cost management, which is crucial for developers working with multiple AI tools.
What to watch
📖 Reader Mode
~2 min readMuse Spark 1.2 from Meta is now available on AI Gateway. It is a coding-focused update to the previous Muse Spark model. While keeping its general capabilities, 1.2 ships with improvements in code generation, complex debugging, codebase understanding, and end-to-end developer workflows.
The model is built for long-horizon work like generating whole repositories, building out large projects end to end, and sustaining iterative loops where it writes, compiles, profiles, and improves code over many rounds.
To use Muse Spark 1.2, set model to meta/muse-spark-1.2 in the AI SDK:
import { streamText } from 'ai';
const result = streamText({
model: 'meta/muse-spark-1.2',
prompt: 'Migrate this service off the deprecated API.',
});
To use Muse Spark in a coding agent, run vercel ai-gateway coding-agents setup to connect Claude Code, Codex, OpenCode, or Pi, then select meta/muse-spark-1.2 inside the agent.
AI Gateway provides a unified API for calling models, tracking usage and cost, and configuring retries, failover, and performance optimizations for higher-than-provider uptime. It includes built-in custom reporting, Zero Data Retention support, budgets for API keys, routing rules, and more.
AI Gateway reflects provider pricing with no markup and does not charge a platform fee on inference, including on Bring Your Own Key (BYOK) requests.
Try Muse Spark 1.2 in the model playground.
AI Gateway: Track top AI models by usage
The AI Gateway model leaderboard tracks the most popular models over time, ranking them by the total volume of tokens processed across all Gateway traffic.
View the leaderboard
— Originally published at vercel.com
Want this in your inbox every morning?
Daily brief at your local 8am — bilingual EN/中文, free.
More from Vercel AI
See more →
The Agent Stack
The Agent Stack by Vercel AI provides essential building blocks for creating production-grade agents, enabling seamless integration across multiple AI models and secure operations. It features components like AI Gateway for model routing, Workflow SDK for durable execution, and Vercel Connect for scoped access, streamlining agent development and deployment across various platforms.

