Text model API

Qwen3.8 Max API

qwen/qwen3.8-max is Alibaba's most advanced flagship multimodal AI model, designed for frontier-level reasoning, coding, and agentic workflows. Built on a 2.4 trillion-parameter Mixture-of-Experts (MoE) architecture, it delivers state-of-the-art performance while activating only a fraction of its parameters per request for efficient inference. Supporting text, image, and video inputs with a 1 million-token context window, Qwen3.8 Max is engineered for software engineering, enterprise automation, multimodal understanding, and complex AI agents. Designed for developers, researchers, and busines

Model id
qwen38-max
Takes
Text (required)
Makes
Text
Endpoint
POST /api/v1/chat/completions
Made by
Alibaba (Qwen)
Mode
Synchronous

Call Qwen3.8 Max

Base URL https://payload.rentprompts.com/api/v1. Replace the placeholder with your key.

Model qwen38-max

POST /api/v1/chat/completions

curl https://payload.rentprompts.com/api/v1/chat/completions \
  -H "Authorization: Bearer rp_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "qwen38-max",
  "messages": [
    {
      "role": "user",
      "content": "Write a haiku about APIs."
    }
  ],
  "max_tokens": 256
}'

Replace rp_live_YOUR_KEY with your key, ideally via the RENTPROMPTS_API_KEY environment variable. Keys are shown only once, so they are never filled in here. Get your API key →

What a typical call costs

Worked out from Qwen3.8 Max's published price (0.3 J in · 0.7 J out / 1K tokens). You pay only for successful results, from your Joule balance.
  • 1,000 input + 500 output tokens0.65 Joules
  • 10,000 input + 2,000 output tokens4.4 Joules

Send requests to POST /api/v1/chat/completions. Qwen3.8 Max answers synchronously: the result comes back in the response to the same request. Token counts come from the model's own usage report, so a real call may use more or fewer tokens than this example.

Settings

Optional parameters this model accepts (pass them in settings on /v1/run, or as top-level fields where OpenAI defines them).

This model has no extra settings. Send the standard fields shown in the example.

Qwen3.8 Max API — Pricing & Code Examples | RentPrompts