Ship a Full-Stack App with One Prompt

Copy this prompt into your AI coding agent, or open it in one below.

Give this to your AI Create a to-do list app using Puter.js

Coding manually? see the guide

meta: Muse Spark 1.2

meta/muse-spark-1.2

Access Muse Spark 1.2 from meta using Puter.js AI API.

Get Started
// npm install @heyputer/puter.js
import { puter } from '@heyputer/puter.js';

puter.ai.chat("Explain quantum computing in simple terms", {
    model: "meta/muse-spark-1.2"
}).then(response => {
    document.body.innerHTML = response.message.content;
});
<html>
<body>
    <script src="https://js.puter.com/v2/"></script>
    <script>
        puter.ai.chat("Explain quantum computing in simple terms", {
            model: "meta/muse-spark-1.2"
        }).then(response => {
            document.body.innerHTML = response.message.content;
        });
    </script>
</body>
</html>
# pip install openai
from openai import OpenAI

client = OpenAI(
    base_url="https://api.puter.com/puterai/openai/v1/",
    api_key="YOUR_PUTER_AUTH_TOKEN",
)

response = client.chat.completions.create(
    model="meta/muse-spark-1.2",
    messages=[
        {"role": "user", "content": "Explain quantum computing in simple terms"}
    ],
)

print(response.choices[0].message.content)
curl https://api.puter.com/puterai/openai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_PUTER_AUTH_TOKEN" \
  -d '{
    "model": "meta/muse-spark-1.2",
    "messages": [
      {"role": "user", "content": "Explain quantum computing in simple terms"}
    ]
  }'

Model Card

Muse Spark 1.2 is Meta Superintelligence Labs' coding-focused update to Muse Spark 1.1, released alongside Muse Code, a terminal coding agent it powers. Meta scaled up training compute on coding tasks and training-environment diversity, aiming at code generation, debugging, codebase understanding, and long-horizon work like whole-repository generation.

On Meta's own evaluation harness, Muse Spark 1.2 scored 82.9% on Terminal-Bench 2.1 and 59.3% on DeepSWE 1.1, edging OpenAI's GPT-5.6 Terra (81.8%) and xAI's Grok 4.5 (81.6%) on Terminal-Bench but trailing Anthropic's Opus 5 (86.7%). These are vendor-run numbers, not yet independently verified on the public leaderboards.

It keeps the 1,048,576-token context window and text, image, video, audio, and PDF input from 1.1, at the same $1.25 per million input and $4.25 per million output token pricing. A separate contributor tier offers lower rates in exchange for letting Meta train on your prompts and completions.

Context Window 1M

tokens

Max Output N/A

tokens

Input Cost $1.25

per million tokens

Output Cost $4.25

per million tokens

Input text, image, video, audio, pdf

modalities

Tool Use Yes

 

Release Date Aug 5, 2026

 

Model Playground

Try Muse Spark 1.2 instantly in your browser.
This playground uses the Puter.js AI API — no API keys or setup required.

Chat meta/muse-spark-1.2
Chat with Muse Spark 1.2
Powered by Puter.js

Frequently Asked Questions

How do I use Muse Spark 1.2?

You can access Muse Spark 1.2 by meta through Puter.js AI API. Include the library in your web app or Node.js project and start making calls with just a few lines of JavaScript — no backend and no configuration required. You can also use it with Python or cURL via Puter's OpenAI-compatible API.

Is Muse Spark 1.2 free?

Yes, it is free if you're using it through Puter.js. With the User-Pays Model, you can add Muse Spark 1.2 to your app at no cost — your users pay for their own AI usage directly, making it completely free for you as a developer.

What is the pricing for Muse Spark 1.2?
Muse Spark 1.2 costs $1.25 per 1M input tokens and $4.25 per 1M output tokens.
Price per 1M tokens
Input$1.25
Output$4.25
Who created Muse Spark 1.2?

Muse Spark 1.2 was created by meta and released on Aug 5, 2026.

What is the context window of Muse Spark 1.2?

Muse Spark 1.2 supports a context window of 1M tokens. For reference, that is roughly equivalent to 2,097 pages of text.

What types of input can Muse Spark 1.2 process?

Muse Spark 1.2 accepts the following input types: text, image, video, audio, pdf. It produces: text.

Does Muse Spark 1.2 support tool use (function calling)?

Yes, Muse Spark 1.2 supports tool use (function calling), allowing it to interact with external tools, APIs, and data sources as part of its response flow.

How does Muse Spark 1.2 perform on benchmarks?

Muse Spark 1.2 scores 54.1 on the Artificial Analysis Intelligence Index, outperforming 97% of tracked models. On coding, it scores 72.2 (outperforms 92% of models).

Does it work with React / Vue / Vanilla JS / Node / etc.?

Yes — the Muse Spark 1.2 API works with any JavaScript framework, Node.js, or plain HTML through Puter.js. Just include the library and start building. See the documentation for more details.

Get started with Puter.js

Add Muse Spark 1.2 to your app without worrying about API keys or setup.

Read the Docs View Tutorials