D

DeepSeek R1

DeepSeek

ReasoningMathCodeValue

About

Advanced reasoning model rivaling frontier models at a fraction of the cost. Uses chain-of-thought reasoning by default, making it excellent for math, logic, and complex multi-step problems. Transparent reasoning process lets you see the model's thought process.

Provider

DeepSeek

Context Window

64k tokens

Max Output

8,192 tokens

Model ID

deepseek/deepseek-r1

Capabilities

Chain-of-thoughtTransparent reasoningStreamingMath-optimized

API Usage

Drop-in compatible with any OpenAI client library.

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.deployai.dev/v1",
  apiKey: process.env.DEPLOYAI_API_KEY,
});

const completion = await client.chat.completions.create({
  model: "deepseek/deepseek-r1",
  messages: [
    { role: "user", content: "Hello, how are you?" }
  ],
});

console.log(completion.choices[0].message.content);

Related Models

View all