What Flex is
Flex is a lower-priced service tier that some providers offer on select models. Your request runs on the provider's spare capacity, so the provider can charge less per token.
The trade-off is time. A Flex request can wait in a queue before it starts, and it can take longer to finish during busy periods. The output is the same model and the same quality. Only the speed and the price change.
Flex is the lowest-priced tier on Spro. For comparison with the other tiers:
- Standard is the default. Requests run at normal speed and standard prices.
- Flex runs at a lower price, with variable and sometimes longer latency.
- Priority and Ultrafast cost more than Standard in exchange for lower latency. See Service Tiers.
When to use Flex
Flex fits work where nobody is waiting on the answer in real time:
- Data extraction and classification pipelines
- Batch document summaries and offline processing
- Eval runs and generating training or test datasets
- Scheduled background jobs
- Preprocessing at scale, where cost matters more than speed
When not to use Flex
Use Standard for anything a person is waiting on:
- Real-time chat and interactive UIs
- Streaming responses to end users
- Latency-sensitive agent loops
- Voice or other real-time applications
- Workloads with a response-time commitment
Flex requests can have higher tail latency under peak load. A request that is fast on Standard can take much longer on Flex.
Turning Flex on
Flex is available on any model whose page has a Flex tab. You can turn it on in either of two ways. Both select the same tier.
1. Add :flex to the model ID. This is the only change needed. Your key, endpoint, and payload stay the same.
curl https://spro.hridaai.com/v1/chat/completions \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "gpt-6.1-sol:flex", "messages": [{"role": "user", "content": "Summarize this document..."}] }'2. Keep the model ID plain and send service_tier.
{ "model": "gpt-6.1-sol", "service_tier": "flex", "messages": [{"role": "user", "content": "Summarize this document..."}]}Use one form or the other. There is no need to send both.
Checking that Flex exists for a model
Open the model on Spro and look for the Flex tab. The tab lists the providers that serve the model at Flex, with their Flex prices. If there is no Flex tab, the model has no Flex offering, and a Flex request for it fails with model_not_found.
Flex prices are shown on the model page only. They are not in the headline "starting at" price on the models list, which always shows the Standard price.
Pricing
Flex has its own price per token, separate from Standard. The saving varies by model and provider, so check the Flex tab on the model page for the exact numbers.
A Flex request is billed at Flex prices. The usage log records the model ID you requested, so gpt-6.1-sol:flex and gpt-6.1-sol show up as separate models. Filter by model to compare spend.
Pinning a provider
If a model is served by more than one provider, you can pin the request to one that offers Flex. Use the provider controls described in Routing Strategies. Pinning keeps a Flex request from landing on a provider that does not offer Flex for that model.
Fallbacks
A Flex model is a separate model, so a plain request for gpt-6.1-sol is never served at Flex. To try Flex first and fall back to Standard, send both as a fallback list:
{ "model": "gpt-6.1-sol:flex", "models": ["gpt-6.1-sol"], "messages": [{"role": "user", "content": "Summarize this document..."}]}Spro tries model first, then each entry in models in order. See Routing Strategies for how fallback lists behave.
Timeouts
Flex requests can wait in a queue before they produce output. Set your client timeout to cover that wait. For streaming, allow for the time before the first token. For non-streaming requests, the timeout must cover the whole response.
If you do not need partial output, send the request without streaming. That is simpler to time out correctly.
Related
- Service Tiers covers all tiers, the
service_tierparameter, and how tiers are billed. - Routing Strategies covers provider pinning and fallbacks.
