Anthropic Claude API: prompt caching, streaming, tool use, batch processing, model selection, cost optimization