Skip to main content
Auriko’s POST /v1/chat/completions endpoint accepts the parameters below. The endpoint is OpenAI-compatible with Auriko-specific extensions for routing and metadata.

Supported Parameters

25 parameters are accepted and forwarded to providers.
ParameterTypeRequiredDescription
auriko_metadataRequestMetadataNo
extensionsExtensionsNo
frequency_penaltynumberNoFrequency penalty (-2 to 2)
logit_biasobjectNoToken logit bias
logprobsbooleanNoReturn log probabilities
max_completion_tokensintegerNoMaximum tokens to generate (preferred for o1/o3 models)
max_tokensintegerNoMaximum tokens to generate (legacy, use max_completion_tokens)
messagesMessage[]YesThe messages to generate a completion for
modelstringConditionalModel ID to use.
modelsstring[]ConditionalAuriko extension: Multi-model routing.
nintegerNoNumber of completions to generate
parallel_tool_callsbooleanNoAllow parallel tool calls
presence_penaltynumberNoPresence penalty (-2 to 2)
response_formatResponseFormatNo
routingRoutingOptionsNo
seedintegerNoRandom seed for reproducibility
stopstring | arrayNoStop sequences
streambooleanNoEnable streaming responses
stream_optionsStreamOptionsNo
temperaturenumberNoSampling temperature (0-2)
tool_choiceToolChoiceNo
toolsTool[]NoTools the model can call
top_logprobsintegerNoNumber of top logprobs to return
top_pnumberNoNucleus sampling parameter
userstringNoUser identifier for abuse detection

Deprecated with Auto-Transform

These legacy OpenAI parameters are accepted and automatically converted to their modern equivalents.
ParameterTransforms ToReason
function_calltool_choicedeprecated by OpenAI, converted to tool_choice
functionstoolsdeprecated by OpenAI, converted to tools

Accepted and Silently Dropped

These parameters are accepted but ignored. A warning is included in routing_metadata.warnings.
ParameterWarning Message
metadataunsupported_field: metadata (use auriko_metadata instead)
predictionunsupported_field: prediction
service_tierunsupported_field: service_tier (use routing.optimize instead)
storeunsupported_field: store

Rejected with Error

These parameters cause the request to fail with an error response.
ParameterStatusError CodeConditionMessage
audio400unsupported_modalitiesaudio output is not supported
modalities400unsupported_modalitieswhen requesting audio outputaudio output is not supported