§06 · Hosted APIs
Muse Spark Open hosted API providers
Running Muse Spark Open yourself takes around 700 GB of GPU memory for Meta’s NVFP4 weights, or two 512 GB Mac Studios with a 4-bit quant (see Run locally). For most developers, a hosted API is the cheaper and faster place to start.
Hosted APIs
Launch providers named by Meta:
| Provider | Notes |
|---|---|
| OpenRouter | One API across many providers, easy to compare price and speed |
| Together AI | Open-model hosting and fine-tuning |
| Fireworks AI | Low-latency inference |
| Groq | Custom LPU chips, very fast output |
| Baseten | Dedicated deployments |
| Modal | Serverless GPUs, per-second billing |
| Nebius | GPU cloud |
Prices and speeds change quickly, so check each provider’s model page. Most are OpenAI-compatible, so switching usually means changing only base_url and the model name.
Clouds
- Amazon SageMaker AI
- Google Cloud Model Garden
- Microsoft Foundry Models
These suit teams that already have a cloud account, need private networking or data residency, or want dedicated capacity instead of a shared endpoint.
What to compare between providers
- Precision. A provider may serve BF16, Meta’s NVFP4 or its own quantization. Meta notes quantized inference can differ slightly from full precision in edge cases. If quality matters, ask which weights they run.
- Context length. The model supports 1M tokens, but a provider may cap it lower to save memory.
- Reasoning effort. Check that
reasoning_effortis passed through. If it isn’t, every request may run at the defaultxhigh, which is the slowest and produces the most tokens. - Inputs. Image, video and audio input need the vision and audio encoder. Some endpoints are text-only.
- Data handling. Read each provider’s retention and training policy, especially for customer data.
Example call (OpenAI-compatible)
from openai import OpenAI
client = OpenAI(base_url="https://openrouter.ai/api/v1", api_key="YOUR_KEY")
resp = client.chat.completions.create(
model="<model ID from the provider's page>",
messages=[{"role": "user", "content": "Explain MoE in three sentences"}],
temperature=1.0,
top_p=1.0,
extra_body={"reasoning_effort": "medium"},
)
print(resp.choices[0].message.content)
reasoning_effort accepts low, medium, high or xhigh; any other value returns an error. Use high or xhigh for coding and agentic work, and low or medium for quick replies. Meta recommends temperature=1.0 and top_p=1.0 with top_k disabled.
The same code works against a self-hosted server. Point base_url at http://localhost:8000/v1 for vLLM or http://localhost:30000/v1 for SGLang.
API or self-host
| Hosted API | Self-hosted | |
|---|---|---|
| Upfront cost | None | A multi-GPU server or two 512 GB Mac Studios |
| Cost model | Per token | Fixed: hardware, power, operations |
| Time to first request | Minutes | Hours to days, plus a download of 372 GB to 1.64 TB |
| Data leaves your network | Yes | No |
| Control over precision and settings | Limited | Full |
| Fits best | Prototyping, variable or low volume | Steady high volume, strict data rules, offline use |
A reasonable path is to start on an API, measure your real token volume and the reasoning effort you need, and then price the hardware with the hardware calculator. If you only need a model that runs locally, Muse Glimmer fits on a 24 GB GPU; see Compare & choose.
Attribution
Products built on Muse Spark Open must display “Built with Muse Spark Open”, whether you self-host or use an API. Businesses that resell the model as a service need a separate agreement with Meta above $20M in revenue. See License explained.
FAQ
Q.How can I use Muse Spark Open without buying hardware?
A.Call it per token through Together AI, Fireworks AI, Groq, OpenRouter and others, or deploy it on Amazon SageMaker AI, Google Cloud Model Garden or Microsoft Foundry Models.
Q.How do I set the reasoning effort through an API?
A.Pass reasoning_effort with low, medium, high or xhigh, or chat_template_kwargs with the same key. The default is xhigh, which is the slowest. Whether a provider forwards the parameter varies, so check its model page.
Q.When is self-hosting cheaper than an API?
A.Only at high, steady volume. Self-hosting needs about 700 GB of GPU memory for the official NVFP4 weights, or two 512 GB Mac Studios for 4-bit. Below the point where that hardware stays busy most of the day, paying per token is usually cheaper.
Q.Do I need to credit Muse Spark Open if I only use it through an API?
A.Yes. The license's attribution requirement covers any product or service that uses the model, whether you self-host it or call a provider.