# DeepSeek: DeepSeek V4 Flash 0731 — Use via Hanzo AI API > DeepSeek V4 Flash 0731 is a sparse mixture-of-experts model from DeepSeek, with 13B active parameters out of 284B total. This re-post-traine... Access via Hanzo's OpenAI-compatible API. Context: 1M. Get started free. [Models](https://hanzo.ai/models)/[DeepSeek](https://hanzo.ai/models/deepseek)/deepseek-v4-flash-0731 # DeepSeek: DeepSeek V4 Flash 0731 [DeepSeek](https://hanzo.ai/models/deepseek) DeepSeek V4 Flash 0731 is a sparse mixture-of-experts model from DeepSeek, with 13B active parameters out of 284B total. This re-post-trained revision is suited for coding, reasoning, and agent workflows.... text [Get API Key](https://hanzo.ai/signup)[View Docs](https://docs.hanzo.ai)[Try in Chat](https://hanzo.ai/chat) ## Specifications Context Window 1M Modalities text Input $0.096 / M tokens Output $0.216 / M tokens Status available Category third-party Model ID deepseek/deepseek-v4-flash-0731 ## Quick Start TypeScript ``` import OpenAI from 'openai' const client = new OpenAI({ apiKey: process.env.HANZO_API_KEY, baseURL: 'https://api.hanzo.ai/v1' }) const response = await client.chat.completions.create({ model: 'deepseek/deepseek-v4-flash-0731', messages: [{ role: 'user', content: 'Hello!' }] }) 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-v4-flash-0731", 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 '{ "model": "deepseek/deepseek-v4-flash-0731", "messages": [{"role": "user", "content": "Hello!"}] }' ``` 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-v4-flash-0731", 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: R164KDeepSeek R1 is here: Performance on par with OpenAI o1, but open-sourced and with fully open reasoning tokens. It's 671B parameters in size, with 37B active in an inference pass....](https://hanzo.ai/models/deepseek/deepseek-r1)[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'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) [View all DeepSeek models →](https://hanzo.ai/models/deepseek) ## Use DeepSeek: DeepSeek V4 Flash 0731 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)