
Using the Anthropic SDK with AICredits (Python & TypeScript)
Use the official Anthropic Python and TypeScript SDKs with AICredits. One environment variable routes all requests through your INR wallet — no OpenAI SDK required.
Editorial Desk
Product updates, architecture notes, and implementation guides from the AICredits engineering and platform teams.
At a glance
Browse by topic

Use the official Anthropic Python and TypeScript SDKs with AICredits. One environment variable routes all requests through your INR wallet — no OpenAI SDK required.

A practical reference for the prompting techniques that actually matter in production — system prompts, chain-of-thought, output schemas, few-shot examples, and more.

JSON mode, function calling, schema constraints, and prompt engineering — the complete toolkit for reliable structured output across GPT-4o, Claude, and Gemini.

Server-sent events, async generators, error handling, and UI integration — everything you need to stream LLM responses to your users in real time.

Adding examples to your prompt improves accuracy but costs more in tokens. Here is a practical framework for deciding when the quality gain is worth the extra spend.

One number changes your LLM from a deterministic calculator to a creative writer. Here's what temperature and sampling parameters actually do.

Most Indian debit cards and Rupay cards get declined on OpenAI's billing page. Here are your actual options — including one that requires no international card at all.

Function calling turns passive LLMs into active agents that can fetch data, call APIs, and trigger workflows — here's how to do it right.

LiteLLM is free and open-source with 40K GitHub stars. AICredits is a managed gateway with INR billing. Here is a clear comparison to help you pick the right tool for your stack.

A practical benchmark across the three cheapest capable models — speed, cost in ₹, output quality, and which one wins for classification, summarisation, and code tasks.

Retrieval-Augmented Generation lets you connect any LLM to your own documents, databases, and knowledge bases — no fine-tuning required.

System prompts are the most powerful lever you have over LLM behavior. Learn how to write them properly.

Five practical techniques to cut your LLM API spend in half — model selection, semantic caching, prompt compression, fallback routing, and smart budgeting. With real cost numbers in ₹.

Learn how chain-of-thought prompting works under the hood, when to use it, and how to implement zero-shot, few-shot, and tree-of-thought variants without blowing your token budget.

A step-by-step guide to connecting n8n AI Agent and OpenAI nodes to Claude, GPT-4o, and Gemini via AICredits — no USD billing, no international card, works with UPI.

A step-by-step Python tutorial for routing requests to GPT-4o, Claude, Gemini, and DeepSeek through a single API key — with cost tracking in ₹ for every call.

If you are building AI apps with Claude Code, Cursor, or Windsurf and need API keys for GPT-4o, Claude, or Gemini — here is how to get them billed in INR with no international card required.

Step-by-step guide for Indian developers to access Anthropic's Claude models and pay in rupees via UPI or net banking, with no international card needed.

A practical cost breakdown for Indian developers choosing between OpenAI GPT-4o and Anthropic Claude 3.5 Sonnet — token prices, INR conversion, and which model wins for your use case.

A practical guide to building a cost-efficient LangChain agent in Python using affordable models available in India, with real INR cost breakdowns per tool call.

How to convert noisy token-level AI usage into clear month-end accounting with explainable per-request charges.
Start from docs quickstart, then move to API reference and pricing formula pages for production integration.