TrOCR Small Handwritten is an open-source vision model from Microsoft for optical character recognition. It is an encoder-decoder Transformer model that takes in images of text lines and outputs transcribed text.
Input
Output
Context
512
Max Output
-
Parameters
-
Input Modalities
Output Modalities
Some values come from web research and may be incorrect. Report incorrect data
None the catalog can show from stated facts or measured scores.
None the catalog can show from stated facts or measured scores.
1 GGUF builds
Public resources
Specification sources
As of Nov 10, 2026.
Answered from the facts on this page, with their sources.
TrOCR Small Handwritten has a context window of 512 tokens (source: Web research). A provider may serve less; Inferbase routes on what each provider serves.
Yes. TrOCR Small Handwritten is an open-weight model under the MIT license. You can download and self-host it within the license terms.
Microsoft has not published a parameter count for TrOCR Small Handwritten. The catalog does not estimate undisclosed sizes.
TrOCR Small Handwritten accepts Image and produces Text. The Capabilities card lists the API features it supports, such as function calling and structured output.
No benchmark source has published a result for TrOCR Small Handwritten yet, so it is shown as unmeasured, not estimated.
Not on Inferbase Managed today. Add your own provider key or endpoint that serves TrOCR Small Handwritten, and Inferbase runs it on your account with the same routing and logs.
Microsoft has not published a parameter count for TrOCR Small Handwritten, so the catalog cannot compute its memory. The GPU planner can size it from a count you enter.
Start on the free plan with 5,000 requests a month, no card required.