# Get Started With Meta Muse in Python: Spark and Glimmer

DevFeed: [Get Started With Meta Muse in Python: Spark and Glimmer](<https://devfeed.tech/articles/get-started-with-meta-muse-in-python-spark-and-glimmer-133361.md>)

Original publisher: [Read original article](<https://realpython.com/meta-muse-python/>)

Author: Philipp Acsany

Published: 2026-11-13T14:00:00Z

Content type: tutorial

Language: en

Sources: [Real Python](<https://devfeed.tech/sources/real-python.md>)

Topics: [AI Chat](<https://devfeed.tech/topics/ai-chat.md>), [Python](<https://devfeed.tech/topics/python.md>), [Ollama](<https://devfeed.tech/topics/ollama.md>)

Tags: [images](<https://devfeed.tech/tags/images.md>), [meta](<https://devfeed.tech/tags/meta.md>), [meta-muse](<https://devfeed.tech/tags/meta-muse.md>), [muse](<https://devfeed.tech/tags/muse.md>), [muse-spark](<https://devfeed.tech/tags/muse-spark.md>), [open-weights](<https://devfeed.tech/tags/open-weights.md>), [python](<https://devfeed.tech/tags/python.md>), [spark](<https://devfeed.tech/tags/spark.md>), [streaming](<https://devfeed.tech/tags/streaming.md>), [tool](<https://devfeed.tech/tags/tool.md>)

## AI overview

Muse Spark and Glimmer can be called from Python with the OpenAI client because Meta's Model API uses its protocol. The tutorial demonstrates Responses and Chat Completions requests, streaming, image input, function calls, and Pydantic structured output. Spark always reasons; in the tutorial's tests, setting effort to "minimal" cut latency by more than half and cost by about 60% while answering the checked question correctly, though it still used reasoning tokens. Default-effort streaming had a 12-34 second first-token delay across four runs, and tool_choice supports only "auto"; some other OpenAI parameters fail. Spark is available through Meta's endpoint or OpenRouter at the same token prices, but Meta's API has no hard spending cap. Glimmer's Apache 2.0 weights can be hosted locally or rented; in one matching hosted test it cost about one-eighth as much as Spark for the same question, but the comparison is limited. Local Glimmer needs substantial memory, and its tutorial script was not tested because the test machine had no GPU.

## Source excerpt

Get started with Meta Muse in Python. Make your first Muse Spark call, then add streaming, images, and tool calls, and try the open-weights Glimmer.