Baltor Get started

Models

GPT-4o (2024-05-13)

By OpenAI. Unknown parameters, a context window of 128,000 tokens, licence Unknown.

Facts

Released
2024-05-13 the release date models.dev records models.dev, read
Licence
Unknown
Open weights
No models.dev records whether the weights are open models.dev, read
Parameters
Unknown
Active parameters
Unknown
Knowledge cutoff
2023-10-31 the knowledge cutoff OpenRouter lists OpenRouter, read
Context window
  • 128,000 tokens the context length OpenRouter lists OpenRouter, read
  • 128,000 tokens the context limit models.dev records for the maker's own API models.dev, read
Longest output
  • 4,096 tokens the largest output OpenRouter's first provider allows OpenRouter, read
  • 4,096 tokens the output limit models.dev records for the maker's own API models.dev, read
Tool calling
  • Yes OpenRouter lists tools among the supported parameters OpenRouter, read
  • Yes models.dev records tool_call as true models.dev, read
Structured output
  • Yes OpenRouter lists structured outputs among the supported parameters OpenRouter, read
  • Yes models.dev records structured_output as true models.dev, read
Reasoning controls
  • No models.dev records reasoning as false models.dev, read
Inputs and outputs
text, image, file in, text out OpenRouter, read
Good for
  • Vision: OpenRouter lists images among its inputs OpenRouter, read

Prices

Prices in US dollars per million tokens, as each source lists them
ProviderInputOutputContextAs ofSource
Azure through OpenRouter5.00 USD15.00 USD128,000OpenRouter endpoints, read
OpenAI direct5.00 USD15.00 USD128,000 older than 30 days; check the providermodels.dev, read
OpenAI through OpenRouter5.00 USD15.00 USD128,000OpenRouter endpoints, read

Run it on your own hardware

No source lists weight files or a parameter count for this model, so its memory needs are Unknown.

Use it from your harness

Set up for OpenAI with the model gpt-4o-2024-05-13. Each endpoint page has the same setup for its own address.

OpenCode

Put this in opencode.json in your project folder:

{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "openai": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "OpenAI",
      "options": {
        "baseURL": "https://api.openai.com/v1",
        "apiKey": "{env:OPENAI_API_KEY}"
      },
      "models": {
        "gpt-4o-2024-05-13": {
          "name": "GPT-4o (2024-05-13)",
          "limit": {
            "context": 128000,
            "output": 4096
          }
        }
      }
    }
  }
}
  • OpenCode reads any OpenAI-compatible address through the @ai-sdk/openai-compatible package, and an address that speaks the Responses API through @ai-sdk/openai.

From OpenCode documentation, read .

Pi

Put this in ~/.pi/agent/models.json:

{
  "providers": {
    "openai": {
      "baseUrl": "https://api.openai.com/v1",
      "api": "openai-completions",
      "apiKey": "$OPENAI_API_KEY",
      "models": [
        {
          "id": "gpt-4o-2024-05-13"
        }
      ]
    }
  }
}
  • The apiKey field can name an environment variable as $NAME.

From Pi documentation, read .

Codex

Put this in ~/.codex/config.toml:

model = "gpt-4o-2024-05-13"
  • Codex speaks the Responses API only: responses is the one supported wire API of a custom provider. Ollama and LM Studio are built in and start with --oss.

From Codex documentation, read .

Claude Code

Claude Code sends Anthropic Messages requests, and OpenAI documents no such address. A gateway that translates to that API can sit in between.

  • Claude Code sends Anthropic Messages requests to ANTHROPIC_BASE_URL. Anthropic says it does not support routing Claude Code to models other than Claude through any gateway, so some features may not work with another model.

From Claude Code documentation, read .

Other ways to reach it

Published results

These are results other people published. Baltor did not run them and does not rank models by them.