The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
Merge remote-tracking branch 'origin/main' into litellm_azure_speech_passthrough
yassin1e6b33ffab6c
diff --cc helm/litellm/templates/ingress.yamlindex 94ac4d2d8b0,81bb0cddf60..e6717821a57--- a/helm/litellm/templates/ingress.yaml+++ b/helm/litellm/templates/ingress.yaml@@@ -66,7 -66,7 +66,7 @@@"/v1/video" "/v1/videos" "/video" "/videos" "/v1/search" "/search""/v1/containers" "/containers" "/v1/evals" "/v1/memory" "/queue/chat""/v1beta" "/interactions"- "/anthropic" "/azure" "/azure_ai" "/azure_speech" "/aws" "/bedrock" "/comprehendmedical" "/cohere" "/gemini" "/google"- "/anthropic" "/azure" "/azure_ai" "/aws" "/bedrock" "/comprehendmedical" "/transcribe" "/cohere" "/gemini" "/google"++ "/anthropic" "/azure" "/azure_ai" "/azure_speech" "/aws" "/bedrock" "/comprehendmedical" "/transcribe" "/cohere" "/gemini" "/google""/vertex_ai" "/vertex-ai" "/assemblyai" "/eu.assemblyai" "/langfuse" "/vllm""/mistral" "/groq" "/voyage" "/cursor" "/milvus" "/openai_passthrough""/toolset"diff --cc litellm/constants.pyindex 6d35ab4c9fa,d85e104ba15..756cce6b45c--- a/litellm/constants.py+++ b/litellm/constants.py@@@ -1572,23 -1573,17 +1573,32 @@@ ALLOWED_VERTEX_AI_PASSTHROUGH_HEADERS:# Works for all LLM pass-through endpoints (Vertex AI, Anthropic, Bedrock, etc.)PASS_THROUGH_HEADER_PREFIX: Final = "x-pass-"+AZURE_SPEECH_CUSTOM_LLM_PROVIDER: Final = "azure_speech"+AZURE_SPEECH_PASS_THROUGH_ROUTE_PREFIX: Final = "/azure_speech"+AZURE_SPEECH_SHORT_AUDIO_PATH_PREFIX: Final = "/speech/"+AZURE_SPEECH_BATCH_PATH_PREFIX: Final = "/speechtotext/"+AZURE_SPEECH_FAST_TRANSCRIPTION_PATH: Final = "/speechtotext/transcriptions:transcribe"+AZURE_SPEECH_STT_DOMAIN: Final = "stt.speech.microsoft.com"+AZURE_SPEECH_COGNITIVE_SERVICES_DOMAIN: Final = "api.cognitive.microsoft.com"+AZURE_SPEECH_SUBSCRIPTION_KEY_HEADER: Final = "Ocp-Apim-Subscription-Key"+AZURE_SPEECH_SHORT_AUDIO_MODEL: Final = "short-audio"+AZURE_SPEECH_BATCH_MODEL: Final = "batch-transcription"+AZURE_SPEECH_FAST_TRANSCRIPTION_MODEL: Final = "fast-transcription"+AZURE_SPEECH_PRICING_MODEL: Final = "azure/speech/azure-stt"+AZURE_SPEECH_TICKS_PER_SECOND: Final = 10_000_000+AZURE_SPEECH_MILLISECONDS_PER_SECOND: Final = 1_000+BASE_MCP_ROUTE: Final = "/mcp"+ TRANSCRIBE_JOB_POLLING_INTERVAL_SECONDS: Final = 10.0+ TRANSCRIBE_JOB_MAX_POLLING_ATTEMPTS: Final = 720 # 2 hours+ TRANSCRIBE_MAX_MEDIA_DURATION_SECONDS: Final = 28800 # Amazon Transcribe quota: maximum audio file length+ TRANSCRIBE_MAX_MEDIA_BYTES: Final = 2 * 1024**3 # Amazon Transcribe quota: maximum audio file size+ TRANSCRIBE_MEDIA_DOWNLOAD_CONCURRENCY: Final = 1+ TRANSCRIBE_MEDIA_FETCH_ATTEMPTS: Final = 3+ TRANSCRIBE_MEDIA_LAST_MODIFIED_TOLERANCE_SECONDS: Final = 1.0 # S3 Last-Modified carries whole seconds only+ TRANSCRIBE_MEASURABLE_MEDIA_FORMATS: Final = frozenset({"flac", "mp3", "ogg", "wav"}) # what libsndfile can read+BATCH_STATUS_POLL_INTERVAL_SECONDS: Final = int(os.getenv("BATCH_STATUS_POLL_INTERVAL_SECONDS", 3600)) # 1 hourBATCH_STATUS_POLL_MAX_ATTEMPTS: Final = int(os.getenv("BATCH_STATUS_POLL_MAX_ATTEMPTS", 24)) # for 24 hoursBATCH_TPD_WINDOW_SECONDS: Final = 86400diff --cc litellm/proxy/_types.pyindex eb6f817ec19,e3ca88147d7..cf7abec1e81--- a/litellm/proxy/_types.py+++ b/litellm/proxy/_types.py@@@ -468,7 -469,7 +469,8 @@@ class LiteLLMRoutes(enum.Enum)mapped_pass_through_routes = ["/bedrock","/comprehendmedical",+ "/azure_speech",+ "/transcribe","/vertex-ai","/vertex_ai","/cohere",diff --cc litellm/proxy/pass_through_endpoints/llm_passthrough_endpoints.pyindex fc017c31181,500836a62e7..ab4b636cb60--- a/litellm/proxy/pass_through_endpoints/llm_passthrough_endpoints.py+++ b/litellm/proxy/pass_through_endpoints/llm_passthrough_endpoints.py@@@ -1361,134 -1358,167 +1367,295 @@@ async def comprehend_medical_sdk_proxy_)+AZURE_SPEECH_FORWARDED_REQUEST_HEADERS: Final = ("content-type", "accept")+AZURE_SPEECH_ENDPOINT_FAMILY_DOMAINS: Final = MappingProxyType(+ {+ AZURE_SPEECH_SHORT_AUDIO_PATH_PREFIX: AZURE_SPEECH_STT_DOMAIN,+ AZURE_SPEECH_BATCH_PATH_PREFIX: AZURE_SPEECH_COGNITIVE_SERVICES_DOMAIN,+ }+)+++def resolve_azure_speech_base_url(endpoint_path: str, api_base: str | None, region: str | None) -> httpx.URL | None:+ """+ Azure AI Speech serves the two REST families from different regional hosts: short-audio+ recognition under ``{region}.stt.speech.microsoft.com`` and batch transcription under+ ``{region}.api.cognitive.microsoft.com``. An operator-configured ``api_base`` (custom+ domain or private endpoint) serves both and wins over the region. Returns ``None`` when+ the path is outside both families so the operator key is never sent for an unknown API.+ """+ domain: Final = next(+ (+ family_domain+ for family_prefix, family_domain in AZURE_SPEECH_ENDPOINT_FAMILY_DOMAINS.items()+ if endpoint_path.startswith(family_prefix)+ ),+ None,+ )+ if domain is None:+ return None+ if api_base:+ return httpx.URL(api_base)+ if not region:+ return None+ return httpx.URL(f"https://{region}.{domain}")+++def azure_speech_path_manages_shared_resources(endpoint_path: str) -> bool:+ return (+ endpoint_path.startswith(AZURE_SPEECH_BATCH_PATH_PREFIX)+ and endpoint_path != AZURE_SPEECH_FAST_TRANSCRIPTION_PATH+ )++[email protected]_route(+ f"{AZURE_SPEECH_PASS_THROUGH_ROUTE_PREFIX}/{{endpoint:path}}",+ methods=["GET", "POST", "PUT", "DELETE", "PATCH"], # mutable-ok: fastapi route methods must be a list+ tags=["Azure AI Speech Pass-through", "pass-through"], # mutable-ok: fastapi route tags must be a list+)+async def azure_speech_proxy_route(+ endpoint: str,+ request: Request,+ fastapi_response: Response,+ user_api_key_dict: Annotated[UserAPIKeyAuth, Depends(user_api_key_auth)],+):+ """+ Pass-through for the Azure AI Speech REST APIs (speech to text), e.g.+ `POST /azure_speech/speech/recognition/conversation/cognitiveservices/v1?language=en-US`+ with the raw audio as the body, or `POST /azure_speech/speechtotext/v3.2/transcriptions`.++ The body is forwarded byte for byte and the proxy injects its own+ `Ocp-Apim-Subscription-Key`; the caller's `Authorization` header is the LiteLLM key+ and is never forwarded.++ [Docs](https://docs.litellm.ai/docs/pass_through/azure_speech)+ """+ endpoint_path: Final = httpx.URL(endpoint).path+ normalized_endpoint_path: Final = endpoint_path if endpoint_path.startswith("/") else f"/{endpoint_path}"+ base_url: Final = resolve_azure_speech_base_url(+ endpoint_path=normalized_endpoint_path,+ api_base=get_secret_str(secret_name="AZURE_SPEECH_API_BASE"),+ region=get_secret_str(secret_name="AZURE_SPEECH_REGION"),+ )+ if base_url is None:+ raise HTTPException(+ status_code=400,+ detail=(+ f"Unsupported Azure Speech path: {normalized_endpoint_path}. Supported prefixes are "+ f"{AZURE_SPEECH_SHORT_AUDIO_PATH_PREFIX} and {AZURE_SPEECH_BATCH_PATH_PREFIX}; set "+ "AZURE_SPEECH_REGION or AZURE_SPEECH_API_BASE in the proxy environment."+ ),+ )+ if azure_speech_path_manages_shared_resources(normalized_endpoint_path) and not is_proxy_admin(user_api_key_dict):+ raise HTTPException(+ status_code=403,+ detail=(+ f"{request.method} {normalized_endpoint_path} manages batch transcription resources that belong to "+ "the proxy's Azure Speech subscription and whose cost is unknown at request time, so it is limited "+ f"to proxy admin keys. Use {AZURE_SPEECH_FAST_TRANSCRIPTION_PATH} for transcription that is priced "+ "per request."+ ),+ )+ azure_speech_api_key: Final = passthrough_endpoint_router.get_credentials(+ custom_llm_provider=AZURE_SPEECH_CUSTOM_LLM_PROVIDER,+ region_name=None,+ )+ if azure_speech_api_key is None:+ raise HTTPException(+ status_code=400,+ detail="Azure Speech credentials not found. Set AZURE_SPEECH_API_KEY in the proxy environment.",+ )++ target_url: Final = base_url.copy_with(+ path=HttpPassThroughEndpointHelpers.join_base_and_endpoint_path(base_url, normalized_endpoint_path)+ )+ request_headers: Final = _safe_get_request_headers(request)+ upstream_headers: Final = MappingProxyType(+ {+ header_name: header_value+ for header_name, header_value in (+ *(+ (header_name, request_headers[header_name])+ for header_name in AZURE_SPEECH_FORWARDED_REQUEST_HEADERS+ if header_name in request_headers+ ),+ (AZURE_SPEECH_SUBSCRIPTION_KEY_HEADER, azure_speech_api_key),+ )+ }+ )+ raw_body: Final = await request.body()++ endpoint_func: Final = create_pass_through_route(+ endpoint=endpoint,+ target=str(target_url),+ custom_headers=upstream_headers,+ custom_llm_provider=AZURE_SPEECH_CUSTOM_LLM_PROVIDER,+ )+ setattr(request.state, LITELLM_PASS_THROUGH_RAW_BODY_STATE_KEY, raw_body)+ return await endpoint_func(request, fastapi_response, user_api_key_dict)+++ @router.post(+ "/transcribe/{operation}",+ tags=["Amazon Transcribe Pass-through", "pass-through"], # mutable-ok: fastapi route tags must be a list+ )+ async def transcribe_proxy_route(+ operation: str,+ request: Request,+ fastapi_response: Response,+ user_api_key_dict: Annotated[UserAPIKeyAuth, Depends(user_api_key_auth)],+ general_settings: Annotated[Mapping[str, object], Depends(_proxy_general_settings)],+ ):+ """+ Pass-through for the Amazon Transcribe API, e.g. `POST /transcribe/StartTranscriptionJob`.++ The request body is forwarded to the AWS JSON 1.1 API and signed with SigV4 using the+ proxy's AWS credentials. Standard jobs are tagged with the calling key's owner so that+ only that owner (or a proxy admin) can read or delete them, and keys other than proxy+ admins may only read media from and write transcripts to the S3 buckets listed in+ `general_settings.transcribe_media_buckets`; account-wide operations+ such as ListTranscriptionJobs are limited to proxy admins. Streaming transcription+ (`transcribestreaming`) uses a separate HTTP/2 event-stream protocol and is not served+ by this route.++ [Docs](https://docs.litellm.ai/docs/pass_through/transcribe)+ """+ from .llm_provider_handlers.transcribe_passthrough_logging_handler import (+ TRANSCRIBE_CUSTOM_LLM_PROVIDER,+ TRANSCRIBE_OWNED_JOB_OPERATIONS,+ TRANSCRIBE_PRICED_OPERATION,+ TRANSCRIBE_TARGET_PREFIX,+ TranscribeRefusal,+ transcribe_admin_only_refusal,+ transcribe_cost_per_second,+ transcribe_job_access_refusal,+ transcribe_job_lookup,+ transcribe_media_buckets,+ transcribe_owned_start_request,+ transcribe_storage_refusal,+ transcribe_supported_operations,+ transcribe_unpriceable_request_reason,+ )++ if operation not in transcribe_supported_operations():+ raise HTTPException(+ status_code=400,+ detail=(+ f"Unsupported Amazon Transcribe operation: {operation}. "+ f"Supported operations: {', '.join(sorted(transcribe_supported_operations()))}"+ ),+ )++ aws_region_name: Final = _resolve_aws_passthrough_region()+ if aws_region_name is None:+ raise HTTPException(+ status_code=400,+ detail="AWS region not found. Set AWS_REGION_NAME in the proxy environment.",+ )++ try:+ data: Final = await _json_request_body(request)+ except ValueError as e:+ raise HTTPException(status_code=400, detail=f"Request body must be valid JSON: {e}")++ if not isinstance(data, dict):+ raise HTTPException(status_code=400, detail="Request body must be a JSON object")+ if "stream" in data:+ raise HTTPException(status_code=400, detail="'stream' is not an Amazon Transcribe request member")+ unpriceable_reason: Final = transcribe_unpriceable_request_reason(operation, data, transcribe_cost_per_second())+ if unpriceable_reason is not None:+ raise HTTPException(status_code=400, detail=unpriceable_reason)+ admin_only_refusal: Final = transcribe_admin_only_refusal(operation, user_api_key_dict)+ if admin_only_refusal is not None:+ raise HTTPException(status_code=admin_only_refusal.status_code, detail=admin_only_refusal.detail)+ storage_refusal: Final = (+ transcribe_storage_refusal(data, transcribe_media_buckets(general_settings), user_api_key_dict)+ if operation == TRANSCRIBE_PRICED_OPERATION+ else None+ )+ if storage_refusal is not None:+ raise HTTPException(status_code=storage_refusal.status_code, detail=storage_refusal.detail)+ request_body: Final = (+ transcribe_owned_start_request(data, user_api_key_dict) if operation == TRANSCRIBE_PRICED_OPERATION else data+ )+ if isinstance(request_body, TranscribeRefusal):+ raise HTTPException(status_code=request_body.status_code, detail=request_body.detail)+ access_refusal: Final = (+ await transcribe_job_access_refusal(+ data.get("TranscriptionJobName"), user_api_key_dict, transcribe_job_lookup(aws_region_name)+ )+ if operation in TRANSCRIBE_OWNED_JOB_OPERATIONS+ else None+ )+ if access_refusal is not None:+ raise HTTPException(status_code=access_refusal.status_code, detail=access_refusal.detail)++ from litellm.llms.bedrock.base_aws_llm import BaseAWSLLM, run_aws_signing, sign_aws_json_post++ target_url: Final = f"https://transcribe.{aws_region_name}.{get_aws_dns_suffix(aws_region_name)}/"+ prepped: Final = await run_aws_signing(+ sign_aws_json_post,+ get_credentials=partial(BaseAWSLLM().get_credentials, aws_region_name=aws_region_name),+ service_name="transcribe",+ aws_region_name=aws_region_name,+ url=target_url,+ body=json.dumps(request_body),+ headers=MappingProxyType(+ {+ "Content-Type": "application/x-amz-json-1.1",+ "X-Amz-Target": f"{TRANSCRIBE_TARGET_PREFIX}.{operation}",+ }+ ),+ )++ endpoint_func: Final = create_pass_through_route(+ endpoint=operation,+ target=str(prepped.url),+ custom_headers=prepped.headers,+ custom_llm_provider=TRANSCRIBE_CUSTOM_LLM_PROVIDER,+ )+ setattr(request.state, LITELLM_PASS_THROUGH_CUSTOM_BODY_STATE_KEY, request_body)+ setattr(request.state, LITELLM_PASS_THROUGH_RAW_BODY_STATE_KEY, prepped.body)+ return await endpoint_func(request, fastapi_response, user_api_key_dict)+++ @router.post(+ "/transcribe",+ tags=["Amazon Transcribe Pass-through", "pass-through"], # mutable-ok: fastapi route tags must be a list+ )+ async def transcribe_sdk_proxy_route(+ request: Request,+ fastapi_response: Response,+ user_api_key_dict: Annotated[UserAPIKeyAuth, Depends(user_api_key_auth)],+ general_settings: Annotated[Mapping[str, object], Depends(_proxy_general_settings)],+ ):+ """+ AWS-SDK-shaped pass-through for Amazon Transcribe: point the SDK's `endpoint_url`+ at `/transcribe` and the operation is read from the `X-Amz-Target` header, per the+ AWS JSON 1.1 protocol.++ [Docs](https://docs.litellm.ai/docs/pass_through/transcribe)+ """+ from .llm_provider_handlers.transcribe_passthrough_logging_handler import (+ TRANSCRIBE_TARGET_PREFIX,+ )++ target_header: Final = request.headers.get("x-amz-target", "")+ target_prefix, _, operation = target_header.partition(".")+ if target_prefix != TRANSCRIBE_TARGET_PREFIX or not operation:+ raise HTTPException(+ status_code=400,+ detail=f"Expected an X-Amz-Target header of the form {TRANSCRIBE_TARGET_PREFIX}.<Operation>",+ )+ return await transcribe_proxy_route(+ operation=operation,+ request=request,+ fastapi_response=fastapi_response,+ user_api_key_dict=user_api_key_dict,+ general_settings=general_settings,+ )++def _resolve_vertex_model_from_router(model_id: str,llm_router: litellm.Router | None,diff --cc litellm/proxy/pass_through_endpoints/success_handler.pyindex d564dd6efaf,c7f4f5c16f5..96fd081924a--- a/litellm/proxy/pass_through_endpoints/success_handler.py+++ b/litellm/proxy/pass_through_endpoints/success_handler.py@@@ -258,25 -274,20 +275,39 @@@ class PassThroughEndpointLogging)standard_logging_response_object = comprehend_medical_handler_result["result"] # rebind-ok: elif-chainkwargs = comprehend_medical_handler_result["kwargs"] # rebind-ok: elif-chain contract+ elif self.is_azure_speech_route(custom_llm_provider):+ from .llm_provider_handlers.azure_speech_passthrough_logging_handler import (+ AzureSpeechPassthroughLoggingHandler,+ )++ azure_speech_handler_result: Final = AzureSpeechPassthroughLoggingHandler.azure_speech_passthrough_handler(+ httpx_response=httpx_response,+ response_body=response_body,+ logging_obj=logging_obj,+ url_route=url_route,+ result=result,+ start_time=start_time,+ end_time=end_time,+ cache_hit=cache_hit,+ request_body=request_body,+ **kwargs,+ )+ standard_logging_response_object = azure_speech_handler_result["result"] # rebind-ok: elif-chain+ kwargs = azure_speech_handler_result["kwargs"] # rebind-ok: elif-chain contract+ elif self.is_transcribe_route(custom_llm_provider):+ transcribe_handler_result: Final = TranscribePassthroughLoggingHandler.transcribe_passthrough_handler(+ httpx_response=httpx_response,+ logging_obj=logging_obj,+ url_route=url_route,+ result=result,+ start_time=start_time,+ end_time=end_time,+ cache_hit=cache_hit,+ request_body=request_body,+ **kwargs,+ )+ standard_logging_response_object = transcribe_handler_result["result"] # rebind-ok: elif-chain+ kwargs = transcribe_handler_result["kwargs"] # rebind-ok: elif-chain contractelif self.is_typesafe_route(custom_llm_provider):from .llm_provider_handlers.typesafe_passthrough_logging_handler import (TypeSafePassthroughLoggingHandler,@@@ -429,9 -458,9 +478,12 @@@def is_comprehend_medical_route(self, custom_llm_provider: str | None) -> bool:return custom_llm_provider == "comprehendmedical"+ def is_azure_speech_route(self, custom_llm_provider: str | None) -> bool:+ return custom_llm_provider == AZURE_SPEECH_CUSTOM_LLM_PROVIDER++ def is_transcribe_route(self, custom_llm_provider: str | None) -> bool:+ return custom_llm_provider == TRANSCRIBE_CUSTOM_LLM_PROVIDER+def is_typesafe_route(self, custom_llm_provider: str | None) -> bool:return custom_llm_provider == "typesafe"diff --cc terraform/litellm/aws/locals.tfindex fcf1f7b905f,4bb30bde5a7..778d31642c1--- a/terraform/litellm/aws/locals.tf+++ b/terraform/litellm/aws/locals.tf@@@ -86,7 -86,7 +86,7 @@@ locals"/queue/chat/*","/v1beta/*","/interactions/*",- "/anthropic/*", "/azure/*", "/azure_ai/*", "/azure_speech/*", "/aws/*", "/bedrock/*", "/comprehendmedical*",- "/anthropic/*", "/azure/*", "/azure_ai/*", "/aws/*", "/bedrock/*", "/comprehendmedical*", "/transcribe*",++ "/anthropic/*", "/azure/*", "/azure_ai/*", "/azure_speech/*", "/aws/*", "/bedrock/*", "/comprehendmedical*", "/transcribe*","/cohere/*", "/gemini/*", "/google/*","/vertex_ai/*", "/vertex-ai/*","/assemblyai/*", "/eu.assemblyai/*",diff --cc terraform/litellm/gcp/locals.tfindex dca7b05f1c9,d4efbb70f96..d263c781449--- a/terraform/litellm/gcp/locals.tf+++ b/terraform/litellm/gcp/locals.tf@@@ -55,7 -55,7 +55,7 @@@ locals"/queue/chat/*","/v1beta/*","/interactions/*",- "/anthropic/*", "/azure/*", "/azure_ai/*", "/azure_speech/*", "/aws/*", "/bedrock/*", "/comprehendmedical*",- "/anthropic/*", "/azure/*", "/azure_ai/*", "/aws/*", "/bedrock/*", "/comprehendmedical*", "/transcribe*",++ "/anthropic/*", "/azure/*", "/azure_ai/*", "/azure_speech/*", "/aws/*", "/bedrock/*", "/comprehendmedical*", "/transcribe*","/cohere/*", "/gemini/*", "/google/*","/vertex_ai/*", "/vertex-ai/*","/assemblyai/*", "/eu.assemblyai/*",diff --cc tests/test_litellm/proxy/middleware/test_billable_request_metrics_middleware.pyindex 5ce7aa858c1,c6af900d263..333906884a8--- a/tests/test_litellm/proxy/middleware/test_billable_request_metrics_middleware.py+++ b/tests/test_litellm/proxy/middleware/test_billable_request_metrics_middleware.py@@@ -116,11 -116,8 +116,13 @@@ def test_is_pure_asgi_not_base_http_mid# Bare AWS-SDK-shaped route carries the operation in X-Amz-Target and writes SpendLogs("/comprehendmedical", (BillableCategory.LLM, "/comprehendmedical")),("/comprehendmedical/DetectEntitiesV2", (BillableCategory.LLM, "/comprehendmedical")),+ (+ "/azure_speech/speech/recognition/conversation/cognitiveservices/v1",+ (BillableCategory.LLM, "/azure_speech"),+ ),+ ("/azure_speech/speechtotext/v3.2/transcriptions", (BillableCategory.LLM, "/azure_speech")),+ ("/transcribe", (BillableCategory.LLM, "/transcribe")),+ ("/transcribe/StartTranscriptionJob", (BillableCategory.LLM, "/transcribe")),("/mcp", (BillableCategory.MCP, "/mcp")),("/mcp/", (BillableCategory.MCP, "/mcp")),("/mcp/tools/list", (BillableCategory.MCP, "/mcp")),