---
title: submodel
---

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

# submodel

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

## Quick start

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

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

## Environment variables

- `SUBMODEL_INSTAGEN_ACCESS_KEY`

## Provider package

`@ai-sdk/openai-compatible`

This provider uses the OpenAI-compatible adapter.

## Default base URL

`https://llm.submodel.ai/v1`

You can override the base URL by setting `SUBMODEL_BASE_URL`.

## Provider docs

- https://submodel.gitbook.io

## Models

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

- Qwen/Qwen3-235B-A22B-Instruct-2507
- Qwen/Qwen3-235B-A22B-Thinking-2507
- Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8
- deepseek-ai/DeepSeek-R1-0528
- deepseek-ai/DeepSeek-V3-0324
- deepseek-ai/DeepSeek-V3.1
- openai/gpt-oss-120b
- zai-org/GLM-4.5-Air
- zai-org/GLM-4.5-FP8

</details>
