Raw logits from a single prefill-only forward pass
Runs one non-autoregressive forward pass over pre-tokenized input and returns the raw LM-head logits. This is NOT the OpenAI generative logprobs semantics — no sampling or decode loop runs. Intended for on-target accuracy metrics (perplexity, MMLU, MMMU). Input is pre-tokenized (input_ids); the server does not tokenize text here.
post/v1/logits
Request body
Example request
{
"model": "qualcomm/Qwen3-4B-Instruct-2507",
"input_ids": [
1,
2,
3,
4
],
"last_only": false,
"top_n": 20
}Response
Successful response