Vigia

OpenAI API pricing: all models, per million tokens

Input and output prices per million tokens, context windows and retirement dates for 104 OpenAI models, from the OpenRouter catalog. Updated automatically.

ModelInput / 1MOutput / 1MContext
openai/gpt-6.1-sol-proUS$ 2.00US$ 10.001,050,000
openai/gpt-6.1-sol-pro:batchUS$ 1.00US$ 5.001,050,000
openai/gpt-6.1-solUS$ 2.00US$ 10.001,050,000
openai/gpt-6.1-sol:batchUS$ 1.00US$ 5.001,050,000
openai/gpt-6-luna-proUS$ 0.1US$ 0.51,050,000
openai/gpt-6-luna-pro:batchUS$ 0.05US$ 0.251,050,000
openai/gpt-6-lunaUS$ 0.1US$ 0.51,050,000
openai/gpt-6-luna:batchUS$ 0.05US$ 0.251,050,000
openai/gpt-6-sol-proUS$ 2.00US$ 10.001,050,000
openai/gpt-6-sol-pro:batchUS$ 1.00US$ 5.001,050,000
openai/gpt-6-solUS$ 2.00US$ 10.001,050,000
openai/gpt-6-sol:batchUS$ 1.00US$ 5.001,050,000
openai/gpt-6-astraUS$ 10.00US$ 50.001,050,000
openai/gpt-6-astra:batchUS$ 5.00US$ 25.001,050,000
openai/gpt-6-astra-proUS$ 10.00US$ 50.001,050,000
openai/gpt-6-astra-pro:batchUS$ 5.00US$ 25.001,050,000
openai/gpt-5.6-luna-proUS$ 0.2US$ 1.201,050,000
openai/gpt-5.6-luna-pro:batchUS$ 0.1US$ 0.61,050,000
openai/gpt-5.6-lunaUS$ 0.2US$ 1.201,050,000
openai/gpt-5.6-luna:batchUS$ 0.1US$ 0.61,050,000
openai/gpt-5.6-terra-proUS$ 2.00US$ 12.001,050,000
openai/gpt-5.6-terra-pro:batchUS$ 1.00US$ 6.001,050,000
openai/gpt-5.6-terraUS$ 2.00US$ 12.001,050,000
openai/gpt-5.6-terra:batchUS$ 1.00US$ 6.001,050,000
openai/gpt-5.6-sol-proUS$ 2.00US$ 10.001,050,000
openai/gpt-5.6-sol-pro:batchUS$ 1.00US$ 5.001,050,000
openai/gpt-5.6-solUS$ 2.00US$ 10.001,050,000
openai/gpt-5.6-sol:batchUS$ 1.00US$ 5.001,050,000
openai/gpt-chat-latestUS$ 5.00US$ 30.00400,000
openai/gpt-5.5-proUS$ 30.00US$ 180.001,050,000
openai/gpt-5.5-pro:batchUS$ 15.00US$ 90.001,050,000
openai/gpt-5.5US$ 5.00US$ 30.001,050,000
openai/gpt-5.5:batchUS$ 2.50US$ 15.001,050,000
openai/gpt-5.4-image-2US$ 8.00US$ 15.00272,000
openai/gpt-5.4-nanoUS$ 0.2US$ 1.25400,000
openai/gpt-5.4-nano:batchUS$ 0.1US$ 0.625400,000
openai/gpt-5.4-miniUS$ 0.75US$ 4.50400,000
openai/gpt-5.4-mini:batchUS$ 0.375US$ 2.25400,000
openai/gpt-5.4-proUS$ 30.00US$ 180.001,050,000
openai/gpt-5.4-pro:batchUS$ 15.00US$ 90.001,050,000
openai/gpt-5.4US$ 2.50US$ 15.001,050,000
openai/gpt-5.4:batchUS$ 1.25US$ 7.501,050,000
openai/gpt-5.3-codexUS$ 1.75US$ 14.00400,000
openai/gpt-audioUS$ 2.50US$ 10.00128,000
openai/gpt-audio-miniUS$ 0.6US$ 2.40128,000
openai/gpt-5.2-codexUS$ 1.75US$ 14.00400,000
openai/gpt-5.2-chatUS$ 1.75US$ 14.00128,000
openai/gpt-5.2-proUS$ 21.00US$ 168.00400,000
openai/gpt-5.2-pro:batchUS$ 10.50US$ 84.00400,000
openai/gpt-5.2US$ 1.75US$ 14.00400,000
openai/gpt-5.2:batchUS$ 0.875US$ 7.00400,000
openai/gpt-5.1-codex-maxUS$ 1.25US$ 10.00400,000
openai/gpt-5.1US$ 1.25US$ 10.00400,000
openai/gpt-5.1:batchUS$ 0.625US$ 5.00400,000
openai/gpt-5.1-codexUS$ 1.25US$ 10.00400,000
openai/gpt-5.1-codex-miniUS$ 0.25US$ 2.00400,000
openai/gpt-oss-safeguard-20bUS$ 0.075US$ 0.3131,072
openai/gpt-5-image-miniUS$ 2.50US$ 2.00400,000
openai/gpt-5-imageUS$ 10.00US$ 10.00400,000
openai/gpt-5-proUS$ 15.00US$ 120.00400,000
openai/gpt-5-pro:batchUS$ 7.50US$ 60.00400,000
openai/gpt-5US$ 1.25US$ 10.00400,000
openai/gpt-5:batchUS$ 0.625US$ 5.00400,000
openai/gpt-5-miniUS$ 0.25US$ 2.00400,000
openai/gpt-5-mini:batchUS$ 0.125US$ 1.00400,000
openai/gpt-5-nanoUS$ 0.05US$ 0.4400,000
openai/gpt-5-nano:batchUS$ 0.025US$ 0.2400,000
openai/gpt-oss-120bUS$ 0.15US$ 0.6131,072
openai/gpt-oss-120b:batchUS$ 0.0296US$ 0.136131,072
openai/gpt-oss-20bUS$ 0.018US$ 0.09131,072
openai/gpt-oss-20b:batchUS$ 0.024US$ 0.112131,072
openai/o3-proUS$ 20.00US$ 80.00200,000
openai/o4-mini-highUS$ 1.10US$ 4.40200,000
openai/o3US$ 2.00US$ 8.00200,000
openai/o3:batchUS$ 1.00US$ 4.00200,000
openai/o4-miniUS$ 1.10US$ 4.40200,000
openai/o4-mini:batchUS$ 0.55US$ 2.20200,000
openai/gpt-4.1US$ 2.00US$ 8.001,047,576
openai/gpt-4.1:batchUS$ 1.00US$ 4.001,047,576
openai/gpt-4.1-miniUS$ 0.4US$ 1.601,047,576
openai/gpt-4.1-mini:batchUS$ 0.2US$ 0.81,047,576
openai/gpt-4.1-nanoUS$ 0.1US$ 0.41,047,576
openai/gpt-4.1-nano:batchUS$ 0.05US$ 0.21,047,576
openai/o1-proUS$ 150.00US$ 600.00200,000
openai/o3-mini-highUS$ 1.10US$ 4.40200,000
openai/o3-miniUS$ 1.10US$ 4.40200,000
openai/o3-mini:batchUS$ 0.55US$ 2.20200,000
openai/o1US$ 15.00US$ 60.00200,000
openai/gpt-4o-2024-11-20US$ 2.50US$ 10.00128,000
openai/gpt-4o-2024-08-06US$ 2.50US$ 10.00128,000
openai/gpt-4o-miniUS$ 0.15US$ 0.6128,000
openai/gpt-4o-mini-2024-07-18US$ 0.15US$ 0.6128,000
openai/gpt-4o-mini:batchUS$ 0.075US$ 0.3128,000
openai/gpt-4oUS$ 2.50US$ 10.00128,000
openai/gpt-4o-2024-05-13US$ 5.00US$ 15.00128,000
openai/gpt-4o:batchUS$ 1.25US$ 5.00128,000
openai/gpt-4-turboUS$ 10.00US$ 30.00128,000
openai/gpt-4-turbo:batchUS$ 5.00US$ 15.00128,000
openai/gpt-3.5-turbo-0613US$ 1.00US$ 2.004,095
openai/gpt-3.5-turbo-instructUS$ 1.50US$ 2.004,095
openai/gpt-3.5-turbo-16kUS$ 3.00US$ 4.0016,385
openai/gpt-3.5-turboUS$ 0.5US$ 1.5016,385
openai/gpt-3.5-turbo:batchUS$ 0.25US$ 0.7516,385
openai/gpt-4US$ 30.00US$ 60.008,191

Reference prices from OpenRouter (aggregator); they may differ from the provider's direct pricing.

Give your AI agent these facts

Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

Add to CursorAdd to VS Code★ Star on GitHub

Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests

For agents

GET https://vigia.coredls.cloud/v1/models?provider=openai