Most AI tasks no longer need a frontier model Read launch post
← All Posts

Get Started With SIE Serverless: A Hands-On Demo

Rahul Parundekar beside a microphone, with the title SIE serverless in action on a red background

SIE serverless lets you call open AI models through an API without setting up model infrastructure. Rahul Parundekar’s demo shows the path from creating an account to running a Python workflow and checking its usage. Receipt extraction is the worked example: one model reads an image, and another turns the text into fields an application can use.

Start with a model call you can inspect

The quickest way to understand SIE serverless is to run a small task and look at its response. The console gives you a model catalog and a playground, so you can see what a model accepts before connecting it to your application.

Rahul starts with the console, finds the API key and opens the Python quickstart. He uses VS Code and uv to set up the project. After loading the key from an environment file, he runs the example and checks the output.

That first call is useful even when it isn’t your final use case. It establishes that the SDK and authentication work. You have a response to inspect, and a small piece of code to change.

The SIE serverless quickstart has the current installation and first-call instructions. Keep the key out of version control. Use the console’s model catalog to check which models are available on serverless for your task.

Choose the models around the work your app needs

A working API connection gives you somewhere to start. The next decision is what to send through it.

In Rahul’s example, a receipt needs two different operations. GLM-OCR reads the image and returns text. A GLiNER class model then extracts the requested fields. The initial request covers the place, date, amount and last four digits of the payment card.

Separating the operations makes the result easier to inspect. If a total is wrong, compare the receipt with the OCR text. If the text is right, look at the extraction step and its checks. You can change the field requirements while keeping the image-reading step in place.

The OCR documentation and structured extraction documentation explain those task boundaries. The same habit applies when you explore another model: define its input and the result your application needs before writing a larger workflow around it.

Give your coding agent the API documentation

Rahul asks Claude to build the receipt workflow, with a concrete input and a clear description of the fields to return. He also points it to the model documentation. The coding agent needs the actual call format and response structure to write useful application code.

Then he runs it.

The first receipt has no payment-card digits, and the output needs a currency field. More receipts introduce an invoice number. Each example changes what the application should ask for or validate.

This is why a small working workflow is valuable. You can see the mistakes and decide what to change. Define how the code represents a missing field, then test that behaviour on a document where the field is absent. An unreadable image needs different handling from a successfully read receipt with no card digits.

Check usage as you build

The demo finishes by making model usage visible. Rahul processes several receipt images and prints the credits used for each; the console provides another view of usage and model pricing.

For your own workflow, measure the complete task. Include both model calls in cost per receipt, along with any retries. Record whether a request succeeded so a cheap failed extraction doesn’t look like an improvement.

Latency needs that context too. Compare the first call with later calls to the same model. Read the serverless guidance on cold starts and retry behaviour before deciding how your application should handle a delayed response.

SIE serverless FAQ

What is SIE serverless?

SIE serverless is a hosted service for calling supported open AI models through an API. You can build a workflow around those model calls without setting up the model-serving infrastructure yourself.

Do I need to deploy a model server to use SIE serverless?

No. Create an account, get an API key from the console and follow the Python quickstart to make a model call. Your application code still handles the workflow and checks whether the result is usable.

What does the SIE serverless demo show?

Rahul Parundekar shows the path from signup to a working Python workflow, including model selection and usage in the console. Receipt extraction is the example: GLM-OCR reads the image, and a GLiNER class model extracts fields from the text.

How can I track model usage while building a workflow?

Check model usage in the SIE serverless console. For a workflow with several calls, also track usage for the complete task in your application; include retries when calculating the cost of a successful result.

Try SIE serverless on a task from your application

Start with one input you can check by hand. Get the API call working, inspect its result, then add the next step your application needs. For receipts, that means reading the image and extracting fields. Your starting task might be search or text classification.

Rahul’s walkthrough shows the path through the product, from the console to working code. Use it to get your first workflow running, then test it on your own data.

Sign up for SIE serverless.

Open source inference for agents

Open-source inference for the models behind your agents. Run it yourself, or let us run it for you.

Talk to us

Tell us about your use case and we'll get back to you shortly.

Apply for an inference grant

Free capacity on our hosted cluster for selected projects. Tell us what you run and we reply by email.