New · Seedance 2.5, Wan 3.0, frontier chat LLMs and Rosely hosted models
apimarketplace.comapimarketplace.com
MarketPricingDocs
Sign InGet Started
Market
apimarketplace.comapimarketplace.com

One API for video, image, voice and chat models. One credit balance, public prices, and refunds on every failed task.

Product

  • Model market
  • Pricing
  • Model APIs
  • Dedicated inference
  • Custom serving

Developers

  • Documentation
  • API reference
  • TypeScript examples
  • Python examples
  • Webhooks & delivery
  • llms.txt

Contact

  • support@apimarketplace.com
  • Talk to an engineer
  • Dashboard
  • Architecture & isolation

© 2026 apimarketplace, Inc. All rights reserved.

Privacy PolicyTerms of Service

All systems operational

    Market/Qwen/Qwen 4 Max

    Qwen 4 Max

    qwen/qwen-4-max

    LiveCommercial usePolling & webhooksNew

    Text / Chat

    Qwen 4 Max — flagship generation of the Qwen family delivering top-tier software engineering, structured reasoning, and bilingual Chinese/English excellence across a 1M context window.

    More from Qwen →
    ≈ 1 cr per run

    Examples

    Explore different use cases and parameter configurations

    TEXTQuick Start
    Text / Chat

    Qwen 4 Max Showcase

    Explain how to design a resilient multi-queue AI job scheduler with automatic retries.

    wait: true
    Input
    86/32000

    Prompt or message sent to the text model.

    Input 357 cr ($1.79) / 1M tok1 credit ≈ $0.005
    Output
    Your response will appear here

    Set your parameters on the left and press Run. Outputs are saved to CDN storage.

    output type: text
    View full history
    Recent runs0
    to see and reload your past playground runs.

    Pricing

    Transparent pay-as-you-go rates · failed tasks are refunded automatically

    Base Output
    357 cr/1M tok $1.785

    1 credit = $0.005 · credits never expire · failed tasks are refunded automatically.

    Similar models

    Explore more Text / Chat models

    View all
    LLM
    Rosely
    Rosely Workflow Chat1 cr / req
    LLM
    Rosely
    Rosely Workflow Story3 cr / req
    LLM
    Rosely
    Rosely Story2 cr / req
    LLM
    OpenAI
    GPT-6.2 Astra$10.00 / 1M tok

    More AI models from Qwen

    View all
    LLM
    Qwen
    Qwen 4 35B A3B$0.075 / 1M tok

    Latest and popular AI models

    View all
    VID
    ByteDance
    Seedance 2.5$0.14 / s
    VID
    Alibaba / Wan
    Wan 3.0 Prime$0.061 / s
    IMG
    ByteDance
    Seedream 5.5$0.018 / img
    AUD
    Rosely
    Rosely Voice Call$0.025 / req

    README

    Complete guide to using qwen/qwen-4-max

    Qwen 4 Max API — Alibaba Qwen's latest Qwen 4 Max flagship with 1M context for coding, math, and multilingual synthesis

    Qwen 4 Max — flagship generation of the Qwen family delivering top-tier software engineering, structured reasoning, and bilingual Chinese/English excellence across a 1M context window.

    Key capabilities of Qwen 4 Max

    01
    Text / Chat

    Supported through the same request schema.

    02
    1M Context Window

    1M Context Window — available on every request to /v1/market/text/qwen-4-max.

    03
    Flagship Qwen 4 Reasoning

    Flagship Qwen 4 Reasoning — available on every request to /v1/market/text/qwen-4-max.

    04
    Strong Code & Bilingual Fluency

    Strong Code & Bilingual Fluency — available on every request to /v1/market/text/qwen-4-max.

    05
    Sync, Polling & Webhooks

    Sync, Polling & Webhooks — available on every request to /v1/market/text/qwen-4-max.

    Parameters

    ParameterTypeDefault / valuesDescription
    promptrequiredtextarea—Prompt or message sent to the text model.
    waitbooleantrueReturn result immediately (default true), or set false for async polling + webhook.
    callback_urlstring—Optional HTTPS URL notified via POST when complete.

    Pricing

    TierCredits / 1M tokUSD / 1M tokNotes
    Base Output357 credits≈ $1.78Standard rate

    How to get started

    1. 1
      Create an API key

      Open the dashboard and create a key for your project.

      API keys →
    2. 2
      POST /v1/market/text/qwen-4-max

      Send the same JSON you built in the playground with your key as a Bearer token.

    3. 3
      Read the output directly

      Synchronous models return the output directly in the response, or pass wait: false to poll.

      Docs →

    FAQ

    How is Qwen 4 Max billed?

    Input 357 cr ($1.785) · Output 1069 cr ($5.345) / 1M tok. Metered per million input and output tokens — unused credit reservations are automatically released back to your balance, and the playground shows the estimated credit cost before each run.

    What if a generation fails?

    Credits are reserved when the task starts and refunded automatically if the provider errors, times out or the task is cancelled.

    Is the response synchronous?

    Yes — this endpoint supports returning the completed result directly when wait is true, or set wait: false to receive a taskId for polling and webhooks.

    Where are outputs stored?

    Outputs are copied to durable CDN storage and returned as HTTPS URLs on the task, so links stay valid after the provider's temporary URL expires.

    API

    Call Qwen 4 Max from your code with one HTTP request

    # Option A — Submit (Polling or Sync)
    curl -X POST "https://api.apimarketplace.com/v1/market/text/qwen-4-max" \
      -H "Authorization: Bearer $API_MARKETPLACE_KEY" \
      -H "Content-Type: application/json" \
      -d '{
      "prompt": "Explain how to design a resilient multi-queue AI job scheduler with automatic retries.",
      "wait": true
    }'
    
    # Poll task status until status == "succeeded" (works for all models)
    curl -X GET "https://api.apimarketplace.com/v1/market/tasks/{task_id}" \
      -H "Authorization: Bearer $API_MARKETPLACE_KEY"
    
    # Option B — Async + Webhook Callback (also fires Dashboard Webhooks)
    curl -X POST "https://api.apimarketplace.com/v1/market/text/qwen-4-max" \
      -H "Authorization: Bearer $API_MARKETPLACE_KEY" \
      -H "Content-Type: application/json" \
      -d '{
      "prompt": "Explain how to design a resilient multi-queue AI job scheduler with automatic retries.",
      "wait": false,
      "callback_url": "https://your-app.com/webhooks/market"
    }'
    Endpoints
    Authentication
    Manage keys →
    Authorization: Bearer $API_MARKETPLACE_KEY
    Webhook callback

    Add callback_url to the body to receive a POST with the final CDN URL when the task finishes or fails.

    Task response
    {
      "taskId": "gen_…",
      "status": "succeeded",
      "result": { "text": "…", "usage": { "total_tokens": 128 } },
      "credits": { "charged": 1 }
    }