openai · OpenAI Platform Docs
Flex processing
Explains how to implement Flex processing by setting the servicetier parameter and provides strategies for managing increased latency and 429 Resource Unavailable errors through timeout adjustments and retry logic.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Flex processing
Explains how to implement Flex processing by setting the servicetier parameter and provides strategies for managing increased latency and 429 Resource Unavailable errors through timeout adjustments and retry logic.
When To Use
Use when you need to implement low-cost, asynchronous workloads like model evaluations or data enrichment and need to configure appropriate timeout and retry strategies for the flex service tier.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/flex-processing-workflow-guide.md | A guide explaining the usage, cost benefits, and error handling for OpenAI's flex processing mode for Responses and Chat Completions. | Questions about a guide explaining the usage, cost benefits, and error handling for OpenAI's flex processing mode for Responses and C... |
examples/flex-processing-openai-flex-processing.javascript | A JavaScript code example demonstrating how to use the OpenAI client to create a response using the flex service tier. | Exact payloads, commands, or snippets shown in A JavaScript code example demonstrating how to use the OpenAI client to create a response using the flex service tier. |
examples/flex-processing-openai-flex-processing-python-timeout-configuration.python | A Python script demonstrating how to configure custom timeouts and use the flex service tier with the OpenAI client. | Exact payloads, commands, or snippets shown in A Python script demonstrating how to configure custom timeouts and use the flex service tier with the OpenAI client. |
examples/flex-processing-openai-flex-processing-curl-request.bash | A bash curl command demonstrating how to send a request to the flex processing endpoint using the v1/responses API. | Exact payloads, commands, or snippets shown in A bash curl command demonstrating how to send a request to the flex processing endpoint using the v1/responses API. |
What This Skill Covers
- Flex processing provides lower costs for Responses or Chat Completions requests in exchange for slower response times and occasional resource unavailability....
- Main sections:
API usage,API request timeouts,Resource unavailable errors.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://developers.openai.com/api/docs/guides/flex-processing.md
