{
  "api_config": {
    "providers": {
      "anthropic": {
        "sap_cache_read_token_billing_factor": 1.0,
        "sap_cache_write_token_billing_factor": 1.0,
        "anthropic_bedrock_version": "bedrock-2023-05-31",
        "excluded_beta_headers": [
          "prompt-caching-scope-2026-01-05",
          "redact-thinking-2026-02-12",
          "thinking-token-count-2026-05-13",
          "structured-outputs-2025-12-15",
          "fallback-credit-2026-06-01"
        ],
        "supported_beta_headers": [
          "claude-code-20250219",
          "context-1m-2025-08-07",
          "interleaved-thinking-2025-05-14",
          "context-management-2025-06-27",
          "effort-2025-11-24",
          "mid-conversation-system-2026-04-07",
          "afk-mode-2026-01-31",
          "fine-grained-tool-streaming-2025-05-14",
          "tool-search-tool-2025-10-19"
        ],
        "beta_header_renames": {
          "advanced-tool-use-2025-11-20": "tool-search-tool-2025-10-19"
        },
        "emulate_streaming_for_models": [
          "anthropic--claude-4-opus"
        ],
        "substitute_models": [
          {
            "from": "claude-3-5-haiku-20241022",
            "to": "anthropic--claude-4.5-haiku--deployed"
          },
          {
            "from": "claude-3-5-sonnet-20240229",
            "to": "anthropic--claude-3.5-sonnet--deployed"
          },
          {
            "from": "claude-sonnet-4-20250514",
            "to": "anthropic--claude-4-sonnet--deployed"
          },
          {
            "from": "claude-opus-4-20250514",
            "to": "anthropic--claude-4-opus--deployed"
          },
          {
            "from": "claude-opus-4-1-20250805",
            "to": "anthropic--claude-4-opus--deployed"
          },
          {
            "from": "claude-haiku-4-5-20251001",
            "to": "anthropic--claude-4.5-haiku--deployed"
          },
          {
            "from": "claude-sonnet-4-5-20250929",
            "to": "anthropic--claude-4.5-sonnet--deployed"
          },
          {
            "from": "claude-opus-4-5-20251101",
            "to": "anthropic--claude-4.5-opus--deployed"
          },
          {
            "from": "claude-sonnet-4-6",
            "to": "anthropic--claude-4.6-sonnet--deployed"
          },
          {
            "from": "claude-opus-4-6",
            "to": "anthropic--claude-4.6-opus--deployed"
          },
          {
            "from": "claude-opus-4-7",
            "to": "anthropic--claude-4.7-opus--deployed"
          },
          {
            "from": "claude-opus-4-8",
            "to": "anthropic--claude-4.8-opus--deployed"
          },
          {
            "from": "claude-opus-5",
            "to": "anthropic--claude-4.8-opus--deployed"
          },
          {
            "from": "claude-fable-5",
            "to": "anthropic--claude-4.8-opus--deployed"
          }
        ]
      },
      "aws-bedrock": {
        "anthropic_bedrock_version": "bedrock-2023-05-31",
        "emulate_streaming_for_models": [
          "anthropic--claude-4-opus"
        ],
        "substitute_models": [
          {
            "from": "us.anthropic.claude-3-5-haiku-20241022-v1:0",
            "to": "anthropic--claude-4.5-haiku--deployed"
          },
          {
            "from": "us.anthropic.claude-3-5-sonnet-20241022-v2:0",
            "to": "anthropic--claude-3.5-sonnet--deployed"
          },
          {
            "from": "us.anthropic.claude-sonnet-4-20250514-v1:0",
            "to": "anthropic--claude-4-sonnet--deployed"
          },
          {
            "from": "us.anthropic.claude-opus-4-20250514-v1:0",
            "to": "anthropic--claude-4-opus--deployed"
          },
          {
            "from": "us.anthropic.claude-opus-4-1-20250805-v1:0",
            "to": "anthropic--claude-4-opus--deployed"
          },
          {
            "from": "us.anthropic.claude-haiku-4-5-20251001-v1:0",
            "to": "anthropic--claude-4.5-haiku--deployed"
          },
          {
            "from": "us.anthropic.claude-sonnet-4-5-20250929-v1:0",
            "to": "anthropic--claude-4.5-sonnet--deployed"
          },
          {
            "from": "us.anthropic.claude-opus-4-5-20251101-v1:0",
            "to": "anthropic--claude-4.5-opus--deployed"
          },
          {
            "from": "us.anthropic.claude-sonnet-4-6",
            "to": "anthropic--claude-4.6-sonnet--deployed"
          },
          {
            "from": "anthropic.claude-opus-4-6-v1",
            "to": "anthropic--claude-4.6-opus--deployed"
          },
          {
            "from": "anthropic.claude-opus-4-7",
            "to": "anthropic--claude-4.7-opus--deployed"
          },
          {
            "from": "anthropic.claude-opus-4-8",
            "to": "anthropic--claude-4.8-opus--deployed"
          }
        ]
      },
      "google": {
        "substitute_models": []
      },
      "openai": {
        "emulate_streaming_for_models": [
          "anthropic--claude-4-opus"
        ],
        "openai_deployment_api_version": "2024-10-01-preview",
        "substitute_models": []
      },
      "openrouter": {
        "default_pricing": {
          "completion": "0.000005",
          "image": "0.001",
          "prompt": "0.000001"
        },
        "model_mappings": [
          {
            "default_context_length": 128000,
            "id_prefix": "openai",
            "provider": "OpenAI"
          },
          {
            "default_context_length": 200000,
            "id_prefix": "anthropic",
            "max_tokens": 4096,
            "provider": "Anthropic"
          },
          {
            "default_context_length": 1000000,
            "id_prefix": "google",
            "provider": "Google"
          },
          {
            "default_context_length": 128000,
            "id_prefix": "mistralai",
            "provider": "Mistral AI"
          }
        ],
        "substitute_models": [
          {
            "from": "gemini-2.5-flash-lite-preview-06-17",
            "to": "gemini-2.5-flash"
          }
        ]
      },
      "perplexity": {
        "unsupported_params": [
          "tools",
          "tool_choice",
          "response_format"
        ]
      }
    },
    "models": {
        "overrides": {
          "anthropic--claude-3.5-sonnet--deployed": {
            "streamingSupported": true,
            "anthropic_version": "bedrock-2023-05-31",
            "subpaths_emulated": [],
            "subpaths_native": [
              "invoke",
              "invoke-with-response-stream",
              "converse",
              "converse-stream"
            ]
          },
          "anthropic--claude-4-sonnet--deployed": {
            "anthropic_version": "bedrock-2023-05-31",
            "cachePricing": {
              "cacheReadInputCostPer1K": "0.00020",
              "cacheCreationInputCostPer1K": "0.00254"
            },
            "hooks": {
              "invoke": [
                {
                  "request": {
                    "callback": {
                      "id": "pseudonymizationPlugin"
                    },
                    "match": [
                      "header:contentTypeJson"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "webSearchPlugin"
                    },
                    "match": [
                      "header:contentTypeJson",
                      "tools:hasWebSearch"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "removeEmptyAssistantMessages"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "awsBedrockResponseCache"
                    },
                    "match": [
                      "size:min61kb"
                    ]
                  }
                }
              ],
              "invoke-with-response-stream": [
                {
                  "request": {
                    "callback": {
                      "id": "pseudonymizationPlugin"
                    },
                    "match": [
                      "header:contentTypeJson"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "webSearchPlugin"
                    },
                    "match": [
                      "header:contentTypeJson",
                      "tools:hasWebSearch"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "removeEmptyAssistantMessages"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "awsBedrockResponseCache"
                    },
                    "match": [
                      "size:min61kb"
                    ]
                  }
                }
              ]
            },
            "streamingSupported": true,
            "subpaths_emulated": [],
            "subpaths_native": [
              "invoke",
              "invoke-with-response-stream",
              "converse",
              "converse-stream"
            ],
            "pseudonymization": {
              "enabled": true,
              "method": "pseudonymization"
            }
          },
          "anthropic--claude-4-opus--deployed": {
            "streamingSupported": true,
            "subpaths_emulated": [],
            "subpaths_native": [
              "invoke",
              "invoke-with-response-stream",
              "converse",
              "converse-stream"
            ],
            "anthropic_version": "bedrock-2023-05-31",
            "cachePricing": {
              "cacheReadInputCostPer1K": "0.00099",
              "cacheCreationInputCostPer1K": "0.01236"
            },
            "hooks": {
              "invoke": [
                {
                  "request": {
                    "callback": {
                      "id": "pseudonymizationPlugin"
                    },
                    "match": [
                      "header:contentTypeJson"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "webSearchPlugin"
                    },
                    "match": [
                      "header:contentTypeJson",
                      "tools:hasWebSearch"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "removeEmptyAssistantMessages"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "awsBedrockResponseCache"
                    },
                    "match": [
                      "size:min61kb"
                    ]
                  }
                }
              ],
              "invoke-with-response-stream": [
                {
                  "request": {
                    "callback": {
                      "id": "pseudonymizationPlugin"
                    },
                    "match": [
                      "header:contentTypeJson"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "webSearchPlugin"
                    },
                    "match": [
                      "header:contentTypeJson",
                      "tools:hasWebSearch"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "removeEmptyAssistantMessages"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "awsBedrockResponseCache"
                    },
                    "match": [
                      "size:min61kb"
                    ]
                  }
                }
              ]
            }
          },
          "anthropic--claude-4.5-haiku--deployed": {
            "anthropic_version": "bedrock-2023-05-31",
            "cachePricing": {
              "cacheReadInputCostPer1K": "0.00008",
              "cacheCreationInputCostPer1K": "0.00099"
            },
            "hooks": {
              "invoke": [
                {
                  "request": {
                    "callback": {
                      "id": "pseudonymizationPlugin"
                    },
                    "match": [
                      "header:contentTypeJson"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "webSearchPlugin"
                    },
                    "match": [
                      "header:contentTypeJson",
                      "tools:hasWebSearch"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "removeEmptyAssistantMessages"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "awsBedrockResponseCache"
                    },
                    "match": [
                      "size:min61kb"
                    ]
                  }
                }
              ],
              "invoke-with-response-stream": [
                {
                  "request": {
                    "callback": {
                      "id": "pseudonymizationPlugin"
                    },
                    "match": [
                      "header:contentTypeJson"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "webSearchPlugin"
                    },
                    "match": [
                      "header:contentTypeJson",
                      "tools:hasWebSearch"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "removeEmptyAssistantMessages"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "awsBedrockResponseCache"
                    },
                    "match": [
                      "size:min61kb"
                    ]
                  }
                }
              ]
            },
            "streamingSupported": true,
            "subpaths_emulated": [],
            "subpaths_native": [
              "invoke",
              "invoke-with-response-stream",
              "converse",
              "converse-stream"
            ]
          },
          "anthropic--claude-4.5-sonnet--deployed": {
            "anthropic_version": "bedrock-2023-05-31",
            "cachePricing": {
              "cacheReadInputCostPer1K": "0.00020",
              "cacheCreationInputCostPer1K": "0.00254"
            },
            "hooks": {
              "invoke": [
                {
                  "request": {
                    "callback": {
                      "id": "pseudonymizationPlugin"
                    },
                    "match": [
                      "header:contentTypeJson"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "webSearchPlugin"
                    },
                    "match": [
                      "header:contentTypeJson",
                      "tools:hasWebSearch"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "stripCacheControlScope"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "repairToolBlocks"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "removeEmptyAssistantMessages"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "awsBedrockResponseCache"
                    },
                    "match": [
                      "size:min61kb"
                    ]
                  }
                }
              ],
              "invoke-with-response-stream": [
                {
                  "request": {
                    "callback": {
                      "id": "pseudonymizationPlugin"
                    },
                    "match": [
                      "header:contentTypeJson"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "webSearchPlugin"
                    },
                    "match": [
                      "header:contentTypeJson",
                      "tools:hasWebSearch"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "stripCacheControlScope"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "repairToolBlocks"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "removeEmptyAssistantMessages"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "awsBedrockResponseCache"
                    },
                    "match": [
                      "size:min61kb"
                    ]
                  }
                }
              ]
            },
            "streamingSupported": true,
            "subpaths_emulated": [],
            "subpaths_native": [
              "invoke",
              "invoke-with-response-stream",
              "converse",
              "converse-stream"
            ]
          },
          "anthropic--claude-4.6-sonnet--deployed": {
            "anthropic_version": "bedrock-2023-05-31",
            "inject_beta_features": [
              "context-1m-2025-08-07"
            ],
            "contextLength": 1048576,
            "cachePricing": {
              "cacheReadInputCostPer1K": "0.00020",
              "cacheCreationInputCostPer1K": "0.00254"
            },
            "hooks": {
              "invoke": [
                {
                  "request": {
                    "callback": {
                      "id": "pseudonymizationPlugin"
                    },
                    "match": [
                      "header:contentTypeJson"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "webSearchPlugin"
                    },
                    "match": [
                      "header:contentTypeJson",
                      "tools:hasWebSearch"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "stripCacheControlScope"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "repairToolBlocks"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "removeEmptyAssistantMessages"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "awsBedrockResponseCache"
                    },
                    "match": [
                      "size:min61kb"
                    ]
                  }
                }
              ],
              "invoke-with-response-stream": [
                {
                  "request": {
                    "callback": {
                      "id": "pseudonymizationPlugin"
                    },
                    "match": [
                      "header:contentTypeJson"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "webSearchPlugin"
                    },
                    "match": [
                      "header:contentTypeJson",
                      "tools:hasWebSearch"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "stripCacheControlScope"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "repairToolBlocks"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "removeEmptyAssistantMessages"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "awsBedrockResponseCache"
                    },
                    "match": [
                      "size:min61kb"
                    ]
                  }
                }
              ]
            },
            "streamingSupported": true,
            "subpaths_emulated": [],
            "subpaths_native": [
              "invoke",
              "invoke-with-response-stream",
              "converse",
              "converse-stream"
            ]
          },
          "anthropic--claude-4.5-opus--deployed": {
            "anthropic_version": "bedrock-2023-05-31",
            "cachePricing": {
              "cacheReadInputCostPer1K": "0.00037",
              "cacheCreationInputCostPer1K": "0.00459"
            },
            "hooks": {
              "invoke": [
                {
                  "request": {
                    "callback": {
                      "id": "pseudonymizationPlugin"
                    },
                    "match": [
                      "header:contentTypeJson"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "webSearchPlugin"
                    },
                    "match": [
                      "header:contentTypeJson",
                      "tools:hasWebSearch"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "stripCacheControlScope"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "repairToolBlocks"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "removeEmptyAssistantMessages"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "awsBedrockResponseCache"
                    },
                    "match": [
                      "size:min61kb"
                    ]
                  }
                }
              ],
              "invoke-with-response-stream": [
                {
                  "request": {
                    "callback": {
                      "id": "pseudonymizationPlugin"
                    },
                    "match": [
                      "header:contentTypeJson"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "webSearchPlugin"
                    },
                    "match": [
                      "header:contentTypeJson",
                      "tools:hasWebSearch"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "stripCacheControlScope"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "repairToolBlocks"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "removeEmptyAssistantMessages"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "awsBedrockResponseCache"
                    },
                    "match": [
                      "size:min61kb"
                    ]
                  }
                }
              ]
            },
            "streamingSupported": true,
            "subpaths_emulated": [],
            "subpaths_native": [
              "invoke",
              "invoke-with-response-stream",
              "converse",
              "converse-stream"
            ]
          },
          "anthropic--claude-4.6-opus--deployed": {
            "anthropic_version": "bedrock-2023-05-31",
            "inject_beta_features": [],
            "contextLength": 1048576,
            "cachePricing": {
              "cacheReadInputCostPer1K": "0.00037",
              "cacheCreationInputCostPer1K": "0.00459"
            },
            "hooks": {
              "invoke": [
                {
                  "request": {
                    "callback": {
                      "id": "pseudonymizationPlugin"
                    },
                    "match": [
                      "header:contentTypeJson"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "webSearchPlugin"
                    },
                    "match": [
                      "header:contentTypeJson",
                      "tools:hasWebSearch"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "resizeOversizedImages"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "stripCacheControlScope"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "repairToolBlocks"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "removeEmptyAssistantMessages"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "awsBedrockResponseCache"
                    },
                    "match": [
                      "size:min61kb"
                    ]
                  }
                }
              ],
              "invoke-with-response-stream": [
                {
                  "request": {
                    "callback": {
                      "id": "pseudonymizationPlugin"
                    },
                    "match": [
                      "header:contentTypeJson"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "webSearchPlugin"
                    },
                    "match": [
                      "header:contentTypeJson",
                      "tools:hasWebSearch"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "resizeOversizedImages"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "stripCacheControlScope"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "repairToolBlocks"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "removeEmptyAssistantMessages"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "awsBedrockResponseCache"
                    },
                    "match": [
                      "size:min61kb"
                    ]
                  }
                }
              ]
            },
            "streamingSupported": true,
            "subpaths_emulated": [],
            "subpaths_native": [
              "invoke",
              "invoke-with-response-stream",
              "converse",
              "converse-stream"
            ]
          },
          "anthropic--claude-4.7-opus--deployed": {
            "anthropic_version": "bedrock-2023-05-31",
            "inject_beta_features": [],
            "contextLength": 1048576,
            "cachePricing": {
              "cacheReadInputCostPer1K": "0.00037",
              "cacheCreationInputCostPer1K": "0.00459"
            },
            "hooks": {
              "invoke": [
                {
                  "request": {
                    "callback": {
                      "id": "pseudonymizationPlugin"
                    },
                    "match": [
                      "header:contentTypeJson"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "webSearchPlugin"
                    },
                    "match": [
                      "header:contentTypeJson",
                      "tools:hasWebSearch"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "resizeOversizedImages"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "stripCacheControlScope"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "repairToolBlocks"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "removeEmptyAssistantMessages"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "awsBedrockResponseCache"
                    },
                    "match": [
                      "size:min61kb"
                    ]
                  }
                }
              ],
              "invoke-with-response-stream": [
                {
                  "request": {
                    "callback": {
                      "id": "pseudonymizationPlugin"
                    },
                    "match": [
                      "header:contentTypeJson"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "webSearchPlugin"
                    },
                    "match": [
                      "header:contentTypeJson",
                      "tools:hasWebSearch"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "resizeOversizedImages"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "stripCacheControlScope"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "repairToolBlocks"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "removeEmptyAssistantMessages"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "awsBedrockResponseCache"
                    },
                    "match": [
                      "size:min61kb"
                    ]
                  }
                }
              ]
            },
            "streamingSupported": true,
            "subpaths_emulated": [],
            "subpaths_native": [
              "invoke",
              "invoke-with-response-stream",
              "converse",
              "converse-stream"
            ]
          },
          "anthropic--claude-4.8-opus--deployed": {
            "anthropic_version": "bedrock-2023-05-31",
            "inject_beta_features": [],
            "contextLength": 1048576,
            "cachePricing": {
              "cacheReadInputCostPer1K": "0.00037",
              "cacheCreationInputCostPer1K": "0.00459"
            },
            "hooks": {
              "invoke": [
                {
                  "request": {
                    "callback": {
                      "id": "pseudonymizationPlugin"
                    },
                    "match": [
                      "header:contentTypeJson"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "webSearchPlugin"
                    },
                    "match": [
                      "header:contentTypeJson",
                      "tools:hasWebSearch"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "resizeOversizedImages"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "stripCacheControlScope"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "repairToolBlocks"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "removeEmptyAssistantMessages"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "awsBedrockResponseCache"
                    },
                    "match": [
                      "size:min61kb"
                    ]
                  }
                }
              ],
              "invoke-with-response-stream": [
                {
                  "request": {
                    "callback": {
                      "id": "pseudonymizationPlugin"
                    },
                    "match": [
                      "header:contentTypeJson"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "webSearchPlugin"
                    },
                    "match": [
                      "header:contentTypeJson",
                      "tools:hasWebSearch"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "resizeOversizedImages"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "stripCacheControlScope"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "repairToolBlocks"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "removeEmptyAssistantMessages"
                    },
                    "match": [
                      "header:x-app=cli"
                    ]
                  }
                },
                {
                  "request": {
                    "callback": {
                      "id": "awsBedrockResponseCache"
                    },
                    "match": [
                      "size:min61kb"
                    ]
                  }
                }
              ]
            },
            "streamingSupported": true,
            "subpaths_emulated": [],
            "subpaths_native": [
              "invoke",
              "invoke-with-response-stream",
              "converse",
              "converse-stream"
            ]
          },
          "anthropic--claude-4.8-opus": {},
          "amazon--titan-text-express": {
            "streamingSupported": false
          },
          "amazon--titan-text-lite": {
            "streamingSupported": false
          },
          "amazon--nova-pro": {
            "streamingSupported": false
          },
          "amazon--nova-lite": {
            "streamingSupported": false
          },
          "amazon--nova-micro": {
            "streamingSupported": false
          },
          "mistralai--mistral-large-instruct": {
            "streamingSupported": false
          },
          "mistralai--mistral-small-instruct": {
            "streamingSupported": false
          },
          "gpt-35-turbo-0125": {
            "streamingSupported": false
          },
          "o3-mini": {
            "streamingSupported": false
          },
          "o1": {
            "streamingSupported": false
          },
          "sonar": {
            "streamingSupported": false
          },
          "sonar-pro": {
            "streamingSupported": false
          },
          "sap-rpt-1-small--deployed": { "streamingSupported": false, "subpaths_emulated": [], "subpaths_native": ["predict", "predict-parquet"] },
          "sap-rpt-1-large--deployed": { "streamingSupported": false, "subpaths_emulated": [], "subpaths_native": ["predict", "predict-parquet"] },
          "sap-rpt-1.5--deployed": { "streamingSupported": false, "subpaths_emulated": [], "subpaths_native": ["predict", "predict-parquet"] },
          "sap-rpt-1.5-large--deployed": { "streamingSupported": false, "subpaths_emulated": [], "subpaths_native": ["predict", "predict-parquet"] },
          "sap-rpt-1.6--deployed": { "streamingSupported": false, "subpaths_emulated": [], "subpaths_native": ["predict", "predict-parquet"] },
          "sap-rpt-1.6-large--deployed": { "streamingSupported": false, "subpaths_emulated": [], "subpaths_native": ["predict", "predict-parquet"] }
        }
    },
    "capabilities": {
      "web_search": {
        "max_searches_per_request": 3
      },
      "file_search": {
        "enabled": true,
        "embedding_model": "text-embedding-3-large",
        "embedding_dimensions": 1536,
        "rewrite_query": false,
        "rewrite_query_model": "gpt-5-mini",
        "hybrid": {
          "rrf_k": 60,
          "lexical_enabled": true,
          "lexical_query": "any",
          "candidates": 50,
          "rerank": { "enabled": "auto", "model": "cohere-reranker", "input": "context_and_text" }
        },
        "ann": { "enabled": false, "exact_max_chunks": 20000, "min_fraction": 0.05 },
        "chunking": { "strategy": "structure", "max_chunk_size_tokens": 800, "chunk_overlap_tokens": 0, "contextual": true },
        "contextual": {
          "model": "gemini-3.5-flash-lite",
          "max_document_tokens": 32000,
          "concurrency": 4,
          "request_timeout_ms": 30000,
          "file_deadline_ms": 360000,
          "max_input_tokens_per_file": 20000000
        },
        "parent_sections": { "max_tokens": 1500, "scope": "tool" },
        "limits": { "max_file_bytes": 33554432, "max_tokens_per_file": 5000000, "max_files_per_store": 10000 },
        "ingestion": { "concurrency": 4, "extract_timeout_ms": 60000, "max_retries": 3 },
        "parsing": {
          "ocr": { "languages": ["eng"] },
          "vision": { "model": "gemini-3.5-flash-lite", "default_mode": "off", "max_pages_per_file": 50 }
        },
        "blob_storage": {
          "backend": "db",
          "local_path": "/var/lib/sail-proxy/blobs",
          "s3": { "bucket": "", "prefix": "sail-proxy/blobs", "endpoint": "", "region": "" }
        },
        "teacher_logging": {
          "enabled": false,
          "store_chunk_text": false,
          "sample_rate": 1.0,
          "source": "production",
          "max_concurrent_writes": 2
        },
        "tool": {
          "enabled": true,
          "max_searches_per_request": 3,
          "max_num_results_default": 10
        }
      },
      "hosted_tools": {
        "result_cache_ttl_seconds": 3600,
        "result_cache_max_entries": 500
      },
      "namespace_tools": {
        "mode": "flatten"
      },
      "custom_tools": {
        "mode": "translate"
      },
      "tool_search": {
        "mode": "translate",
        "hoist_discovered_tools": true
      }
    },
    "hooks": {
      "definitions": {
        "anthropic:all": {
          "desc": "Match any URL containing 'anthropic'",
          "flags": "i",
          "regex": "anthropic",
          "type": "url-regex"
        },
        "header:x-app=cli": {
          "equals": "cli",
          "name": "x-app",
          "type": "header"
        },
        "size:min10kb": {
          "desc": "Cache requests with content-length >= 10 KB",
          "from": 10240,
          "name": "content-length",
          "to": 999999999,
          "type": "header"
        },
        "size:min61kb": {
          "desc": "Cache requests with content-length >= 61 KB",
          "from": 61440,
          "name": "content-length",
          "to": 999999999,
          "type": "header"
        },
        "tools:hasFileSearch": {
          "desc": "Match requests containing a file_search tool",
          "type": "json-path-regex",
          "path": "$.tools",
          "regex": "file_search",
          "flags": "i"
        },
        "tools:hasWebSearch": {
          "desc": "Match requests containing web_search tool",
          "type": "json-path-regex",
          "path": "$.tools",
          "regex": "web_search",
          "flags": "i"
        },
        "payload:any": {
          "type": "json-path-regex",
          "path": "$.model",
          "regex": ".",
          "flags": ""
        },
        "header:contentTypeJson": {
          "type": "header",
          "name": "content-type",
          "equals": "application/json"
        }
      },
      "defaults": {
        "anthropic": {
          "pseudonymization": {
            "enabled": true,
            "method": "pseudonymization",
            "allow_user_bypass": false
          },
          "invoke": [
            {
              "request": {
                "callback": {
                  "id": "pseudonymizationPlugin"
                },
                "match": [
                  "header:contentTypeJson"
                ]
              }
            }
          ],
          "invoke-with-response-stream": [
            {
              "request": {
                "callback": {
                  "id": "pseudonymizationPlugin"
                },
                "match": [
                  "header:contentTypeJson"
                ]
              }
            }
          ]
        },
        "openai": {
          "pseudonymization": {
            "enabled": true,
            "method": "pseudonymization",
            "allow_user_bypass": false
          },
          "invoke": [
            {
              "request": {
                "callback": {
                  "id": "pseudonymizationPlugin"
                },
                "match": [
                  "header:contentTypeJson"
                ]
              }
            }
          ],
          "invoke-with-response-stream": [
            {
              "request": {
                "callback": {
                  "id": "pseudonymizationPlugin"
                },
                "match": [
                  "header:contentTypeJson"
                ]
              }
            }
          ],
          "responses": [
            {
              "request": {
                "callback": { "id": "pseudonymizationPlugin" },
                "match": ["header:contentTypeJson"]
              }
            },
            {
              "request": {
                "callback": { "id": "responsesImagePlugin" },
                "match": ["header:contentTypeJson"]
              }
            },
            {
              "request": {
                "callback": { "id": "responsesWebSearchPlugin" },
                "match": ["header:contentTypeJson", "tools:hasWebSearch"]
              }
            },
            {
              "request": {
                "callback": { "id": "responsesFileSearchPlugin" },
                "match": ["header:contentTypeJson", "tools:hasFileSearch"]
              }
            },
            {
              "request": {
                "callback": { "id": "responsesNamespaceToolsPlugin" },
                "match": ["header:contentTypeJson"]
              }
            },
            {
              "request": {
                "callback": { "id": "responsesCustomToolsPlugin" },
                "match": ["header:contentTypeJson"]
              }
            }
          ],
          "responses-stream": [
            {
              "request": {
                "callback": { "id": "pseudonymizationPlugin" },
                "match": ["header:contentTypeJson"]
              }
            },
            {
              "request": {
                "callback": { "id": "responsesImagePlugin" },
                "match": ["header:contentTypeJson"]
              }
            },
            {
              "request": {
                "callback": { "id": "responsesNamespaceToolsPlugin" },
                "match": ["header:contentTypeJson"]
              }
            },
            {
              "request": {
                "callback": { "id": "responsesCustomToolsPlugin" },
                "match": ["header:contentTypeJson"]
              }
            },
            {
              "request": {
                "callback": { "id": "responsesWebSearchPlugin" },
                "match": ["header:contentTypeJson", "tools:hasWebSearch"]
              }
            },
            {
              "request": {
                "callback": { "id": "responsesFileSearchPlugin" },
                "match": ["header:contentTypeJson", "tools:hasFileSearch"]
              }
            }
          ]
        },
        "aws-bedrock": {
          "pseudonymization": {
            "enabled": true,
            "method": "pseudonymization",
            "allow_user_bypass": false
          },
          "invoke": [
            {
              "request": {
                "callback": {
                  "id": "pseudonymizationPlugin"
                },
                "match": [
                  "header:contentTypeJson"
                ]
              }
            }
          ],
          "invoke-with-response-stream": [
            {
              "request": {
                "callback": {
                  "id": "pseudonymizationPlugin"
                },
                "match": [
                  "header:contentTypeJson"
                ]
              }
            }
          ],
          "converse": [
            {
              "request": {
                "callback": {
                  "id": "pseudonymizationPlugin"
                },
                "match": [
                  "header:contentTypeJson"
                ]
              }
            }
          ],
          "converse-stream": [
            {
              "request": {
                "callback": {
                  "id": "pseudonymizationPlugin"
                },
                "match": [
                  "header:contentTypeJson"
                ]
              }
            }
          ]
        },
        "google": {
          "pseudonymization": {
            "enabled": true,
            "method": "pseudonymization",
            "allow_user_bypass": false
          },
          "generateContent": [
            {
              "request": {
                "callback": {
                  "id": "pseudonymizationPlugin"
                },
                "match": [
                  "header:contentTypeJson"
                ]
              }
            }
          ],
          "streamGenerateContent": [
            {
              "request": {
                "callback": {
                  "id": "pseudonymizationPlugin"
                },
                "match": [
                  "header:contentTypeJson"
                ]
              }
            }
          ]
        }
      }
    },
    "platform": {
      "billing": {
        "productive": true,
        "cuFactor": 1.90385
      },
      "timeouts": {
        "default": 600000,
        "streaming": 600000
      },
      "logging": {
        "components": {},
        "defaultLevel": "INFO",
        "log_folder_path": "./logs",
        "payload_logging_enabled": false
      },
      "rate_limit_handling": {
        "backoff_multiplier": 1.5,
        "default_delay_seconds": 30,
        "enabled": true,
        "max_delay_seconds": 300,
        "model_specific_delays": {
          "anthropic--claude-3.5-sonnet--deployed": 30,
          "anthropic--claude-4-opus--deployed": 90,
          "anthropic--claude-4-sonnet--deployed": 17,
          "anthropic--claude-4.5-haiku--deployed": 17,
          "anthropic--claude-4.5-sonnet--deployed": 17,
          "anthropic--claude-4.5-opus--deployed": 90,
          "anthropic--claude-4.6-sonnet--deployed": 17,
          "anthropic--claude-4.6-opus--deployed": 90,
          "anthropic--claude-4.7-opus--deployed": 90,
          "anthropic--claude-4.8-opus--deployed": 90
        },
        "subpath_specific_delays": {
          "converse-stream": 25,
          "invoke-with-response-stream": 35
        }
      },
      "security": {
        "trust_forwarded_for": false,
        "credentialExpirationDays": 90
      },
      "quotas": {
        "requestsPerMinute": null,
        "spendPerDay": null,
        "spendPerWeek": null,
        "spendPerMonth": null,
        "tokensPerDay": null,
        "tokensPerWeek": null,
        "tokensPerMonth": null
      },
      "toolGovernance": {
        "retention": {
          "rawDays": 30,
          "dailyDays": 400
        },
        "mcpNaming": {
          "namePattern": "^mcp__(.+?)__(.+)$",
          "clients": [
            { "name": "claude-code", "userAgent": "claude-cli", "containerTools": [] },
            { "name": "codex", "userAgent": "codex-tui", "containerTools": ["exec"], "nestedCallPattern": "tools\\.([A-Za-z0-9_]+)" },
            { "name": "pi", "userAgent": "OpenAI/JS", "containerTools": [] },
            { "name": "opencode", "userAgent": "opencode", "containerTools": [] }
          ]
        }
      },
      "maintenance": {
        "dailyRunAtUtc": null
      }
    },
    "observability": {
      "pseudonymization": {
        "enabled": false,
        "entities": {
          "profile-person": true,
          "profile-email": true,
          "profile-phone": true,
          "profile-ssn": true,
          "profile-credit-card-number": true,
          "profile-iban": true,
          "profile-url": true,
          "profile-address": true,
          "profile-username-password": true,
          "profile-nationalid": true,
          "profile-passport": true,
          "profile-driverlicense": true,
          "profile-pronouns-gender": true,
          "profile-nationality": true,
          "profile-ethnicity": true,
          "profile-gender": true,
          "profile-religious-group": true,
          "profile-political-group": true,
          "profile-sexual-orientation": true,
          "profile-trade-union": true,
          "profile-itin": true,
          "profile-bank-account": true,
          "profile-medical-license": true,
          "profile-org": false,
          "profile-location": false
        },
        "org_suffixes": [
          "Inc", "Inc.", "LLC", "L.L.C.", "Ltd", "Ltd.", "Limited", "Corp", "Corp.",
          "Corporation", "PLC", "GmbH", "AG", "S.A.", "B.V.", "Pty", "LLP"
        ],
        "location_gazetteer": []
      },
      "siem": {
        "enabled": false,
        "batch_size": 100,
        "interval_ms": 15000,
        "reconcile_lookback_ms": 86400000,
        "content_max_bytes": 8192,
        "categories": ["security", "audit"],
        "sinks": [
          {
            "name": "webhook",
            "type": "webhook",
            "enabled": false,
            "url": "https://siem.example.invalid/ingest",
            "token_env": "SIEM_WEBHOOK_TOKEN",
            "include_content": false,
            "allow_unmasked_content": false,
            "include_credential_material": false
          },
          {
            "name": "otel",
            "type": "otel",
            "enabled": false,
            "endpoint": "https://collector.example.invalid/v1/logs",
            "headers_env": "SIEM_OTEL_HEADERS",
            "include_content": false,
            "allow_unmasked_content": false,
            "include_credential_material": false,
            "batch_size": 100,
            "interval_ms": 15000
          },
          {
            "name": "datadog",
            "type": "datadog",
            "enabled": false,
            "site": "datadoghq.com",
            "api_key_env": "SIEM_DATADOG_API_KEY",
            "include_content": false,
            "allow_unmasked_content": false,
            "include_credential_material": false,
            "batch_size": 100,
            "interval_ms": 15000
          },
          {
            "name": "azure_sentinel",
            "type": "azure_sentinel",
            "enabled": false,
            "dcr_endpoint": "https://dce.example.invalid",
            "dcr_immutable_id": "dcr-00000000000000000000000000000000",
            "stream_name": "Custom-SailProxy_CL",
            "tenant_id": "00000000-0000-0000-0000-000000000000",
            "client_id": "00000000-0000-0000-0000-000000000000",
            "client_secret_env": "SIEM_AZURE_CLIENT_SECRET",
            "include_content": false,
            "allow_unmasked_content": false,
            "include_credential_material": false,
            "batch_size": 100,
            "interval_ms": 15000
          },
          {
            "name": "gcs_pubsub",
            "type": "gcs_pubsub",
            "enabled": false,
            "project_id": "example-project",
            "topic_id": "sail-proxy-siem",
            "service_account_json_env": "SIEM_GCS_SERVICE_ACCOUNT_JSON",
            "include_content": false,
            "allow_unmasked_content": false,
            "include_credential_material": false,
            "batch_size": 100,
            "interval_ms": 15000
          },
          {
            "name": "s3",
            "type": "s3",
            "enabled": false,
            "bucket": "example-siem-archive",
            "region": "us-east-1",
            "prefix": "sail-proxy/siem",
            "access_key_id_env": "SIEM_S3_ACCESS_KEY_ID",
            "secret_access_key_env": "SIEM_S3_SECRET_ACCESS_KEY",
            "include_content": false,
            "allow_unmasked_content": false,
            "include_credential_material": false,
            "batch_size": 1000,
            "interval_ms": 300000
          }
        ]
      },
      "gateway_log": {
        "enabled": true,
        "retention_hours": 48,
        "max_entries": 2000000,
        "min_level": "INFO"
      },
      "payload_capture": {
        "enabled": false,
        "retention_hours": 48,
        "raw": {
          "max_duration_minutes": 240,
          "retention_hours": 24,
          "stage_max_bytes": 262144,
          "max_stages": 40,
          "request_max_bytes": 2097152
        }
      }
    }
  }
}
