{"id":"6b08c24e38c84264c20274aa","slug":"llm-ops","title":"LLMOps: model gateways, caching, limits, observability and costs in production","summary":"What happens to an LLM application after the demo – a gateway, prompt caching, retries and fallbacks, per-customer limits, token and cost tracking, prompt versioning and safe rollouts. With code in Python, TypeScript and C#.","servedLang":"en","availableLangs":["pl","en"],"topics":["llm-ops","evals","ai-guardrails","llm-fundamentals"],"techs":["python","typescript","dotnet"],"tags":["llmops","llm-gateway","prompt-caching","observability","opentelemetry","cost-control","rate-limiting","claude"],"level":"advanced","kind":"article","access":"members","status":"published","cover":null,"author":{"id":"6b08bd2e80884893657cc8cf","name":"Redakcja Art of Devs","avatar":null,"handle":"redakcja","community":false},"readingMinutes":16,"stats":{"views":4,"likes":0,"bookmarks":0,"comments":0},"publishedAt":"2026-11-26T23:35:42.839Z","updatedAt":"2026-11-27T13:09:01.764Z","requestedLang":"en","theme":{"hero":"classic","heroMedia":null,"accent":"rose","background":"hex","weaveResources":true,"toc":"right"},"seoDescription":"LLMOps in practice: LLM gateways, prompt caching in the Claude API, retries and server-side fallbacks, per-tenant rate limiting, OpenTelemetry and usage logging, model routing, the Batches API and cost control.","wordCount":3013,"doc":{"type":"doc","content":[{"type":"paragraph","content":[{"type":"text","text":"An LLM application prototype is a single API call. Production is everything around it: what happens when the provider returns a 429 on a Friday evening, who pays for the customer who sent 40,000 messages, why answers suddenly slowed down and which feature eats half the budget. "},{"type":"text","text":"LLMOps","marks":[{"type":"bold"}]},{"type":"text","text":" is the set of practices and infrastructure that answers these questions – for models you don't train, but on which your product depends."}]},{"type":"stats","attrs":{"items":[{"value":"0.05×","label":"of the input price is what you pay for a cache read","hint":"Claude Opus 5.5 and Sonnet 5.5 (as of November 2026)"},{"value":"50%","label":"discount for batch mode","hint":"Message Batches API"},{"value":"2","label":"automatic retries","hint":"default in the official SDKs (429, 5xx, network errors)"}]}},{"type":"callout","attrs":{"variant":"info","title":"TL;DR"},"content":[{"type":"bulletList","content":[{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"Every model call goes through a single layer – a "},{"type":"text","text":"gateway","marks":[{"type":"bold"}]},{"type":"text","text":" – that takes care of limits, retries, fallbacks, logging and costs."}]}]},{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"The cheapest optimization is "},{"type":"text","text":"prompt caching","marks":[{"type":"bold"}]},{"type":"text","text":": the stable prompt prefix (instructions, menu, tools) is billed at a fraction of the price on every following request."}]}]},{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"Every call logs the model, tokens (including cache), latency, "},{"type":"text","text":"stop_reason","marks":[{"type":"code"}]},{"type":"text","text":", feature, customer and prompt version – without that you can neither debug nor budget."}]}]}]}]},{"type":"heading","attrs":{"level":2,"id":"the-problem-friday-7-30-pm-the-pierogi-chat-catches-fire"},"content":[{"type":"text","text":"The problem: Friday, 7:30 pm, the pierogi chat \"catches fire\""}]},{"type":"paragraph","content":[{"type":"text","text":"A social media campaign worked too well. Within an hour, traffic on Halina's Pierogi chat grew tenfold and the trouble started:"}]},{"type":"bulletList","content":[{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"some requests get a "},{"type":"text","text":"429","marks":[{"type":"bold"}]},{"type":"text","text":" (rate limit exceeded), and the application shows customers a raw error,"}]}]},{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"one \"customer\" – a competitor's bot – sends thousands of price questions and eats everyone's budget,"}]}]},{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"response times grow, because every request sends 8,000 tokens of terms and menu all over again,"}]}]},{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"on Monday accounting asks how much review summarization cost compared with the chat – and nobody can answer."}]}]}]},{"type":"paragraph","content":[{"type":"text","text":"None of these problems is about model quality. All of them are about "},{"type":"text","text":"operations","marks":[{"type":"bold"}]},{"type":"text","text":"."}]},{"type":"heading","attrs":{"level":2,"id":"architecture-a-gateway-between-the-application-and-the-models"},"content":[{"type":"text","text":"Architecture: a gateway between the application and the models"}]},{"type":"paragraph","content":[{"type":"text","text":"Instead of calling the model API from ten places in the code, all services talk to one layer: an "},{"type":"text","text":"LLM gateway","marks":[{"type":"bold"}]},{"type":"text","text":". It can be a library in your code, a separate service or a ready-made product (e.g. LiteLLM Proxy, Portkey, Kong AI Gateway, Cloudflare AI Gateway, Azure API Management with model policies)."}]},{"type":"diagram","attrs":{"kind":"mermaid","code":"flowchart TB\n  A[\"Customer chat\"] --> G\n  B[\"Review summaries<br/>(nightly job)\"] --> G\n  C[\"Complaint classification\"] --> G\n  subgraph G[\"LLM gateway\"]\n    G1[\"Authentication<br/>and per-customer limits\"] --> G2[\"Model routing<br/>and prompt versions\"]\n    G2 --> G3[\"Retries, timeouts,<br/>fallbacks\"]\n    G3 --> G4[\"Usage logging,<br/>cost, PII masking\"]\n  end\n  G --> P1[\"Claude API\"]\n  G --> P2[\"Claude on Bedrock / Vertex<br/>(backup path)\"]\n  G --> P3[\"Local model<br/>(internal tasks)\"]\n  G4 --> O[\"Traces, metrics,<br/>budget alerts\"]\n  O --> E[\"Online evals\"]","caption":"An LLM gateway: one place for limits, caching, fallbacks, logging and costs"}},{"type":"table","content":[{"type":"tableRow","content":[{"type":"tableHeader","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Responsibility"}]}]},{"type":"tableHeader","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Why"}]}]},{"type":"tableHeader","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Example tools"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Limits and quotas"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"protect the budget and the provider from a single customer"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"per-tenant token bucket in Redis, API Management policies"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Routing"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"the right model for the task, easy model changes"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"gateway configuration, feature flags"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Reliability"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"retries, timeouts, fallbacks, circuit breaker"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"SDK (built-in retries), Polly, resilience4j, the gateway"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Caching"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"cost and latency"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"provider prompt caching, response cache, semantic cache"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Observability"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"debugging, costs, quality"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"OpenTelemetry ("},{"type":"text","text":"gen_ai.*","marks":[{"type":"code"}]},{"type":"text","text":" conventions), Langfuse, Helicone, Arize Phoenix"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Security"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"PII, keys, policies"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"data masking, secrets in a vault, "},{"type":"text","text":"guardrails","marks":[{"type":"link","attrs":{"href":"/en/topics/ai-guardrails"}}]}]}]}]}]},{"type":"resourceRef","attrs":{"resourceId":"6b0854b41a40d7e6c24ca779"}},{"type":"heading","attrs":{"level":2,"id":"caching-on-three-levels"},"content":[{"type":"text","text":"Caching on three levels"}]},{"type":"paragraph","content":[{"type":"text","text":"1. Prompt caching (at the provider).","marks":[{"type":"bold"}]},{"type":"text","text":" The model processes the prompt prefix and keeps its computed state. The next request with a "},{"type":"text","text":"byte-for-byte identical","marks":[{"type":"bold"}]},{"type":"text","text":" prefix pays the cache-read rate for those tokens – for Claude Opus 5.5 that is USD 0.20 instead of USD 4 per million. Writing to the cache costs 1.25× the input price (5-minute TTL) or 2× (1-hour TTL), so it pays off from the second request. The render order is "},{"type":"text","text":"tools","marks":[{"type":"code"}]},{"type":"text","text":" → "},{"type":"text","text":"system","marks":[{"type":"code"}]},{"type":"text","text":" → "},{"type":"text","text":"messages","marks":[{"type":"code"}]},{"type":"text","text":": stable things first, variable things last."}]},{"type":"codeGroup","attrs":{"title":"Prompt caching and verifying cache hits"},"content":[{"type":"codeBlock","attrs":{"language":"python","filename":"cached_chat.py"},"content":[{"type":"text","text":"import anthropic\n\nclient = anthropic.Anthropic()\n\n# Stable prefix: identical bytes on every request (no dates, no user ids, no random order).\nSTABLE_SYSTEM = [\n    {\"type\": \"text\", \"text\": open(\"policies.md\", encoding=\"utf-8\").read()},\n    {\"type\": \"text\", \"text\": open(\"menu.md\", encoding=\"utf-8\").read(),\n     \"cache_control\": {\"type\": \"ephemeral\"}},  # explicit breakpoint at the end of the static part\n]\n\ndef chat(history: list[dict], user_message: str) -> str:\n    history.append({\"role\": \"user\", \"content\": user_message})\n    r = client.messages.create(\n        model=\"claude-opus-5-5\",\n        max_tokens=2048,\n        system=STABLE_SYSTEM,\n        cache_control={\"type\": \"ephemeral\"},  # automatic breakpoint for the growing conversation tail\n        messages=history,\n    )\n    history.append({\"role\": \"assistant\", \"content\": r.content})\n    u = r.usage\n    # Verify the cache actually works: reads should dominate after the first request.\n    print(f\"cache_read={u.cache_read_input_tokens} cache_write={u.cache_creation_input_tokens} \"\n          f\"uncached={u.input_tokens} output={u.output_tokens}\")\n    return \"\".join(b.text for b in r.content if b.type == \"text\")\n\nhistory: list[dict] = []\nchat(history, \"Do you deliver to Mokotów?\")\nchat(history, \"And how long does it take on Friday evening?\")"}]},{"type":"codeBlock","attrs":{"language":"typescript","filename":"cached-chat.ts"},"content":[{"type":"text","text":"import Anthropic from \"@anthropic-ai/sdk\";\nimport { readFileSync } from \"node:fs\";\n\nconst client = new Anthropic();\n\n// Stable prefix: identical bytes on every request (no dates, no user ids, no random order).\nconst STABLE_SYSTEM: Anthropic.TextBlockParam[] = [\n  { type: \"text\", text: readFileSync(\"policies.md\", \"utf8\") },\n  { type: \"text\", text: readFileSync(\"menu.md\", \"utf8\"), cache_control: { type: \"ephemeral\" } },\n];\n\nasync function chat(history: Anthropic.MessageParam[], userMessage: string): Promise<string> {\n  history.push({ role: \"user\", content: userMessage });\n  const r = await client.messages.create({\n    model: \"claude-opus-5-5\",\n    max_tokens: 2048,\n    system: STABLE_SYSTEM,\n    cache_control: { type: \"ephemeral\" }, // automatic breakpoint for the growing conversation tail\n    messages: history,\n  });\n  history.push({ role: \"assistant\", content: r.content });\n  const u = r.usage;\n  // Verify the cache actually works: reads should dominate after the first request.\n  console.log(`cache_read=${u.cache_read_input_tokens} cache_write=${u.cache_creation_input_tokens} ` +\n    `uncached=${u.input_tokens} output=${u.output_tokens}`);\n  return r.content.map((b) => (b.type === \"text\" ? b.text : \"\")).join(\"\");\n}\n\nconst history: Anthropic.MessageParam[] = [];\nawait chat(history, \"Do you deliver to Mokotów?\");\nawait chat(history, \"And how long does it take on Friday evening?\");"}]},{"type":"codeBlock","attrs":{"language":"csharp","filename":"CachedChat.cs"},"content":[{"type":"text","text":"using Anthropic;\nusing Anthropic.Models.Messages;\n\nAnthropicClient client = new();\n\n// Stable prefix: identical bytes on every request (no dates, no user ids, no random order).\nvar stableSystem = new List<TextBlockParam>\n{\n    new() { Text = File.ReadAllText(\"policies.md\") },\n    new() { Text = File.ReadAllText(\"menu.md\"), CacheControl = new CacheControlEphemeral() },\n};\n\nvar r = await client.Messages.Create(new MessageCreateParams\n{\n    Model = \"claude-opus-5-5\",\n    MaxTokens = 2048,\n    System = stableSystem,\n    Messages = [new UserMessageParam { Content = \"Do you deliver to Mokotów?\" }],\n});\n\n// Verify the cache actually works: reads should dominate after the first request.\nvar u = r.Usage;\nConsole.WriteLine($\"cache_read={u.CacheReadInputTokens} cache_write={u.CacheCreationInputTokens} \" +\n                  $\"uncached={u.InputTokens} output={u.OutputTokens}\");"}]}]}]},"toc":[{"id":"the-problem-friday-7-30-pm-the-pierogi-chat-catches-fire","text":"The problem: Friday, 7:30 pm, the pierogi chat \"catches fire\"","level":2,"locked":false},{"id":"architecture-a-gateway-between-the-application-and-the-models","text":"Architecture: a gateway between the application and the models","level":2,"locked":false},{"id":"caching-on-three-levels","text":"Caching on three levels","level":2,"locked":false},{"id":"reliability-retries-timeouts-and-fallbacks","text":"Reliability: retries, timeouts and fallbacks","level":2,"locked":true},{"id":"observability-what-to-log-on-every-call","text":"Observability: what to log on every call","level":2,"locked":true},{"id":"cost-control-levers-in-order-of-payoff","text":"Cost control: levers in order of payoff","level":2,"locked":true},{"id":"rollouts-a-prompt-is-code-too","text":"Rollouts: a prompt is code too","level":2,"locked":true},{"id":"pre-production-checklist","text":"Pre-production checklist","level":2,"locked":true},{"id":"test-yourself","text":"Test yourself","level":2,"locked":true},{"id":"what-s-next","text":"What's next","level":2,"locked":true}],"locked":true,"paywall":null,"previewRatio":0.3,"totalBlocks":49,"visibleBlocks":15,"resources":[{"id":"6b0857c83c96f2d34d0b4a86","type":"video","provider":"youtube","url":"https://www.youtube.com/watch?v=b0HMGt8VWYQ","embedUrl":"https://www.youtube-nocookie.com/embed/b0HMGt8VWYQ","title":"LiteLLM jako bramka AI między aplikacją a modelem (lekcja z AI na Prodzie)","description":"Co stoi między Twoją aplikacją a modelem AI i po co na produkcji stawiać bramkę. Na przykładzie LiteLLM Kuba Kubryński pokazuje, jak nazywać aliasy modeli, rozkładać ruch między dostawców, ustawiać fallbacki i timeouty oraz pilnować kluczy i budżetów. Na końcu przegląd alternatyw (Bifrost…","author":"devstyle","thumbnailUrl":"https://i.ytimg.com/vi/b0HMGt8VWYQ/hqdefault.jpg","durationSec":null,"lang":"pl","topics":[],"techs":["general"],"tags":["ai"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"youtube-rss","publishedAt":"2026-11-12T14:05:24.000Z","popularity":55,"verifiedAt":"2026-11-26T11:14:00.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:01:10.095Z","updatedAt":"2026-11-26T16:01:10.095Z"},{"id":"6b0857c33c96f2d34d0b463b","type":"article","provider":"web","url":"https://learn.microsoft.com/en-us/azure/architecture/ai-ml/guide/generative-ai-gateway","embedUrl":null,"title":"Access Foundry Models and Other Language Models Through a Gateway","description":"Understand how implementing a gateway helps manage access to Foundry Models more securely and efficiently.","author":"Microsoft Azure Architecture Center","thumbnailUrl":"https://learn.microsoft.com/en-us/media/open-graph-image.png","durationSec":null,"lang":"en","topics":[],"techs":["general"],"tags":["azure","cloud"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"manual","publishedAt":null,"popularity":46,"verifiedAt":"2026-11-26T11:08:15.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:01:04.995Z","updatedAt":"2026-11-26T16:01:04.995Z"},{"id":"6b0857b23c96f2d34d0b33be","type":"repo","provider":"github","url":"https://github.com/BerriAI/litellm","embedUrl":null,"title":"BerriAI/litellm","description":"The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]","author":"BerriAI","thumbnailUrl":"https://opengraph.githubassets.com/1/BerriAI/litellm","durationSec":null,"lang":"en","topics":["llm-ops","mcp","ai-in-python"],"techs":["python"],"tags":["ai-gateway","anthropic","azure-openai","bedrock","gateway","langchain","cloud","llm","ai","litellm"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"github","publishedAt":"2023-07-27T00:09:52.000Z","popularity":93,"verifiedAt":"2026-11-26T11:00:28.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:49.541Z","updatedAt":"2026-11-26T16:00:49.541Z"},{"id":"6b0857c23c96f2d34d0b44c8","type":"article","provider":"web","url":"https://langfuse.com/docs","embedUrl":null,"title":"Open Source AI Engineering Platform - Langfuse","description":"Langfuse is an open-source AI engineering platform (GitHub) that helps teams collaboratively debug, analyze, and iterate on their AI agent applications. All platform features are natively integrated to accelerate the development workflow.","author":"Langfuse","thumbnailUrl":"https://langfuse.com/api/og?title=Open+Source+AI+Engineering+Platform&description=Langfuse+is+an+open-source+AI+engineering+platform+%28GitHub%29+that+helps+teams+collaboratively+debug%2C+analyze%2C+and+iterate+on+their+AI+agent+applications.+All+platform+features+are+natively+integrated+to+accelerate+the+development+workflow.&section=Docs","durationSec":null,"lang":"en","topics":["evals","llm-ops"],"techs":["general"],"tags":["ai"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"manual","publishedAt":null,"popularity":50,"verifiedAt":"2026-11-26T11:26:44.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:01:04.995Z","updatedAt":"2026-11-26T16:01:04.995Z"},{"id":"6b0857b23c96f2d34d0b3506","type":"repo","provider":"github","url":"https://github.com/Helicone/helicone","embedUrl":null,"title":"Helicone/helicone","description":"🧊 Open source LLM observability platform. One line of code to monitor, evaluate, and experiment. YC W23 🍓","author":"Helicone","thumbnailUrl":"https://opengraph.githubassets.com/1/Helicone/helicone","durationSec":null,"lang":"en","topics":["evals","llm-fundamentals","prompt-engineering","llm-ops","ai-in-node"],"techs":["typescript","python"],"tags":["agent-monitoring","analytics","evaluation","gpt","langchain","large-language-models","llm","ai","observability","llama-index"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"github","publishedAt":"2023-01-31T22:34:44.000Z","popularity":73,"verifiedAt":"2026-11-26T11:00:34.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:50.215Z","updatedAt":"2026-11-26T16:00:50.215Z"},{"id":"6b0857c93c96f2d34d0b4a9d","type":"video","provider":"youtube","url":"https://www.youtube.com/watch?v=YPxMiaXToWs","embedUrl":"https://www.youtube-nocookie.com/embed/YPxMiaXToWs","title":"Caching for Agentic Java Systems: Internal, Distributed, and Semantic","description":"Caching is a first-class architectural concern in agentic systems. This talk breaks down how Java applications can layer internal, distributed, and semantic caches. We'll explore in-process caching with Caffeine for ultra-low-latency access, distributed caching with Redisson and Valkey for shared…","author":"Java","thumbnailUrl":"https://i.ytimg.com/vi/YPxMiaXToWs/hqdefault.jpg","durationSec":null,"lang":"en","topics":["ai-agents","llm-ops","ai-in-java"],"techs":["java"],"tags":["performance","llm","ai"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"youtube-rss","publishedAt":"2026-05-12T10:30:19.000Z","popularity":54,"verifiedAt":"2026-11-26T10:57:01.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:01:12.872Z","updatedAt":"2026-11-26T16:01:12.872Z"}],"challenges":[],"attachments":[],"hasCode":true,"repoUrl":null,"series":[{"slug":"ai-path","title":"AI for developers","items":[{"slug":"llm-fundamentals","title":"LLM fundamentals: tokens, context windows and next-token prediction","current":false},{"slug":"prompt-engineering","title":"Prompt engineering: writing instructions a model will actually follow","current":false},{"slug":"embeddings-vector-db","title":"Embeddings and vector databases: searching by meaning","current":false},{"slug":"rag","title":"RAG: answers grounded in your own documents","current":false},{"slug":"tool-use","title":"Tool use: how a language model calls your application's functions","current":false},{"slug":"ai-agents","title":"AI agents: a model in a loop with tools – and when a plain workflow is enough","current":false},{"slug":"mcp","title":"MCP (Model Context Protocol): one standard for connecting AI to tools and data","current":false},{"slug":"evals","title":"Evaluating LLM applications (evals): tests for systems that are not deterministic","current":false},{"slug":"llm-ops","title":"LLMOps: model gateways, caching, limits, observability and costs in production","current":true},{"slug":"ai-guardrails","title":"Guardrails and security for LLM applications: prompt injection, data leaks and tool permissions","current":false},{"slug":"local-llms","title":"Local language models: Ollama, llama.cpp, vLLM, quantization and the real trade-offs","current":false},{"slug":"fine-tuning","title":"Fine-tuning language models: when it pays off, LoRA and QLoRA in practice","current":false},{"slug":"ai-coding-assistants","title":"AI coding assistants: from editor suggestions to an agent that opens pull requests","current":false}]}],"prev":{"slug":"evals","title":"Evaluating LLM applications (evals): tests for systems that are not deterministic"},"next":{"slug":"ai-guardrails","title":"Guardrails and security for LLM applications: prompt injection, data leaks and tool permissions"},"featured":false,"authorCard":{"id":"6b08bd2e80884893657cc8cf","name":"Redakcja Art of Devs","avatar":null,"handle":"redakcja","headline":"Wzorce projektowe · Architektura · AI i LLM","community":false,"reputation":{"points":3900,"level":{"key":"mentor","label":"Mentor"}},"articles":68,"skills":[{"key":"typescript","title":"TypeScript","level":5,"levelLabel":"Authority","articles":63},{"key":"dotnet","title":".NET","level":5,"levelLabel":"Authority","articles":53},{"key":"python","title":"Python","level":5,"levelLabel":"Authority","articles":52},{"key":"java","title":"Java","level":5,"levelLabel":"Authority","articles":38}]}}