Try the Speech service for free
Using the Speech service is easy and affordable. There are two options available free of charge so you can discover what the service can do and decide whether it's right for your needs:
- Get a free trial without providing any credit card info (you need to have an existing Azure account)
- Create a new Azure account at no charge for a trial period (credit card information required)
In this article, you'll choose one of these options that suits your needs best.
The Speech service has two service tiers: free and subscription, which have different limitations and benefits. When you sign up for a free Azure account it comes with $200 in service credit that you can apply toward a paid Speech service subscription, valid for up to 30 days.
If you use the free, low-volume Speech service tier you can keep this free subscription even after your free trial or service credit expires.
For more information, see Cognitive Services pricing - Speech service.
Try the Speech service without credit card info
Although we recommend trying the Speech service using the instructions in the next section, you may prefer this section's instructions if the following applies:
- You already have an active Azure account.
- You want to evaluate the Speech service without creating a new Azure account.
- You prefer no credit card be required and no data saved after trial period.
Your trial period starts immediately once the following steps are complete.
- Go to Try Cognitive Service.
- Select the Speech APIs tab.
- Choose Get API Key.
You'll be presented with billing choices. Choose the free option and then read and approve the user agreement. You'll be presented with keys you can use to try the Speech service for a limited time.
Try the Speech service using a new Azure account
To sign up for a new Azure account, you will need a Microsoft account. If you do not have a Microsoft account, you can sign up for one free of charge at the Microsoft account portal. Select Sign in with Microsoft and then, when asked to sign in, select Create a Microsoft account. Follow the steps to create and verify your new Microsoft account.
Once you have a Microsoft account, go to the Azure sign-up page, select Start free, and create a new Azure account using a Microsoft account.
Create a Speech resource in Azure
You can create an unlimited number of standard-tier subscriptions in one or multiple regions. However, you can create only one free-tier subscription. Model deployments on the free tier that remain unused for 7 days will be decommissioned automatically.
To add a Speech service resource (free or paid tier) to your Azure account:
Sign in to the Azure portal using your Microsoft account.
Select Create a resource at the top left of the portal. If you do not see Create a resource, you can always find it by selecting the collapsed menu in the upper left:
In the New window, type "speech" in the search box and press ENTER.
In the search results, select Speech.
Select Create, then:
- Give a unique name for your new resource. The name helps you distinguish among multiple subscriptions to the same service.
- Choose the Azure subscription that the new resource is associated with to determine how the fees are billed.
- Choose the region where the resource will be used.
- Choose either a free (F0) or paid (S0) pricing tier. For complete information about pricing and usage quotas for each tier, select View full pricing details.
- Create a new resource group for this Speech subscription or assign the subscription to an existing resource group. Resource groups help you keep your various Azure subscriptions organized.
- Select Create. This will take you to the deployment overview and display deployment progress messages.
It takes a few moments to deploy your new Speech resource. Once deployment is complete, select Go to resource and in the left navigation pane select Keys to display your Speech service subscription keys. Each subscription has two keys; you can use either key in your application. To quickly copy/paste a key to your code editor or other location, select the copy button next to each key, switch windows to paste the clipboard contents to the desired location.
These subscription keys are used to access your Cognitive Service API. Do not share your keys. Store them securely– for example, using Azure Key Vault. We also recommend regenerating these keys regularly. Only one key is necessary to make an API call. When regenerating the first key, you can use the second key for continued access to the service.
Switch to a new subscription
To switch from one subscription to another, for example when your free trial expires or when you publish your application, replace the region and subscription key in your code with the region and subscription key of the new Azure resource.
- If your application uses a Speech SDK, you provide the region code, such as
westus, when creating a speech configuration.
- If your application uses one of the Speech service's REST APIs, the region is part of the endpoint URI you use when making requests.
- Keys created for a region are valid only in that region. Attempting to use them with other regions will result in authentication errors.
Complete one of our 10-minute quickstarts or check out our SDK samples: