---
title: ModelScope
---

<!-- THIS FILE IS AUTO-GENERATED BY website/scripts/generate-model-docs.js. DO NOT EDIT MANUALLY. -->

# ModelScope

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

## Quick start

```ts
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

- https://modelscope.cn/docs/model-service/API-Inference/intro

## Models

<details>
  <summary>Show models (7)</summary>

- 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

</details>
