A New OpenAI Patent Matches Your Text to the Best AI Model Before Editing It
Before OpenAI's system rewrites your sentence, it first decides which AI model should do the rewriting. It makes that call by comparing the meaning of your text to each candidate model.

- Publication number
- US 2026/0377634 A1(US20260377634A1)
- USPTO patent title:
- Systems and Methods for Language Model-Based Text Editing
- Applicant
- OpenAI OpCo, LLC
- Filed · Published
- Jul 28, 2026 · Nov 26, 2026
- Inventors
- Raul PURI, Qiming YUAN, Alexander PAINO, Nikolas TEZAK, Nicholas RYDER
- Status when we published
- Waiting for an examiner
- Document
- 20 claims
- US classification
- 704/9
- Parent application
- Continuation of 18/631,505 (filed Apr 10, 2024)(18631505)
What OpenAI's model-matching editor does
Most AI writing tools are built for one narrow job, and the filing says they stumble when you ask for something outside it, like turning a stiff paragraph into a friendly one or a list into code. OpenAI's patent application describes a way around that.
Instead of sending everything to one all-purpose model, the system first tidies up your text. It then checks the text against a group of AI models and picks the one whose strengths look closest to what you wrote. It also works out the basics of the passage, such as who is involved, where and when, and then rewrites the part you pointed at.
So if you paste in a sentence and say "make this sound like a formal letter," the best-matched model does the swap and replaces your original words in place. Adding or deleting text counts as an edit too.
… selecting a language model from a plurality of language models based on a semantic similarity between at least a portion of the first input text prompt and the language model …
Translation: The system picks the best AI model by comparing the meaning of your text against each available option.
How the system picks a model by meaning
The system starts by normalizing your text. That means chopping it into small pieces called tokens (the units a language model reads) and filtering by length. Then comes the step the claims center on: choosing which model to use from a pool of several.
To choose, it turns your text into a text embedding, a list of numbers that captures what the passage means. Each model has an embedding of its own. The system computes the distance between the two, and a smaller distance means a closer match in meaning. The filing also describes using labels such as tone, reading level or topic to guide the pick, and training a machine learning model to do the choosing.
The chosen model then helps produce context parameters: basics like who, where, when, what and why in the passage. Using those, the system edits by swapping part of your text for new output. Examples in the filing:
- Turning "Peter is a nice person" into "I am a nice person" when told to write in Peter's voice.
- Reformatting text as a letter with a signature.
- Converting a list into a data file or code.
The filing says edits can insert or remove text too. It also describes filling in text between a beginning and an end you have already written.
… editing the input text prompt based on the language model and the one or more user instructions by replacing at least a portion of the input text prompt with the language model output text …
Translation: It then automatically rewrites your text using the AI model and any instructions you provided.
Why matching text to models could matter
If you use AI to polish emails, rewrite a paragraph or tidy code, the idea is that your request lands with a model suited to it, and only the part you flagged gets changed in place. That could mean fewer cases where an assistant answers a request for a different tone with a stiff, off-target rewrite.
The filing names no product, so it is best read as a description of an approach. It does show how an AI company thinks about editing: several models behind one text box, with a matching step deciding which one handles each request. Keeping the extracted context (who, where, when) across repeated edits also means small local tweaks do not need the whole document reloaded.
This is the second OpenAI application we've tracked since September on our models working in teams watchlist, after their watchdog AI that reads other models.
Source: US 2026/0377634 A1 at the USPTO (PDF). Full patent text and figures are in the official publication.
Get our take in your Top Stories
Liked this breakdown? Add Patentlyze as a preferred source on Google, and our plain-English take shows up more often in your Top Stories the next time OpenAI patent news breaks.
We read the new patents from Big Tech, carmakers and more and send you the ones worth knowing. Plain English, free, every week.
The drawings · 11 sheets
11 drawing sheets from US 2026/0377634 A1 · click any drawing to enlarge

No comments yet