AWS Comprehend Custom Classification Alternatives (2026): Still Supported, So Test Bedrock and SageMaker First
Comprehend custom classification was not part of AWS's April 30, 2026 cutback. The alternatives are Bedrock prompting, Bedrock Nova fine-tuning and SageMaker models, and the choice turns on confidence scores and cost.
Amazon Comprehend custom classification is still offered in November 2026, so no AWS deadline forces you to replace it. On April 30, 2026, AWS stopped offering three other Comprehend features to new customers, and custom classification was not one of them. The realistic alternatives are prompting a model on Amazon Bedrock, fine-tuning an Amazon Nova model on Bedrock, or fine-tuning a small open model such as ModernBERT, DeBERTa or SetFit on SageMaker. At list prices, a small Nova model costs far less per document than Comprehend for documents of 1,500 characters. Comprehend, however, returns a confidence score for every class, and a prompted model does not produce one by itself.
AWS withdrew three Comprehend features in April 2026, and custom classification was not among them
AWS posted its service availability update on March 31, 2026. The update moved Comprehend topic modeling, event detection and prompt safety classification into maintenance. AWS wrote that these features "will no longer be accessible to new customers starting April 30, 2026," and that existing users can continue. Accounts that used them in the previous 12 months keep access.
AWS's Comprehend availability page adds one sentence that matters for classification users: "This does not impact the availability of other Amazon Comprehend features." Custom classification therefore still supports multi-class and multi-label models, real-time endpoints, asynchronous jobs, and native PDF and Word input.
The same page shows where AWS points people who need a replacement. Its migration guide for topic modeling lists the valid topics in a system prompt, asks for JSON back, and runs the job through Bedrock batch inference. AWS used Claude Sonnet 4 in that example and added, "You can choose any model." The guide is, in effect, a recipe for text classification with a large language model.
The other clouds have already moved their managed classifiers toward LLMs
Moving to another cloud's version of Comprehend would put you on a product that is closing. The status of each option on November 24, 2026 is shown in the following table.
| Product | Status on Nov. 24, 2026 | Replacement named by the vendor |
|---|---|---|
| Amazon Comprehend custom classification | Offered to new and existing customers | None announced |
| Comprehend topic modeling, events, prompt safety | Closed to new customers since April 30, 2026 | Bedrock LLMs and Bedrock Guardrails |
| Google Vertex AI AutoML Text | Training ended Sept. 15, 2024; models stopped June 15, 2025 | Gemini prompts and tuning |
| Azure Custom Text Classification | Retires March 31, 2029 | Fine-tuned models in Microsoft Foundry |
Google's Vertex AI deprecations page states that existing AutoML Text models could be used "until June 15, 2025." Microsoft's custom text classification overview states that the feature "retires from Azure Language on March 31, 2029." Microsoft's model lifecycle table adds an earlier date: the 2022-05-01 training configuration expires on March 31, 2028. After that date, Azure customers can no longer train new models on it. Microsoft notes that these dates may be extended if no newer configuration is released.
Microsoft's migration guidance is the most specific of the three. A June 10, 2026 Microsoft Tech Community post advises teams to rebuild the classifier by fine-tuning a foundation model in Foundry, and it names Ministral-3B as its recommended base model.
Each alternative trades training effort against cost and control
The options differ mainly in how much labeled data they need, who runs the model, and what comes back with each prediction.
- Prompting a model on Bedrock needs no training. You list the labels in the prompt and ask for one label back. This route suits teams with few labeled examples or labels that change every month. You pay per token, and the answer is text, not a probability.
- Fine-tuning a Nova model on Bedrock trains the model on your labeled examples. AWS lists Nova Micro, Nova Lite, Nova Pro and Nova 2 Lite as fine-tunable in US East (N. Virginia). A custom Nova model can be deployed for on-demand inference, and AWS prices that inference the same as the base model.
- Fine-tuning a small encoder on SageMaker gives you a model file that you control. The SageMaker Text Classification - TensorFlow algorithm attaches a classification layer to a pretrained TensorFlow Hub model. You can also fine-tune ModernBERT-base, which is released under Apache 2.0 with an 8,192-token context, or DeBERTa-v3-base, which is MIT-licensed. You take on the hosting and monitoring work that Comprehend handles for you.
- Training a SetFit model works when you have only a handful of labels per class. The SetFit README describes it as "prompt-free" few-shot fine-tuning of Sentence Transformers. With 8 labeled examples per class on one review dataset, the authors report results competitive with RoBERTa Large trained on 3,000 examples.
Parsec offers a different kind of model for one narrow case. Its TOD model, which Parsec calls a "universal decision model," ranks a supplied list of allowed options and generates no free text. Parsec's repo states that predict returns one probability per option, summing to 1, and its TOD page lists a price of $0.30 per 1,000 decisions. TOD was built to pick an assistant's next action, and its accuracy as a document classifier has not been measured. On Parsec's own JevBench evaluation, TOD scored lower than the untrained base model that it starts from. Parsec publishes no price for tuning TOD on a customer's own data.
A classifier can defer hard cases safely only when it returns a usable confidence score
Most production classifiers do not act on every prediction. They act on confident predictions and send the rest to a person or a larger model. That pattern needs a number for each prediction.
Comprehend provides one. Its ClassifyDocument API returns each class with a Score, which AWS defines as "the confidence score that Amazon Comprehend has this class correctly attributed." SetFit's default head is a logistic regression, and its predict_proba method returns a probability for each class. Fine-tuned encoders on SageMaker produce class probabilities in the same way.
A prompted LLM returns only the text that it was asked to write. AWS's own event-detection migration prompt shows the problem clearly. The prompt instructs the model to give each entity a score between 0.95 and 0.999. A number that the prompt fixes in advance cannot be used to decide which documents to defer.
Whether Comprehend's scores, or any of the alternatives' probabilities, are well calibrated has not been published. No public benchmark compares these options on the same dataset and held-out split. Expected calibration error, accuracy at different coverage levels, and p50 and p95 latency for these options on shared data have not been measured. Your own held-out set is therefore the only fair test.
At list prices, small Nova models cost far less than Comprehend for 1,500-character documents
Comprehend charges by characters, while Bedrock charges by tokens, so document length changes the comparison. The following example uses one million documents per month at 1,500 characters each. It assumes about 4 characters per token, which gives about 400 tokens of document text. A prompted model also receives 500 tokens of instructions and labels and returns 10 tokens. All prices are US East list prices.
- Comprehend asynchronous jobs bill 15 units of 100 characters per document at $0.0005 per unit. That is $0.0075 per document, or $7.50 per 1,000 documents and $7,500 a month. Training costs $3 an hour, and keeping the model costs $0.50 a month.
- A Comprehend real-time endpoint needs about 579 characters per second on average for this volume. One inference unit handles 100 characters per second, so at least 6 units are needed. Six units at $0.0005 per second for a 30-day month cost $7,776 before any allowance for peaks.
- Prompting Nova Micro on demand costs about $0.033 per 1,000 documents, or $32.90 a month, at $0.000035 per 1,000 input tokens and $0.00014 per 1,000 output tokens. Batch inference halves that to $16.45.
- Prompting Nova 2 Lite costs $324.50 a month on demand and $162.25 in batch.
- Prompting Claude Haiku 4.5 at Anthropic's own list price of $1 and $5 per million tokens costs $950 a month, or $475 in batch. AWS publishes separate Bedrock rates for Claude, which may differ.
- A fine-tuned Nova Micro model needs a shorter prompt, so this example assumes 450 input tokens. Inference then costs $17.15 a month, plus $1.95 a month for storage. Training on 5,000 examples of 450 tokens for 2 epochs is 4.5 million tokens, or $4.50.
- A SageMaker endpoint running all month on one ml.c5.xlarge instance costs $146.88, and one ml.g5.xlarge GPU instance costs $1,013.76. Whether one instance can carry this traffic has not been measured.
- TOD at Parsec's listed price would cost $300 a month for one million decisions, plus the parent model's fees for any documents that it passes on.
For short documents, the gap narrows. Comprehend's minimum charge is 3 units, so a 300-character message costs $1.50 per 1,000 documents. The prompt overhead for an LLM stays the same whatever the document length.
The decision depends on your labeled data, label churn and need for scores
The following guide matches each situation to the option that fits it best.
- Teams with hundreds of labeled examples per class, stable labels and no MLOps staff can stay on Comprehend. Nothing announced so far forces a move, and its scores support a deferral threshold. With CSV input, Comprehend needs at least 50 training documents per class in multi-class mode and 10 per class in multi-label mode.
- Teams with few labeled examples or labels that change often should prompt a small Nova model first. Run it in batch when latency does not matter, and plan a separate way to flag uncertain cases.
- Teams whose prompted model falls short on accuracy should fine-tune Nova Micro or Nova Lite. Training costs are small at these volumes, and on-demand inference keeps the base price.
- Teams that need portable weights, on-premises hosting or tight latency should fine-tune ModernBERT or DeBERTa on SageMaker. Teams with only a few examples per class should try SetFit on the same infrastructure.
- Teams on Azure Custom Text Classification should finish a migration before March 31, 2028, because the current training configuration can no longer be used to train models after that date.
A migration starts with your training data and a fixed held-out set
Comprehend's documentation describes copying a trained model to another AWS account in the same Region. It does not mention downloading the model. What you can take with you is the labeled CSV or augmented manifest that you trained it on, which already sits in your S3 bucket.
The following steps keep the comparison fair.
- Record the current classifier's accuracy, macro F1 and per-class results from
DescribeDocumentClassifierbefore you change anything. - Build a fixed held-out set from recent production documents. If you never supplied a test set, Comprehend tested on a random 10 percent of your training data, and you may not know which documents it used.
- Check class balance. AWS recommends a skew of no more than 10 to 1 between the largest and smallest classes, and the same rule helps every alternative.
- Run each candidate on the identical held-out set, and score it with the same macro F1 that Comprehend reports.
- For each candidate that returns probabilities, choose a confidence threshold and measure accuracy on the documents that it keeps and the share that it defers.
- Run the winner in parallel with Comprehend on live traffic before you delete the Comprehend endpoint, because the endpoint bills by the second until you delete it.
Sources
- AWS, Amazon Comprehend feature availability change: https://docs.aws.amazon.com/comprehend/latest/dg/comprehend-availability-change.html
- AWS, AWS Service Availability Updates (March 31, 2026): https://aws.amazon.com/about-aws/whats-new/2026/03/aws-service-availability
- AWS, Amazon Comprehend Custom: https://docs.aws.amazon.com/comprehend/latest/dg/concepts-custom.html
- AWS, Training classification models: https://docs.aws.amazon.com/comprehend/latest/dg/training-classifier-model.html
- AWS, Test the training data: https://docs.aws.amazon.com/comprehend/latest/dg/testing-the-model.html
- AWS, Custom classifier metrics: https://docs.aws.amazon.com/comprehend/latest/dg/cer-doc-class.html
- AWS, Comprehend guidelines and quotas: https://docs.aws.amazon.com/comprehend/latest/dg/guidelines-and-limits.html
- AWS, ClassifyDocument API: https://docs.aws.amazon.com/comprehend/latest/APIReference/API_ClassifyDocument.html
- AWS, DocumentClass API: https://docs.aws.amazon.com/comprehend/latest/APIReference/API_DocumentClass.html
- AWS, Copying custom models between AWS accounts: https://docs.aws.amazon.com/comprehend/latest/dg/custom-copy.html
- AWS, Amazon Comprehend pricing: https://aws.amazon.com/comprehend/pricing/
- AWS, Amazon Bedrock pricing: https://aws.amazon.com/bedrock/pricing/
- AWS, Amazon Bedrock price list (US East): https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonBedrock/current/us-east-1/index.json
- AWS, Amazon SageMaker price list (US East): https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonSageMaker/current/us-east-1/index.json
- AWS, Supported models for fine-tuning in Bedrock: https://docs.aws.amazon.com/bedrock/latest/userguide/custom-model-supported.html
- AWS, Deploy a custom model for on-demand inference: https://docs.aws.amazon.com/bedrock/latest/userguide/deploy-custom-model-on-demand.html
- AWS, How Text Classification - TensorFlow works: https://docs.aws.amazon.com/sagemaker/latest/dg/text-classification-tensorflow-HowItWorks.html
- Google Cloud, Vertex AI deprecations: https://docs.cloud.google.com/vertex-ai/docs/deprecations
- Microsoft Learn, Custom text classification overview: https://learn.microsoft.com/en-us/azure/ai-services/language-service/custom-text-classification/overview
- Microsoft Learn, Model lifecycle for Azure Language: https://learn.microsoft.com/en-us/azure/ai-services/language-service/concepts/model-lifecycle
- Microsoft Tech Community, Transitioning from Azure Language features to Foundry models: https://techcommunity.microsoft.com/blog/azure-ai-foundry-blog/transitioning-from-azure-language-features-to-foundry-models/4524092
- Anthropic, Pricing: https://platform.claude.com/docs/en/about-claude/pricing
- Hugging Face, ModernBERT-base: https://huggingface.co/answerdotai/ModernBERT-base
- Hugging Face, DeBERTa-v3-base: https://huggingface.co/microsoft/deberta-v3-base
- SetFit, GitHub repository: https://github.com/huggingface/setfit
- SetFit, API reference: https://huggingface.co/docs/setfit/main/en/reference/main
- Parsec, TOD: https://parseclab.ai/tod/
- Parsec, TOD repository: https://github.com/daseinlabs/tod