{
  "_usage": {
    "what": "Prompt cache pricing rules per provider and per model, as used by Jambline's audit.",
    "null_means": "UNVERIFIED. Never a zero, never an absence. Do not fill one in by analogy with another provider.",
    "break_even": "reads per write = (write_multiplier - 1) / (1 - read_multiplier). 0.28 on a 5 minute window, 1.11 on a one hour window.",
    "min_tokenow": "Below this many tokens the cache breakpoint is ignored, with no error and no billing line.",
    "terms": "Free to use and to quote, with attribution to https://jambline.com. No warranty: providers change prices without notice, twice in twelve days in August 2026. Check zweryfikowano before relying on a row.",
    "source": "https://jambline.com/pricing-matrix.json"
  },
  "wersja": "2026-08-26",
  "uwaga": "Macierz jest danymi, nie kodem (docs/06 ADR-5/ADR-6). Ceny providerow zmieniaja sie bez ostrzezenia: w sierpniu 2026 zmienily sie dwa razy w dwanascie dni. Kazdy wynik audytu zapisuje uzyta wersje tej macierzy. Pola null oznaczaja NIEZWERYFIKOWANE i nie wolno ich zgadywac. Aktualizacja 2026-08-22b po weryfikacji zewnetrznej: mnoznik odczytu Gemini cofniety do null, TTL 1h dla Bedrock Claude 4.6 oznaczony jako sporny. Aktualizacja 2026-08-26: doszlo pole ttl_odswieza_sie_przy_odczycie, potwierdzone tylko u Anthropic; u pozostalych null, bo ich wlasne strony nie byly sprawdzane.",
  "mnozniki": {
    "anthropic": {
      "write_5m": 1.25,
      "write_1h": 2,
      "read": 0.1,
      "max_breakpointow": 4,
      "ttl_odswieza_sie_przy_odczycie": true,
      "ttl_zweryfikowano": "2026-08-26",
      "zweryfikowano": "2026-08-22",
      "zrodlo": "https://platform.claude.com/docs/en/build-with-claude/prompt-caching"
    },
    "openai_do_5_5": {
      "write_5m": 0,
      "write_1h": null,
      "read": 0.1,
      "max_breakpointow": null,
      "uwaga": "Write darmowy, caching automatyczny, brak jawnych breakpointow.",
      "ttl_odswieza_sie_przy_odczycie": null,
      "ttl_zweryfikowano": null,
      "zweryfikowano": "2026-08-22",
      "zrodlo": "https://developers.openai.com/api/docs/guides/prompt-caching"
    },
    "openai_5_6": {
      "write_5m": 1.25,
      "write_1h": null,
      "read": 0.1,
      "max_breakpointow": null,
      "uwaga": "TTL 30 min przez prompt_cache_options.ttl. Tryb explicit bez breakpointow: brak cachingu i brak oplat za zapis.",
      "ttl_odswieza_sie_przy_odczycie": null,
      "ttl_zweryfikowano": null,
      "zweryfikowano": "2026-08-22",
      "zrodlo": "https://developers.openai.com/api/docs/guides/prompt-caching"
    },
    "bedrock_claude": {
      "write_5m": 1.25,
      "write_1h": 2,
      "read": 0.1,
      "max_breakpointow": 4,
      "ttl_odswieza_sie_przy_odczycie": null,
      "ttl_zweryfikowano": null,
      "zweryfikowano": "2026-08-22",
      "zrodlo": "https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-caching.html"
    },
    "bedrock_openai_5_6": {
      "write_5m": 1.25,
      "write_1h": null,
      "read": 0.1,
      "max_breakpointow": 4,
      "uwaga": "TTL 30 min.",
      "ttl_odswieza_sie_przy_odczycie": null,
      "ttl_zweryfikowano": null,
      "zweryfikowano": "2026-08-22",
      "zrodlo": "https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-caching.html"
    },
    "gemini": {
      "write_5m": null,
      "write_1h": null,
      "read": null,
      "max_breakpointow": null,
      "ttl_odswieza_sie_przy_odczycie": null,
      "ttl_zweryfikowano": null,
      "uwaga": "NIEZWERYFIKOWANE. Mnoznik odczytu 0.1x byl przeniesiony przez analogie z Anthropic i nie ma potwierdzenia u zrodla; hipoteza 0.25x zostala wprost obalona (weryfikacja zewnetrzna 2026-08-22). Implicit caching domyslnie wlaczony, minima warstwowe per generacja (2048 dla 2.5 Flash/Pro, 4096 dla Flash 3.x i Pro 3.1 Preview). Storage explicit cache: $0.50/MTok/h w 2026, $1.00 od 2027-01-01.",
      "zweryfikowano": null,
      "zrodlo": "https://ai.google.dev/gemini-api/docs/caching"
    }
  },
  "modele": {
    "anthropic:opus-5": {
      "mnozniki": "anthropic",
      "min_tokenow": 512,
      "ttl": [
        "5m",
        "1h"
      ],
      "cena_input_usd_mtok": null
    },
    "anthropic:fable-5": {
      "mnozniki": "anthropic",
      "min_tokenow": 512,
      "ttl": [
        "5m",
        "1h"
      ],
      "cena_input_usd_mtok": null
    },
    "anthropic:mythos-5": {
      "mnozniki": "anthropic",
      "min_tokenow": 512,
      "ttl": [
        "5m",
        "1h"
      ],
      "cena_input_usd_mtok": null
    },
    "anthropic:opus-4.8": {
      "mnozniki": "anthropic",
      "min_tokenow": 1024,
      "ttl": [
        "5m",
        "1h"
      ],
      "cena_input_usd_mtok": null
    },
    "anthropic:opus-4.7": {
      "mnozniki": "anthropic",
      "min_tokenow": 2048,
      "ttl": [
        "5m",
        "1h"
      ],
      "cena_input_usd_mtok": null
    },
    "anthropic:opus-4.6": {
      "mnozniki": "anthropic",
      "min_tokenow": 4096,
      "ttl": [
        "5m",
        "1h"
      ],
      "cena_input_usd_mtok": null
    },
    "anthropic:opus-4.5": {
      "mnozniki": "anthropic",
      "min_tokenow": 4096,
      "ttl": [
        "5m",
        "1h"
      ],
      "cena_input_usd_mtok": null
    },
    "anthropic:sonnet-5": {
      "mnozniki": "anthropic",
      "min_tokenow": 1024,
      "ttl": [
        "5m",
        "1h"
      ],
      "cena_input_usd_mtok": 2,
      "cena_output_usd_mtok": 10,
      "cena_zweryfikowano": "2026-08-22",
      "cena_zrodlo": "release notes 2026-08-10: cena wprowadzajaca stala sie standardowa, zapowiadana podwyzka do 3/15 nie nastapi"
    },
    "anthropic:sonnet-4.6": {
      "mnozniki": "anthropic",
      "min_tokenow": 1024,
      "ttl": [
        "5m",
        "1h"
      ],
      "cena_input_usd_mtok": null
    },
    "anthropic:sonnet-4.5": {
      "mnozniki": "anthropic",
      "min_tokenow": 1024,
      "ttl": [
        "5m",
        "1h"
      ],
      "cena_input_usd_mtok": null
    },
    "anthropic:haiku-4.5": {
      "mnozniki": "anthropic",
      "min_tokenow": 4096,
      "ttl": [
        "5m",
        "1h"
      ],
      "cena_input_usd_mtok": null
    },
    "anthropic:haiku-3.5": {
      "mnozniki": "anthropic",
      "min_tokenow": 2048,
      "ttl": [
        "5m",
        "1h"
      ],
      "cena_input_usd_mtok": null
    },
    "bedrock:claude-opus-4.6": {
      "mnozniki": "bedrock_claude",
      "min_tokenow": 4096,
      "ttl": [
        "5m"
      ],
      "cena_input_usd_mtok": null,
      "uwaga": "SPORNE: dokumentacja AWS przeczy sama sobie. Model-card tego modelu podaje '5 minutes, 1 hour', a ogolna tabela supported-models na prompt-caching.html podaje tylko '5 minutes', zgodnie z ogloszeniem GA ze stycznia 2026, ktore objelo 1h TTL wylacznie Opus 4.5, Haiku 4.5 i Sonnet 4.5. Przed oparciem logiki na tym fakcie wykonaj test empiryczny: request z cachePoint ttl=1h i sprawdzenie, czy API zwraca blad.",
      "ttl_sporne": true
    },
    "bedrock:claude-opus-4.5": {
      "mnozniki": "bedrock_claude",
      "min_tokenow": 4096,
      "ttl": [
        "5m",
        "1h"
      ],
      "cena_input_usd_mtok": null
    },
    "bedrock:claude-opus-4": {
      "mnozniki": "bedrock_claude",
      "min_tokenow": 1024,
      "ttl": [
        "5m"
      ],
      "cena_input_usd_mtok": null
    },
    "bedrock:claude-sonnet-4.6": {
      "mnozniki": "bedrock_claude",
      "min_tokenow": 1024,
      "ttl": [
        "5m"
      ],
      "cena_input_usd_mtok": null,
      "uwaga": "SPORNE: dokumentacja AWS przeczy sama sobie. Model-card tego modelu podaje '5 minutes, 1 hour', a ogolna tabela supported-models na prompt-caching.html podaje tylko '5 minutes', zgodnie z ogloszeniem GA ze stycznia 2026, ktore objelo 1h TTL wylacznie Opus 4.5, Haiku 4.5 i Sonnet 4.5. Przed oparciem logiki na tym fakcie wykonaj test empiryczny: request z cachePoint ttl=1h i sprawdzenie, czy API zwraca blad.",
      "ttl_sporne": true
    },
    "bedrock:claude-sonnet-4.5": {
      "mnozniki": "bedrock_claude",
      "min_tokenow": 1024,
      "ttl": [
        "5m",
        "1h"
      ],
      "cena_input_usd_mtok": null
    },
    "bedrock:claude-haiku-4.5": {
      "mnozniki": "bedrock_claude",
      "min_tokenow": 4096,
      "ttl": [
        "5m",
        "1h"
      ],
      "cena_input_usd_mtok": null
    },
    "bedrock:claude-3.7-sonnet": {
      "mnozniki": "bedrock_claude",
      "min_tokenow": 1024,
      "ttl": [
        "5m"
      ],
      "cena_input_usd_mtok": null
    },
    "bedrock:claude-3.5-sonnet-v2": {
      "mnozniki": "bedrock_claude",
      "min_tokenow": 1024,
      "ttl": [
        "5m"
      ],
      "cena_input_usd_mtok": null
    },
    "bedrock:gpt-5.6-sol": {
      "mnozniki": "bedrock_openai_5_6",
      "min_tokenow": 1024,
      "ttl": [
        "30m"
      ],
      "cena_input_usd_mtok": null
    },
    "bedrock:gpt-5.6-terra": {
      "mnozniki": "bedrock_openai_5_6",
      "min_tokenow": 1024,
      "ttl": [
        "30m"
      ],
      "cena_input_usd_mtok": null
    },
    "bedrock:gpt-5.6-luna": {
      "mnozniki": "bedrock_openai_5_6",
      "min_tokenow": 1024,
      "ttl": [
        "30m"
      ],
      "cena_input_usd_mtok": null
    },
    "openai:gpt-5.6-sol": {
      "mnozniki": "openai_5_6",
      "min_tokenow": 1024,
      "ttl": [
        "30m"
      ],
      "cena_input_usd_mtok": 4,
      "cena_read_usd_mtok": 0.4,
      "cena_output_usd_mtok": 20,
      "cena_write_usd_mtok": null,
      "cena_zweryfikowano": "2026-08-22",
      "cena_promocyjna_do": "2026-11-21",
      "cena_zrodlo": "https://community.openai.com/t/20-price-reduction-for-gpt-5-6-sol-api-codex-credits-and-chatgpt-work/1391726",
      "uwaga": "Ceny promocyjne od 2026-08-21. Cena cache-write NIE zostala podana w ogloszeniu: mnoznik 1.25x wobec inputu dawalby 5.00, ale to jest zalozenie, nie fakt. Do potwierdzenia na stronie cennika albo na fakturze."
    },
    "openai:gpt-5.5": {
      "mnozniki": "openai_do_5_5",
      "min_tokenow": 1024,
      "ttl": null,
      "cena_input_usd_mtok": null
    },
    "openai:gpt-5.4": {
      "mnozniki": "openai_do_5_5",
      "min_tokenow": 1024,
      "ttl": null,
      "cena_input_usd_mtok": null
    }
  },
  "reguly": {
    "bedrock_batch_bez_cache": true,
    "bedrock_input_tokens_nie_zawiera_cache": true,
    "openai_input_tokens_zawiera_cached": true,
    "bedrock_simplified_lookback_blokow": 20,
    "anthropic_ttl_liczony_od_startu_requestu": true,
    "zrodlo_regul_ttl": "https://platform.claude.com/docs/en/build-with-claude/prompt-caching, zweryfikowano 2026-08-26: 'The lifetime is measured from the start of the request that writes or reads the cache entry, not from the end of its response.'",
    "zrodlo_regul": "ops/monitoring/2026-08-22-monitoring.md §6"
  }
}