Skip to main content
Skip to main content

Muse Spark 1.3

Muse Spark 1.3 is Meta's latest large language model, positioned as the company's breakthrough in coding and agentic work - and priced to make developers notice. It pairs a 1M-token context window with long-horizon agent workflows that collect their own context, notice gaps in their plans, and adjust without human babysitting.

  • 99.9% SLA
  • Official Discounts
  • Pay-as-you-go
  • Fast & Low Latency
Brand:MetaPrice: $1.4125 / 1M input tokens
Open docs

Make your first request

Choose an API protocol and install its Python SDK. Replace YOUR_API_KEY with your MuseSpark API key, adjust the input, and run the example to send a request to this model.

Install the Python SDK

pip install openai

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://api.musespark.ai/proxy/openai/v1",
)

response = client.responses.create(
    model="muse-spark-1.3",
    input="Write a one-sentence release note for a new image model.",
)

print(response.output_text)

Protocol reference

Each protocol uses a different endpoint and request format. Use the matching SDK and authentication method for your chosen protocol.

OpenAI Responses API

Endpoint
POST https://api.musespark.ai/proxy/openai/v1/responses
Authentication
Authorization: Bearer <API_KEY>
Response
Use response.output_text for the generated text, or inspect response.output for structured output.