Get the newsletter
OpenAI · AI / ML · Filed Jul 28, 2026 · USPTO published Nov 26, 2026 · This week's release

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.

An interactive text editor shows an AI rewriting a short poem into its own voice and reformatting it into a signed letter. Drawing from patent filing US 2026/0377634 A1.
An interactive text editor shows an AI rewriting a short poem into its own voice and reformatting it into a signed letter.All 11 drawings ↓
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.

From the filing · CLAIM 1
… 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.

From the filing · THE ABSTRACT
… 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.

There are more where this came from

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

How the AI selects models to rewrite your drafts, drawing sheet 1 from US 2026/0377634 A1
Sheet 1 How the AI selects models to rewrite your drafts
Picking specialized models to fill missing words into drafts, drawing sheet 2 from US 2026/0377634 A1
Sheet 2 Picking specialized models to fill missing words into drafts
Walking through multi-step edits to improve programming code, drawing sheet 3 from US 2026/0377634 A1
Sheet 3 Walking through multi-step edits to improve programming code
Filling in missing story sections between existing paragraphs, drawing sheet 4 from US 2026/0377634 A1
Sheet 4 Filling in missing story sections between existing paragraphs
Inserting missing lines inside an existing computer program, drawing sheet 5 from US 2026/0377634 A1
Sheet 5 Inserting missing lines inside an existing computer program
Polishing a poem step by step based on instructions, drawing sheet 6 from US 2026/0377634 A1
Sheet 6 Polishing a poem step by step based on instructions
Converting and reformatting structured data into cleaner files, drawing sheet 7 from US 2026/0377634 A1
Sheet 7 Converting and reformatting structured data into cleaner files
Step-by-step training to align AI models before editing text, drawing sheet 8 from US 2026/0377634 A1
Sheet 8 Step-by-step training to align AI models before editing text
Show the other 3 sheets
Matching your text to the best AI model for editing, drawing sheet 9 from US 2026/0377634 A1
Sheet 9 Matching your text to the best AI model for editing
Computer hardware that runs the text editing system, drawing sheet 10 from US 2026/0377634 A1
Sheet 10 Computer hardware that runs the text editing system
Training systems that build and refine each AI model, drawing sheet 11 from US 2026/0377634 A1
Sheet 11 Training systems that build and refine each AI model
Patent filing page

Watchlists this filing belongs to

All watchlists →
Reader comments

No comments yet

Start the discussion

Real name or a handle, either is fine. Comments are read by a person before they appear, so allow a little time. Keep it about the filing.