Skip to content
← Website

Gateways

A gateway is the API service between taoCode and model inference. Your gateway determines authentication, available models, pricing, rate limits, and data-handling terms.

SettingValue
API basehttps://llm.chutes.ai/v1
API key variableCHUTES_API_KEY
Stored credentialtao-chutes
AccountGet a Chutes key
Terminal window
export CHUTES_API_KEY="your-chutes-key"
taocode models
SettingValue
API hosthttps://api.targon.com
API key variableTARGON_API_KEY
Stored credentialtao-targon
AccountVisit Targon
Terminal window
export TARGON_API_KEY="your-targon-key"
taocode models

Set each gateway’s key or use /connect in the interactive session. Select a model using its full tao/<gateway>/<model> reference. Credentials and billing remain specific to each gateway.

A coding workflow needs a model and endpoint that support tool calls. Context limits, availability, and confidential-compute support can differ between models on the same gateway.

A gateway capability label is not proof that a particular response was verified. Read Verifiable inference and consult the gateway’s current documentation for the endpoint you use.

Check for a revoked key, an empty account balance, a gateway outage, or a stale stored credential. Reconnect before retrying, then choose a reference returned by taocode models.