If you build software in India with Claude Code, Cline, Continue or OpenCode, the friction rarely sits in the model — it sits in USD billing. Anthropic, OpenAI and OpenRouter settle in US dollars via international credit cards or crypto: domestic RuPay/debit cards routinely decline on RBI recurring e-mandate checks, and international cards add 2–3.5% forex markup plus GST on that fee on every top-up.
Disclosure & method note: VelATL (velatl.ai) is an INR/UPI AI workspace and developer gateway built by VelsTech Solutions. Below is the exact setup, November 2026 rupee math (including prompt-cache discounts), and an honest breakdown of when OpenRouter, direct vendor keys, or a local GPU via llama.cpp is the better choice.
Related: Local AI vs Cloud API: True Cost Comparison · Claude Sonnet 5.5 benchmarks & pricing · AI API Cost Calculator.
The short version in 60 seconds
- Can OpenRouter take UPI directly? No — OpenRouter bills in USD via international cards or crypto.
- How UPI funding works: VelATL's India AI API gateway processes one-time rupee packs via Razorpay (UPI, domestic cards, netbanking) — starting with 1,000 free credits after email verification and a ₹99 one-time top-up (10,000 non-expiring credits, no recurring mandate) that unlocks all 7 model tiers.
- Protocols supported: Anthropic Messages API (
/api/v1/messagesfor Claude Code), OpenAI Chat Completions (/api/v1/chat/completionsfor Cline, Continue, Cursor and OpenCode), and Streamable HTTP MCP (/api/mcp). - Prompt caching matters most: Multi-turn coding agents resend 50K–150K tokens of repo context on every step. Cached input tokens settle ~87–95% lower than uncached input (for example,
1.2vs22credits/1K on Claude Sonnet 5.5). - Honest trade-off: If you already hold a zero-forex USD credit card and want 200+ experimental models at raw passthrough rates, pick OpenRouter. If you run 40+ heavy agent tasks every month on mid-tier tasks and own a 16–24 GB GPU, run local weights. Pick VelATL when you want instant UPI top-ups in ₹, spend-capped keys, and frontier models without USD card friction.
Why coding agents hit a billing wall in India
Chat interfaces and terminal coding agents behave very differently on billing. A browser chat session might send 2,000 tokens per turn; an agentic tool loop in Claude Code or Cline reads files, runs tests, inspects diffs, and sends 20–40 tool calls for a single bug fix. That requires API keys rather than a consumer web login — and direct vendor API consoles still expect USD auto-recharge cards.
Two failure modes show up repeatedly for Indian students, indie developers, and small agencies:
- Card declines & forex drag: Prepaid/debit cards without international auto-debit clearance fail on $5–$20 API top-ups, while standard credit cards tack on 3.5% currency conversion + 18% GST on the conversion fee.
- Runaway key spend: Leaving an uncapped USD card attached to an autonomous CLI agent risks an unexpected $50+ overnight loop if a test runner hangs. Prepaid INR balances with per-key credit caps fail closed instead of billing a card.
Published INR credit rates & prompt-cache math (Nov 2026)
On the ₹99 starter pack (10,000 credits, 1 credit = ₹0.0099), VelATL routes live tiers directly to official OpenAI, Anthropic, Google, Meta, DeepSeek and xAI APIs (using OpenRouter only where an official API is unavailable in India, such as Qwen4 Max). Current rates from velatl.ai/models:
| Tier ID & flagship models | Input / Cached / Output (credits per 1K) | Effective INR per 1M input (cached) |
|---|---|---|
fast — DeepSeek V4.1 Flash / GPT-6 Luna | 2 / 0.2 / 6 | ₹19.80 (₹1.98) |
coder — Muse Spark 1.3 / Qwen4 Max / GLM-5.3 | 15 / 2.0 / 48 | ₹148.50 (₹19.80) |
balanced — Gemini 4 Hydrogen / GPT-6.1 Terra | 16 / 0.9 / 82 | ₹158.40 (₹8.91) |
prime — Claude Sonnet 5.5 | 22 / 1.2 / 110 | ₹217.80 (₹11.88) |
deep — GPT-6.2 Sol / Kimi K3.1 Pro | 22 / 1.5 / 110 | ₹217.80 (₹14.85) |
prime-max — Claude Opus 5.5 / Gemini 4 Neon | 44 / 2.4 / 220 | ₹435.60 (₹23.76) |
ultra — Claude Fable 5.2 / GPT-6.2 Astra | 88 / 4.5 / 440 | ₹871.20 (₹44.55) |
Worked example (10-turn Claude Sonnet 5.5 bug fix): Suppose a repo task sends 80K tokens of context per turn across 10 turns (80K uncached on turn 1 + 720K served from Anthropic prompt cache across turns 2–10) and writes 8K output tokens total. Without cache discounts that would cost 800 × 22 + 8 × 110 = 18,480 credits (~₹183). With automatic cache settlement (80 × 22 + 720 × 1.2 + 8 × 110 = 3,504 credits), the entire 10-turn fix costs ~₹34.70 — nearly three full tasks inside a single ₹99 UPI top-up. You can model your own cache hit ratio in the INR LLM & Prompt-Cache Cost Calculator.
1-minute setup for Claude Code, OpenCode & Cline
Create an account, verify your email for the 1,000 free credits (or add a ₹99 UPI pack), and generate a spend-capped key (velatl_..., default cap 25,000 credits) in Settings → API Keys. Full endpoint details live in the VelATL API docs.
1. Claude Code (Anthropic Messages API)
Claude Code speaks Anthropic's native /v1/messages protocol with tool calling, thinking blocks, and prompt caching. Point two environment variables at VelATL (see the dedicated Claude Code India UPI guide):
export ANTHROPIC_BASE_URL="https://velatl.ai/api"
export ANTHROPIC_API_KEY="velatl_your_key_here"
claude --model claude-sonnet-5-5
Explicit model IDs (like claude-sonnet-5-5 or claude-opus-5-5) stay pinned to the Anthropic model family rather than silently swapping vendors, while generic tier slugs (prime, coder, fast) allow automatic cross-provider failover if an upstream API rate-limits.
2. OpenCode (opencode.json)
{
"provider": {
"velatl": {
"npm": "@ai-sdk/openai-compatible",
"name": "VelATL",
"options": {
"baseURL": "https://velatl.ai/api/v1",
"apiKey": "velatl_your_key_here"
},
"models": {
"fast": { "name": "Swift (DeepSeek V4.1 Flash / GPT-6 Luna)" },
"coder": { "name": "Coder (Muse Spark 1.3 / Qwen4 Max / GLM-5.3)" },
"prime": { "name": "Prime (Claude Sonnet 5.5)" },
"deep": { "name": "Deep (GPT-6.2 Sol / Kimi K3.1 Pro)" }
}
}
}
}
3. Cline, Continue & Cursor (OpenAI-compatible)
Base URL: https://velatl.ai/api/v1
API Key: velatl_your_key_here
Model: coder | prime | deep | fast | balanced | prime-max | ultra
Even if an IDE agent sends a high default max_tokens ceiling (such as 32,000 or 64,000), the gateway clamps the upfront credit reservation to your remaining affordable balance rather than rejecting smaller balances with false 402 errors, and refunds unused reserved credits as soon as the stream finishes.
4. Remote MCP Server (Streamable HTTP)
If your editor or agent supports Model Context Protocol, connecting https://velatl.ai/api/mcp with your velatl_... Bearer token exposes chat (with uploaded PDF/document RAG), web_research, generate_image, list_documents, list_models, and get_balance on the same rupee balance. Setup reference: velatl.ai/mcp.
How it compares: OpenRouter vs VelATL vs Local GPU
| Requirement | OpenRouter | VelATL (INR / UPI) | Local GPU (llama.cpp) |
|---|---|---|---|
| Payment method in India | USD card / crypto | UPI, RuPay, domestic cards (₹99+) | Hardware + ₹6–12/kWh power |
| Catalog breadth | 200+ models + free tiers | 7 curated frontier/coding tiers | Open weights fitting your VRAM |
| Prompt-cache discount | Provider-dependent | Automatic (~87–95% off cached input) | Local KV cache in VRAM/RAM |
| Team spend controls | USD org credits | Pooled ₹ balance + per-key caps (/for-teams) | Self-hosted LAN server |
For a side-by-side fee and workflow breakdown between the two cloud gateways, see VelATL vs OpenRouter.
Which to pick — and what this means if you run local AI
- Pick VelATL if: you pay in India via UPI, want Claude Sonnet 5.5 / Opus 5.5 / GPT-6.2 Sol inside Claude Code or Cline without a USD credit card, or run a 3–30 person Indian dev team that needs one pooled rupee balance with spend-capped keys.
- Pick OpenRouter if: you already have a zero-forex international credit card and specifically need niche/experimental open-weight checkpoints or rate-limited free prototyping endpoints.
- Combine with local AI if you own a 12–24 GB GPU: our local vs cloud cost math still holds — run routine autocomplete, commit summaries, and boilerplate refactors for near-zero marginal cost on llama.cpp, and keep a ₹99–₹499 VelATL balance purely for hard multi-file bugs that genuinely need Claude Opus 5.5 or Sonnet 5.5.
Bottom line
Indian developers shouldn't have to fight international card mandates just to run a terminal coding agent on a weekend project. Keep heavy repeatable local workloads on your own GPU where hardware wins, use direct USD passthrough if you already carry zero-forex plastic and need 200 models, and use a prepaid ₹99 UPI balance when you want frontier coding agents working in under two minutes with hard spend ceilings. To test it on a real repo task before spending a rupee, follow the First Coding Task Walkthrough.
FAQ
Can I pay for Claude Code or OpenRouter with UPI in India?
Not directly on Anthropic or OpenRouter, which bill in USD via international cards or crypto. By pointing ANTHROPIC_BASE_URL or your OpenAI-compatible baseURL at VelATL, you can fund Claude Code, Cline, Continue and OpenCode in Indian Rupees via UPI through Razorpay starting at ₹99.
Does the ₹99 UPI pack expire or require a monthly subscription?
No. New accounts receive 1,000 one-time free credits after email verification, and the ₹99 top-up adds 10,000 non-expiring credits with no recurring mandate while unlocking all 7 model tiers. Optional monthly plans (Starter ₹199, Pro ₹499, Power ₹999) exist only if you prefer scheduled monthly refills.
How much does prompt caching save on coding agents?
Coding agents resend system prompts, tool schemas and repository files on every turn. Cached input tokens on VelATL settle ~87–95% lower than uncached input — for example, 1.2 vs 22 credits per 1K tokens on Claude Sonnet 5.5 — cutting a typical 10-turn repo fix from ~₹183 to ~₹35.
What happens if an upstream AI provider fails mid-request or a tool sets high max_tokens?
Requests that fail before generating output automatically refund reserved credits in full. When coding agents pass high default max_tokens ceilings (such as 32K–64K), the gateway clamps the upfront credit reservation to your remaining balance or key cap and settles strictly on actual tokens used.