All models / DeepSeek

deepseek-chat API pricing and setup

Call this model through XHuoAPI with one key. Below are its prices in each tier, the endpoint formats it accepts, and a request you can copy.

Prices synced

Price by tier

USD per million tokens (per call for per-call models). A token is billed at the price of the tier it was created in; tiers not listed don't offer this model.

TierInputCache readOutput
Standard Default$0.23—$0.35
Saver$0.14—$0.22
Spot$0.087—$0.13
Official$0.29—$0.43

Facts

VendorDeepSeek
TypeChat
Endpoint formatsOpenAI Chat Completions
BillingPer token
Long-context pricingNone
Cache-read priceNo
TiersStandard · Saver · Spot · Official
TestedMinimal request succeeded ·

Monthly cost examples

Estimated at Standard-tier prices, without cache discounts.

10M in + 1M out$2.67
100M in + 20M out$30.15

Request example

Replace $XHUO_API_KEY with a token from the console. The base URL is https://api.xhuoapi.ai/v1; existing OpenAI SDK code only needs that one change.

curl https://api.xhuoapi.ai/v1/chat/completions \
  -H "Authorization: Bearer $XHUO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "deepseek-chat", "messages": [{"role": "user", "content": "Hello"}]}'
from openai import OpenAI

client = OpenAI(base_url="https://api.xhuoapi.ai/v1", api_key="YOUR_XHUOAPI_KEY")
resp = client.chat.completions.create(
    model="deepseek-chat",
    messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)

Use it in your tools

Use XHuoAPI in Cursor Use XHuoAPI in Cline Use XHuoAPI in Chatbox Use XHuoAPI in Open WebUI

More from this vendor

deepseek-r1 deepseek-reasoner deepseek-v3 deepseek-v3.1 deepseek-v3.2 deepseek-v3.2-exp deepseek-v4-flash deepseek-v4-pro deepseek-v4.1-flash deepseek-v4.1-flash-1017 deepseek-v4.1-flash-none
Sign up and create a token Pricing API docs DeepSeek vs Qwen vs GLM price comparison