CEFR level of a text
Estimate the CEFR reading level (A1–C2) of a text from measurable features, with a level for sentence length, long words and readability, and the long words a learner may not know.

Details
Languages: English, German, French, Spanish, Italian, Dutch, Portuguese, Russian, Thai, Chinese, Japanese.
Also returns the statistics: words, sentences, average sentence and word length, lexical variety, and a readability score with the formula of the language (Flesch, Amstad, Kandel-Moles, Fernández Huerta, Gulpease, Oborneva …). With "target", says whether the text meets that level: use it to check a text your agent rewrote.
Plain code, no language model: the same text gives the same result. Grammar is not checked; the result is an estimate, not an exam result. The text is not stored.
Limits: 3000 words.
Price: CHF 0.005 per call.
Example: {"text":"Ich wohne in Bern. Ich habe einen Hund. Er heisst Max.","language":"de"} → cefr_estimate "A1".
Status
The tools are not open to the public yet.
Input schema JSON Schema
{
"type": "object",
"additionalProperties": false,
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"minLength": 1,
"maxLength": 30000
},
"language": {
"type": "string",
"enum": [
"en",
"de",
"fr",
"es",
"it",
"nl",
"pt",
"ru",
"th",
"zh",
"ja"
],
"description": "Text language. Omit to detect."
},
"target": {
"type": "string",
"enum": [
"A1",
"A2",
"B1",
"B2",
"C1",
"C2"
],
"description": "Optional. Report whether the text meets this level."
}
},
"examples": [
{
"text": "Ich wohne in Bern. Ich habe einen Hund. Er heisst Max.",
"language": "de"
}
]
}