Назад к моделям
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 Verified | together.ai ↗ | 2026-06-02 | к проверке |
| Aider Polyglot | medium.com ↗ | 2026-06-02 | один источник |
| Agentic Coding / Browser-Use / Tool-Use | qwenlm.github.io ↗ | 2026-06-02 | проверено |
| Техотчёт Qwen3-Coder-Next сравнивает новую 80B/3B модель с Qwen3-Coder-480B | arxiv.org ↗ | 2026-06-02 | проверено |
| Qwen запускает Qwen3-Coder-480B-A35B-Instruct и Qwen Code | qwenlm.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 | к проверке |