# DeepSeek: R1 — Use via Hanzo AI API

> DeepSeek R1 is here: Performance on par with OpenAI o1, but open-sourced and with fully open reasoning tokens. It&#x27;s 671B parameters in size,... Access via Hanzo&#x27;s OpenAI-compatible API. Context: 64K. Get started free.

[Models](https://hanzo.ai/models)/[DeepSeek](https://hanzo.ai/models/deepseek)/deepseek-r1

# DeepSeek: R1

[DeepSeek](https://hanzo.ai/models/deepseek)

DeepSeek R1 is here: Performance on par with OpenAI o1, but open-sourced and with fully open reasoning tokens. It&#x27;s 671B parameters in size, with 37B active in an inference pass....

text

[Get API Key](https://hanzo.ai/signup)[View Docs](https://docs.hanzo.ai)[Try in Chat](https://hanzo.ai/chat)

## Specifications

Context Window

64K

Modalities

text

Input

$0.840 / M tokens

Output

$3.00 / M tokens

Status

available

Category

third-party

Model ID

deepseek/deepseek-r1

## Quick Start

TypeScript

```
import OpenAI from &#x27;openai&#x27; const client = new OpenAI({ apiKey: process.env.HANZO_API_KEY, baseURL: &#x27;https://api.hanzo.ai/v1&#x27; }) const response = await client.chat.completions.create({ model: &#x27;deepseek/deepseek-r1&#x27;, messages: [{ role: &#x27;user&#x27;, content: &#x27;Hello!&#x27; }] }) console.log(response.choices[0].message.content)
```

Python

```
from openai import OpenAI client = OpenAI( api_key=os.environ["HANZO_API_KEY"], base_url="https://api.hanzo.ai/v1" ) response = client.chat.completions.create( model="deepseek/deepseek-r1", messages=[{"role": "user", "content": "Hello!"}] ) print(response.choices[0].message.content)
```

cURL

```
curl https://api.hanzo.ai/v1/chat/completions \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $HANZO_API_KEY" \ -d &#x27;{ "model": "deepseek/deepseek-r1", "messages": [{"role": "user", "content": "Hello!"}] }&#x27;
```

Go

```
package main import ( "context" "fmt" "os" "github.com/sashabaranov/go-openai" ) func main() { cfg := openai.DefaultConfig(os.Getenv("HANZO_API_KEY")) cfg.BaseURL = "https://api.hanzo.ai/v1" client := openai.NewClientWithConfig(cfg) resp, _ := client.CreateChatCompletion(context.Background(), openai.ChatCompletionRequest{ Model: "deepseek/deepseek-r1", Messages: []openai.ChatCompletionMessage{ {Role: openai.ChatMessageRoleUser, Content: "Hello!"}, }, }, ) fmt.Println(resp.Choices[0].Message.Content) }
```

## More from DeepSeek

[DeepSeek: DeepSeek V3164KDeepSeek-V3 is the latest model from the DeepSeek team, building upon the instruction following and coding abilities of the previous versions. Pre-trained on nearly 15 trillion tokens, the reported evaluations...](https://hanzo.ai/models/deepseek/deepseek-chat)[DeepSeek: DeepSeek V3 0324164KDeepSeek V3, a 685B-parameter, mixture-of-experts model, is the latest iteration of the flagship chat model family from the DeepSeek team. It succeeds the DeepSeek V3 model and performs really well...](https://hanzo.ai/models/deepseek/deepseek-chat-v3-0324)[DeepSeek: DeepSeek V3.1164KDeepSeek-V3.1 is a large hybrid reasoning model (671B parameters, 37B active) that supports both thinking and non-thinking modes via prompt templates. It extends the DeepSeek-V3 base with a two-phase long-context...](https://hanzo.ai/models/deepseek/deepseek-chat-v3.1)[DeepSeek: R1 0528164KMay 28th update to the original DeepSeek R1 Performance on par with OpenAI o1, but open-sourced and with fully open reasoning tokens. It&#x27;s 671B parameters in size, with 37B active...](https://hanzo.ai/models/deepseek/deepseek-r1-0528)[DeepSeek: R1 Distill Llama 70B8KDeepSeek R1 Distill Llama 70B is a distilled large language model based on Llama-3.3-70B-Instruct, using outputs from DeepSeek R1. The model combines advanced distillation techniques to achieve high performance across...](https://hanzo.ai/models/deepseek/deepseek-r1-distill-llama-70b)[DeepSeek: DeepSeek V3.1 Terminus164KDeepSeek-V3.1 Terminus is an update to DeepSeek V3.1 that maintains the model&#x27;s original capabilities while addressing issues reported by users, including language consistency and agent capabilities, further optimizing the model&#x27;s...](https://hanzo.ai/models/deepseek/deepseek-v3.1-terminus)

[View all DeepSeek models →](https://hanzo.ai/models/deepseek)

## Use DeepSeek: R1 via Hanzo AI

One API key. Every major model. OpenAI-compatible. Start free.

[Get Free API Key](https://hanzo.ai/signup)[Browse All Models](https://hanzo.ai/models)
