Skip to content

Ask AI

Powered by Blaze

Answers come from E2E Cloud documentation. AI can make mistakes.

TIR Token Factory

View as Markdown

TIR Token Factory gives your project OpenAI-compatible APIs to open-weight models that E2E runs for you, such as Google’s Gemma 4 31B. Create an API key, point your OpenAI code at Token Factory, and pay only for the tokens your requests use. Every model has zero data retention: your prompts and the model’s outputs are not stored. See Tokens and billing.

In TIR, open a project. In the side menu, under INFERENCE, select Token Factory. It opens on the list of models you can call. From there, Analytics shows the project’s requests and tokens, and API Keys lists its keys.

Every Token Factory model shares one base URL and takes a Token Factory API key, and the model ID in each request decides which model answers. To run a model of your own on workers you choose, deploy it on Model Endpoints instead.

GenAI API is no longer in TIR. If your code called it, the TIR Token Factory FAQ says what to change.

For how input, cached input, and output tokens are billed, see Tokens and billing.

Get started with TIR Token Factory takes you from an empty project to your first reply from a model. Troubleshooting TIR Token Factory lists each message with its fix, and the TIR Token Factory FAQ answers common questions.

Was this page helpful?