MuseSpark
MuseSpark
Models & toolsLanguage models

Qwen3.8 Max API guide

Qwen3.8 Max API: Call Qwen3.8 Max through the OpenAI-compatible Chat Completions interface. Use the invocation identifier below and native message fields; optional features and token limits depend on the selected model and your account access.

Model overview

Call Qwen3.8 Max through the OpenAI-compatible Chat Completions interface. Use the invocation identifier below and native message fields; optional features and token limits depend on the selected model and your account access.

API integration

DocumentationValue
API invocation identifierqwen3.8-max
IntegrationLLM protocol

Use this invocation identifier in API requests. Check your authorized model catalog for access. Follow the Quickstart for your first complete call.

The parameters below describe the selected protocol. Optional features and limits depend on this model and your account access. Check supported capabilities before enabling tool calls, caching, or large token limits.

Request parameters

Studio presets describe the form setup, not guaranteed server defaults. Send preset values explicitly to reproduce them.

modelstringRequired

Use the API invocation identifier shown in this guide, subject to access in your authorized protocol catalog.

messagesarrayRequired

Ordered conversation messages containing roles and content. Preserve role boundaries and the order of prior turns.

streambooleanOptional

When true, consume the native protocol stream incrementally and handle completion and errors separately.

No parameters match. Clear the search or reset the filters.

Model rules

Model behavior

  • Qwen 3.8 Max distinguishes built-in tools on Responses from ordinary chat input, and PDF input on chat from Responses. Confirm each optional feature for the selected MuseSpark operation before enabling it.
  • Chat Completions uses messages with explicit roles. Read the assistant result from choices; streaming responses carry incremental deltas instead of a complete message object.

Request examples

Set MUSESPARK_API_KEY in your server environment. Python examples use requests; JavaScript examples use Node.js 20 or later.

Openai request

curl --fail-with-body 'https://api.musespark.ai/proxy/openai/v1/chat/completions' \
  -H "Authorization: Bearer $MUSESPARK_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "qwen3.8-max",
  "messages": [
    {
      "role": "user",
      "content": "Explain asynchronous APIs in one sentence."
    }
  ],
  "stream": false
}'

Parameters used: model · messages · stream.

Output

Read the native openai response rather than a task envelope. See the protocol quickstart and streaming guide for parsing and interruption handling.

Troubleshooting

For rejected inputs, check the field type, accepted values, and conditional requirements in Request parameters and Model rules. Correct the affected fields before submitting again.

For authentication and permission errors, see LLM authentication. For interrupted streams, follow the openai streaming guide.

The public input snapshot was exported on 2026-11-09. Current prices and availability are listed in the model center.