This API is currently in "preview" mode, but please don't let that change your mind. While we have many developers using them all over the world, we are still doing some additional building and testing until we feel really comfortable that they are just right for general consumption. Go ahead, grab a key and try them.

Web Language Model API


Automate a variety of standard natural language processing tasks using state-of-the-art language modeling APIs.

Word breaking

Insert spaces into a string of words lacking spaces, like a hashtag or part of a URL. Try this word breaking demo by inputting a string of words with no spaces in between. Please enter lower-case alpha-numeric characters only.

Joint probabilities

Calculate how often a particular sequence of words appear together.

Conditional probabilities

Given a sequence of words, calculate how often a particular word tends to follow.

Next word completions

Given a sequence of words, get the list of words most likely to follow.

Pricing options

Plan Description Price
Free 100K calls per month Free
Standard 1K TPS $0.05 per 1000 calls
Buy on Azure

Developer resources for Web Language Model API