India builds more on DeepSeek than almost anywhere, and pays for it the hardest
Walk through any co-working space in Bengaluru, Pune or Hyderabad and you will find teams building on Chinese open-weight models — not out of novelty, but because a rupee-denominated budget goes several times further on DeepSeek than on a Western lab's small model, and because the code-generation quality holds up on real work rather than on benchmarks.
Then the same thing happens to nearly all of them. The prototype works on a free key, the team decides to ship, someone opens the top-up page with a corporate card, and the payment fails. Not once — repeatedly, across three different cards, which is the point at which people start assuming the platform has blocked India.
It has not. Two specific things are going on, and both are fixable in a bank app.
The RBI rule behind most failed first attempts
Since 2021 the Reserve Bank of India has required issuers to ship new debit and credit cards with online and international transactions disabled, and to let the customer switch them on rather than switching them off. It is a sound consumer-protection rule, and it is also the single most common reason an Indian developer's first foreign API charge fails without a clear error message.
The card does not get rejected because the merchant refused it. It gets rejected because the transaction never left the issuer. From the browser, both look identical: a spinner, then nothing.
International online transactions off. The default state on a new card. Turn it on in the issuer's app under card controls, not at an ATM.
Domestic-only card. RuPay cards in particular have limited acceptance on international merchant categories. A Visa or Mastercard credit card is the practical instrument here.
Per-transaction international limit set low by default. A $30 credit purchase can exceed a cap that never mattered for domestic spending.
3-D Secure OTP not reaching you. The OTP goes to the number registered against the card, which is often a number the developer changed two years ago.
A corporate card whose international usage is blocked at the company level. In that case no personal setting will fix it, and finance has to authorise the merchant category.
UPI is not going to clear a dollar invoice
UPI processes more transactions than any payment system on earth, and it is entirely domestic. Money moves from an Indian bank account to an Indian beneficiary in rupees. There is no corridor from a UPI payment to a merchant billing in USD, and the same is true of IMPS, NEFT and RTGS — they are all domestic settlement systems wearing different interfaces.
This is worth stating plainly because a large share of India-focused payment content implies that a UPI-first workflow can be pointed at an international API provider. It cannot. The question is not which Indian rail to use; it is which instrument you already hold that can settle a foreign-currency charge.
What actually clears from India
| Instrument | Clears a USD API charge? | What to do |
|---|---|---|
| UPI / IMPS / NEFT / RTGS | No | Domestic rupee rails. No corridor to a foreign merchant, regardless of the app you use. |
| RuPay card | Rarely | Limited international merchant acceptance. Not a reliable instrument for this. |
| Visa / Mastercard credit card | Usually | Enable international online transactions in the issuer app first. This is the shortest path. |
| Visa / Mastercard debit card | Sometimes | Works once international usage is on and the account permits foreign-currency debits. |
| PayPal (India account) | Inconsistently | Indian PayPal accounts have restricted receiving and sending for many use cases. Treat as a fallback, not a plan. |
| Corporate card | Depends on policy | Often blocked for foreign SaaS by default. Requires a finance-side merchant-category approval. |
Why the official platform is a longer road from India
DeepSeek's own platform is built for a Chinese user: a mainland +86 number for verification, and top-ups through Alipay or WeChat Pay. Neither is available to an Indian developer without Chinese identity documents and a Chinese bank account. That leaves the platform's overseas card path, which is offered only in the countries it actively supports — and the friction there is exactly the RBI issue described above, layered on top of a console that is often slow to reach from Indian networks.
There is also the compliance question that large Indian engineering organisations ask before adopting any foreign API: where does the data go, and is there a paper trail. A gateway that issues a proper invoice and takes a card answers the second half of that question without a procurement cycle.
Three routes, and what each one actually costs you
| Route | Sticker price | Real cost |
|---|---|---|
| Official DeepSeek platform | Lowest per token | A +86 number, a Chinese wallet, and a VPN from many Indian networks — three blockers, none of them about the model. |
| Broad aggregator | Token price plus platform fee | A funded USD balance on the same card that is currently declining. Solves model choice, not payment. |
| DeepSeek-focused gateway | Prepaid credits from $9 | One card that clears, no Chinese phone, no VPN. Slightly higher per-token than going direct, in exchange for removing the settlement risk. |
If your team is still evaluating model families, the aggregator is genuinely the better tool. If you have already decided on DeepSeek and the only open question is how to pay from India, the gateway is the shorter path — you are not buying a better model, you are buying the removal of a bank-side problem.
Setup, end to end
The endpoint is OpenAI-compatible, so the official SDK works unchanged. Sign up with an email address, buy prepaid credits, and the key is issued immediately.
# pip install openai
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["AICREDITS_API_KEY"],
base_url="https://api.aicreditsapi.com/v1",
)
resp = client.chat.completions.create(
model="deepseek-v4-flash",
messages=[
{"role": "system", "content": "Answer concisely. Prefer code over prose."},
{"role": "user", "content": "Write a Django serializer for a nested order model."},
],
max_tokens=600,
)
print(resp.choices[0].message.content)
Streaming, tool calling and JSON mode behave the same way they do against OpenAI, so LangChain, LlamaIndex and the Vercel AI SDK work without an adapter. Keep the key in an environment variable; a key in a public repository gets spent within days.
Flash for the volume, pro only where it earns its price
| Task | Model | Reasoning |
|---|---|---|
| Chat, extraction, classification, summarisation, translation, first-pass code | deepseek-v4-flash | The workhorse. Lowest cost per token, and quality differences are invisible on well-specified tasks. |
| Multi-step reasoning, architecture review, long-context analysis, agent planning | deepseek-v4-pro | Meaningfully better on problems with dependent steps. Two to several times the cost, so route deliberately. |
The pattern Indian teams get right most often: default everything to flash, log the requests where the output was not good enough, and promote only those request types. A team that starts on pro "because it is safer" typically doubles its bill without shipping a better product.
Keeping the bill predictable when the rupee moves
Credits are billed in USD and converted by your issuer, so the rupee figure on your statement drifts with the exchange rate. Budget in USD and convert once, instead of re-forecasting every month.
Prefer one larger purchase over several small ones. Cross-border charges can carry a fixed component, and fragmentation costs more than the headline rate suggests.
Set max_tokens on every call. An uncapped completion against a badly behaved prompt is the classic way a balance disappears overnight.
Log tokens per call and tag by feature. A cost spike should have an owner before it reaches the monthly review.
Retry only on connection errors, timeouts and rate limits, with backoff and jitter. Never retry a 400 — it will fail again and you will pay twice.
Frequently asked questions
Limit is not the issue. Since 2021, Indian issuers ship cards with international online transactions disabled by default. Open your issuer's app, enable international online usage for the card, and retry. If the card is corporate, the block may sit at the company level instead.
No. UPI, IMPS, NEFT and RTGS are domestic rupee settlement systems with no corridor to a merchant billing in USD. This is a structural limitation, not a missing integration.
Neither. Signup needs an email address, and traffic goes to a Singapore endpoint rather than a mainland one, so the reachability problems that push people onto a VPN do not apply.
Yes, unchanged. Change base_url to https://api.aicreditsapi.com/v1, pass your key, and pick deepseek-v4-flash or deepseek-v4-pro. Streaming and tool calling work as expected.
Purchases are prepaid in USD and produce a normal card transaction record you can expense. If you need a specific billing entity or a purchase order flow, ask before you buy rather than after.
Yes. Credits are prepaid with no subscription to lapse, and the API speaks the same protocol as OpenAI. Start with the smallest credit pack, measure real token consumption for a week, then size the next purchase from that measurement.
The model was never the obstacle. A card-control setting and a domestic payment rail were — and both are one bank app away from being solved.
Still stuck at DeepSeek's checkout?
This article explains why the payment fails. If what you actually need is a working key today, there is a shorter path: prepaid DeepSeek credits, no subscription, key issued to your account right after checkout.
- $9 / $19 / $29 USD one-time credit packs — 1 USD = 500K credits (so $9 = 4.5M); billed by actual usage, never expires, tax excluded
- Card, Apple Pay, Google Pay or Alipay via Creem — no PayPal account needed
- Email signup only — no Chinese phone number, no Chinese bank account
- Same DeepSeek models and the same OpenAI-compatible API — change one base_url
Get a DeepSeek key → Or try it free first
Not sure how prepaid billing works? See the full DeepSeek API credits guide → — packs, usage-based billing, supported models and payment methods.