Inference as a service wraps that serving layer in a managed product. Rather than standing up an inference engine, provisioning GPUs...

Takeaways
Inference as a service runs a trained model behind an API endpoint and bills you per token, so you never buy or manage a GPU. Because tiers, discounts, and regions are published, you can check cost and latency against your current bill before you commit to a provider.
Inference as a service is a cloud service where you send input to a trained model over an API and get the model's output back, billed on usage. The provider owns the GPUs, drivers, and serving software, so your team writes requests instead of running hardware.
Training produces a model by adjusting its weights on large datasets, usually over days or weeks on large GPU clusters. Inference is everything after that: each time your product asks the model a question, the model runs once and returns an answer. Training happens occasionally. Inference happens on every request, which is why it becomes the line on your bill that grows with your traffic.
These names describe the same thing. Managed inference, serverless inference, model API, and inference as a service all mean a provider hosts the model and you call it over HTTP. Some pages shorten the term to IAAS, which collides with Infrastructure as a Service, the long-standing name for renting virtual machines.The distinction that matters is between a model endpoint you call and infrastructure you run yourself.
Like other cloud services, inference is metered: you pay for what you consume. In practice, a provider does four jobs for you:
Telnyx Inference is one example: a curated library of open-weight models hosted on GPUs Telnyx owns, behind an OpenAI-compatible endpoint, with per-token billing and zero data retention.
Run models without managing a GPU
Send input to a trained model over an API and pay per token, with no GPU to buy or manage.
With serverless inference, the provider already hosts the model, so you never upload weights. You send prompts, and the provider handles everything between the request and the response.
Here's the documented request to the Telnyx chat completions endpoint. Swap in your own API key and run it from a terminal:
The shape of that request matches what you already send to a proprietary model API: a bearer token, a model name, and a messages array.
Most providers sell one lane per model. On Telnyx, a single field in the request body, service_tier, selects the serving capacity, so you don't need a second provider to get a faster or cheaper lane. The model stays the same across tiers.
service_tier.Check which tiers a model supports in the service tiers docs before you set the field.
The decision actually has three options, and each one bills you differently.
Should you call an inference API or self-host?
Managed inference trades control for convenience. You get less say over the hardware and model catalog, and in exchange you skip capacity planning. Deployments that scale to zero save money when traffic is idle, but they bring cold starts: Google Cloud describes a Cloud Run GPU service as ready for inference in under 30 seconds. In a chat window, that's a slow first answer. On a phone call, it's a caller who hangs up. Telnyx serves inference from an owned GPU pool that autoscales with no cold starts.
Self-hosting earns its overhead in three cases:
These are the published figures to check your current bill and latency against.
Cost: Open-weight models served per token on Telnyx cost up to 75% less than proprietary alternatives. You pay only for the tokens you use, so a quiet month costs less than a busy one.
Scale: Autoscaling is on by default, from 0 to 1000s of requests per second, with no capacity to plan around. Independent runs such as the GLM-5.2 inference benchmarks show how that capacity performs on real prompt profiles.

Flexibility: Because the endpoint is OpenAI-compatible, your existing SDK works. Switching models means changing a model name, and switching providers means changing a base URL, so you can test an open-weight model against your current one without rewriting code.
Privacy: Inference runs in-region, with zero data retention and no training on your data. Where the GPU sits decides where your prompts travel, which matters as soon as you serve users under regional data rules.
Latency comes from three places: the network distance between your user and the GPU, the hops between providers, and the wait for capacity on a shared GPU. The model's own speed sits on top of those.
For a deeper breakdown of each metric, see inference latency explained.
Every request pays for the distance between your user and the GPU, and no model optimization removes it. A voice agent pays more: when speech-to-text, the language model, and text-to-speech come from three providers, each handoff adds a network round trip. Then the request waits in line for capacity on shared GPUs, and a scale-to-zero deployment can add a cold start on top.
Telnyx addresses each of those. Its GPUs sit next to the network that carries your users' traffic, with inference in-region across the Americas, Europe, MENA, and APAC, so the distance shrinks. Speech, inference, and telephony run on one network, so a voice request crosses no provider boundaries and no borders. For interactive and voice workloads, the Priority tier selects faster serving capacity, and the owned GPU pool has no cold starts. For measured numbers, see the GLM-5.3 latency benchmarks and how Telnyx places GPUs on the network.
"We own the entire stack, GPUs included. That means we control the latency end-to-end, we can integrate inference directly with telephony and speech services on the same network, and we're not exposed to third-party outages or pricing changes upstream. When a provider rents cloud GPUs, every instability in that cloud becomes their customers' problem. We don't have that dependency." Regis David Souza, Senior Staff Engineer at Telnyx |
With per-token pricing, you pay separately for the tokens you send and the tokens the model returns. Input tokens are your prompt, system instructions, and any retrieved context. Output tokens are the model's reply, and they usually cost more per token than input. Rates vary by model and by service tier, so the same request costs less on Flex than on Priority, and a small model costs less than a frontier one. On Telnyx, the cheapest frontier model, MiniMax-M2.7, starts at $0.30 per million tokens.
Cached input changes the math for most products. When the start of your prompt repeats across requests, such as a long system prompt or a fixed set of tool definitions, those tokens bill at a discount: up to 88% off on Telnyx. There are no GPU rental fees, no compute surcharges, and no minimums, so the bill tracks the work your product actually does. Idle hours cost nothing, which is the main structural difference from renting hardware.
The billing model you choose should match the shape of your traffic.
How the three inference billing models compare
| Billing model | You pay for | Fits best |
|---|---|---|
| Per token | Input and output tokens, with cached input discounted | Spiky traffic, or many models |
| Per GPU-hour | Reserved GPU time, busy or idle | Steady, very high volume on one model |
| Per request | A flat fee per call, regardless of length | Fixed-size calls such as classic ML scoring |
Per-GPU-hour pricing rewards traffic that keeps the GPU busy around the clock. Most LLM products don't look like that: traffic peaks during business hours and drops overnight, and a reserved GPU bills for every one of those quiet hours.
The formula is: (fresh input tokens × input rate) + (cached input tokens × cached rate) + (output tokens × output rate).
For example, GLM-5.2 launched on Telnyx at $1.40 per million input tokens, $0.26 per million cached input tokens, and $4.40 per million output tokens. A month with 200 million fresh input tokens, 800 million cached input tokens, and 50 million output tokens costs $280 + $208 + $220 = $708. Check the pricing page for current rates before you budget.
Each workload asks something different of the service:
Agents multiply calls. One user task can trigger a dozen model requests as the agent plans, calls tools, and checks its results, so a price that looks small per request becomes the bill. Long-context open-weight models such as GLM-5.2 on Telnyx are built for that kind of multi-step tool use.
Voice pipelines multiply hops. Every conversational turn runs speech-to-text, the model, and text-to-speech in sequence, and a caller notices each pause. That's why co-located voice AI infrastructure matters more for voice than for chat. Teams running contact center AI combine all three patterns on a single call: an agent, a voice pipeline, and after-call summarization.

