All models

deepseek-flash ★

DeepSeekChat
Get your API key
STANDARD APIs · QUICK SETUP

Keep your SDK. Connect in minutes.

Point the Base URL to api.acedata.cloud, configure your platform API key and the model ID below, and use your compatible SDK or client.

API host
api.acedata.cloud
model
deepseek-flash
Get your API key
OpenAI Python SDK
import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["ACEDATACLOUD_API_KEY"],
    base_url="https://api.acedata.cloud/v1",
)
response = client.chat.completions.create(
    model="deepseek-flash",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)

Choose an available protocol for this model. OpenAI SDK uses a Base URL ending in /v1; Anthropic SDK uses the root URL. See each guide for protocol-specific parameters, tools and response formats.

DeepSeek Flash

deepseek-flash is the Flash-compatible invocation name for the AceDataCloud Chat API. The compatible names deepseek-v4.1-flash, deepseek-v4.1-flash-1017, and deepseek-v4-flash use the same rates.

View API · View Pricing

Invocation Information

Request model
deepseek-flash
Request path
POST /deepseek/chat/completions

Send Your First Message

Provide the API Token in the request header. The JSON request body includes model and messages; for example, send a message object with role: user and text content. For a complete request example, see the DeepSeek Chat Completion API.

Read the Response

For regular requests, read the text from choices[0].message.content. When using streaming output, set stream: true, read the text in choices[0].delta.content in order, and stop reading after receiving [DONE].

Continue a Conversation

Put the previous user question, assistant response, and current question in the same messages array. When the original text or constraints need to be preserved, send them with the current request.

Migrate Existing Flash Conversations to the Standard Name

Change the original request's model to deepseek-flash, retain the same messages and stream parameters, and compare the complete responses or streaming chunks actually received by the application.

Usage and Pricing

The platform charges separately for actual input, cache-hit input, and output tokens. DeepSeek Flash uses Flash rates. Verify usage against the current pricing page and the usage statistics in the response.

Frequently Asked Questions

Do existing Flash configurations need to be renamed immediately?

Published compatible names will continue to be supported, with the same pricing as the standard name. New configurations can use deepseek-flash directly.

Which model field should the request use?

Specify "model": "deepseek-flash" in the JSON request body.

When should streaming output be used?

Enable stream when you need to display the answer as it is generated; use a regular response when you need to parse the complete message at once.

How should multi-turn messages be sent?

Set role separately for each user and assistant message, and add them to the message array in chronological order.

Where can I check actual consumption?

Find the corresponding request in the console's usage records, and compare it with the current pricing page's input, cached input, and output rates.