Skip to main content
Providers

ModelScope

Use modelscope/<model> with VoltAgent's model router.

Quick start

import { Agent } from "@voltagent/core";

const agent = new Agent({
name: "modelscope-agent",
instructions: "You are a helpful assistant",
model: "modelscope/Qwen/Qwen3-235B-A22B-Instruct-2507",
});

Environment variables

  • MODELSCOPE_API_KEY

Provider package

@ai-sdk/openai-compatible

This provider uses the OpenAI-compatible adapter.

Default base URL

https://api-inference.modelscope.cn/v1

You can override the base URL by setting MODELSCOPE_BASE_URL.

Provider docs

Models

Show models (7)
  • Qwen/Qwen3-235B-A22B-Instruct-2507
  • Qwen/Qwen3-235B-A22B-Thinking-2507
  • Qwen/Qwen3-30B-A3B-Instruct-2507
  • Qwen/Qwen3-30B-A3B-Thinking-2507
  • Qwen/Qwen3-Coder-30B-A3B-Instruct
  • ZhipuAI/GLM-4.5
  • ZhipuAI/GLM-4.6

Table of Contents