Skip to main content
Blog · Analysis

Same Model, Different Behavior: What DeepInfra and Novita Do With Your Request Parameters

Vishal Vishwakarma11 min read

Open-weight models have quietly become interchangeable at the API layer. The same Qwen, DeepSeek or Llama checkpoint is served by several inference providers behind the same OpenAI-shaped endpoint, and switching between them is usually a change of base URL and model id. That portability is real, and it is a large part of why teams now spread traffic across providers. What has received far less attention is whether the request means the same thing once it arrives.

Consider two requests with the same model, the same parameters and the same prompt. One comes back as the JSON object your schema describes. The other comes back as a friendly sentence, with a 200 status and no error, because the provider serving it accepted response_format and then did nothing with it. Nothing in the response tells you which of the two you got.

"OpenAI-compatible" is true in the sense that matters for getting started: the request shape and the response shape match. It is not a promise about which parameters are honored. That part depends on the serving stack between the HTTP endpoint and the model weights, and serving stacks differ, even for the same open model.

We measured it. Between late October and mid-November 2026 we put the same set of questions to a sample of chat models on two serverless providers, DeepInfra and Novita: 49 models on DeepInfra and 43 on Novita, covering the main open families (Qwen, DeepSeek, Llama, GLM, Kimi, Gemma, MiniMax and others). We call one model on one provider a route. The full per-route results are in a CSV you can download.

Why the same model behaves differently

A model's weights decide what it can say; the serving stack around them decides which request parameters reach the model at all. Three layers sit in between, and each is a place where an OpenAI parameter can be honored, translated or dropped.

The first is the inference engine. Most open-weight serving runs on engines such as vLLM, SGLang or TensorRT-LLM, and features like strict JSON schema depend on the engine's constrained-decoding backend being enabled and wired to the API. OpenAI's own structured outputs guarantee schema adherence because decoding is constrained, not because the model was asked nicely; a provider that forwards the schema without constraining decoding has accepted the parameter without implementing it.

The second is the chat template, the per-model script that turns a list of messages into the token sequence the model was trained on. Thinking switches live here: Qwen3, for example, reads an enable_thinking flag inside its template, which engines expose through template arguments described in the Hugging Face chat templating docs. Whether a provider forwards those arguments, maps reasoning_effort onto them, or does neither is a deployment decision.

The third is the provider's own API layer, which decides what to validate, what to refuse and what to pass through silently. Reasoning output adds a further wrinkle: engines separate reasoning from the answer with model-specific parsers, and those reasoning tokens are billed as output, as OpenAI's reasoning guide describes for its own models. A max_tokens that counts only the visible answer leaves the reasoning, and the bill, unbounded.

What we asked, and what counted as yes

A parameter can fail in two ways. The provider can refuse it with a 4xx, which is honest and easy to handle. Or it can accept it and ignore it, which is the expensive failure, because the request succeeds. So wherever the answer allows it, a "yes" below means we saw the parameter take effect, not that the request was accepted.

ParameterWhat we sentWhat counted as yes
json_schema (strict)A strict schema, with a prompt that does not itself ask for JSONAn answer that validates against the schema; prose means ignored
json_objectJSON mode with a prompt that names JSONAccepted (a refusal check: the prompt asks for JSON, so an ignoring model writes it anyway)
toolsOne tool definitionAccepted
tool_choice: requiredOne tool, forcedA tool call comes back; prose means ignored
ImagesAn image with one unambiguous property, and a question about itThe answer describes it correctly
logprobslogprobs: trueA logprobs object in the answer
max_tokensA small cap on a prompt that makes a reasoning model thinkReasoning plus answer stop near the cap
finish_reasonThe same cut answerIt says length
stopA stop sequence that the answer would otherwise containThe visible text ends before it
RepeatabilityTwo requests at temperature 0 with the same seedIdentical text (an observation, not a fault)

Providers change deployments, so treat this as a snapshot of the measurement window, not a standing rating.

The results

ParameterDeepInfra: yes / noNovita: yes / no
Strict json_schema enforced46 / 316 / 26
json_object accepted45 / 236 / 6
tools accepted46 / 338 / 5
tool_choice: required obeyed44 / 435 / 7
Images seen (where the model takes images)21 / 423 / 0
logprobs returned30 / 1924 / 19
max_tokens bounds reasoning and answer43 / 533 / 10
finish_reason: length on a cut answer43 / 133 / 0
stop honored47 / 033 / 2
Same text twice at temperature 0 with a seed21 / 2613 / 21

Routes not asked a question (a model without images, a check not yet run) are left out of that row, so rows do not sum to the route count.

Three things stand out. Strict structured output is the widest gap: Novita accepted a strict schema and answered in prose on 26 of 42 routes. Logprobs are missing on roughly two in five routes on both providers. And on 15 routes across the two, max_tokens did not bound the output of a reasoning model, which matters more than it sounds, because reasoning tokens are billed as output.

