> ## Documentation Index
> Fetch the complete documentation index at: https://docs.venice.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> The Venice API is OpenAI-compatible: use any OpenAI SDK with the base URL `https://api.venice.ai/api/v1` and a Venice API key, or pay per request from a USDC wallet through x402 with no account.
> Read model IDs from `GET /models` or `GET /models/traits` at runtime instead of hardcoding them from memory or from these pages. Models are added and retired often.
> Every model's price is in https://docs.venice.ai/pricing.md. Quote video and audio jobs with `POST /video/quote` or `POST /audio/quote` before you queue them.
> Search these docs from an MCP client at https://docs.venice.ai/mcp. The full agent guide is https://docs.venice.ai/agents.md.

# GPT-5.4 API

> GPT-5.4 API on Venice: 1M context, $2.50 input and $15.00 output per 1M tokens. Anonymized access without your identity. Pricing, specs and code examples.



## GPT-5.4 API

GPT-5.4 is a large language model by OpenAI, available on the Venice API as `openai-gpt-54`. The provider of this model may retain prompt data (though it is anonymized by Venice). For sensitive content, use a private model.

GPT-5.4, the successor to GPT-5.2, is a frontier model in the GPT-5 series with a 1M+ context window, offering improved agentic and long context performance. It uses adaptive reasoning to dynamically allocate computation across tasks.

### GPT-5.4 API pricing

| Model ID | Variant | Privacy | Price |
| - | - | - | - |
| `openai-gpt-54` | Standard | Anonymized | $2.50 / $15.00 per 1M |

### GPT-5.4 specifications

| Spec | Value |
| - | - |
| Provider | OpenAI |
| Released | Mar 5, 2026 |
| Privacy | Anonymized |
| Status | Stable |
| Context window | 1M tokens |
| Max output | 128K tokens |
| Reasoning effort | none, low, medium, high, xhigh |
| [GPQA Diamond](https://docs.venice.ai/models/methodology.md#benchmarks) | 89.9% ±4.2 (95% interval), run by Venice through the API at its default reasoning on Nov 19, 2026 |

### How to use the GPT-5.4 API

Send requests to `POST https://api.venice.ai/api/v1/responses` with `"model": "openai-gpt-54"` and your API key.

```bash theme={"system"}
curl https://api.venice.ai/api/v1/responses \
  -H "Authorization: Bearer $VENICE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai-gpt-54",
    "input": "Explain TEE attestation in two sentences.",
    "reasoning": { "effort": "high" }
  }'
```

### Related models

* [GPT-5.5 API](https://docs.venice.ai/models/gpt-5-5.md): $5.00 / $30.00 per 1M
* [GPT-5.2 API](https://docs.venice.ai/models/gpt-5-2.md): $1.75 / $14.00 per 1M
* [Gemini 3.1 Pro Preview API](https://docs.venice.ai/models/gemini-3-1-pro-preview.md): $2.50 / $15.00 per 1M
* [Claude Sonnet 4.6 API](https://docs.venice.ai/models/claude-sonnet-4-6.md): $3.00 / $15.00 per 1M
* [Aion 3.0 API](https://docs.venice.ai/models/aion-3-0.md): $3.75 / $7.50 per 1M
* [Gemini 4 Argon API](https://docs.venice.ai/models/gemini-4-argon.md): $2.50 / $12.50 per 1M


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.