Skip to content

Model garden (old endpoint)

The model garden is a curated catalog of LLMs that Turion serves for you, some on Turion’s GPUs and some through a hosted provider. You only need your Turion key, and usage is metered in tokens. Most garden ids are chat models; Turion’s own Turion Extract alpha (turion-extract-alpha) and Turion Jev 31B (turion-jev-31b) answer their own endpoints.

The gateway, POST /v1/chat/completions, serves every garden id as well as your fine-tunes and provider models with your own keys, and it records traces. turion chat MODEL and client.chat.completions.create(...) use it.

The garden’s own endpoints keep working for existing code:

EndpointCLI (hidden alias)SDK
GET /v1/garden/modelsturion garden modelsclient.garden.models()
POST /v1/garden/chat/completionsturion garden chat MODEL PROMPTclient.garden.chat(model, messages, stream=False, **params)

What applies to garden models on either endpoint:

  • The catalog is an allowlist. GET /v1/garden/models lists what you can call ({"models": [{"id", "name", "context_length", "kind", "endpoint"}]}), Turion’s own models first. On the garden endpoint a model outside it is 403 garden_model_not_available; on the gateway it is 404 model_not_found.
  • kind says which endpoint answers an id. chat answers chat completions, extract answers POST /v1/extract and decision answers POST /v1/systemone; endpoint names the path. A chat call to an extract or decision id is refused with 409 extract_model or 409 decision_model.
  • No routing overrides. A body with models, route or provider is refused with 400 invalid_request.
  • Self-hosted garden models use your concurrency quota. Each call (chat, extract or decision) is one in-flight prediction on your account while it runs, so a burst can answer 429 quota_exceeded. Proxied ones do not.
  • Billing is in tokens, for streamed and non-streamed calls alike, whichever backend served them; an extract or decision call bills its input tokens (it generates none). The GPU time a self-hosted garden model spends is not billed to you. The tokens appear in turion usage.
  • Timeouts and mid-stream errors are the same as for your own models on the gateway: a non-streaming call waits up to 180 seconds at the API (the proxy in front of api.turion.ai answers 524 after 100 to 120 seconds with no answer), a stream up to 10 minutes, and a failure after the stream started arrives as an error frame. On the garden endpoint that frame is {"error": {"code", "message", "details"}}; if details carries a prediction_id, the completion finished and is stored at GET /v1/predictions/{id}, so fetch it instead of retrying.

Endpoint shapes: REST API → Model garden.