New version available

Refresh to update

Could not apply changes

Muse Spark 1.2

meta
meta/muse-spark-1.2

Meta multimodal reasoning model for coding, agentic workflows, document analysis, and media understanding. Supports text, image, audio, video, structured output, and function calling with a 1M-token context window; routed through OpenRouter.

Quick start

TypeScript
cURL
import OpenAI from 'openai'

const openai = new OpenAI({
  apiKey: process.env.CODEPLATFORM_API_KEY,
  baseURL: 'https://ai.codeplatform.net/v1',
})

const response = await openai.chat.completions.create({
  model: 'meta/muse-spark-1.2',
  messages: [{
    role: 'user',
    content: 'Hello world',
  }],
})

API details

Send requests to the OpenAI-compatible /v1/chat/completions endpoint.

Capabilities

Pricing

Input tokens (per 1M)$1.25
Output tokens (per 1M)$4.25
Cached input (per 1M)$0.15

Limits

Context length1,048,576 tokens
Max output131,072 tokens