Use Anthropic Agent SDK with AICredits
Use the native Anthropic SDK against AICredits, or the OpenAI-compatible endpoint for general agents.
Settings to enter
| Base URL | https://api.aicredits.in/v1 |
|---|---|
| API key | Your AICredits key (starts with sk-) |
| Model ID | Any model from the model catalog, for example provider/model-name |
Menu labels can differ between versions of Anthropic Agent SDK. The setup guide lists what to look for and how to confirm the connection works.
Why run Anthropic Agent SDK on AICredits
- Pay with UPI, net banking or a card in ₹. No international card needed.
- One key reaches every model in the catalog, so you can switch models without a new account.
- Each request has its cost recorded in ₹, and a GST invoice is issued for every top-up.
- Give Anthropic Agent SDK its own API key with a budget, so it cannot spend more than you set.
Frequently asked questions
How do I use Anthropic Agent SDK with AICredits?
Open Anthropic Agent SDK's provider settings, choose a custom or OpenAI-compatible provider, set the base URL to https://api.aicredits.in/v1 and paste your AICredits API key. The setup guide has the exact steps and a way to check it works.
Can I pay for Anthropic Agent SDK usage in rupees?
Yes. Model usage is billed to your AICredits wallet, which you top up with UPI, net banking or a card from ₹50. You do not need an international card, and a GST invoice is issued for every top-up.
Can I limit what Anthropic Agent SDK spends?
Create a dedicated API key for Anthropic Agent SDK and set a budget on it. When the key reaches its budget, its requests stop, and your other keys keep working.