{
  "OpenAI_API_Pricing_Schema": {
    "Text Tokens": {
      "pricing_table_schema": [
        "Model",
        "Input",
        "Cached input",
        "Output"
      ],
      "pricing_table": [
        {
          "Model": "gpt-4.5-preview",
          "Input": "$75.00",
          "Cached input": "$37.50",
          "Output": "$150.00",
          "Alternate Model Names": "gpt-4.5-preview-2025-02-27"
        },
        {
          "Model": "gpt-4o",
          "Input": "$2.50",
          "Cached input": "$1.25",
          "Output": "$10.00",
          "Alternate Model Names": "gpt-4o-2024-08-06"
        },
        {
          "Model": "gpt-4o-audio-preview",
          "Input": "$2.50",
          "Cached input": "-",
          "Output": "$10.00",
          "Alternate Model Names": "gpt-4o-audio-preview-2024-12-17"
        },
        {
          "Model": "gpt-4o-realtime-preview",
          "Input": "$5.00",
          "Cached input": "$2.50",
          "Output": "$20.00",
          "Alternate Model Names": "gpt-4o-realtime-preview-2024-12-17"
        },
        {
          "Model": "gpt-4o-mini",
          "Input": "$0.15",
          "Cached input": "$0.075",
          "Output": "$0.60",
          "Alternate Model Names": "gpt-4o-mini-2024-07-18"
        },
        {
          "Model": "gpt-4o-mini-audio-preview",
          "Input": "$0.15",
          "Cached input": "-",
          "Output": "$0.60",
          "Alternate Model Names": "gpt-4o-mini-audio-preview-2024-12-17"
        },
        {
          "Model": "gpt-4o-mini-realtime-preview",
          "Input": "$0.60",
          "Cached input": "$0.30",
          "Output": "$2.40",
          "Alternate Model Names": "gpt-4o-mini-realtime-preview-2024-12-17"
        },
        {
          "Model": "o1",
          "Input": "$15.00",
          "Cached input": "$7.50",
          "Output": "$60.00",
          "Alternate Model Names": "o1-2024-12-17"
        },
        {
          "Model": "o3-mini",
          "Input": "$1.10",
          "Cached input": "$0.55",
          "Output": "$4.40",
          "Alternate Model Names": "o3-mini-2025-01-31"
        },
        {
          "Model": "o1-mini",
          "Input": "$1.10",
          "Cached input": "$0.55",
          "Output": "$4.40",
          "Alternate Model Names": "o1-mini-2024-09-12"
        },
        {
          "Model": "gpt-4o-mini-search-preview",
          "Input": "$0.15",
          "Cached input": "-",
          "Output": "$0.60",
          "Alternate Model Names": "gpt-4o-mini-search-preview-2025-03-11"
        },
        {
          "Model": "gpt-4o-search-preview",
          "Input": "$2.50",
          "Cached input": "-",
          "Output": "$10.00",
          "Alternate Model Names": "gpt-4o-search-preview-2025-03-11"
        },
        {
          "Model": "computer-use-preview",
          "Input": "$3.00",
          "Cached input": "-",
          "Output": "$12.00",
          "Alternate Model Names": "computer-use-preview-2025-03-11"
        }
      ],
      "extras": {
        "description": "This includes pricing per model for Text Tokens."
      }
    },
    "Audio Tokens": {
      "pricing_table_schema": [
        "Model",
        "Input",
        "Cached input",
        "Output"
      ],
      "pricing_table": [
        {
          "Model": "gpt-4o-audio-preview",
          "Input": "$40.00",
          "Cached input": "-",
          "Output": "$80.00",
          "Alternate Model Names": "gpt-4o-audio-preview-2024-12-17"
        },
        {
          "Model": "gpt-4o-mini-audio-preview",
          "Input": "$10.00",
          "Cached input": "-",
          "Output": "$20.00",
          "Alternate Model Names": "gpt-4o-mini-audio-preview-2024-12-17"
        },
        {
          "Model": "gpt-4o-realtime-preview",
          "Input": "$40.00",
          "Cached input": "$2.50",
          "Output": "$80.00",
          "Alternate Model Names": "gpt-4o-realtime-preview-2024-12-17"
        },
        {
          "Model": "gpt-4o-mini-realtime-preview",
          "Input": "$10.00",
          "Cached input": "$0.30",
          "Output": "$20.00",
          "Alternate Model Names": "gpt-4o-mini-realtime-preview-2024-12-17"
        }
      ],
      "extras": {
        "description": "This includes pricing for Audio Tokens used in various models."
      }
    },
    "Fine Tuning": {
      "pricing_table_schema": [
        "Model",
        "Training",
        "Input",
        "Cached input",
        "Output"
      ],
      "pricing_table": [
        {
          "Model": "gpt-4o-2024-08-06",
          "Training": "$25.00",
          "Input": "$3.75",
          "Cached input": "$1.875",
          "Output": "$15.00",
          "Alternate Model Names": "gpt-4o-2024-08-06"
        },
        {
          "Model": "gpt-4o-mini-2024-07-18",
          "Training": "$3.00",
          "Input": "$0.30",
          "Cached input": "$0.15",
          "Output": "$1.20",
          "Alternate Model Names": "gpt-4o-mini-2024-07-18"
        }
      ],
      "extras": {
        "description": "Pricing for Fine Tuning models."
      }
    },
    "Built-in Tools": {
      "pricing_table_schema": [
        "Tool",
        "Cost"
      ],
      "pricing_table": [
        {
          "Tool": "Code Interpreter",
          "Cost": "$0.03/session"
        },
        {
          "Tool": "File Search Storage",
          "Cost": "$0.10/GB/day (1GB free)"
        },
        {
          "Tool": "File Search Tool Call (Responses API only*)",
          "Cost": "$2.50/1k calls (*Does not apply on Assistants API)"
        },
        {
          "Tool": "Web Search",
          "Cost": "Pricing depends on model and search context size. See details below."
        }
      ],
      "extras": {
        "description": "Cost details on built-in tools."
      }
    },
    "Moderation": {
      "pricing_table_schema": [
        "Model",
        "Cost"
      ],
      "pricing_table": [
        {
          "Model": "omni-moderation-latest",
          "Cost": "Free"
        },
        {
          "Model": "text-moderation-latest",
          "Cost": "Free"
        }
      ],
      "extras": {
        "description": "Cost details on moderation."
      }
    },
    "Image Generation": {
      "pricing_table_schema": [
        "Model",
        "Quality",
        "1024x1024",
        "1024x1792"
      ],
      "pricing_table": [
        {
          "Model": "DALL\u00b7E 3",
          "Quality": "Standard",
          "1024x1024": "$0.04",
          "1024x1792": "$0.08"
        },
        {
          "Model": "DALL\u00b7E 3",
          "Quality": "HD",
          "1024x1024": "$0.08",
          "1024x1792": ""
        },
        {
          "Model": "DALL\u00b7E 2",
          "Quality": "",
          "256x256": "$0.016",
          "512x512": "$0.018",
          "1024x1024": "$0.02"
        }
      ],
      "extras": {
        "description": "Pricing for image generation."
      }
    },
    "Embeddings": {
      "pricing_table_schema": [
        "Model",
        "Cost"
      ],
      "pricing_table": [
        {
          "Model": "text-embedding-3-small",
          "Cost": "$0.02"
        },
        {
          "Model": "text-embedding-3-large",
          "Cost": "$0.13"
        },
        {
          "Model": "text-embedding-ada-002",
          "Cost": "$0.10"
        }
      ],
      "extras": {
        "description": "Pricing for embeddings."
      }
    },
    "Other Models": {
      "pricing_table_schema": [
        "Model",
        "Input",
        "Output"
      ],
      "pricing_table": [
        {
          "Model": "chatgpt-4o-latest",
          "Input": "$5.00",
          "Output": "$15.00"
        },
        {
          "Model": "gpt-4-turbo",
          "Input": "$10.00",
          "Output": "$30.00"
        },
        {
          "Model": "gpt-4",
          "Input": "$30.00",
          "Output": "$60.00"
        },
        {
          "Model": "gpt-4-32k",
          "Input": "$60.00",
          "Output": "$120.00"
        },
        {
          "Model": "gpt-3.5-turbo",
          "Input": "$0.50",
          "Output": "$1.50"
        },
        {
          "Model": "gpt-3.5-turbo-instruct",
          "Input": "$1.50",
          "Output": "$2.00"
        }
      ],
      "extras": {
        "description": "Pricing for other models."
      }
    }
  }
}