AI Gateway

/

DeepSeek R1

DeepSeek R1 by DeepSeek

DeepSeek Reasoner is a specialized model developed by DeepSeek that uses Chain of Thought (CoT) reasoning to improve response accuracy. Before providing a final answer, it generates detailed reasoning steps that are accessible through the API, allowing users to examine and leverage the model's thought process, served by Fireworks AI.

index.ts
import { streamText } from 'ai'
const result = streamText({
model: 'deepseek/deepseek-r1',
prompt: 'Why is the sky blue?'
})