Same model, two providers

The table above mixes two effects: what a model can do, and what its provider's stack passes through. Holding the model fixed separates them. 25 models are served by both providers, and on 21 of them the two disagree on at least one parameter.

ModelParameterDeepInfraNovita
Qwen3.5 27B, Qwen3.5 35B-A3B, Qwen3.5 397B-A17B, Qwen3.6 27B, Qwen3.6 35B-A3Bstrict json_schemayesno
max_tokens bounds reasoningyesno
Qwen3.7 Maxstrict json_schemayesno
GLM 4.6, GLM 4.7strict json_schemayesno
logprobsyesno
DeepSeek V3strict json_schema, json_objectyesno
logprobsnoyes
DeepSeek V4 Prostrict json_schemayesno
logprobsnoyes
DeepSeek V4 Flash (0731), Kimi K3logprobsnoyes
Llama 3.3 70Bstrict json_schema, json_objectyesno
Llama 4 Scoutstrict json_schema, json_object, tools, tool_choiceyesno
Gemma 3 27Bstrict json_schema, json_object, tools, tool_choiceyesno
Llama 3.1 8Btools, tool_choiceyesno
Kimi K2.6tool_choice: requiredyesno
MiniMax M3strict json_schema, logprobs, stopyesno
imagesnoyes
Qwen3.8 Flashimagesnoyes
Qwen3.8 Maximagesnoyes
logprobsyesno

No provider wins every row. DeepInfra is the safer choice for structured output and tool use on these models; Novita returns logprobs on DeepSeek and Kimi models where DeepInfra does not, and sees images on three models where DeepInfra's deployment dropped them. The practical reading is narrower than "pick provider X": the parameter you depend on decides the provider, model by model.

Turning thinking on and off

Reasoning models add a parameter the OpenAI API never standardized: whether the model thinks. Providers expose it under different spellings, and the spelling that works is a property of the route, not of the provider.

DeepInfraNovita
Routes that think by default2431
Switched off by reasoning_effort: "none"227
Switched off by chat_template_kwargs: {enable_thinking: false}(not needed)13
Switched off by thinking: {type: "disabled"}(not needed)1
Could not be switched off by any spelling we tried210
Routes that do not think by default2512
Switched on by chat_template_kwargs: {enable_thinking: true}83
Switched on by reasoning_effort: "high"02

On DeepInfra one spelling, reasoning_effort: "none", turns thinking off on 22 of 24 routes. On Novita the same intent takes three different spellings depending on the model, and 10 routes kept reasoning whatever we sent. A spelling a route does not read is dropped without an error, so the only way to know which one works is to send it and look for reasoning in the answer. The per-route switches are in the CSV.

What to do about it

  1. Test the parameter on the exact route you serve from. Model and provider together, not either alone. A 200 response is not evidence that a parameter took effect.
  2. Validate structured output on your side. Even where strict json_schema is enforced today, a deployment change can quietly stop enforcing it. Parse, validate, and retry or repair on failure.
  3. Enforce your own output budget for reasoning models. Count tokens on the stream and close it when reasoning plus answer reach your limit, rather than trusting max_tokens to cover reasoning.
  4. Read the cut from the token count as well as finish_reason. One route stopped at the cap and still reported a normal finish.
  5. Do not build on seed determinism. Fewer than half the routes returned the same text twice at temperature 0 with a seed. Cache answers you need to reproduce.
  6. Re-check periodically. Deployments change without notice, and a verdict that was true last month may not be true now.

If you run traffic across several models and providers, these differences are the kind of thing an AI gateway should absorb for you rather than leave to each application.

Method and data

  • Window: late October to mid-November 2026.
  • Routes: a sample of 49 chat models on DeepInfra and 43 on Novita. Same-model pairs are matched by model, not by the provider's model id spelling.
  • Verdicts: "yes" means the effect was observed in the answer where the parameter allows that (structured output, tool calls, images, logprobs, the cap, stop); for json_object and tools it means the parameter was accepted. "Not asked" means the question did not apply or had not run.
  • Limits: each verdict rests on a small number of requests per route, so an intermittent behavior can read as a clean yes or no. A "no" can reflect the model rather than the provider, which is why the same-model comparison is the stronger evidence. And a provider can change a deployment the day after it was measured; the verdicts describe the window, not the present.
  • Download: llm-provider-parameter-support-2026-11.csv, one row per route, with the thinking switches that worked.

Frequently asked questions

LLM APIstructured outputOpenAI-compatible APIserverless providersreasoning models

Have thoughts on this article?

We would love to hear your feedback, questions, or experience with these topics. Reach out on social media or drop us a message.

Related Articles

Stay up to date

Get notified when we publish new articles on AI model selection, cost optimization, and infrastructure planning.

Put intelligence in the middle.

Start on the free plan with 5,000 requests a month, no card required.