配额用于指定您可以使用的可计数共享资源的数量。配额由 Speech-to-Text 等 Google Cloud 服务定义。
系统限制是无法更改的固定值。
Google Cloud 使用配额来帮助确保公平性并减少资源使用和可用性的激增。配额用于限制您的 Google Cloud 项目可使用的Google Cloud 资源的数量。配额适用于一系列资源类型,包括硬件、软件和网络组件。例如,配额可以限制对某项服务的 API 调用次数、您的项目并发使用的负载均衡器数量或者您可以创建的项目数量。配额可以防止服务过载,从而保护Google Cloud 用户社区。配额还可以帮助您管理自己的 Google Cloud 资源。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-18。"],[],[],null,["# Quotas and limits\n\nThis document lists the quotas and system limits that apply to\nSpeech-to-Text.\n\n- *Quotas* specify the amount of a countable, shared resource that you can use. Quotas are defined by Google Cloud services such as Speech-to-Text.\n- *System limits* are fixed values that cannot be changed.\n\nGoogle Cloud uses quotas to help ensure fairness and reduce\nspikes in resource use and availability. A quota restricts how much of a\nGoogle Cloud resource your Google Cloud project can use. Quotas\napply to a range of resource types, including hardware, software, and network\ncomponents. For example, quotas can restrict the number of API calls to a\nservice, the number of load balancers used concurrently by your project, or the\nnumber of projects that you can create. Quotas protect the community of\nGoogle Cloud users by preventing the overloading of services. Quotas also\nhelp you to manage your own Google Cloud resources.\n\nThe Cloud Quotas system does the following:\n\n- Monitors your consumption of Google Cloud products and services\n- Restricts your consumption of those resources\n- Provides a way to [request changes to the quota value](/docs/quotas/help/request_increase) and [automate quota adjustments](/docs/quotas/quota-adjuster)\n\nIn most cases, when you attempt to consume more of a resource than its quota\nallows, the system blocks access to the resource, and the task that\nyou're trying to perform fails.\n\nQuotas generally apply at the Google Cloud project\nlevel. Your use of a resource in one project doesn't affect\nyour available quota in another project. Within a Google Cloud project, quotas\nare shared across all applications and IP addresses.\n\nTo adjust most quotas, use the Google Cloud console.\nFor more information, see\n[Request a quota adjustment](/docs/quotas/help/request_increase).\n\n\nThere are also *system limits* on Speech-to-Text resources.\nSystem limits can't be changed.\n\nThis document contains the current API restrictions and usage limits for\nCloud Speech-to-Text. This page will be updated to reflect any changes to these\nrestrictions and usage limits. We reserve the right to change these limits.\n| **Note:** The time limits listed below refer to the length of the audio file, regardless of whether it is [multi-channel](/speech-to-text/docs/multi-channel) audio. Be aware, however, that each channel is billed individually. This can lead to situations where you are billed for more time than than the duration of the audio file. See the [pricing page](/speech-to-text/pricing) for more information.\n\nContent Limits\n--------------\n\nContent to Speech-to-Text is provided as audio data, either directly within\nthe `content` field of the request or referenced within a Google Cloud Storage\nURI in the `uri` field of the request. There is a limit of 10 MB on all single\nrequests sent to the API using **local files** . In the case of the\n[`Recognize`](/speech-to-text/docs/reference/rest/v1/speech/recognize) and\n[`LongRunningRecognize`](/speech-to-text/docs/reference/rest/v1/speech/longrunningrecognize)\nmethods, this limit applies to the size of the request sent. In the case of the\n[`StreamingRecognize`](/speech-to-text/docs/reference/rpc/google.cloud.speech.v1#streamingrecognitionconfig)\nmethod, the 10 MB limit applies to both the initial `StreamingRecognize` request\nand the size of each individual message in the stream. Exceeding this limit will\nthrow an error. There is no size limit on requests sent using audio data stored\nin a Google Cloud Storage bucket.\n\nThe API contains the following limits on the size of this content (and are\nsubject to change).\n\n\\* Audio longer than \\~1 minute must\n[use the `uri` field](/speech-to-text/docs/async-recognize) to reference\nan audio file in Google Cloud Storage. \n\n\\*\\* If you need to stream content for more than 5 minutes, see the\n[endless streaming tutorial](/speech-to-text/docs/endless-streaming-tutorial).\n\nFor `StreamingRecognize` requests, audio must be sent at a rate that\napproximates real time.\n\nAttempting to process content in excess of these content limits will produce\nan error. For more information, see\n[Error messages](/speech-to-text/docs/error-messages) and\n[Troubleshooting](/speech-to-text/docs/troubleshooting).\n\nWithin any request, you may also supply a\n[PhraseSet](/speech-to-text/docs/adaptation) resource containing\na list of phrases specific to the request. (A single word counts as a phrase in\nthis context.) The following limits apply to such a context:\n\nRequest Limits\n--------------\n\nThe current API usage limits for Speech-to-Text are as follows\n(and are subject to change):\n\n| **Note:** Daily quotas refresh at midnight (0:00) Pacific Standard Time (PST) or Pacific Daylight Time (PDT), depending on the time of year.\n\n\\* Each `StreamingRecognize` session is considered a single request even though\nit includes multiple frames of `StreamingRecognizeRequest` audio within the\nstream.\n\nRequests and/or attempts at audio processing in excess of these limits will\nproduce an error. For more information, see\n[Error messages](/speech-to-text/docs/error-messages) and\n[Troubleshooting](/speech-to-text/docs/troubleshooting).\n\nThese limits apply to each Speech-to-Text developer project, and are shared\nacross all applications and IP addresses using a given a developer project."]]