Skip to main content

Strong
meta/muse-spark-1.2/chat

Meta Muse Spark 1.2 chat endpoint: 1,048,576-token context and output ceiling, image_url vision input, six reasoning tiers, auto tool calling, and JSON output.

Input $1.0625Output $3.6125per 1 million tokensCached input $0.1275

Workbench

Muse Spark 1.2

What can Muse Spark 1.2 help with?

Missing the model you need?

1M-CONTEXT CODING & AGENT CHAT API

Muse Spark 1.2 API at a glance

Meta's coding-focused Muse Spark 1.2 model: 1,048,576-token window, vision, six reasoning tiers, and tool calling.

Input context
1M
Muse Spark 1.2 accepts up to 1,048,576 tokens per call.
Reply ceiling
1M
Muse Spark 1.2 max_tokens reaches 1,048,576 (default 4,096).
Effort levels
6
Muse Spark 1.2 effort options: minimal, low, medium, high, xhigh, max (default high).
Tools per call
128
Muse Spark 1.2 accepts 128 tool schemas with parallel calls.
Input types
2
Muse Spark 1.2 reads text and image_url in one turn.
Streaming
SSE
Muse Spark 1.2 streams incremental replies over SSE.

Results

What Muse Spark 1.2 is good at

  • Coding focus

    Built for multi-file refactors and long debug loops

    Meta released Muse Spark 1.2 specifically for sustained engineering work. Its 1,048,576-token window holds source files, test output, and architectural notes together in one thread.

  • Six reasoning tiers

    Dial thinking from minimal up to max

    Tune reasoning_effort across minimal, low, medium, high (default), xhigh, and max. Reasoning tokens are counted inside max_tokens and billed as output.

  • Vision & auto tools

    Screenshots, 128 tools, and JSON replies

    Attach image_url parts alongside logs or specs, define up to 128 tools (with tool_choice set to auto), and use response_format for structured JSON outputs.

Before you run it

What to know before you run Muse Spark 1.2

Chat
Muse Spark 1.2 allows 1,048,576 input tokens across 256 messages and max_tokens from 1 to 1,048,576 (default 4,096).
Chat
On Muse Spark 1.2, reasoning tokens count inside max_tokens, so tight limits at higher effort can end before visible text.
Chat
On Muse Spark 1.2, tool_choice accepts auto only; omit tools for plain prose.
Chat
Live evaluation placed Muse Spark 1.2 in the borderline tier: romantic prose and intense horror pass, while explicit adult fiction and graphic BDSM are refused or softened.

Use cases

What to build with the Muse Spark 1.2 API

  • Multi-file codebase refactoring

    Provide module interfaces, callers, and test suites together so Muse Spark 1.2 can plan symbol-accurate changes without breaking downstream consumers.

  • Long-running terminal coding agents

    Keep dozens of tool observations verbatim in the 1M-token context while your application validates and executes every file edit or test command.

  • UI and visual debugging

    Combine failing interface screenshots via image_url with stack traces and component code for focused diagnosis.

Prompts

Muse Spark 1.2 prompt examples you can copy

  • Chat

    Plan a backward-compatible TypeScript refactor

    Plan a multi-file TypeScript refactor to replace legacy callback handlers with async iterators while keeping public types backward-compatible. Work from the module list I provide. Cite exact symbols, list breaking-change risks, and propose a step-by-step verification sequence.

    Why it works. This task checks how thoroughly Muse Spark 1.2 tracks exported symbols, breaking-change risks, and step-by-step verification across multiple files.

    Try this prompt

Pricing

Muse Spark 1.2 API pricing

From $1.06 per million input tokens and $3.61 per million output tokens.

Get started

How to use the Muse Spark 1.2 API in three steps

  1. Step 1

    Let the model choose tools, or send none

    On this endpoint tool_choice supports auto only; leave tools out when you want plain prose instead of function calls.

  2. Step 2

    Size the output limit for deep thinking

    Reasoning counts inside max_tokens (default 4,096, ceiling 1,048,576). Raise the cap before increasing reasoning_effort to xhigh or max.

  3. Step 3

    Reuse stable repository prefixes

    Put static instructions and shared source files early in the message list so subsequent turns benefit from cached input tokens.

Parameter reference and code samples are in the API and Readme tabs at the top of this page.

FAQ

Muse Spark 1.2 API FAQ

About Muse Spark 1.2

Muse Spark 1.2 pairs Meta's coding-oriented 1,048,576-token model with six reasoning levels, image input, JSON output, and auto tool calling in one OpenAI-compatible chat endpoint.

All Muse models2

Related models and next tasks