Назад к моделям

Qwen3 Coder 480B

qwenqwen/qwen3-coder-480b

Гид по API

Chat completion

Используйте стандартный OpenAI-совместимый endpoint chat completions. Модель сильнее всего, когда prompt содержит конкретные файлы, падающие тесты или явные coding-ограничения.

cURL
curl https://api.therouter.ai/v1/chat/completions \
  -H "Authorization: Bearer $THEROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen/qwen3-coder-480b",
    "messages": [
      {"role": "system", "content": "You are a senior software engineer. Return concise patches and explain tradeoffs."},
      {"role": "user", "content": "Refactor this TypeScript function to remove duplication and preserve behavior: ..."}
    ],
    "temperature": 0.7,
    "max_tokens": 4096
  }'

Стриминг

Стримьте длинные объяснения кода и планы патчей, чтобы пользователи IDE видели прогресс до завершения ответа.

cURL
curl https://api.therouter.ai/v1/chat/completions \
  -H "Authorization: Bearer $THEROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen/qwen3-coder-480b",
    "messages": [{"role": "user", "content": "Explain the failure mode and propose a minimal patch."}],
    "stream": true
  }'

Tool calling

Qwen3-Coder настроен под агентские workflow. Используйте tools для поиска по репозиторию, запуска тестов, issue lookup и применения патчей вместо угадывания состояния моделью.

cURL
curl https://api.therouter.ai/v1/chat/completions \
  -H "Authorization: Bearer $THEROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen/qwen3-coder-480b",
    "messages": [{"role": "user", "content": "Find the file that defines billing reconciliation and summarize the invariant."}],
    "tools": [{
      "type": "function",
      "function": {
        "name": "repo_search",
        "description": "Search repository files by query",
        "parameters": {
          "type": "object",
          "properties": {"query": {"type": "string"}},
          "required": ["query"]
        }
      }
    }],
    "tool_choice": "auto"
  }'

JSON-режим

JSON mode подходит для автоматизации code review, структурированного triage issue и инвентаризации миграций.

cURL
curl https://api.therouter.ai/v1/chat/completions \
  -H "Authorization: Bearer $THEROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen/qwen3-coder-480b",
    "messages": [
      {"role": "system", "content": "Return only JSON with keys risk, files, tests."},
      {"role": "user", "content": "Review this diff for production risk: ..."}
    ],
    "response_format": {"type": "json_object"}
  }'
Реестр фактов — каждая утверждаемая величина имеет источник
источникURLполучено
Архитектураhuggingface.co ↗2026-06-02проверено
Параметрыhuggingface.co ↗2026-06-02проверено
Экспертыhuggingface.co ↗2026-06-02проверено
Нативный контекстqwenlm.github.io ↗2026-06-02проверено
Режим выводаhuggingface.co ↗2026-06-02проверено
Фокус обученияqwenlm.github.io ↗2026-06-02проверено
SWE-bench Verifiedtogether.ai ↗2026-06-02к проверке
Aider Polyglotmedium.com ↗2026-06-02один источник
Agentic Coding / Browser-Use / Tool-Useqwenlm.github.io ↗2026-06-02проверено
Техотчёт Qwen3-Coder-Next сравнивает новую 80B/3B модель с Qwen3-Coder-480Barxiv.org ↗2026-06-02проверено
Qwen запускает Qwen3-Coder-480B-A35B-Instruct и Qwen Codeqwenlm.github.io ↗2026-06-02проверено
Карточка Hugging Face публикует архитектуру и детали non-thinking режимаhuggingface.co/Qwen ↗2026-06-02проверено
Qwen3-Coder-480B — thinking-модель?huggingface.co ↗2026-06-02к проверке
Какой контекст поддерживается?qwenlm.github.io ↗2026-06-02к проверке
Можно ли использовать её из Cursor, Cline или инструментов в стиле Claude Code?qwenlm.github.io ↗2026-06-02к проверке
Чем она отличается от qwen/qwen3-coder-30b?github.com ↗2026-06-02к проверке
Можно ли self-host Qwen3-Coder-480B?huggingface.co ↗2026-06-02к проверке
Помощь и контакты