Skip to content
Developer docs

Models and pricing

The approved roster, capability flags, and reservation estimates for each model.

Trace exposes a small, reviewed roster. A model that is not on it cannot be called, whatever id you pass.

Reading the roster#

from trace_sdk import Trace

client = Trace()

for model in client.models.list():
    print(f"{model.id:<40} {model.operation:<10} {model.credits_per_1k_tokens}")
trace models

The gateway is the authority. This page can go stale; client.models.list() cannot.

The roster#

Model idOperationToolsStreamingEstimated credits per 1K tokens
openai/gpt-6-lunachatyesyes0.20
xiaomi/mimo-v2.5chatyesyes0.25
anthropic/claude-haiku-5.5chatyesyes0.50 — default
openai/text-embedding-3-smallembeddingnono0.02 — default

The chat models are exactly the roster the Trace builder offers, so a workflow you prototype visually uses the same models your code does. openai/text-embedding-3-small is reachable only through the SDK and never appears in a chat block.

The builder's Text to Speech block uses Fish Audio S2.1 Pro, released July 29, 2026. It costs $15 per million UTF-8 bytes ($0.015 per 1,000 bytes) as checked on October 7, 2026. Non-ASCII text can use several bytes per character. Requests require a ZDR route through OpenRouter and use the provider's default voice unless a voice ID is supplied.

The default model#

A call that names no model gets the roster's default:

client.chat.completions.create(messages=messages)                                 # the default
client.chat.completions.create(messages=messages, model="openai/gpt-6-luna")    # this request
client = Trace(model="openai/gpt-6-luna")                                       # every request

Claude Haiku 5.5 is the default chat model. model.is_default marks it, and every completion reports the model that actually answered on completion.model.

default = next(model for model in client.models.list() if model.is_default)
print(default.id)

If the default is ever switched off, the gateway falls back to the first model still standing rather than failing.

Fields on a model#

model.id                      # "openai/gpt-6-luna"
model.name                    # "GPT-6 Luna"
model.operation               # "chat" or "embedding"
model.supports_tools          # bool
model.supports_streaming      # bool
model.credits_per_1k_tokens   # float reservation estimate
model.is_default              # bool
model.dimensions              # int, embedding models only

client.models.retrieve("openai/gpt-6-luna") returns one model, and raises ModelNotFoundError listing the valid ids if there is no such model.

How billing works#

One credit is $0.001 of upstream cost.

estimated credits per 1K tokens = estimated dollars per 1K tokens × multiplier ÷ 0.001

The multiplier is a single deployment-wide number, published alongside the roster as credit_multiplier on GET /models. It is 1.0 on the hosted app, which means Trace charges the provider's reported cost. The per-token number is only a reservation estimate because providers price input, output, caching and reasoning differently. The final ledger settlement uses authoritative cost.

Estimating a call before you make it#

rate = client.models.retrieve("openai/gpt-6-luna").credits_per_1k_tokens
estimated_tokens = 800
print(f"about {estimated_tokens / 1000 * rate:.4f} credits")

Roughly four characters per token is useful for a quick estimate. Trace reserves conservatively and settles the difference after the response.

Choosing a model#

  • openai/gpt-6-luna — the default for chat, tutor replies, help, and agent runs.
  • anthropic/claude-haiku-5.5 — Claude Haiku 5.5, with tool calling and streaming.
  • xiaomi/mimo-v2.5 — another chat model for comparing results on the same task.

Trace gives each chat model a 128K-token context budget. Compare costs using the credits reported by each completion.

Availability#

Every model here is on Trace's reviewed child-safe roster; nothing else is reachable, whatever id you send. See Authentication.

A model can be switched off temporarily for the whole deployment. It disappears from client.models.list() while it is off, and calling it raises ModelNotFoundError with the current roster attached — so the recovery is always visible in the error itself.