Cross-Provider Validation of AI Service Execution Transparency
Metadata
| Field | Value |
|---|---|
| Document ID | Cross_Provider_AI_Service_Execution_Transparency_Validation |
| Date | 2026-10-01 |
| Access date for all sources unless noted | 2026-10-01 |
| Language | English |
| Scope | Primary-document cross-provider validation of mechanisms relevant to AI service execution transparency: capability/auth/quota/rate-limit/error/retry/usage/billing surfaces, plus generative refusal / safety / incomplete / UNKNOWN semantics. Providers: Anthropic (Messages API baseline), OpenAI (Platform API), Google (Gemini API), AWS (general API retries), Azure (ARM throttling), Cloudflare (API limits). |
| Method note | Desktop primary-doc fetch and archival synthesis. Evidence labels: DOCUMENTED / OBSERVED / INFERRED / HYPOTHETICAL / UNDETERMINED. Matrix YES = mechanism identified in primary docs in this review, not “better.” NOT FOUND ≠ DOES NOT EXIST; documentation silence ≠ customer entitlement; API behavior ≠ contractual obligation. |
| Prior chain | /workspace/reports/anthropic_refusal_semantics_verification.md (Anthropic baseline — preserve exactly); /workspace/reports/xAI_AI_Service_Execution_Transparency_Spec.md (hypothetical MVT); /workspace/reports/xAI_MVT_Comparative_Validation.md (prior comparative draft). |
| Disclaimer | Not a ranking of providers. Not legal advice. Not a claim that any provider must implement the hypothetical MVT. Not a compliance audit. Invented billing rules are forbidden; only rules stated in cited sources are used. Anthropic findings are not broadened beyond the Messages API verification archive. |
1. Executive Summary
This document validates, against primary documentation accessed 2026-10-01, which components of a hypothetical Minimum Viable Transparency (MVT) for paid generative AI execution boundaries already appear as documented mechanisms across selected AI providers and traditional cloud/API infrastructure.
Central findings (mechanism presence, not ranking):
- Traditional cloud/API dimensions (A–I roughly) — capability docs, auth boundaries, quota/rate-limit visibility, structured HTTP error taxonomies, retry guidance, and usage/billing controls — are COMMON / ALREADY STANDARD in the reviewed AWS, Azure ARM, Cloudflare, and AI Platform docs (DOCUMENTED).
- Generative AI adds an execution-boundary layer not present in classic CRUD/control-plane APIs: a valid, authorized request can receive an HTTP-successful (or otherwise non-error) response envelope in which the requested generative operation did not deliver the intended content, with machine-readable signals such as Anthropic
stop_reason: "refusal", GeminifinishReason: SAFETY/promptFeedback.blockReason, OpenAImessage.refusal/finish_reason: content_filter/incomplete_details.reason(DOCUMENTED in respective primary pages). - Anthropic Messages API (preserved baseline): HTTP 200 +
stop_reason: "refusal"+ optionalstop_details; distinct from 4xx/5xx; three refusal-related paths (classifier / HTTP 400 validation / model-generated text); conditional Claude API billing (pre-output generally not billed except categoriesbio,frontier_llm,reasoning_extractionresumed 2026-09-24; mid-stream billed); Claude.ai parity UNDETERMINED (DOCUMENTED / UNDETERMINED as in archive — not broadened). - OpenAI: rich HTTP error/
error.codetaxonomy including billing/quota codes and Retry-After (DOCUMENTED); Structured Outputs path documents programmatically detectable safety refusals viarefusalfield (PARTIAL relative to Anthropic’s generalstop_reason);content_filter/ incomplete reasons PARTIAL; refusal-specific billing NOT FOUND in reviewed pages → UNDETERMINED. - Google Gemini: safety settings,
finishReason SAFETY,promptFeedback.blockReason,safetyRatings, generation-blocked codes, rate/spend limits (DOCUMENTED); safety blocking can appear as structured response fields rather than only HTTP errors (PARTIAL/DOCUMENTED for operation failure without necessarily HTTP error). Refusal-specific billing NOT FOUND in reviewed pages → UNDETERMINED. - AWS / Azure ARM / Cloudflare: strong traditional retry/throttle/limit taxonomies (DOCUMENTED); generative refusal dimensions K–O are NO (not applicable to the traditional control-plane surfaces reviewed) — absence of an AI refusal layer is scope, not a transparency “failure.”
- Novelty: C. A partially novel synthesis — most of A–I is established API practice; the AI-specific slice is the semantic execution boundary (API success ≠ requested generative outcome) plus optional refusal economics.
- Revised MVT drops unsupported novelty claims; retains machine-readable non-execution class, billing/quota consequence, retry guidance, and honest UNKNOWN/opaque node as HYPOTHETICAL customer-facing minima for generative products.
2. Research Method
| Step | Practice |
|---|---|
| Primary sources | Official provider documentation URLs listed in §3 and §20; access date 2026-10-01 unless a page itself states a “Last updated” stamp. |
| Anthropic | Taken verbatim from archived verification /workspace/reports/anthropic_refusal_semantics_verification.md; do not broaden to Claude.ai or invent extra billing rules. |
| Classification | Matrix cells: YES / PARTIAL / NO / UNDETERMINED. YES means a mechanism is identified in primary docs in this review, not comparative quality. |
| Labels | DOCUMENTED = stated in primary docs; OBSERVED = empirical live behavior (generally not claimed here except where prior reports already used OBSERVED); INFERRED = logical bridge from docs; HYPOTHETICAL = proposed MVT; UNDETERMINED = not established by reviewed sources. |
| Negative evidence | NOT FOUND in reviewed pages ≠ DOES NOT EXIST elsewhere. Silence ≠ entitlement. Documented API behavior ≠ contractual obligation. |
| Exclusions | No provider ranking. No invented billing rules. Azure OpenAI content-safety docs not fetched this pass → AI-specific Azure cells treated as traditional ARM or UNDETERMINED/out of scope. No independent billing-ledger observation. |
| MVT reference | Hypothetical components from /workspace/reports/xAI_AI_Service_Execution_Transparency_Spec.md (capability; surface; auth; quota; rate limits; structured errors; retry; usage; billing; policy/AUP; content/safety refusal; model-generated refusal; tool/agent failure; partial execution; UNKNOWN). |
3. Primary-Source Register
Abbreviated working register (full claim-level register in §20).
| # | Provider | URL | Role in this review |
|---|---|---|---|
| 1 | Anthropic | https://docs.anthropic.com/en/api/handling-stop-reasons | stop_reason incl. refusal; vs HTTP errors |
| 2 | Anthropic | https://docs.anthropic.com/en/docs/test-and-evaluate/strengthen-guardrails/handle-streaming-refusals | Streaming refusals; three refusal types; billing timing/category |
| 3 | Anthropic | https://docs.anthropic.com/en/release-notes/api | Dated billing/category changes through 2026-09-24 |
| 4 | OpenAI | https://developers.openai.com/api/docs/guides/error-codes | HTTP 400/401/403/429/500/503; error.type/error.code; billing codes; don’t retry billing |
| 5 | OpenAI | https://developers.openai.com/api/docs/guides/rate-limits | RPM/TPM; x-ratelimit-*; Retry-After; tiers; spend limits |
| 6 | OpenAI | https://developers.openai.com/api/docs/guides/structured-outputs | Explicit refusals; message.refusal; incomplete/content_filter |
| 7 | https://ai.google.dev/gemini-api/docs/safety-settings | HarmCategory; finishReason SAFETY; promptFeedback; safetyRatings | |
| 8 | https://ai.google.dev/gemini-api/docs/troubleshooting | Retry 429/503; don’t retry 400/402/403; BlockedReason.OTHER; RECITATION | |
| 9 | https://ai.google.dev/gemini-api/docs/rate-limits | RPM/TPM/RPD; tiers; spend-based 429 RESOURCE_EXHAUSTED | |
| 10 | https://ai.google.dev/gemini-api/docs/api-errors | Standard + generation blocked + generation error codes; Interactions API framing | |
| 11 | AWS | https://docs.aws.amazon.com/general/latest/gr/api-retries.html | Transient/throttling/non-retryable; backoff; x-amz-retry-after |
| 12 | Azure | https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/request-limits-and-throttling | 429; Retry-After; x-ms-ratelimit-remaining-*; token bucket |
| 13 | Cloudflare | https://developers.cloudflare.com/fundamentals/api/reference/limits/ | 429; Ratelimit / Ratelimit-Policy / retry-after |
| 14 | Archive | /workspace/reports/anthropic_refusal_semantics_verification.md |
Locked Anthropic findings |
| 15 | Spec | /workspace/reports/xAI_AI_Service_Execution_Transparency_Spec.md |
Hypothetical prior MVT |
4. Traditional API Baseline
Traditional cloud/control-plane APIs (AWS SDK retries, Azure Resource Manager throttling, Cloudflare API limits) document a mature stack for transport and resource governance:
| Dimension | Typical mechanism (DOCUMENTED in §6) |
|---|---|
| Auth / account | API keys, IAM, tokens; 401/403 class failures |
| Capability | Service/API reference docs |
| Quota / rate | Numeric limits; 429; remaining headers; token buckets |
| Errors | HTTP status + provider error codes |
| Retry | Classify retryable vs not; exponential backoff; Retry-After / x-amz-retry-after |
| Usage / billing | Cloud metering / spend (varies by product; not always request-body fields) |
What traditional APIs generally lack (in this review’s surfaces): a first-class generative operation outcome distinct from HTTP success — i.e., “request accepted and processed, but the model/safety system declined to produce the requested content.” That layer is the generative AI delta (§12). Marking K–O as NO for AWS/Azure/Cloudflare means not applicable to reviewed traditional surfaces, not that those clouds “score worse.”
5. AI Provider Analysis
5.1 Anthropic
Surface reviewed: Claude Messages API only (per archive). Claude.ai consumer chat = UNDETERMINED.
DOCUMENTED mechanisms (preserve exactly)
| Claim | Label | Source role |
|---|---|---|
Classifier refusal returned as HTTP 200 with stop_reason: "refusal" |
DOCUMENTED | handling-stop-reasons |
Optional stop_details (type; category e.g. cyber, bio, or null; explanation) |
DOCUMENTED | stop reasons; release notes 2026-05-28 |
| Distinct from ordinary HTTP 4xx/5xx errors | DOCUMENTED | handling-stop-reasons (“Stop reasons vs. errors”) |
Three paths: (a) classifier → stop_reason: "refusal"; (b) input/copyright validation → HTTP 400; (c) model-generated refusal text → ordinary text (not necessarily stop_reason: "refusal") |
DOCUMENTED | handle-streaming-refusals |
| Usage metrics may still appear on refusal | DOCUMENTED | streaming refusals |
Conditional billing: pre-output refusals generally not billed on Claude API historically; mid-stream / output-before-refusal billed; 2026-09-24 resume billing for pre-output when stop_details.category ∈ {bio, frontier_llm, reasoning_extraction}; other pre-output categories still not billed |
DOCUMENTED | release notes + streaming refusals |
| Claude.ai parity | UNDETERMINED | not established in these sources |
| Live ledger observation | not OBSERVED in this pass | docs only |
Corrected one-sentence claim (archive)
Anthropic’s Claude Messages API documentation (current as of 2026-10-01) defines classifier refusals as HTTP 200 responses with
stop_reason: "refusal"and optionalstop_details, distinct from 4xx/5xx errors, and states conditional Claude API billing (pre-output refusals generally not billed except specified categories resumed 2026-09-24; output-before-refusal billed)—without establishing the same for Claude.ai or for model-generated prose refusals.
Matrix-oriented summary (Anthropic Messages API)
| Dim | Value | Note |
|---|---|---|
| A–J | YES / PARTIAL as applicable | Capability docs, API surface, auth, quota/rate (elsewhere in Anthropic docs; not re-audited here beyond refusal archive), structured stop reasons + errors, retry guidance on refusal (reset / fallback), usage on refusal, conditional billing, policy categories via stop_details |
| K | YES | Classifier safety refusal as stop_reason: "refusal" |
| L | PARTIAL | Model-generated refusal text documented as separate path, not first-class same as classifier |
| M | PARTIAL | Tool/tool_use/pause_turn stop reasons documented on stop-reasons page (tool workflow), not full “agent product failure” taxonomy |
| N | PARTIAL | Streaming mid-refusal; max_tokens truncation; incomplete tool_use |
| O | PARTIAL | category/explanation may be null; no product field literally named UNKNOWN |
5.2 OpenAI
Surfaces reviewed: Error codes guide; Rate limits guide; Structured Outputs guide (developers.openai.com).
Errors, quota, retry (DOCUMENTED)
- HTTP 400 / 401 / 403 / 429 / 500 / 503 with guidance;
error.type/error.code. - Billing/quota-related 429 codes include
credit_balance_exhausted,organization_spend_limit_exceeded,project_spend_limit_exceeded,organization_usage_limit_exceeded; broadererror.typemay still beinsufficient_quota. - Do not retry billing/spend/quota errors; update credits/limits first.
- Rate limits: RPM/TPM/RPD/etc.; organization and project scope; usage tiers; hard spend limits → 429.
- Headers:
Retry-After,x-ratelimit-limit-requests,x-ratelimit-limit-tokens, remaining/reset variants, project-token headers. Retry-Aftermay appear on temporary rate-limit 429 and model-overload 503; does not mean billing errors become retryable.slow_down(429) vsserver_is_overloaded(503) distinguished; exponential backoff with jitter guidance.
Structured refusal / filter (PARTIAL)
From Structured Outputs guide (DOCUMENTED):
- Benefit listed: “Explicit refusals: Safety-based model refusals are now programmatically detectable.”
- When Structured Outputs + user input: safety refusal may not follow schema → response includes
refusalfield on the message; code should branch onmessage.refusal. - Chat Completions path:
finish_reason === "content_filter"when generation halted by restricted content (may be partial JSON). - Responses API path:
response.status === "incomplete"withincomplete_details.reason === "content_filter"or"max_output_tokens"; also content type"refusal".
Classification care:
| Mechanism | Matrix reading |
|---|---|
message.refusal / content type refusal under Structured Outputs |
PARTIAL for K/L — programmatically detectable safety refusal, but path-scoped (Structured Outputs / documented examples), not identical to Anthropic’s general Messages stop_reason: "refusal" |
finish_reason: content_filter / incomplete_details.reason: content_filter |
PARTIAL for K — structured incomplete/filter reason |
| Billing of refusal / content_filter events | UNDETERMINED — NOT FOUND in the three reviewed OpenAI pages |
| Model-generated prose refusal outside Structured Outputs | UNDETERMINED / may be ordinary text without refusal field |
| Full A–O | See matrix §14 |
5.3 Google
Surfaces reviewed: Safety settings; Troubleshooting; Rate limits; API errors (Gemini API / Google AI for Developers).
Safety / block signals (DOCUMENTED)
- Adjustable categories via
HarmCategory: Harassment, Hate speech, Sexually explicit, Dangerous; thresholdsOFF…BLOCK_LOW_AND_ABOVE. - Built-in non-adjustable protections (e.g. child safety) always blocked.
generateContentreturns safety feedback:promptFeedback.blockReasonif prompt blocked;- candidate
finishReasonSAFETY+safetyRatings; blocked content not returned.
- Troubleshooting:
BlockedReason.OTHERmay mean ToS / unsupported; RECITATION stop guidance; languages may yield unexpected/blocked responses.
HTTP vs response envelope: Safety-settings documentation describes feedback inside GenerateContentResponse with finishReason SAFETY and omitted blocked content — this implies an operation-failure outcome that is not necessarily framed only as an HTTP error (PARTIAL/DOCUMENTED for “API envelope success / candidate blocked”). Exact HTTP status for every safety path was not exhaustively tabulated in this pass → residual UNDETERMINED on uniform status codes.
API errors page (DOCUMENTED, with framing caveat)
- Standard codes:
invalid_request,authentication,payment_required(402 — don’t retry until credits),permission_denied,rate_limit_exceeded,quota_exceeded,service_unavailable, etc. - Generation blocked codes:
safety,recitation,language,prohibited_content,spii,blocklist,image_*,content_blocked, … - Generation error codes (tools/structure):
malformed_function_call,malformed_tool_call,unexpected_tool_call,too_many_tool_calls, … - Page frames Interactions API error delivery (HTTP status +
errorobject; SSEevent_type: "error"). Distinguish from generateContent finishReason/safety feedback path — do not collapse both into one transport story.
Rate limits (DOCUMENTED)
- RPM / TPM / RPD; per project; tiers Free→Tier 3; view in AI Studio.
- Spend-based limits (rolling 10-minute window by tier) →
429 RESOURCE_EXHAUSTED. - Retry guidance (troubleshooting): exponential backoff on 429/503; do not retry 400/402/403.
Billing of safety blocks
NOT FOUND in reviewed Gemini pages as a refusal-specific billing matrix → UNDETERMINED (do not invent).
6. Cloud/API Infrastructure Analysis
6.1 AWS
Source: https://docs.aws.amazon.com/general/latest/gr/api-retries.html (DOCUMENTED).
| Topic | Mechanism |
|---|---|
| Error classes | Transient (e.g. timeouts, 5xx without recognized code); Throttling (named codes / rates); Non-retryable (e.g. ValidationException, AccessDenied) |
| Backoff | Exponential with full jitter; different base delays for transient vs throttling; cap |
| Server hint | x-amz-retry-after (ms) may override delay within clamps |
| Quota of retries | Token-bucket retry quota in standard/adaptive modes |
| Modes | standard (default), adaptive (client rate limiter), legacy |
Generative K–O: NO / N/A for general AWS control-plane / SDK retry docs in this review — no generative refusal layer. Traditional A–G (and related) = YES.
6.2 Azure
Source: ARM request limits and throttling (DOCUMENTED).
| Topic | Mechanism |
|---|---|
| Throttle | Per-region token bucket; subscription/tenant read/write/delete buckets and refill rates |
| HTTP | 429 Too many requests |
| Headers | Retry-After; x-ms-ratelimit-remaining-subscription-reads / writes / deletes; tenant and resource-type variants |
| RP limits | Resource providers apply own limits (Storage, Network, Compute, Resource Graph, …) |
Scope note: This review covers Azure Resource Manager / control plane, not Azure OpenAI content safety (those docs were not fetched). For AI-specific K–O on “Azure”: UNDETERMINED / out of scope; for traditional infra K–O generative: NO.
6.3 Cloudflare
Source: Fundamentals API limits (DOCUMENTED).
| Topic | Mechanism |
|---|---|
| Limits | Client API per user/account token 1200/5 min; per IP 200/s; GraphQL cost-based; token counts |
| Exceed | HTTP 429; calls blocked for next five minutes (global note) |
| Headers | Ratelimit, Ratelimit-Policy, retry-after (when exceeded) |
| SDK | Auto backoff on rate limits |
Generative K–O: NO for this traditional API surface.
7. API Failure vs Operation Failure
| Concept | Meaning | Examples in review |
|---|---|---|
| API / transport failure | Request not successfully processed as an API call; typically HTTP 4xx/5xx or connection errors | OpenAI 401/429/500; Gemini authentication/rate_limit_exceeded; AWS non-success + error codes; Azure/Cloudflare 429 |
| Operation failure (generative) | API accepts/returns a structured completion envelope, but requested generative outcome not delivered (blocked, refused, filtered, incomplete for safety) | Anthropic HTTP 200 + stop_reason: "refusal" (DOCUMENTED); Gemini finishReason SAFETY / prompt block (DOCUMENTED); OpenAI refusal / content_filter / incomplete (DOCUMENTED, path-dependent) |
Research implication: Equating “HTTP 200” or “SDK did not throw” with “customer request fulfilled as asked” is an evidentiary error for generative APIs (INFERRED from Anthropic stop-reasons vs errors distinction; consistent with Gemini/OpenAI structured non-delivery signals).
Traditional APIs largely collapse “failure” into HTTP/error taxonomy because the “operation” is the API method. Generative completions add a second axis.
8. Refusal Semantics
| Provider | Classifier / safety structured signal | Model-generated prose refusal | Validation / other |
|---|---|---|---|
| Anthropic | stop_reason: "refusal" + optional stop_details on HTTP 200 |
Ordinary text; not necessarily stop_reason: "refusal" |
HTTP 400 input/copyright validation |
| OpenAI | message.refusal (Structured Outputs); finish_reason/incomplete_details content_filter |
Outside documented Structured Outputs path: UNDETERMINED as first-class field | Invalid request / policy via HTTP errors separately |
finishReason SAFETY; promptFeedback.blockReason; generation blocked codes (safety, …); BlockedReason.OTHER |
Not established as distinct first-class “model refusal” code in reviewed pages | RECITATION; language; ToS/OTHER |
|
| AWS/Azure/CF | N/A | N/A | Classic errors only |
Key preservation: “Refusal” in natural language is not one technical state (Anthropic three paths — DOCUMENTED). Cross-provider analysis that collapses classifier HTTP-200 refusals, HTTP 400 validation, content filters, and prose refusals into one bucket loses predictive and economic meaning.
9. Quota and Billing
| Provider | Quota / spend visibility | Refusal-specific billing |
|---|---|---|
| Anthropic Messages API | Usage object on responses; conditional refusal billing by timing and category including 2026-09-24 exceptions | DOCUMENTED (API only; Claude.ai UNDETERMINED) |
| OpenAI | Tiers; spend limits; usage limits; credit_balance_exhausted and related codes; rate-limit headers |
UNDETERMINED in reviewed pages (NOT FOUND) |
| Google Gemini | Tiers; RPM/TPM/RPD; spend-based 429; Prepay payment_required 402 |
UNDETERMINED in reviewed pages (NOT FOUND) |
| AWS/Azure/CF | Cloud/API throttles and (elsewhere) cloud billing — not generative refusal billing | N/A |
Rule applied: REFUSAL ≠ NO RESOURCE CONSUMPTION ≠ NO BILLING unless documentation establishes the relationship for that case (DOCUMENTED Anthropic conditional rules; not invented for others).
10. Retry Semantics
| Context | Retry? | Sources |
|---|---|---|
| Transient / rate limit / overload | Often yes: backoff + Retry-After / provider headers | OpenAI, Gemini, AWS, Azure, Cloudflare |
| Billing / credits / spend / auth / validation 4xx | Generally no until customer action | OpenAI (explicit); Gemini (400/402/403); AWS non-retryable class |
| Anthropic classifier refusal | Docs: reset context; retry same model often fails; fallback/other model guidance | Archive + stop-reasons (refusal → read stop_details, fallback) |
| Safety block / content_filter | Modify input; blind identical retry often useless (INFERRED from “modify and retry” / filter semantics; Anthropic explicit for refusal) | Gemini troubleshooting; OpenAI filter handling examples |
| RECITATION (Gemini) | Make prompt unique; temperature notes | Troubleshooting |
Retry utility for generative operation failure is a different question from retry utility for 429/503. MVT-style “retry meaningful” flags must not conflate the two (HYPOTHETICAL design note).
11. UNKNOWN / Opaque States
| Form | Presence in review |
|---|---|
Named customer product field "UNKNOWN" |
UNCOMMON / NOT FOUND as literal product feature |
| Null / unspecified categories | Anthropic stop_details.category / explanation may be null (DOCUMENTED) |
| Catch-all block reasons | Gemini BlockedReason.OTHER; content_blocked; image_other (DOCUMENTED) |
Generic 5xx / api_error |
Opaque technical failure class (COMMON) |
| Natural-language refusal without code | Possible on chat UIs; out of scope empirical observation here except prior-chain context |
MVT implication (HYPOTHETICAL): When classification is withheld, an explicit UNKNOWN / unclassified customer node is more honest than fake precision — but that named field is not evidenced as industry-standard product UI.
12. Generative AI Delta
Relative to traditional API baseline (§4 / §6):
| Traditional | Generative addition |
|---|---|
| Success ≈ method completed | Success may mean “classified completion state returned,” not “content delivered as requested” |
| Failure ≈ HTTP/error | Additional operation-decline states: refusal, SAFETY finish, content_filter, generation blocked codes |
| Billing ≈ metered successful work / cloud SKU | Optional refusal economics (timing/category) — DOCUMENTED at least for Anthropic API; others UNDETERMINED |
| Retry ≈ backoff on transient | Plus “don’t retry same refusal; change model/context/input” |
Truly AI-specific (synthesis): the semantic execution boundary — valid authorized request, API-level success (or non-error envelope), operation declined by model/safety/policy machinery.
13. MVT Component Validation
Mapping prior hypothetical MVT components to industry status from this evidence set:
| MVT component | Industry status (this review) | Evidence basis |
|---|---|---|
| Capability declaration | ALREADY STANDARD | All providers publish model/API docs |
| Product/API surface distinction | COMMON | Messages vs Apps; Chat Completions vs Responses; generateContent vs Interactions; ARM vs data plane |
| Auth boundary | ALREADY STANDARD | API keys, org/project, 401/403 |
| Quota visibility | ALREADY STANDARD / COMMON | Tiers, consoles, headers (detail varies) |
| Rate-limit visibility | ALREADY STANDARD | 429 + headers across stack |
| Structured error taxonomy | ALREADY STANDARD | HTTP + typed codes |
| Retry semantics | ALREADY STANDARD for transport; PARTIAL for refusals | Backoff docs vs refusal-specific guidance |
| Usage/accounting visibility | COMMON (APIs) | usage objects / dashboards |
| Billing consequences | COMMON for quota/spend errors; PARTIAL for refusal-specific | Anthropic refusal billing DOCUMENTED; OpenAI/Google refusal billing UNDETERMINED |
| Policy/AUP classification | COMMON (docs + some machine codes) | Categories / blocked codes / stop_details |
| Content/safety refusal classification | COMMON in AI APIs | Anthropic refusal; Gemini SAFETY; OpenAI refusal/content_filter |
| Model-generated refusal semantics | PARTIAL / UNCOMMON as first-class distinct from classifier | Anthropic documents separation; OpenAI path-scoped refusal; Gemini less distinct in reviewed pages |
| Tool/agent failure semantics | PARTIAL | Anthropic tool_use/pause_turn; Gemini malformed_* tool codes; not full agent product standard |
| Partial execution semantics | PARTIAL | Streaming mid-refusal; max tokens; content_filter partial JSON |
| Explicit UNKNOWN state | UNCOMMON as named field; PARTIAL via null/OTHER/5xx | §11 |
14. Cross-Provider Matrix
Legend: YES = mechanism identified in primary docs in this review (not “better”). PARTIAL = incomplete / path-scoped / analog only. NO = not applicable or not present on reviewed surface. UNDETERMINED = not established by reviewed sources.
Dimensions:
- A Capability declaration
- B Product/API surface distinction
- C Authentication/account boundary
- D Quota visibility
- E Rate-limit visibility
- F Structured error taxonomy
- G Retry semantics
- H Usage/accounting visibility
- I Billing consequences
- J Policy/AUP classification
- K Content/safety refusal classification
- L Model-generated refusal semantics
- M Tool/agent failure semantics
- N Partial execution semantics
- O Unknown/unclassified state
| Dim | Anthropic (Messages API) | OpenAI (Platform docs reviewed) | Google (Gemini API) | AWS (retries doc) | Azure (ARM throttle) | Cloudflare (API limits) |
|---|---|---|---|---|---|---|
| A | YES | YES | YES | YES | YES | YES |
| B | YES | YES | YES | YES | YES | YES |
| C | YES | YES | YES | YES | YES | YES |
| D | YES | YES | YES | PARTIAL | PARTIAL | YES |
| E | YES | YES | YES | YES | YES | YES |
| F | YES | YES | YES | YES | YES | YES |
| G | YES | YES | YES | YES | YES | YES |
| H | YES | YES | PARTIAL | PARTIAL | PARTIAL | PARTIAL |
| I | YES (conditional refusal billing DOCUMENTED) | PARTIAL (spend/credit codes YES; refusal billing UNDETERMINED) | PARTIAL (402/spend-based 429 YES; refusal billing UNDETERMINED) | PARTIAL | PARTIAL | PARTIAL |
| J | PARTIAL (stop_details categories; AUP pages not re-fetched) |
PARTIAL | PARTIAL (safety + ToS/OTHER) |
PARTIAL (IAM/policy errors, not AUP content) | PARTIAL | PARTIAL |
| K | YES | PARTIAL | YES | NO | NO | NO |
| L | PARTIAL | PARTIAL | UNDETERMINED | NO | NO | NO |
| M | PARTIAL | UNDETERMINED | PARTIAL | NO | NO | NO |
| N | PARTIAL | PARTIAL | PARTIAL | NO | NO | NO |
| O | PARTIAL | UNDETERMINED | PARTIAL | PARTIAL (generic 5xx) | PARTIAL | PARTIAL |
Notes on NO for K–O (AWS/Azure/Cloudflare): Reviewed surfaces are traditional API infrastructure without a generative completion refusal layer. NO = layer not applicable / not present here, not a ranking judgment.
OpenAI I: Billing/quota error consequences are YES-level in error-codes/rate-limits docs; refusal-event billing remains UNDETERMINED → cell marked PARTIAL overall for I.
15. Adversarial Review
| ID | Counterclaim | Classification | Rationale |
|---|---|---|---|
| C1 | Traditional APIs already solve this | NARROWS | They solve transport/quota/auth/retry; they do not solve generative operation failure as HTTP-200/finishReason refusal (DOCUMENTED delta) |
| C2 | AI adds nothing new | DEFEATS (counterclaim defeated) | Evidence of HTTP 200 + refusal / SAFETY / content_filter contradicts “nothing new” |
| C3 | Model refusals = application-level errors | NARROWS | Some paths are HTTP errors (400 validation); classifier 200 ≠ HTTP error (DOCUMENTED Anthropic; Gemini safety feedback) |
| C4 | Billing enough without refusal class | NARROWS | Billing without class doesn’t explain why or retry utility; Anthropic separates usage, category, timing |
| C5 | Refusal classification gaming risks | SURVIVES as design tension / NARROWS MVT | Doesn’t defeat need for some coarse signal; argues against fine thresholds |
| C6 | Probabilistic output | NARROWS | Narrows predictability of content; doesn’t eliminate classification of non-execution |
| C7 | Terms only | NARROWS | Terms don’t give request-level machine-readable state |
| C8 | UNKNOWN unavoidable | NARROWS MVT | Push MVT to require explicit UNKNOWN when reason withheld — doesn’t defeat transparency goal |
| C9 | Provider-specific | NARROWS comparison | Heterogeneous fields complicate mapping; research still possible with careful labels |
| C10 | MVT repackages API concepts | SURVIVES partially / NARROWS | Much of MVT is established; AI execution-boundary + refusal economics is the novel slice |
16. Revised Minimum Viable Transparency
Evidence-driven revision of the HYPOTHETICAL MVT (not an industry standard claim).
| Change | Item | Status |
|---|---|---|
| Capability + surface map | Still required for predictability | UNCHANGED |
| Policy/AUP published categories | Still required | UNCHANGED |
| Quota / rate-limit behavior + visibility | Already standard in APIs | UNCHANGED (mark as ALREADY STANDARD) |
| Machine-readable non-execution class | error or stop_reason / finishReason / refusal / blockReason | REFINED |
| Billing/quota consequence of the event | none / partial / full — explicit | REFINED / ADDED emphasis (Anthropic shows separability) |
| Retry guidance | including “don’t blind-retry refusal” | UNCHANGED |
| Honest UNKNOWN / unclassified | when reason withheld | REFINED (honesty node; not claimed novel named UI) |
| Implication that structured refusal is novel | REMOVED | |
| Claim that UNKNOWN product field is uniquely innovative | REMOVED / WEAKENED | |
| HTTP vs content-path note (refusals may be HTTP 200) | ADDED | |
| Apply primarily to paid generative products | classic CRUD covered by HTTP | REFINED |
| Refusal-specific billing for all providers | REMOVED as universal requirement claim; retain as disclose if charged where applicable | |
| Model-generated refusal as mandatory distinct code for all | REFINED to PARTIAL/optional where providers only expose classifier/filter |
Revised minimum package (HYPOTHETICAL):
- Capability + surface map
- Policy/AUP categories
- Quota/rate-limit behavior + visibility
- Machine-readable non-execution class (transport error or generative stop/refusal/filter/block)
- Billing/quota consequence of that event (as applicable; don’t invent)
- Retry guidance appropriate to the class
- Explicit unclassified/opaque only when necessary (honest UNKNOWN)
17. Novelty Assessment
Selected outcome: C. A partially novel synthesis.
| Layer | Novelty |
|---|---|
| A–I style API governance (capability, auth, quota, rate limit, errors, retry, usage, spend) | Established across cloud and AI Platform docs |
| K-style safety/refusal machine signals in AI APIs | Common practice among reviewed AI providers (mechanisms differ) |
| L distinct model-generated refusal as first-class | Partial / uncommon |
| Refusal-specific billing rules | Documented at least for Anthropic API; not established for OpenAI/Google in reviewed pages |
| Named UNKNOWN product field | Uncommon |
| Synthesis framing “execution boundary for paid generative services” | Partially novel as packaging; substance = established practice + AI operation-failure axis |
Not selected: “wholly new invention” or “nothing but repackaging with zero AI delta.”
18. Evidence Gaps
| Gap | Status |
|---|---|
| Claude.ai consumer refusal UX / billing parity | UNDETERMINED |
| OpenAI refusal/content_filter billing | NOT FOUND in reviewed pages → UNDETERMINED |
| Gemini safety-block billing | NOT FOUND → UNDETERMINED |
| Uniform HTTP status for every Gemini safety path | UNDETERMINED (response-field path DOCUMENTED) |
| Azure OpenAI content safety / refusal APIs | Not fetched → out of scope / UNDETERMINED |
| Full Anthropic “How refusals are billed” standalone page body as separate exhibit | Archive notes PARTIAL isolation |
| Live OBSERVED billing ledger confirmation | Not performed this pass |
| xAI / Grok API primary docs in this matrix | Not in required provider list this deliverable |
| Tool/agent failure completeness across all AI providers | PARTIAL only |
| Whether undocumented mechanisms exist beyond reviewed pages | Always possible — NOT FOUND ≠ DOES NOT EXIST |
19. Final Findings
- Traditional cloud/API docs already document most transport and allowance transparency dimensions (A–G and related).
- Generative AI APIs document an additional operation-failure layer (K and related) that can occur without classic API failure.
- Anthropic Messages API provides a clear DOCUMENTED pattern: HTTP 200 +
stop_reason: "refusal"+ optionalstop_details+ conditional billing — not broadened to Claude.ai or model-prose refusals. - OpenAI documents programmatically detectable refusals/filters on Structured Outputs / related response fields (PARTIAL vs Anthropic’s general stop_reason); refusal billing UNDETERMINED here.
- Gemini documents structured safety blocking via finishReason/promptFeedback/blocked codes (DOCUMENTED); may be response-envelope operation failure (PARTIAL); refusal billing UNDETERMINED.
- AWS/Azure/Cloudflare validate the traditional baseline; generative K–O = NO on reviewed surfaces by scope.
- Billing consequence is a separate dimension from refusal class; only Anthropic’s conditional API rules are locked in this review.
- Explicit productized UNKNOWN is uncommon; null/OTHER/generic errors are partial analogs.
- Adversarial counters mostly NARROW MVT; C2’s “AI adds nothing” is defeated by primary evidence.
- Novelty is partial synthesis (C) — established API practice plus AI semantic execution boundary.
- Revised MVT removes unsupported novelty claims and keeps machine-readable class + economics + retry + honest opacity for generative products (HYPOTHETICAL).
- This document is not a ranking, not legal advice, and not proof of contractual entitlements.
20. Complete Source Register
20.1 Anthropic
SOURCE: Anthropic Docs — Stop reasons and fallback
URL: https://docs.anthropic.com/en/api/handling-stop-reasons
ACCESS DATE: 2026-10-01
DOCUMENT TITLE: Handling stop reasons (Messages API)
RELEVANT MECHANISM:stop_reasonvalues includingrefusal;stop_details; distinction from HTTP errors
WHAT IT ESTABLISHES: Classifier refusal as successful response field; vs 4xx/5xx
WHAT IT DOES NOT ESTABLISH: Claude.ai parity; billing ledger; that all refusals use this fieldSOURCE: Anthropic Docs — Handle streaming refusals
URL: https://docs.anthropic.com/en/docs/test-and-evaluate/strengthen-guardrails/handle-streaming-refusals
ACCESS DATE: 2026-10-01
DOCUMENT TITLE: Handle streaming refusals
RELEVANT MECHANISM: Streamingrefusal; usage on refusal; three refusal types; billing timing/category cross-ref
WHAT IT ESTABLISHES: Multi-path refusal semantics; conditional billing description
WHAT IT DOES NOT ESTABLISH: Consumer chat; live metering observationSOURCE: Anthropic — Claude Platform API release notes
URL: https://docs.anthropic.com/en/release-notes/api
ACCESS DATE: 2026-10-01
DOCUMENT TITLE: API release notes
RELEVANT MECHANISM: Dated entries 2026-05-28 (stop_details); 2026-06-02/06-09 (pre-output not billed); 2026-09-24 (resume billing forbio,frontier_llm,reasoning_extraction)
WHAT IT ESTABLISHES: Conditional category/timing billing changes on Claude API
WHAT IT DOES NOT ESTABLISH: Claude.ai; completeness of every category foreverSOURCE: Local archive
URL:/workspace/reports/anthropic_refusal_semantics_verification.md
ACCESS DATE: 2026-10-01
DOCUMENT TITLE: Anthropic Refusal Semantics and Billing — Primary-Source Verification
RELEVANT MECHANISM: Locked findings used verbatim
WHAT IT ESTABLISHES: Verification protocol outcome for Anthropic baseline
WHAT IT DOES NOT ESTABLISH: Cross-provider equivalence
20.2 OpenAI
SOURCE: OpenAI API — Error codes
URL: https://developers.openai.com/api/docs/guides/error-codes
ACCESS DATE: 2026-10-01
DOCUMENT TITLE: Error codes
RELEVANT MECHANISM: HTTP 400/401/403/429/500/503; billing codes; Retry-After notes; don’t retry billing
WHAT IT ESTABLISHES: Structured transport/account/quota error taxonomy
WHAT IT DOES NOT ESTABLISH: Refusal billing; generative stop_reason equivalentSOURCE: OpenAI API — Rate limits
URL: https://developers.openai.com/api/docs/guides/rate-limits
ACCESS DATE: 2026-10-01
DOCUMENT TITLE: Rate limits
RELEVANT MECHANISM: RPM/TPM; headers; tiers; spend limits; slow_down vs overload
WHAT IT ESTABLISHES: Rate/spend visibility and retry guidance
WHAT IT DOES NOT ESTABLISH: Safety refusal classification; refusal economicsSOURCE: OpenAI API — Structured Outputs
URL: https://developers.openai.com/api/docs/guides/structured-outputs
ACCESS DATE: 2026-10-01
DOCUMENT TITLE: Structured model outputs
RELEVANT MECHANISM: Explicit refusals;refusalfield;content_filter;incomplete_details.reason
WHAT IT ESTABLISHES: Programmatically detectable safety refusals on Structured Outputs path; filter/incomplete reasons
WHAT IT DOES NOT ESTABLISH: Identity with Anthropicstop_reason; billing of refusals; all API surfaces equally
20.3 Google Gemini
SOURCE: Gemini API — Safety settings
URL: https://ai.google.dev/gemini-api/docs/safety-settings
ACCESS DATE: 2026-10-01 (page “Last updated 2026-09-17 UTC”)
DOCUMENT TITLE: Safety settings
RELEVANT MECHANISM: HarmCategory; thresholds; promptFeedback; finishReason SAFETY; safetyRatings
WHAT IT ESTABLISHES: Structured safety blocking feedback; blocked content not returned
WHAT IT DOES NOT ESTABLISH: Refusal billing; that every block is HTTP errorSOURCE: Gemini API — Troubleshooting
URL: https://ai.google.dev/gemini-api/docs/troubleshooting
ACCESS DATE: 2026-10-01 (page “Last updated 2026-09-20 UTC”)
DOCUMENT TITLE: Troubleshooting guide
RELEVANT MECHANISM: Retry 429/503; don’t retry 400/402/403; BlockedReason.OTHER; RECITATION
WHAT IT ESTABLISHES: Retry classification; OTHER/ToS; recitation handling
WHAT IT DOES NOT ESTABLISH: Full billing matrix for blocksSOURCE: Gemini API — Rate limits
URL: https://ai.google.dev/gemini-api/docs/rate-limits
ACCESS DATE: 2026-10-01 (page “Last updated 2026-09-02 UTC”)
DOCUMENT TITLE: Rate limits
RELEVANT MECHANISM: RPM/TPM/RPD; tiers; spend-based 429 RESOURCE_EXHAUSTED
WHAT IT ESTABLISHES: Quota/rate/spend throttle signals
WHAT IT DOES NOT ESTABLISH: Safety refusal economicsSOURCE: Gemini API — API errors
URL: https://ai.google.dev/gemini-api/docs/api-errors
ACCESS DATE: 2026-10-01 (page “Last updated 2026-09-20 UTC”)
DOCUMENT TITLE: API errors
RELEVANT MECHANISM: Standard codes; generation blocked codes; generation error codes; Interactions delivery framing
WHAT IT ESTABLISHES: Machine-readable blocked/generation error vocabulary
WHAT IT DOES NOT ESTABLISH: That generateContent always uses the same HTTP error delivery as Interactions API
20.4 Traditional infrastructure
SOURCE: AWS SDKs and Tools — Retry behavior
URL: https://docs.aws.amazon.com/general/latest/gr/api-retries.html
ACCESS DATE: 2026-10-01
DOCUMENT TITLE: Retry behavior
RELEVANT MECHANISM: Transient/throttling/non-retryable; backoff; retry quota;x-amz-retry-after
WHAT IT ESTABLISHES: Mature traditional retry taxonomy
WHAT IT DOES NOT ESTABLISH: Generative refusal semanticsSOURCE: Microsoft Learn — ARM throttling
URL: https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/request-limits-and-throttling
ACCESS DATE: 2026-10-01
DOCUMENT TITLE: Understand how Azure Resource Manager throttles requests
RELEVANT MECHANISM: 429; Retry-After;x-ms-ratelimit-remaining-*; token bucket
WHAT IT ESTABLISHES: ARM control-plane throttle transparency
WHAT IT DOES NOT ESTABLISH: Azure OpenAI safety/refusal (not fetched)SOURCE: Cloudflare Fundamentals — Rate limits
URL: https://developers.cloudflare.com/fundamentals/api/reference/limits/
ACCESS DATE: 2026-10-01 (page “Last updated Aug 25, 2026”)
DOCUMENT TITLE: Rate limits
RELEVANT MECHANISM: 429; Ratelimit / Ratelimit-Policy / retry-after; token limits
WHAT IT ESTABLISHES: Traditional API limit headers and 429 behavior
WHAT IT DOES NOT ESTABLISH: Generative refusal layer
20.5 Prior research artifacts
SOURCE: Hypothetical MVT spec
URL:/workspace/reports/xAI_AI_Service_Execution_Transparency_Spec.md
ACCESS DATE: 2026-10-01
DOCUMENT TITLE: What Would a Transparent Execution Boundary for Paid AI Services Look Like?
RELEVANT MECHANISM: Hypothetical MVT A–O style components
WHAT IT ESTABLISHES: Research construct under test
WHAT IT DOES NOT ESTABLISH: Industry standard or legal dutySOURCE: Prior comparative draft
URL:/workspace/reports/xAI_MVT_Comparative_Validation.md
ACCESS DATE: 2026-10-01
DOCUMENT TITLE: Comparative Validation of the AI Service Execution Transparency Model (MVT)
RELEVANT MECHANISM: Earlier matrix; superseded/extended by this archival deliverable for listed providers
WHAT IT ESTABLISHES: Prior working hypotheses
WHAT IT DOES NOT ESTABLISH: Final cross-provider primary completeness (OpenAI was partially UNDETERMINED there due to login walls; this pass used developers.openai.com guides successfully)
WHAT WE ACTUALLY LEARNED
- Traditional APIs (AWS retries, Azure ARM, Cloudflare limits) already document capability, auth, quota/rate-limit signals, structured errors, and retry classification — so most of MVT A–G is not new.
- Generative AI does add a documented execution-boundary layer: authorized requests can return non-error envelopes where content is refused/filtered/blocked (Anthropic
stop_reason: "refusal"on HTTP 200; GeminifinishReason SAFETY/ block reasons; OpenAIrefusal/content_filter). - Anthropic’s Messages API baseline must stay narrow: HTTP 200 +
refusal+ optionalstop_details, three refusal paths, conditional API billing with 2026-09-24 category exceptions; Claude.ai and model-prose refusals remain outside that lock. - OpenAI’s detectable refusal is PARTIAL (Structured Outputs /
refusal/ filter incomplete reasons), not the same general stop_reason mechanism; refusal billing was NOT FOUND in reviewed pages. - Gemini’s safety blocking is DOCUMENTED with structured signals and may appear as response fields rather than only HTTP errors; refusal-specific billing remains UNDETERMINED.
- For AWS/Azure/Cloudflare, generative dimensions K–O are NO because those reviewed surfaces lack a generative refusal layer — that is scope, not a ranking.
- Billing consequence is separable from refusal class; inventing cross-provider refusal billing rules would be invalid — only Anthropic’s conditional API rules are established here.
- Explicit productized UNKNOWN is uncommon; null categories, OTHER, and generic 5xx are partial analogs, so MVT should treat UNKNOWN as an honesty node, not a claimed industry UI standard.
- Adversarial review: C2 (“AI adds nothing”) is defeated; C1/C3/C4/C6–C10 narrow claims; C5 survives as a design tension that coarsens disclosure.
- Novelty is C — partially novel synthesis: established API transparency plus the AI-specific semantic gap between API success and generative operation success; revised MVT drops unsupported novelty and keeps class + economics + retry + honest opacity for paid generative products.
End of archival deliverable.