chat
Use DeepSeek Flash Direct for chat through one SmarToken API key.
Text chat for coding, reasoning and document analysis. Use it through SmarToken with OpenAI-compatible request examples, usage tracking and API-key controls.
Live · OpenAI-compatible Chat Completions
Route-rate snapshot: . Rates can change by request time, route and cache.
deepseek-flash-dedicatedModel IDhttps:// thesmartoken.com /v1Base URLInput
$0.12 / 1M per million tokensList price: $0.15 / 1M
Cached input
$0.0024 / 1M per million tokensList price: $0.003 / 1M
Output
$0.48 / 1M per million tokensList price: $0.6 / 1M
curl --fail-with-body -sS "https:/ / thesmartoken.com/ v1/ chat/ completions" \
-H "Authorization: Bearer $SMTOKEN_API_KEY" \
-H "Content-Type: application/ json" \
-d '{
"model": "deepseek-flash-dedicated",
"messages": [{"role":"user", "content":"Reply with exactly OK."}],
"max_tokens": 512
}'DeepSeek Flash Direct route
OpenAI-compatible model gateway
Client
Your app
SDK, backend, agent or workflow.
SmarToken
Unified API Gateway
deepseek-flash-dedicatedProvider
DeepSeek Flash Direct
DeepSeek route through SmarToken.
01
Your app
Send a standard Chat Completions request with your SmarToken key.
02
SmarToken gateway
Validate the key, model scope, daily budget and monthly budget.
03
Model route pool
Choose an enabled route by priority and weight.
04
DeepSeek
Call deepseek-flash-dedicated, stream the response and record usage.
Example JSON response
200 OK{
"model": "deepseek-flash-dedicated",
"choices": [{
"message": {
"role": "assistant",
"content": "Text chat for coding, reasoning and document analysis."
},
"finish_reason": "stop"
}],
"usage": { "prompt_tokens": 10, "completion_tokens": 12, "total_tokens": 22 }
}Fast Deployment
Generate a key and run the Playground in minutes.
Global Access
Use one endpoint for configured China-first routes.
Unified Billing
Track USD token usage and wallet debits together.
Easy Migration
Keep OpenAI SDK shape, change baseURL and model.
Developer Friendly
Copy-ready cURL, Python and Node.js examples.
Model fit
A focused page for evaluating this model as an API route, not just reading a catalog row.
Use DeepSeek Flash Direct for chat through one SmarToken API key.
Use DeepSeek Flash Direct for coding through one SmarToken API key.
Use DeepSeek Flash Direct for document analysis through one SmarToken API key.
Route fit
Treat deepseek-flash-dedicated as a route to test against a workload, not just a catalog name.
DeepSeek Flash Direct is strongest for chat, coding. Validate it with real prompts before making it a default route.
If your workload depends on long context or low cost, compare alternative catalog models with the same prompts.
Check the model catalog and pricing before integrating.
Why SmarToken
Direct accounts can work once region, billing, model IDs and credentials are settled. SmarToken is built for faster overseas evaluation and safer early production.
One API key works across the Chinese model catalog.
Model IDs, SDK samples and error semantics are written for overseas teams.
Daily, monthly and model-family limits keep experiments predictable.
Usage logs connect model, API key, token estimate, latency and wallet debit.
Code sample
curl --fail-with-body -sS "https:/ / thesmartoken.com/ v1/ chat/ completions" \
-H "Authorization: Bearer $SMTOKEN_API_KEY" \
-H "Content-Type: application/ json" \
-d '{
"model": "deepseek-flash-dedicated",
"messages": [{"role":"user", "content":"Reply with exactly OK."}],
"max_tokens": 512
}'import os
from openai import OpenAI
api_key = os.environ["SMTOKEN_API_KEY"]
client = OpenAI(
api_key=api_key,
base_url="https:/ / thesmartoken.com/ v1",
max_retries=0,
)
response = client.chat.completions.create(
model="deepseek-flash-dedicated",
messages=[{"role": "user", "content": "Reply with exactly OK."}],
max_tokens=512,
)
message = response.choices[0].message
print(message.content)
print(response.usage)import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.SMTOKEN_API_KEY,
baseURL: "https:/ / thesmartoken.com/ v1", maxRetries: 0,
});
const response = await client.chat.completions.create({
model: "deepseek-flash-dedicated",
messages: [{ role: "user", content: "Reply with exactly OK." }],
max_tokens: 512,
});
const message = response.choices[0].message;
console.log(message.content);
console.log(response.usage);Catalog reference prices only; these are not billable quotes. Integrating routes are not callable. Browse the full catalog.
| Model | API ID | Context | Input / 1M (reference) | Output / 1M (reference) |
|---|---|---|---|---|
| DeepSeek V4.1 Flash | deepseek-v4.1-flash model ID | 1M | $0.30 / 1M per million tokensReference | $1.20 / 1M per million tokensReference |
| DeepSeek Flash Direct | deepseek-flash-dedicated model ID | 1M | $0.30 / 1M per million tokensReference | $1.20 / 1M per million tokensReference |
| DeepSeek V4 Pro Dedicated route | deepseek-v4-pro-dedicated model ID | 1M | $1.74 / 1M per million tokensReference | $3.48 / 1M per million tokensReference |
| Kimi K3.1 Pro | kimi-k3.1-pro model ID | 1M | $2.00 / 1M per million tokensReference | $10.00 / 1M per million tokensReference |
| Kimi K2.7 Code | kimi-k2.7-code model ID | 256K | $0.95 / 1M per million tokensReference | $4.00 / 1M per million tokensReference |
| DeepSeek Flash | deepseek-chat model ID | 1M | $0.30 / 1M per million tokensReference | $1.20 / 1M per million tokensReference |
| DeepSeek V4 Pro | deepseek-v4-pro model ID | 1M | $1.32 / 1M per million tokensReference | $3.96 / 1M per million tokensReference |
| Kimi K3 | kimi-k3 model ID | 1M | $3.00 / 1M per million tokensReference | $15.00 / 1M per million tokensReference |
| GLM-5.2 | glm-5.2 model ID | 1M | $1.40 / 1M per million tokensReference | $4.40 / 1M per million tokensReference |
| GLM-5.3 | glm-5.3 model ID | 1M | $1.40 / 1M per million tokensReference | $4.40 / 1M per million tokensReference |
| MiniMax M2.7 | minimax-m2 model ID | 200K | $0.30 / 1M per million tokensReference | $1.20 / 1M per million tokensReference |
| Hy4 Flash | hy4-flash model ID | 1M | $0.07 / 1M per million tokensReference | $0.281 / 1M per million tokensReference |
| Hy MT2 Pro | hy-mt2-pro model ID | 8K | $0.074 / 1M per million tokensReference | $0.295 / 1M per million tokensReference |
| Hy MT2 Plus | hy-mt2-plus model ID | 8K | $0.074 / 1M per million tokensReference | $0.295 / 1M per million tokensReference |
| Hy MT2 Lite | hy-mt2-lite model ID | 8K | $0.044 / 1M per million tokensReference | $0.177 / 1M per million tokensReference |
| Kinfra Text Embedding 0.6B | kinfra-text-embedding-0.6b model ID | 32K | $0.07 / 1M per million tokensReference | $0.0000 / 1M per million tokensReference |
| Kinfra Text Embedding 4B | kinfra-text-embedding-4b model ID | 32K | $0.084 / 1M per million tokensReference | $0.0000 / 1M per million tokensReference |
| Kimi K2 | kimi-k2 model ID | 256K | — | — |
| Kimi K2.6 | kimi-k2.6 model ID | 262K | — | — |
| Qwen Plus | qwen-plus model ID | 128K | — | — |
| Qwen3.7 Plus | qwen3.7-plus model ID | 1M | — | — |
Set baseURL to https://thesmartoken.com/v1 and send model: deepseek-flash-dedicated.
Use cases
Start with a clear workload, then compare routes in Playground before moving traffic into production.
A practical route for chat with visible token usage and spend.
A practical route for coding with visible token usage and spend.
A practical route for document analysis with visible token usage and spend.
Migration
The integration path stays familiar: same Chat Completions shape, one new baseURL and a China-first model ID.
Switch path
Keep the SDK. Change baseURL to SmarToken and switch the model ID.
Switch path
Move from broad routing into a focused Chinese-model console with budgets.
Switch path
Keep Chat Completions while adding China-first model pages and route control.
FAQ
Yes. Use your SmarToken key, set baseURL to https://thesmartoken.com/v1, and pass the model ID shown on this page.
Input and output tokens are priced separately in USD per 1M tokens. Final usage is recorded after the provider returns a response or a stream finishes.
Create an account, open the console, generate an API key and copy the cURL, Python or Node.js example from Quickstart.
Yes. Console API keys can be limited by allowed model family plus daily and monthly USD budgets.
Start now
One API key works across the Chinese model catalog.