Skip to content

Add flex API #326

@SahilKapoordev

Description

@SahilKapoordev

Hi, Awesome project guys , thanks - do you think you could introduce OpenAI’s Flex Processing

Its a simple implementation, but saves around %50 : https://platform.openai.com/docs/guides/flex-processing?api-mode=responses

response = client.with_options(timeout=900.0).responses.create(
    model="o3",
    instructions="List and describe all the metaphors used in this book.",
    input="<very long text of book here>",
    **service_tier="flex",** 
)

Happy to work on it too!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions