Overview
Turion fine-tunes a small open model on your data, serves it behind an OpenAI-compatible API that
scales to zero, and runs agents on it. The turion CLI is the main interface. Everything it does
is also available from the Python SDK and the REST API.
- Training. LoRA, QLoRA or full fine-tunes of a catalog base (
turion bases) or a public Hugging Face model. Each job scores the base and the tuned model on your eval cases, so you see whether the fine-tune helped before you serve it. - Serving.
turion deployputs the result behindPOST /v1/chat/completions. It scales to zero by default, and the OpenAI SDKs work against it with a differentbase_url. - One gateway. The same endpoint reaches your fine-tunes and frontier models through your own
provider keys (
openai/…,anthropic/…). Every call leaves a trace you can read back. - Agents. Start from the template, give it instructions and skills, deploy it, and distil its traces into a small fine-tune. See Agents below.
The short path
Section titled “The short path”-
Install the CLI (Python 3.11+):
Terminal window uv tool install turion# or: pipx install turion -
Log in with a
tk_key:Terminal window turion login -
Train a base model on a JSONL file of chat examples. The file is validated on your machine and uploaded, a tenth of it is held out as the eval set, and the command follows the job and prints the eval result:
Terminal window turion train --base gemma-4-e4b --data tickets.jsonl \--eval-split 0.1 --name tickets-v1 -
Deploy the fine-tune. It scales to zero when idle:
Terminal window turion deploy acme/tickets-v1 -
Chat with it from the CLI, or from any OpenAI client:
Terminal window turion chat acme/tickets-v1 "I was charged twice for March"
The Quickstart runs this end to end with a small example dataset you can download, in about half an hour.
Guides
Section titled “Guides”Agents
Section titled “Agents”An agent calls the gateway as agent:<name>, so its calls are traced. A new one starts from the
template: instructions and skills that Turion runs for you, on Turion’s shared model. Once there
is enough traffic, the traces become a dataset for a small fine-tune, and you choose what share of
the agent’s calls goes to it:
turion agent new my-agent && cd my-agent# write what it does in instructions.md and skills/turion agent deployturion agent run my-agent -i "What can you help me with?"turion agent distil my-agent --base gemma-4-e4b # after ~1,000 usable tracesAgents covers the template, agents with their own code and deploy; Evaluate, distil & route covers the rest.
Image models (Cog)
Section titled “Image models (Cog)”Turion also runs Cog models through the predictions API: Civitai checkpoints, Replicate imports and your own Cog projects. Start with Deploy a Cog model.