# AICredits > AICredits is a unified LLM API gateway for developers. Use one API key and one OpenAI-compatible endpoint (https://api.aicredits.in/v1) to access GPT-4o, Claude Sonnet, Gemini, DeepSeek, Mistral, Sarvam, and 300+ models — billed in INR via Razorpay/UPI. No international card required. ## Getting Started - [Quickstart](https://aicredits.in/docs/quickstart): Get your first API response in 3 steps - [Authentication](https://aicredits.in/docs/authentication): Create API keys (format: sk-...) - [Models](https://aicredits.in/docs/models): Full list of 300+ supported models - [Pricing](https://aicredits.in/docs/pricing): INR billing with live forex conversion ## API Reference - OpenAI-compatible SDK base URL: https://api.aicredits.in/v1 - Anthropic SDK base URL: https://api.aicredits.in (without `/v1`; Anthropic SDKs append `/v1/messages`) - Chat completions: POST /v1/chat/completions (OpenAI-compatible, all models) - Responses API: POST /v1/responses (OpenAI Responses API, all models — used by OpenAI SDK v4.75+, OpenAI Agents SDK, n8n) - Messages API: POST /v1/messages (Anthropic Messages format, all models — use the Anthropic SDK or Claude Code with any provider) - Embeddings: POST /v1/embeddings (text embedding models — OpenAI, DeepInfra BGE/E5) - Audio TTS: POST /v1/audio/speech (OpenAI TTS-1/HD, Sarvam Bulbul — Indian language voices) - Audio STT: POST /v1/audio/transcriptions (OpenAI Whisper, DeepInfra Whisper, Sarvam Saarika — Indian languages) - Image generation: POST /v1/images/generations (DALL-E 3, gpt-image-1, Flux by Black Forest Labs via DeepInfra) - List models: GET /v1/models - Credit balance: GET /v1/credits - [Full API Reference](https://aicredits.in/docs/api-reference) ## SDKs & Integrations - [SDKs](https://aicredits.in/docs/sdks): OpenAI Python/TS SDK, LangChain, Vercel AI SDK, cURL - [n8n](https://aicredits.in/docs/community/n8n): Workflow automation — /v1/responses is supported, no extra config needed - [LangChain](https://aicredits.in/docs/community/langchain): Python and JS LangChain - [Vercel AI SDK](https://aicredits.in/docs/community/vercel-ai): Next.js / edge runtime - [PydanticAI](https://aicredits.in/docs/community/pydanticai): Python agent framework - [Anthropic Agent SDK](https://aicredits.in/docs/community/anthropic-agents): Claude agents - [Open WebUI](https://aicredits.in/docs/community/open-webui): Self-hosted chat UI with an OpenAI-compatible endpoint - [LiteLLM](https://aicredits.in/docs/community/litellm): Use AICredits directly or as a LiteLLM upstream - [Dify](https://aicredits.in/docs/community/dify): Visual app builder for chatbots, RAG apps, workflows, and agents - [Flowise](https://aicredits.in/docs/community/flowise): Visual chatflow and agentflow builder - [Langflow](https://aicredits.in/docs/community/langflow): Visual AI workflow builder - [AnythingLLM](https://aicredits.in/docs/community/anythingllm): Local-first AI workspace for chat, agents, and documents - [LibreChat](https://aicredits.in/docs/community/librechat): Self-hosted ChatGPT-style team UI - [LobeChat](https://aicredits.in/docs/community/lobechat): Self-hosted chat and agent interface - [OpenHands](https://aicredits.in/docs/community/openhands): Self-hosted coding agents and automations - [Cline](https://aicredits.in/docs/community/cline): IDE and CLI coding agent - [RAGFlow](https://aicredits.in/docs/community/ragflow): Document RAG engine with chat and embeddings - [Onyx](https://aicredits.in/docs/community/onyx): Enterprise search, chat, agents, and RAG - [CrewAI](https://aicredits.in/docs/community/crewai): Multi-agent Python workflows - [LlamaIndex](https://aicredits.in/docs/community/llamaindex): RAG and document agents - [Roo Code](https://aicredits.in/docs/community/roo-code): VS Code coding agent ## Providers & Model Families - **OpenAI**: gpt-4o, gpt-4o-mini, o3, o4-mini, gpt-image-1, text-embedding-3-small/large - **Anthropic**: claude-sonnet-4, claude-haiku-4-5, claude-opus-4 - **Google**: gemini-2.0-flash, gemini-2.5-pro, gemini-2.5-flash-preview-image-generation - **DeepSeek**: deepseek-chat, deepseek-r1 - **Mistral**: mistral-large, mistral-small, codestral - **xAI**: grok-3, grok-3-mini - **DeepInfra**: meta-llama-3.1-8b-instruct, Whisper-large-v3, BGE/E5 embeddings, Flux image models - **Sarvam AI** (Indian languages): sarvam/bulbul-v2, sarvam/bulbul-v3 (TTS), sarvam/saarika-v2.5 (STT) - **Flux / Black Forest Labs** (via DeepInfra): flux-1-schnell, flux-1-dev, flux-1.1-pro, flux-2-dev ## Features - [Semantic Caching](https://aicredits.in/docs/semantic-caching): pgvector similarity cache reduces costs - [Provider Routing](https://aicredits.in/docs/provider-routing): Automatic fallback chain across providers - [Guardrails](https://aicredits.in/docs/guardrails): PII masking, keyword blocking - [Rate Limits](https://aicredits.in/docs/rate-limits): RPM limits, per-key budgets, concurrency - [Streaming](https://aicredits.in/docs/streaming): SSE streaming support - [Tool Calling](https://aicredits.in/docs/tool-calling): Function/tool calling support - [Image Generation](https://aicredits.in/docs/image-generation): DALL-E 3, gpt-image-1, Flux models - [Audio](https://aicredits.in/docs/audio): TTS and STT — OpenAI Whisper + Sarvam Indian language models ## Cookbook & Example Projects - [AICredits Cookbook](https://github.com/chetanrakheja/aicredits-cookbook): Runnable Python/TypeScript examples (resume/JD matcher, MCQ generator, multi-model eval harness) and a list of student/beginner project ideas ## For AI Coding Agents - [agents.md](https://aicredits.in/agents.md): Integration guide for coding agents (Claude Code, Codex, Cursor) — read this before writing integration code - [aicredits-cookbook](https://github.com/chetanrakheja/aicredits-cookbook): Open-source runnable example projects built on AICredits ## Full Reference - [llms-full.txt](https://aicredits.in/llms-full.txt): Detailed reference with code examples - [OpenAPI Spec](https://aicredits.in/openapi.yaml): Machine-readable OpenAPI 3.1 spec Every docs page and blog post is also available as raw markdown by appending `.md` to its URL, e.g. https://aicredits.in/docs/quickstart.md