Home / Developer / claude-api

claude-api

Claude API aur SDK ka reference: models, prices, tools aur caching.

Normal demand

Banane wale ke mutabiq ye kya karti hai

Banane wale ke apne alfaz, English mein:

Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER — read BEFORE opening the target file; don't skip because it "looks like a one-liner" — whenever: the prompt names Claude/Anthropic in any form (Claude, Anthropic, Fable, Opus, Sonnet, Haiku, `anthropic`, `@anthropic-ai`, `claude-*`, `us.anthropic.*`, `[1m]`); the user asks about an LLM (pricing/model choice/limits/caching) — never answer from memory; OR the task is LLM-shaped with provider unstated (agent/MCP/tool-definition/multi-agent/RAG/LLM-judge/computer-use; generate/summarize/extract/classify/rewrite/converse over NL; debugging refusals/cutoffs/streaming/tool-calls/tokens). SKIP only when another provider is being worked on (overrides all triggers): OpenAI/GPT/Gemini/Llama/Mistral/Cohere/Ollama named in the query; OR `grep -rE 'openai|langchain_openai|google.generativeai|genai|mistralai|cohere|ollama'` over the project hits (run this grep FIRST if no provider named — don't Read the file).

Install karein claude-api

# Mac or Linux
unzip claude-api.zip -d ~/.claude/skills

# Windows PowerShell
Expand-Archive claude-api.zip "$env:USERPROFILE\.claude\skills"

Claude Code ka naya session kholein, skill tayyar hai. Claude app mein zip ko Settings, Capabilities, Skills mein upload karein.

Scripts aur internet

Zip mein 5 scripts hain, jaise shared/evals/report/build-report-lite.mjs, shared/evals/report/runner-scaffold.mjs, shared/latency-optimization/latency_probe.py. Aapki apni Claude API key chahiye; aapke prompts aur files us service ko jati hain.

Zip mein kya hai

  • LICENSE.txt
  • SKILL.md
  • csharp/
  • curl/
  • go/
  • java/
  • php/
  • python/
  • ruby/
  • shared/
  • typescript/

Aur Developer skills