AppsGrid

DeepSeek

DeepSeek V4.1 Flash API

DeepSeek V4.1 Flash by DeepSeek, with a 1,048,576-token context window.

Try DeepSeek V4.1 Flash

Pricing

UsageUSDPKR
Input per 1M tokens$0.055Rs 15.4
Cached input per 1M tokens$0.019Rs 5.4
Output per 1M tokens$0.612Rs 171

PKR prices are approximate and depend on the exchange rate on the day you top up.

Quick start

Create an API key in your dashboard, then call deepseek-v4.1-flash:

Python (OpenAI SDK)

from openai import OpenAI

client = OpenAI(base_url="https://api.appsgrid.co/v1", api_key="ag_sk_...")

response = client.chat.completions.create(
    model="deepseek-v4.1-flash",
    messages=[{"role": "user", "content": "Write a tagline for a coffee shop"}],
)
print(response.choices[0].message.content)

cURL

curl https://api.appsgrid.co/v1/chat/completions \
  -H "Authorization: Bearer $APPSGRID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "deepseek-v4.1-flash", "messages": [{"role": "user", "content": "Hello"}]}'

FAQ

How much does the DeepSeek V4.1 Flash API cost?
Input: $0.055 (Rs 15.4) per 1M tokens. Cached input: $0.019 (Rs 5.4) per 1M tokens. Output: $0.612 (Rs 171) per 1M tokens. You are only charged for what you use.
Can I pay for DeepSeek V4.1 Flash in Pakistani rupees?
Yes. Top up your AppsGrid balance in PKR with a local card or bank account, or in USD with an international card. The same balance works for every model.
Do I need a separate DeepSeek account?
No. Your AppsGrid API key gives you access to DeepSeek V4.1 Flash and every other model in the catalog.

Other text & chat models