[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],[],[],[],null,["# Pricing\n\nTranscoder API pricing\n======================\n\nPricing details for the Transcoder API, in USD.\n\n\nIf you pay in a currency other than USD, the prices listed in your currency on\n[Cloud Platform SKUs](https://cloud.google.com/skus/)\napply.\n\nPricing overview\n----------------\n\nWhen you use the [Transcoder API](/transcoder) you are charged per\nminute of transcoded video output. Price per minute is based on the output video\nresolution.\n\nPricing table\n-------------\n\n[Audio-only output](#audio-only-output):\n$0.005 per minute.\n\n[Automatically generated subtitles](#auto-generated-subtitles):\n$0.50 per subtitle per minute.\n\nIf you pay in a currency other than USD, the prices listed in your currency on [Cloud Platform SKUs](https://cloud.google.com/skus/) apply.\n\nPricing examples\n----------------\n\nThe following examples illustrate how Transcoder API pricing is calculated.\n\n### Example 1: Multiple output formats\n\nSuppose a request is made to the Transcoder API with a 30-minute long\ninput video file with four requested output resolutions:\n\n- 640x480\n- 1280x720\n- 1920x1080\n- 3840x2160\n\nThe price per output is determined by the video class of the requested video\nresolution. For the above example, the following video classes and price points\nare assigned.\n\nThe input video length is then multiplied by the calculated total price per\nminute for all requested video outputs to arrive at the total cost for the\nrequested transcoding job.\n\n- 30 minutes \\* $0.135 per minute = **$4.05 billed for\n transcoding job.**\n\n### Example 2: Trimmed video\n\nSupposed the same video resolutions are requested as in Example 1, but the\n30-minute input is trimmed during transcoding to create a 2-minute output.\n\nPricing is per minute of output, so only 2 minutes are billed. The video\nresolutions are the same as Example 1, so the per-minute pricing is the same:\n\n- 2 minutes \\* $0.135 per minute = **$0.27 billed for transcoding\n job.**\n\n### Example 3: Multiple manifests\n\nSuppose that two output manifests (one HLS, one DASH) are created, each\nincluding the same video resolutions as in Example 1.\n\nPrice per minute is calculated for each video stream encoded. In this case,\nsince HLS and DASH manifests are repackaging the same four streams, the price\nper minute includes the cost of those four streams.\n\n- 30 minutes \\* $0.135 per minute = **$4.05 billed for transcoding\n job.**\n\n### Example 4: Audio-only output\n\nSuppose a request is made to the Transcoder API with a 30-minute long\ninput audio file for a 30-minute long output audio file.\n\n- 30 minutes \\* $0.005 per minute = **$0.15 billed for transcoding job.**\n\n### Example 5: Audio-only transcoding with trimmed audio output\n\nThis example uses a similar request to Example 4, but the 30-minute input is\ntrimmed during transcoding to create a 2-minute output.\n\n- 2 minutes \\* $0.005 per minute = **$0.01 billed for transcoding job.**\n\n### Example 6: Video transcoding with multiple manifests\n\nSuppose a request is made to the Transcoder API with a 30-minute long\ninput video file with SD output resolution. Multiple manifests are produced\n(manifest1 (video1 + audio1) + manifest2 (audio1)).\n\n**In this case, the audio stream is generated from the video input and counts as\ncomplimentary for video transcoding. If the job has any video elementary stream,\nthe charge is based only on the video class.**\n\nThe price per output is determined by the video class of the requested video\nresolution.\n\n- 30 minutes \\* $0.15 per minute = **$4.5 billed for transcoding job.**\n\n### Example 7: Multiple audio-only transcoding\n\nSuppose a request is made to the Transcoder API with a 30-minute long\ninput audio file with two 30-minute output audio files.\n\n- 30 minutes \\* $0.005 per minute \\* 2 = **$0.3 billed for a transcoding job.**\n\n### Example 8: Video Transcoding with multiple automatically generated subtitles\n\nSuppose a request is made to the Transcoder API with a 10-minute long input video file with SD output resolution. Multiple manifests are produced (manifest1 (video1 + audio1 + english-subtitles) + manifest2 (video1 + audio1 + english-subtitles + french-subtitles)).\n\nThe price here will be based on video resolution plus the cost of two automatically generated subtitles\n\n- 10 minutes \\* $0.15 per minute + ( 10 minutes \\* $0.50 per minute \\* 2 ) = **$11.5 billed for a transcoding job.**\n\nWhat's next\n-----------\n\n- Read the [Transcoder API documentation](/transcoder/docs).\n- Get started with [Transcoder API](/transcoder/docs/transcode-video).\n- Try the [Pricing calculator](/products/calculator).\n\n#### Request a custom quote\n\nWith Google Cloud's pay-as-you-go pricing, you only pay for the services you use. Connect with our sales team to get a custom quote for your organization.\n[Contact sales](/contact?direct=true)"]]