Llama in India
Use the Llama API in India, Paid in ₹
Call hosted Llama models through one OpenAI-compatible endpoint, with live prices in ₹ and no servers to run. Top up from ₹50 via UPI.
# Two settings change in your existing code
base_url = "https://api.aicredits.in/v1" api_key = "sk-your-aicredits-key"
- No international card needed
- Minimum ₹50 top-up
- Credits valid 1 year
Llama API prices in ₹
Read from the live catalog, in rupees.
| Model | Input / 1M tokens | Output / 1M tokens | Provider |
|---|---|---|---|
| Llama 4 Maverick | ₹19.51 | ₹78.03 | meta |
| Llama 4 Scout | ₹10.73 | ₹33.16 | meta |
| Llama 3.3 70B Instruct | ₹57.54 | ₹77.05 | meta |
| Llama 3.1 70B Instruct | ₹39.01 | ₹39.01 | meta |
| Llama 3.1 8B Instruct | ₹4.88 | ₹7.80 | meta |
Prices are read from the live catalog and include the 5% forex buffer and the default 5% markup. They change with the live USD/INR rate.
What you get
OpenAI-compatible
Drop-in endpoint for chat, embeddings, and images. No SDK changes needed.
Automatic failover
If a provider errors or rate-limits you, we retry on the next available route.
INR wallet
Prepaid wallet in ₹. Top up via UPI, Net Banking, or Debit Card.
Budget controls
Per-key rate limits and spend budgets. Prevent runaway costs.
Run your first request
- 1Create an account and an API keySign up with your email. Creating the account and the key is free and needs no card.
- 2Add ₹50 or morePay by UPI, net banking or a card through Razorpay. The balance shows in your wallet in rupees.
- 3Copy the code and run itPut the key in AICREDITS_API_KEY. The cost of the request is deducted from the wallet and listed in your usage log.
# pip install openai
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.aicredits.in/v1",
api_key=os.environ["AICREDITS_API_KEY"],
)
reply = client.chat.completions.create(
model="meta-llama/llama-latest",
messages=[{"role": "user", "content": "Say hello"}],
)
print(reply.choices[0].message.content)Model IDs are written as provider/model. The full list is in the model catalog.
Next steps
- Cost calculatorEstimate your monthly bill in rupees from tokens per request and request volume.
- Llama modelsEvery Llama model in the catalog with its rupee price.
- Cheapest LLM APIsHow to find the cheapest model that is good enough for your task.
- QuickstartCreate a key and make a first call in Python, TypeScript or cURL.
Frequently asked questions
Can I use the Llama API from India?
Yes. Through AICredits you can call Llama models and pay in ₹. Top up a prepaid wallet via UPI, net banking or a card and create an API key. No international card is needed.
How do I call Llama models?
Set base_url to https://api.aicredits.in/v1 in any OpenAI-compatible client, use your AICredits API key, and pass one of the Llama model IDs from the price table on this page.
What does Llama cost in rupees?
See the live price table on this page. Prices are shown in ₹ per 1M tokens and follow the live USD/INR rate. There is no fee on wallet top-ups.
Do I need to host Llama myself?
No. Llama models are open-weight, but through AICredits you call them as a hosted API and pay per token, so there are no GPUs to rent or servers to run.
Do I get a GST invoice?
Yes. Every wallet top-up gets a GST invoice, with GST at 18% included in the amount you pay. Add your GSTIN to the billing profile before you top up.
Is there a free tier?
No. Account creation is free, but there is no free credit. Top up from ₹50 and pay per token. Credits expire 1 year after the top-up.
Get an API key and make a first call.
Create your account, top up via UPI, and make your first API call. No international card needed.