Skip to content
Embedding Space

Blog/·7 min

One endpoint, any input, measured

The decision API now takes text, images, recordings and clips through the same call, and audio answers carry the transcriber's own confidence, which caps theirs. Latency of every modality measured against the live endpoint, the mishear eval behind the new cap, and recalibration at one read per row.


A record is whatever your traffic actually looks like. A support queue is typed text until somebody leaves a voicemail; a claims inbox is PDFs until somebody photographs a form; an agent reviewing onboarding calls gets video. The decision API now takes all of it through the same call: send input instead of text, a string is text, and an object carries one of image, audio, video or data as base64. With data the bytes say what they are from their own magic numbers, and a declared type that contradicts the bytes is refused rather than guessed about.

Same typed answers out: a label per question, a calibrated confidence, a conformal set, a route. Same price, $0.002 a decision whatever the modality. This post is the measured part: how fast each input answers on the live endpoint, what each modality honestly gets, and the newest piece, a transcriber that reports its own confidence so a misheard recording cannot ride into an automatic decision.

How fast, measured on production

Twelve sequential calls per modality against api.embedding.in from a laptop over the public internet, so the network is included, which is the number you would actually see. The first call after a quiet spell is shown separately as cold.

inputsizecold (s)p50 (s)p95 (s)
texta sentence1.060.5611.048
audio (wav, 6 s speech)183 KB1.061.0511.722
audio (mp3, same speech)18 KB0.720.7110.78
image (png)7 KB11.870.8661.015
video (mp4, 6 s clip with speech)64 KB1.141.0771.675

Reading it: a decision about six seconds of speech costs about half a second more than a decision about a sentence, and most of the wav row's extra over the mp3 row is upload size, not the model. The image cold call is the vision tower loading once; after that, pixels answer in under a second. Video demuxes the audio track, transcribes it and rides the same path as audio, so a six second clip with speech lands near a second too.

What each modality honestly gets

Audio and video with speech are transcribed on the inference host and the transcript rides the ordinary text path, so your fitted heads, your calibration and your review band apply to a recording exactly as they do to typed text. The transcript and the transcriber's name come back in the response, because a decision made on words you never saw cannot be audited.

Images, and clips with no usable speech, are read by the model's frozen vision tower. The answers come back in the same typed shape, but calibrated by the checkpoint's published calibration, not yours: a fitted head reads text features and has nothing honest to say about pixels, so the row records calibration_version: null rather than claiming a text-fitted calibration corrected an answer it never saw. One API, but no pretending the paths are the same.

New: the transcript's own confidence

A sharp question from a reader after launch: does audio confidence include the speech recognizer's uncertainty, or only the classifier's uncertainty given the transcript? A misheard "don't cancel" could still produce a very confident cancellation.

It was the latter, and now it is both. The transcriber's per-token probabilities survive transcription, their geometric mean rides every audio response as asr_confidence, and each answer's confidence is multiplied by it before the band routes. A recording the transcriber half-heard goes to a person even when the answer about the transcript looked sure. The probabilities and the conformal set stay as the engine answered them: they describe the answer given the transcript, and the cap is the separate statement about the transcript itself.

Measured, on 120 synthesized clips (12 sentences, 2 voices, 5 corruption levels), with the eval script committed beside the feature:

conditiontranscript correctmean asr_confidence
clean92%0.907
noise, SNR 10 dB88%0.904
noise, SNR 0 dB58%0.802
noise, SNR -5 dB17%0.624
1.5x speed79%0.873

The number falls as the audio degrades, which is its whole job. Across all 120 clips it separates correct transcripts from wrong ones at AUROC 0.745. On the clips where the decisive negation was lost in transcription, the exact case the question was about, the transcriber claimed 0.684 on average against 0.934 when the negation survived, so the cap pulls those decisions under the band and a person sees them.

The honest limit, stated here before marketing can lose it: a confident mishear on clean audio still scores high. This catches uncertain transcripts, not every wrong one. The transcript in the response is what catches the rest, which is why it is not optional verbosity.

Refresh the calibration without refitting

Once a project is fitted, new labelled rows no longer cost a full refit. Upload with ?mode=calibrate (or studio calibrate <slug> new-rows.csv in the CLI, or the checkbox on the project page) and the served fit's heads are kept while the temperature, the conformal threshold and the band frontier are refitted on the new file. One read per row instead of about two, so half the cost, and the result is an ordinary fit you can band and serve, with its parent recorded.

For the agents reading this

Both sites now publish robots.txt and llms.txt, so a coding agent can read the documentation the way you read this post. The CLI is one file of stdlib Python or one npm package, prints JSON, and exits non-zero on refusal, which is all an agent needs to wire a decision into a pipeline.

Try it at studio.embedding.in, and the docs carry every call on this page.


More posts·embedding.in