LIVE · Thursday 3 December

Replacing a $14k/Month GPT-4.1 Ticket Classifier: Self-Hosted ModernBERT vs Managed Endpoint vs GPT-6 Luna

Three million GPT-4.1 labels can train your own ticket classifier, and one T4 or L4 costs $242 to $588 a month. Which option wins depends on your volume, your taxonomy and who will run it after January 14.

By Surya8 min read

Yes, 3 million GPT-4.1 labels is enough to train your own ticket classifier: Pangakis and Wolken's 2024 study of fine-tuned BERT classifiers vs GPT-4 found that 1,000 GPT-4 labels per task produced classifiers comparable to ones trained on human labels. Self-hosting a ModernBERT-base classifier on an AWS g4dn.xlarge (T4) or g6.xlarge (L4) costs $242 to $588 a month at AWS's November 17, 2026 list prices, and a managed endpoint costs about the same. But GPT-4.1 shuts down on January 14, 2027, and its replacement, GPT-6 Luna, would handle the same volume for roughly $700 a month at list price, so the saving from owning the model is hundreds of dollars, not $13,000. Choose by situation, and decide only after scoring each option against tickets people have labelled.

First, translate the bill into tickets

Every comparison starts with volume, and the bill hides it. OpenAI lists GPT-4.1 at $2 per million input tokens and $8 per million output tokens; through the Batch API, which returns results within 24 hours, it is $1 and $4. A classification request is mostly input: the ticket, the instructions and the list of categories. The output is a label.

Assume 1,000 input tokens and 10 output tokens per ticket. One classification then costs $0.00208, and $14,000 a month pays for about 6.7 million tickets, or about 2.6 a second averaged over a 30-day month. That is the working assumption below. If your requests are shorter, the volume is higher: at 500 input tokens the bill covers about 13 million tickets, and at 1,500 tokens about 4.5 million. If your instructions repeat verbatim, OpenAI's $0.50 cached-input rate would mean you are serving more tickets than this arithmetic suggests. Check your token logs before trusting any figure here.

Your options after January 14

OpenAI's deprecations page, in a notice dated October 14, 2026, sets January 14, 2027 as the shutdown for both GPT-4.1 and GPT-4.1 mini, and names GPT-6 Luna as the replacement. GPT-4.1 nano already shut down on October 23. GPT-4.1 mini, at $0.40 and $1.60 per million tokens, would cost about $2,800 a month at the volume above, but it is not an option for long: it shuts down on the same day as GPT-4.1. That leaves four realistic options.

Option Monthly cost at 6.7M tickets Who runs it Main risk
GPT-6 Luna, standard API about $707 plus reasoning output OpenAI Unproven accuracy; next deprecation
GPT-6 Luna, Batch API about $353 plus reasoning output OpenAI Up to 24-hour delay
Self-hosted encoder, one g4dn.xlarge $242 (Savings Plan) to $384 You Engineering and retraining
Self-hosted encoder, two g6.xlarge $765 (Savings Plan) to $1,175 You Engineering and retraining
Managed endpoint, one L4 on Hugging Face $584 You train, host serves Still your pipeline

The Luna rows use OpenAI's list price of $0.10 per million input tokens and $0.50 per million output. Its model page sets reasoning effort to medium by default; the figures include no reasoning output, and how much Luna spends on a classification prompt has not been measured. The AWS rows use the US East (N. Virginia) price list published November 17, 2026, over a 730-hour month, from the one-year EC2 Instance Savings Plan with no upfront payment to on-demand.

If your categories are stable and traffic is steady: self-host an encoder

This is the case distillation was made for. A fine-tuned encoder reads the ticket once and outputs a probability for each category, with no prompt, no output tokens and no per-request charge.

ModernBERT-base is the default choice. It is Apache 2.0, has about 149 million parameters and reads up to 8,192 tokens, so long ticket threads need no truncation. Its paper reports a GLUE average of 88.4, against 88.1 for DeBERTa-v3-base and 84.7 for the original BERT, and measured it at 147,300 tokens a second on a single RTX 4090 for inputs averaging 256 tokens, about four times DeBERTa-v3-base's 35,100. At 256 tokens per ticket, ModernBERT's figure is roughly 575 tickets a second. DistilBERT, at 67 million parameters, is the fallback if you need something smaller.

None of those speeds was measured on a T4, an L4 or a CPU, and no published source gives throughput or p50 and p95 latency for these models on g4dn.xlarge or g6.xlarge. Against an average load of a few tickets a second, one GPU is very likely enough, but load-test your own peak before you size the fleet. A second instance for redundancy is the usual choice for a router the support desk depends on.

