Workbench
These examples were written for this endpoint. Replace the prompt and sample media URLs with your own accessible inputs, then check the current quote and model availability before submitting.
- Input types
- Text
- Output types
- Text
- Input
- $1.0625 / 1 million tokens
- Cached input
- $0.1275 / 1 million tokens
- Output
- $3.6125 / 1 million tokens
- Context
- 1,048,576
- Max output
- 1,048,576
$1.06/3.61per 1 million tokens · input / output
basic Use this exampleExample single-turn request for Muse Spark 1.2 showing the standard chat messages payload and max_tokens setting.
- 1024
- Input types
- Text
- Output types
- Text
- Input
- $1.0625 / 1 million tokens
- Cached input
- $0.1275 / 1 million tokens
- Output
- $3.6125 / 1 million tokens
- Context
- 1,048,576
- Max output
- 1,048,576
$1.06/3.61per 1 million tokens · input / output
tool-step Use this exampleExample tool-calling request for Muse Spark 1.2 with a JSON-schema function definition and tool_choice set to auto.
- 1024
- auto
This example starts at Input $1.0625 / Output $3.6125 per 1 million tokens. The Playground updates the estimate when you change the settings.
