GPT-4o 2024-05-13 API

Access GPT-4o 2024-05-13 from OpenAI using Puter.js AI API.

Get Started

Model Card

GPT-4o 2024-05-13 is the initial release snapshot of GPT-4o from May 2024. It provides version-locked behavior for applications requiring consistent model performance.

Context Window

N/A

tokens

Max Output

4,096

tokens

Input Cost

$5

per million tokens

Output Cost

$15

per million tokens

API Usage Example

Add GPT-4o 2024-05-13 to your app with just a few lines of code.
No API keys, no backend, no configuration required.

<html>
<body>
    <script src="https://js.puter.com/v2/"></script>
    <script>
        puter.ai.chat("Explain quantum computing in simple terms", {
            model: "openai/gpt-4o-2024-05-13"
        }).then(response => {
            document.body.innerHTML = response.message.content;
        });
    </script>
</body>
</html>

View full documentation →

Get started with Puter.js

Add GPT-4o 2024-05-13 to your app without worrying about API keys or setup.

Read the Docs View Tutorials