token_prices (inference start without --yes prints them; an answer’s usage
names its cached prompt tokens); loading the model and idle time are not billed. A run stops itself after --max-hours, or
after --idle-timeout seconds without a request (default 1800).
A run can also serve a base model with no training job, to measure it on your evaluation set before training: start
it with --model (a model whose methods list inference) instead of --job.
Call it
Many prompts at once (an evaluation set):connect sends a whole batch in one request, as in an RL run.
uv pip install openai):
chat/completions,completionsandmodels; anymodelname means the run’s model.- Chat prompts render with thinking off, as jobs train (Data). Ask for it with
extra_body={"chat_template_kwargs": {"enable_thinking": True}}. - A model that reasons before it answers (
muse-glimmer-30b) returns the answer as the content and the reasoning apart:reasoning_contentin a chat completion,reasoningon a sample. Givemax_tokensroom for both. qwen4-35b-a3bwith thinking on returns its reasoning apart as well (the message’sreasoning), and takes how much to think beside it:extra_body={"chat_template_kwargs": {"enable_thinking": True, "reasoning_effort": "low"}}(low,highorxhigh;highwhen unset).stream=Truestreams the answer as it is generated; a long answer should stream. Without it, one call must finish in about 90 seconds through the public API: keepmax_tokensmoderate, and send large batches withconnectinstead (it polls, so it has no such limit).
inference in client.models()[i].methods.
Images and videos
A job trained on images or videos is served with them when the run starts withimages=True (CLI --images):
prompts then hold image and video parts as in Images and videos (“Serve the trained model”). Videos are read with the frame
settings the job trained with. A prompt’s images and videos count toward the run’s context (max_seq_len of the
inference method).
The run is billed from ready, and files it has not seen are uploaded and checked first, which can take minutes. For
an evaluation set, check the files before the run starts and give them to it:
media for every run of the same set. Without it, each run uploads its files as a dataset of its own
(images of inf_...), deleted once the run has ended; it counts toward the 50 datasets an account keeps meanwhile.