Batch work tolerates minutes of latency, so the Flex tier fits overnight document processing, offline evaluation, and bulk classification. In financial services, fraud scoring and transaction checks pair structured output with in-region processing.
"What we see is a clear expansion path: teams land on inference for the models and the economics, and then realize the same infrastructure already runs STT, TTS, and telephony. The integration cost to go from text inference to voice agents is zero because it's the same network. We deliberately don't lead with that on the inference product because it's not why people show up. But it's why they stay." Regis David Souza, Senior Staff Engineer at Telnyx |
Providers fall into four groups:
The differences between providers show up outside the US. Many offer in-region dedicated deployments, which means reserving GPUs, but few run serverless, pay-per-token inference in Europe or APAC.
"It's both, but the dirty secret is most competitors don't offer serverless in-region at all. Together is US-concentrated with no advertised EU or APAC serverless. Fireworks has 15-plus regions but dedicated deployments only outside the US. We run serverless inference in the Americas, Europe, and APAC today, with Dubai and São Paulo launching next. Data stays where your users are because our GPUs are physically there, not because you toggled a setting." Regis David Souza, Senior Staff Engineer at Telnyx |

Since then, the Dubai GPU launch brought serverless inference to MENA, and LATAM is next. A residency setting on a provider that routes across borders is a policy. A GPU in your users' region is a physical fact.
Use this checklist when you compare providers:
If you plan to add voice later, check whether the same network also runs speech and telephony.
Regional data rules care about where processing happens, not just where data is stored. A provider that serves Europe from US GPUs sends every prompt across the Atlantic and back. Ask where the GPU sits for each region you serve, how long prompts and completions are kept, and whether they feed model training. Telnyx runs inference in-region across the Americas, Europe, MENA, and APAC, keeps zero data retention, and doesn't train on your data. For workloads that must stay closest to users, see how edge inference places compute near the source.
An OpenAI-compatible endpoint accepts the same chat completions request format as the OpenAI API: the same messages array, the same streaming behavior, the same SDKs. That makes your provider a configuration value rather than a code dependency. If a model improves, a price changes, or a region opens, you change a base URL and a model name and redeploy nothing else.
You need four things: an API key from the Telnyx Mission Control Portal, a model name from the pricing page, the chat completions endpoint, and, optionally, a service_tier value for Priority or Flex.
The cURL request earlier in this article is the smallest working call. The response is a standard chat completion object: the model's reply in choices, plus token usage counts you can check against the pricing page.
If your app already uses the OpenAI SDK, point it at the Telnyx base URL and keep everything else. This Python example streams a response from GLM-5.2:
To switch models, change the model string. Store it in configuration or a feature flag instead of hard-coding it, and you can move traffic between models at runtime without shipping new code.
Models: Telnyx hosts a curated library of open-weight models from labs including z.ai, DeepSeek, Moonshot, and MiniMax, updated as new models release.
Regions and privacy: Inference runs in-region across the Americas, Europe, MENA, and APAC on GPUs Telnyx owns, with zero data retention and no training on customer data. LATAM is coming next.
Tiers and scaling: One service_tier field selects Default, Priority, or Flex capacity. Autoscaling runs from 0 to 1000s of requests per second with no cold starts, and structured output supports JSON mode and regex constraints.
One network: Inference, text-to-speech, voice AI agents, and telephony share the same API key, the same network, and the same bill. Moving from text to voice adds no new vendor.
Inference as a service FAQ
Sign up, change your base URL, and compare your first bill against the published per-token rates and service tiers.
Try Telnyx Inference
Compare published per-token rates against your current bill, then switch with a new base URL and API key on an OpenAI-compatible endpoint.
Try Telnyx InferenceRelated articles
AI inference hardware: How to choose chips and placement

Multi-turn LLM benchmark: 3 models, 4 providers

Inference optimization: cut LLM latency and cost

Caller ID name (CNAM): how your business name reaches the phone

What is call control? Direct, programmable control over every call

GLM 5.3 Flash benchmark: Telnyx vs Modal