On AWS, g4dn.xlarge costs $0.526 an hour on demand and $0.331 on the Savings Plan; g6.xlarge costs $0.8048 and $0.52392. For batch work that can run overnight, a CPU instance is the cheapest host: c7i.2xlarge costs $261 a month on demand and $172 on the plan, though CPU throughput for a quantised model has not been measured either.

If you would rather not run servers: a managed endpoint

Hugging Face's Inference Endpoints run your fine-tuned model on hardware it manages, billed by the minute. Its pricing page lists a single T4 at $0.50 an hour and a single L4 at $0.80, about $365 and $584 for a full month, and an eight-vCPU Intel instance at $0.268. That removes server maintenance but not the rest: you still build the training set, train, evaluate and retrain.

Parsec, a small language model lab, sells a more complete managed loop for custom models. Its inference page describes tracing production requests, building datasets and evaluations the customer approves, training and serving, with low-confidence requests sent to a closed frontier model, and says "Weights: Yours. Download them." Its own-GPUs comparison page claims "about 4 weeks" to a first custom model, against "100+ ML engineer hours" to run your own GPUs, citing no source for either. It publishes no price for this service, that page describes shared serving and does not mention deployment in your own cloud, and its pages describe fine-tuning compact models without mentioning encoder classifiers.

If your taxonomy changes often or volume is low: GPT-6 Luna

A prompt can absorb a new category the same day; a classifier needs fresh labels and a retraining run. If your categories shift monthly, or if you handle fewer than a couple of million tickets a month, Luna is hard to beat. OpenAI describes it as "Our most efficient model for focused, high-volume tasks," and at the assumption above it costs about $105 per million tickets, or about $52.50 through Batch.

What you give up is ownership. Luna cannot be fine-tuned, according to its model page, so the GPT-4.1 labels cannot be used to tune it, and its accuracy on ticket classification has not been published. It will also have its own deprecation date one day.

The worked example: cost by volume

The second table runs the three main options at 1 million, 5 million and 10 million tickets a month. Self-hosting uses one g4dn.xlarge on a Savings Plan, assuming it keeps up with peaks at all three volumes, which has not been measured.

Tickets per month GPT-4.1 (until Jan. 14) GPT-6 Luna, standard One g4dn.xlarge
1 million $2,080 $105 $242
5 million $10,400 $525 $242
10 million $20,800 $1,050 $242

Every row assumes 1,000 input and 10 output tokens per ticket, OpenAI's standard list prices and no reasoning output for Luna. The self-hosted figure excludes storage, load balancing, data transfer, a second instance and people. On hardware alone, one T4 breaks even with Luna at about 2.3 million tickets a month; a redundant pair of L4s at $765 breaks even at about 7.3 million.

The cost that decides the comparison is not in either table. Building training, serving, monitoring and retraining takes engineering time, and no published source gives a measured number of engineer-weeks. At a hosting difference of a few hundred dollars a month, the engineering is usually the larger line.

The checks that apply to every option

Accuracy comes first. A classifier trained on GPT-4.1's labels learns to agree with GPT-4.1. Pangakis and Wolken found a median F1 difference of only 0.006 between GPT-4 and classifiers trained on its labels, and both showed the same pattern of high recall and low precision: around 0.50 precision for BERT on GPT-4 labels, against 0.71 for BERT on human labels. Their tasks were binary; how F1 changes between 10,000 and 3 million labels on a multi-category ticket set, and how rare categories with a few hundred examples behave, has not been measured. So score every option twice: agreement with GPT-4.1, and accuracy on a stratified gold set of 2,000 to 5,000 tickets labelled by people, including GPT-4.1's own score on it. If an agent labels one ticket a minute, 3,000 tickets takes 50 hours. Whatever you deploy, send tickets below a confidence threshold to an LLM or a person.

The contract is the second check. OpenAI's Services Agreement, version dated January 1, 2026, says the customer "owns all Output" and bars using it to build models "that compete with OpenAI's products and services," except for a "Permitted Exception" that covers models "primarily intended to categorize, classify, or organize data (e.g., embeddings or classifiers), if these models are not distributed or made commercially available to third parties." An internal ticket router fits that wording. OpenAI's general Terms of Use, dated the same day, put the restriction more briefly (users may not "Use Output to develop models that compete with OpenAI"), so confirm which document governs your account. This is a reading of the text, not legal advice.

Bottom line

If your categories are stable and you process more than a few million tickets a month, fine-tune ModernBERT-base on your GPT-4.1 labels and host it on one or two T4 or L4 instances for $242 to $765 a month. If you want that without running servers, a managed endpoint costs about the same. If your taxonomy changes often, your volume is low or no one can own a model in production, move to GPT-6 Luna before January 14 and expect a bill near $700 at this volume. Whichever you choose, score GPT-4.1 on a human gold set now, while it is still running.

Sources

More in Chips & Compute

All Chips & Compute →