---
title: Deep Infra
---

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

# Deep Infra

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

## Quick start

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

const agent = new Agent({
  name: "deepinfra-agent",
  instructions: "You are a helpful assistant",
  model: "deepinfra/MiniMaxAI/MiniMax-M2",
});
```

## Environment variables

- `DEEPINFRA_API_KEY`

## Provider package

`@ai-sdk/deepinfra`

## Default base URL

Not listed.

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

## Provider docs

- https://deepinfra.com/models

## Models

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

- MiniMaxAI/MiniMax-M2
- MiniMaxAI/MiniMax-M2.1
- Qwen/Qwen3-Coder-480B-A35B-Instruct
- Qwen/Qwen3-Coder-480B-A35B-Instruct-Turbo
- moonshotai/Kimi-K2-Instruct
- moonshotai/Kimi-K2-Thinking
- openai/gpt-oss-120b
- openai/gpt-oss-20b
- zai-org/GLM-4.7

</details>
