deepseek/deepseek-flash API · AIAdapter

deepseek/deepseek-flash is available through AIAdapter’s OpenAI-compatible unified API. Vendor segment: deepseek. Call with your AIAdapter API key against https://www.aiadapter.com/v1.

Giá

Billed: $0.298 / 1M input tokens · $1.19 / 1M output tokens. Official: —. The Billed column is the gateway price per 1M tokens. It is not the official price multiplied by the quota ratio. 15% applies only when you top up the wallet.

Specs

Model IDdeepseek/deepseek-flash
Vendordeepseek
CompatibilityOpenAI-compatible API

Truy cập API

Gọi mô hình này qua API thống nhất của AIAdapter. /docs#text

curl

curl https://www.aiadapter.com/v1/chat/completions -H "Authorization: Bearer $AIADAPTER_API_KEY" -H "Content-Type: application/json" -d '{"model":"deepseek/deepseek-flash","messages":[{"role":"user","content":"Hello"}]}'

Python

from openai import OpenAI
client = OpenAI(base_url="https://www.aiadapter.com/v1", api_key="...")
client.chat.completions.create(model="deepseek/deepseek-flash", messages=[{"role":"user","content":"Hello"}])

Node.js

import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://www.aiadapter.com/v1", apiKey: process.env.AIADAPTER_API_KEY });
await client.chat.completions.create({ model: "deepseek/deepseek-flash", messages: [{ role: "user", content: "Hello" }] });

FAQ

What is the model ID?

deepseek/deepseek-flash

How do I get an API key?

Create an account, open Console → Keys, then use Authorization: Bearer.

Where is pricing?

See Pricing and the rate above. Each call adds a 15% service fee on its discounted cost.

OpenAI compatible?

Yes. Point the OpenAI SDK at https://www.aiadapter.com/v1.

Docs · Model Marketplace · Get API Key · Playground