← All models

DeepSeek

DeepSeek V4.1 Flash 1017

Flagship build with a 1M context window, vision and tool calling. The best all-round model in the lineup.

1.0M context128K max outputBest overallStreaming + tools

Input

$0.20 / 1M

Output

$0.90 / 1M

Context

1.0M

Max output

128K

Use it

Change the base URL, keep your SDK.

typescript
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://dreaminference.com/v1",
  apiKey: process.env.DREAM_API_KEY,
});

const response = await client.chat.completions.create({
  model: "deepseek-v4.1-flash-1017",
  messages: [{ role: "user", content: "Hello" }],
  stream: true,
});