← kwindla hultman kramer

GPT-5 is out in the world!

August 7, 2025

GPT-5 is out in the world!

Here's a single-file voice agent powered by GPT-5. All you need is an OpenAI API key and Python.

```
export OPENAI_API_KEY=sk_proj-...
uv run gpt-5-voice-agent .py
```

The first time you run this, it will take about 30 seconds to install all the dependencies, accept connections, and begin processing audio and video.

For voice AI use cases, you probably want these parameter settings for GPT-5.

service_tier: priority
reasoning_effort: minimal
verbosity: low

Note that using the "priority" service tier doubles the cost per token. Having this option is great for latency sensitive, conversational voice applications.

Here's the code[1]

The code above uses the standard GPT-5 model, plus OpenAI's transcription and voice generation models.

OpenAI also released a new version of the natively voice-to-voice Realtime model and API today.

Congratulations to everyone who…

  1. https://gist.github.com/kwindla/678ea297d12e24b928b636db928226fb