Ship a Full-Stack App with One Prompt

Copy this prompt into your AI coding agent, or open it in one below.

Give this to your AI Create a to-do list app using Puter.js

Coding manually? see the guide

DeepSeek

DeepSeek: DeepSeek V4 Flash 0731

deepseek-ai/deepseek-v4-flash-0731

Access DeepSeek V4 Flash 0731 from DeepSeek using Puter.js AI API.

Get Started
// npm install @heyputer/puter.js
import { puter } from '@heyputer/puter.js';

puter.ai.chat("Explain quantum computing in simple terms", {
    model: "deepseek-ai/deepseek-v4-flash-0731"
}).then(response => {
    document.body.innerHTML = response.message.content;
});
<html>
<body>
    <script src="https://js.puter.com/v2/"></script>
    <script>
        puter.ai.chat("Explain quantum computing in simple terms", {
            model: "deepseek-ai/deepseek-v4-flash-0731"
        }).then(response => {
            document.body.innerHTML = response.message.content;
        });
    </script>
</body>
</html>
# pip install openai
from openai import OpenAI

client = OpenAI(
    base_url="https://api.puter.com/puterai/openai/v1/",
    api_key="YOUR_PUTER_AUTH_TOKEN",
)

response = client.chat.completions.create(
    model="deepseek-ai/deepseek-v4-flash-0731",
    messages=[
        {"role": "user", "content": "Explain quantum computing in simple terms"}
    ],
)

print(response.choices[0].message.content)
curl https://api.puter.com/puterai/openai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_PUTER_AUTH_TOKEN" \
  -d '{
    "model": "deepseek-ai/deepseek-v4-flash-0731",
    "messages": [
      {"role": "user", "content": "Explain quantum computing in simple terms"}
    ]
  }'

Model Card

DeepSeek V4 Flash 0731 is the July 31, 2026 dated snapshot of DeepSeek's V4 Flash, a sparse Mixture-of-Experts chat model with a 1,048,576-token context window, hosted here on Together AI's infrastructure.

It keeps the April preview's architecture but was re-post-trained with a pipeline focused on coding, reasoning, agents, and tool use. In DeepSeek's own benchmarks the agentic gains over the preview are large: Terminal Bench 2.1 rises from 61.8 to 82.7, Cybergym from 38.7 to 76.7, and DeepSWE from 7.3 to 54.4. On these vendor-reported numbers it also outscores the V4 Pro preview, though third-party reproduction was not available at release.

Pinning the dated 0731 route locks an application to this exact checkpoint, while a rolling deepseek-v4-flash route can move to newer versions. It fits high-volume coding assistants, chat systems, and agent workflows where cost and latency matter, and this route's 1M-token max output gives more headroom for long agent traces than the original preview route.

Context Window 1M

tokens

Max Output 1M

tokens

Input Cost $0.14

per million tokens

Output Cost $0.28

per million tokens

Input text

modalities

Tool Use Yes

 

Release Date Jul 31, 2026

 

Model Playground

Try DeepSeek V4 Flash 0731 instantly in your browser.
This playground uses the Puter.js AI API — no API keys or setup required.

Chat deepseek-ai/deepseek-v4-flash-0731
DeepSeek
Chat with DeepSeek V4 Flash 0731
Powered by Puter.js

Frequently Asked Questions

How do I use DeepSeek V4 Flash 0731?

You can access DeepSeek V4 Flash 0731 by DeepSeek through Puter.js AI API. Include the library in your web app or Node.js project and start making calls with just a few lines of JavaScript — no backend and no configuration required. You can also use it with Python or cURL via Puter's OpenAI-compatible API.

Is DeepSeek V4 Flash 0731 free?

Yes, it is free if you're using it through Puter.js. With the User-Pays Model, you can add DeepSeek V4 Flash 0731 to your app at no cost — your users pay for their own AI usage directly, making it completely free for you as a developer.

What is the pricing for DeepSeek V4 Flash 0731?
DeepSeek V4 Flash 0731 costs $0.14 per 1M input tokens and $0.28 per 1M output tokens.
Price per 1M tokens
Input$0.14
Output$0.28
Who created DeepSeek V4 Flash 0731?

DeepSeek V4 Flash 0731 was created by DeepSeek and released on Jul 31, 2026.

What is the context window of DeepSeek V4 Flash 0731?

DeepSeek V4 Flash 0731 supports a context window of 1M tokens. For reference, that is roughly equivalent to 2,097 pages of text.

What is the max output length of DeepSeek V4 Flash 0731?

DeepSeek V4 Flash 0731 can generate up to 1M tokens in a single response.

What types of input can DeepSeek V4 Flash 0731 process?

DeepSeek V4 Flash 0731 accepts the following input types: text. It produces: text.

Does DeepSeek V4 Flash 0731 support tool use (function calling)?

Yes, DeepSeek V4 Flash 0731 supports tool use (function calling), allowing it to interact with external tools, APIs, and data sources as part of its response flow.

Does it work with React / Vue / Vanilla JS / Node / etc.?

Yes — the DeepSeek V4 Flash 0731 API works with any JavaScript framework, Node.js, or plain HTML through Puter.js. Just include the library and start building. See the documentation for more details.

Get started with Puter.js

Add DeepSeek V4 Flash 0731 to your app without worrying about API keys or setup.

Read the Docs View Tutorials