Skip to content
kalyna.pro

kalyna.pro

AI-Driven Developer

  • AI & Automation
    • Docker
  • Design Patterns
    • Creational
    • Structural
    • Behavioral
    • SOLID
  • MySQL
  • Blog
  • Privacy Policy

Anthropic

Streaming Responses with Claude API in Python (2026)

June 12, 2026 by Калина Сергій
Streaming Responses with Claude API in Python (2026)

Complete guide to streaming with the Claude API in Python: text_stream, the raw event protocol, async streaming, error handling, and a FastAPI endpoint that streams to the browser via SSE.

Categories AI & Automation Tags Anthropic, Claude API, Python, Tutorial

Claude Prompt Caching: How to Cut API Costs (2026)

June 12, 2026 by Калина Сергій
Claude Prompt Caching: How to Cut API Costs (2026)

How Claude’s prompt caching works: cache breakpoints, pricing for cache writes vs reads, the 1-hour extended TTL, and real cost-savings examples for RAG apps and agents.

Categories AI & Automation Tags Anthropic, Claude API, Python, Tutorial

Claude API Function Calling: Complete Guide to Tool Use (2026)

June 12, 2026 by Калина Сергій
Claude API Function Calling: Complete Guide to Tool Use (2026)

Master Claude’s tool use API: define tools with JSON Schema, handle multi-step and parallel tool calls, force tool choice, stream tool inputs, and build a complete multi-tool agent.

Categories AI & Automation Tags AI Agent, Anthropic, Claude API, Python, Tutorial

Claude vs GPT-4: Which AI API Is Better for Developers? (2026)

June 11, 2026June 5, 2026 by Калина Сергій
Claude vs GPT-4: Which AI API Is Better for Developers? (2026)

Hands-on comparison of Claude vs GPT-4 APIs: models, pricing, context windows, prompt caching, tool use, and code generation quality. Which AI API should you choose for your application?

Categories AI & Automation Tags Anthropic, Claude API, LLM, Tutorial

Claude API Tutorial: Complete Beginner’s Guide (Python, 2026)

June 11, 2026May 25, 2026 by Калина Сергій
Claude API Tutorial: Complete Beginner's Guide (Python, 2026)

Step-by-step Claude API tutorial: authentication, text generation, streaming, vision, tool use — build your first AI app with the Anthropic Python SDK.

Categories AI & Automation Tags Anthropic, Claude API, Python, Tutorial

How to Get Your Anthropic Claude API Key

June 11, 2026May 13, 2026 by Калина Сергій
How to Get Your Anthropic Claude API Key

Step-by-step guide to getting an Anthropic API key: account setup, key creation, secure storage, rate limits, and pricing overview.

Categories AI & Automation Tags Anthropic, Claude API, Tutorial

Claude API Node.js & TypeScript Tutorial: @anthropic-ai/sdk, Streaming & Prompt Caching (2026)

June 12, 2026May 8, 2026 by Калина Сергій
How to Use Claude API with Node.js

Complete guide to @anthropic-ai/sdk for Node.js and TypeScript: messages.create, streaming responses, prompt caching with cache_control (ephemeral), multi-turn conversations, and error handling. Working code examples for every step.

Categories AI & Automation Tags Anthropic, Claude API, Tutorial

Claude API Pricing Explained: What Does It Really Cost in 2025?

June 12, 2026May 5, 2026 by Калина Сергій
Claude API Pricing Explained: What Does It Really Cost in 2025?

A practical breakdown of Claude API pricing — model tiers, token costs, prompt caching, batch discounts, and real-world cost examples to help you budget your AI projects.

Categories AI & Automation Tags AI, Anthropic, Claude API

How to Use Claude API with Python: Complete Beginner’s Guide (2026)

June 12, 2026April 24, 2026 by Калина Сергій

Learn the Anthropic Python SDK from scratch: pip install anthropic, messages.create, streaming, multi-turn conversations, async, and error handling. Full working code examples.

Categories AI & Automation Tags Anthropic, Claude API, Python, Tutorial
Older posts
Page1 Page2 Next →
Serhii Kalyna
Serhii Kalyna
Senior Dev · AI & Automation

18+ years building web apps. Now focused on AI development and LLM integrations — sharing what actually works in production.

About me ↗Contact
  • AI & Automation
  • Behavioral Design Patterns
  • Blog
  • Creational Patterns
  • Design Patterns
  • Docker
  • GIT
  • Linux
  • MySQL
  • SOLID Principles
  • Structural Design Patterns
© 2025 Блог Сергія Калини