{
  "openapi": "3.1.0",
  "info": {
    "title": "Qwen/Qwen3.8-Max-0902 — Chutes API",
    "description": "OpenAI-compatible language or vision-language model",
    "version": "167a9792-35af-5209-9a8a-5525d7647b94",
    "contact": {
      "name": "Chutes",
      "url": "https://chutes.ai"
    },
    "x-chutes": {
      "chuteId": "cb177979-3b79-5508-bcbe-5e7f3f5cec75",
      "slug": "chutes-qwen-qwen3-8-max-0902",
      "modelName": "Qwen/Qwen3.8-Max-0902",
      "standardTemplate": "vllm",
      "openaiCompatible": true,
      "confidentialCompute": false,
      "modelPage": "https://chutes.ai/app/chute/chutes-qwen-qwen3-8-max-0902",
      "llmsTxt": "https://chutes.ai/app/chute/chutes-qwen-qwen3-8-max-0902/llms.txt",
      "pricing": {
        "inputUsdPerMillionTokens": 2,
        "outputUsdPerMillionTokens": 6,
        "cachedInputUsdPerMillionTokens": 0.25
      },
      "requestModelField": "Qwen/Qwen3.8-Max-0902"
    }
  },
  "servers": [
    {
      "url": "https://llm.chutes.ai"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "description": "Chutes API key. Send as `Authorization: Bearer $CHUTES_API_KEY`."
      }
    }
  },
  "paths": {
    "/v1/chat/completions": {
      "post": {
        "operationId": "chat_stream",
        "summary": "POST /v1/chat/completions",
        "responses": {
          "200": {
            "description": "Server-sent event stream of OpenAI-style chat completion chunks (`data: {...}` lines, terminated by `data: [DONE]`).",
            "content": {
              "text/event-stream": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              },
              "example": {
                "model": "Qwen/Qwen3.8-Max-0902",
                "messages": [
                  {
                    "role": "user",
                    "content": "Hello!"
                  }
                ],
                "stream": true,
                "max_tokens": 1024,
                "temperature": 0.7
              }
            }
          }
        }
      }
    }
  }
}