packages feed

baikai-0.8.0.0: data/models/openai.json

{
  "provider": "openai",
  "baseUrl": "https://api.openai.com",
  "api": "openai-chat-completions",
  "compat": "auto",
  "models": [
    {
      "id": "gpt-4.1",
      "name": "GPT-4.1",
      "reasoning": false,
      "input": ["text", "image"],
      "cost": {
        "input": 2.0,
        "output": 8.0,
        "cacheRead": 0.5,
        "cacheWrite": 0.0
      },
      "contextWindow": 1047576,
      "maxOutputTokens": 32768,
      "enabled": true
    },
    {
      "id": "gpt-4.1-mini",
      "name": "GPT-4.1 mini",
      "reasoning": false,
      "input": ["text", "image"],
      "cost": {
        "input": 0.4,
        "output": 1.6,
        "cacheRead": 0.1,
        "cacheWrite": 0.0
      },
      "contextWindow": 1047576,
      "maxOutputTokens": 32768,
      "enabled": true
    },
    {
      "id": "gpt-4.1-nano",
      "name": "GPT-4.1 nano",
      "reasoning": false,
      "input": ["text", "image"],
      "cost": {
        "input": 0.1,
        "output": 0.4,
        "cacheRead": 0.025,
        "cacheWrite": 0.0
      },
      "contextWindow": 1047576,
      "maxOutputTokens": 32768,
      "enabled": true
    },
    {
      "id": "gpt-4o",
      "name": "GPT-4o",
      "reasoning": false,
      "input": ["text", "image"],
      "cost": {
        "input": 2.5,
        "output": 10.0,
        "cacheRead": 1.25,
        "cacheWrite": 0.0
      },
      "contextWindow": 128000,
      "maxOutputTokens": 16384,
      "enabled": true
    },
    {
      "id": "gpt-4o-mini",
      "name": "GPT-4o mini",
      "reasoning": false,
      "input": ["text", "image"],
      "cost": {
        "input": 0.15,
        "output": 0.6,
        "cacheRead": 0.075,
        "cacheWrite": 0.0
      },
      "contextWindow": 128000,
      "maxOutputTokens": 16384,
      "enabled": true
    },
    {
      "id": "gpt-5",
      "name": "GPT-5",
      "reasoning": true,
      "input": ["text", "image"],
      "cost": {
        "input": 1.25,
        "output": 10.0,
        "cacheRead": 0.125,
        "cacheWrite": 0.0
      },
      "contextWindow": 400000,
      "maxOutputTokens": 128000,
      "enabled": true
    },
    {
      "id": "gpt-5-mini",
      "name": "GPT-5 Mini",
      "reasoning": true,
      "input": ["text", "image"],
      "cost": {
        "input": 0.25,
        "output": 2.0,
        "cacheRead": 0.025,
        "cacheWrite": 0.0
      },
      "contextWindow": 400000,
      "maxOutputTokens": 128000,
      "enabled": true
    },
    {
      "id": "gpt-5-nano",
      "name": "GPT-5 Nano",
      "reasoning": true,
      "input": ["text", "image"],
      "cost": {
        "input": 0.05,
        "output": 0.4,
        "cacheRead": 0.005,
        "cacheWrite": 0.0
      },
      "contextWindow": 400000,
      "maxOutputTokens": 128000,
      "enabled": true
    },
    {
      "id": "gpt-5.1",
      "name": "GPT-5.1",
      "reasoning": true,
      "input": ["text", "image"],
      "cost": {
        "input": 1.25,
        "output": 10.0,
        "cacheRead": 0.125,
        "cacheWrite": 0.0
      },
      "contextWindow": 400000,
      "maxOutputTokens": 128000,
      "enabled": true
    },
    {
      "id": "gpt-5.2",
      "name": "GPT-5.2",
      "reasoning": true,
      "input": ["text", "image"],
      "cost": {
        "input": 1.75,
        "output": 14.0,
        "cacheRead": 0.175,
        "cacheWrite": 0.0
      },
      "contextWindow": 400000,
      "maxOutputTokens": 128000,
      "enabled": true
    },
    {
      "id": "gpt-5.4",
      "name": "GPT-5.4",
      "reasoning": true,
      "input": ["text", "image"],
      "cost": {
        "input": 2.5,
        "output": 15.0,
        "cacheRead": 0.25,
        "cacheWrite": 0.0
      },
      "contextWindow": 1050000,
      "maxOutputTokens": 128000,
      "enabled": true
    },
    {
      "id": "gpt-5.4-mini",
      "name": "GPT-5.4 mini",
      "reasoning": true,
      "input": ["text", "image"],
      "cost": {
        "input": 0.75,
        "output": 4.5,
        "cacheRead": 0.075,
        "cacheWrite": 0.0
      },
      "contextWindow": 400000,
      "maxOutputTokens": 128000,
      "enabled": true
    },
    {
      "id": "gpt-5.4-nano",
      "name": "GPT-5.4 nano",
      "reasoning": true,
      "input": ["text", "image"],
      "cost": {
        "input": 0.2,
        "output": 1.25,
        "cacheRead": 0.02,
        "cacheWrite": 0.0
      },
      "contextWindow": 400000,
      "maxOutputTokens": 128000,
      "enabled": true
    },
    {
      "id": "gpt-5.5",
      "name": "GPT-5.5",
      "reasoning": true,
      "input": ["text", "image"],
      "cost": {
        "input": 5.0,
        "output": 30.0,
        "cacheRead": 0.5,
        "cacheWrite": 0.0
      },
      "contextWindow": 1050000,
      "maxOutputTokens": 128000,
      "enabled": true
    },
    {
      "id": "gpt-5.6",
      "name": "GPT-5.6",
      "reasoning": true,
      "input": ["text", "image"],
      "cost": {
        "input": 4.0,
        "output": 20.0,
        "cacheRead": 0.4,
        "cacheWrite": 5.0
      },
      "contextWindow": 1050000,
      "maxOutputTokens": 128000,
      "enabled": true
    },
    {
      "id": "gpt-5.6-luna",
      "name": "GPT-5.6 Luna",
      "reasoning": true,
      "input": ["text", "image"],
      "cost": {
        "input": 0.2,
        "output": 1.2,
        "cacheRead": 0.02,
        "cacheWrite": 0.25
      },
      "contextWindow": 1050000,
      "maxOutputTokens": 128000,
      "enabled": true
    },
    {
      "id": "gpt-5.6-sol",
      "name": "GPT-5.6 Sol",
      "reasoning": true,
      "input": ["text", "image"],
      "cost": {
        "input": 4.0,
        "output": 20.0,
        "cacheRead": 0.4,
        "cacheWrite": 5.0
      },
      "contextWindow": 1050000,
      "maxOutputTokens": 128000,
      "enabled": true
    },
    {
      "id": "gpt-5.6-terra",
      "name": "GPT-5.6 Terra",
      "reasoning": true,
      "input": ["text", "image"],
      "cost": {
        "input": 2.0,
        "output": 12.0,
        "cacheRead": 0.2,
        "cacheWrite": 2.5
      },
      "contextWindow": 1050000,
      "maxOutputTokens": 128000,
      "enabled": true
    },
    {
      "id": "gpt-6-astra",
      "name": "GPT-6 Astra",
      "reasoning": true,
      "input": ["text", "image"],
      "cost": {
        "input": 10.0,
        "output": 50.0,
        "cacheRead": 1.0,
        "cacheWrite": 12.5
      },
      "contextWindow": 1050000,
      "maxOutputTokens": 128000,
      "api": "openai-responses",
      "pricingPolicy": {"inputTiers": [{"inputAbove": 272000, "rates": {"input": 20.0, "output": 75.0, "cacheRead": 2.0, "cacheWrite": 25.0}}]},
      "compat": {
        "kind": "openai-responses",
        "supportsSamplingParameters": false,
        "supportsLongCacheRetention": false,
        "supportsPromptCacheOptions": true,
        "supportedReasoningEfforts": ["low", "medium", "high", "xhigh", "max"]
      },
      "enabled": true
    },
    {
      "id": "gpt-6-luna",
      "name": "GPT-6 Luna",
      "reasoning": true,
      "input": ["text", "image"],
      "cost": {
        "input": 0.1,
        "output": 0.5,
        "cacheRead": 0.01,
        "cacheWrite": 0.125
      },
      "contextWindow": 1050000,
      "maxOutputTokens": 128000,
      "api": "openai-responses",
      "pricingPolicy": {"inputTiers": [{"inputAbove": 272000, "rates": {"input": 0.2, "output": 0.75, "cacheRead": 0.02, "cacheWrite": 0.25}}]},
      "compat": {
        "kind": "openai-responses",
        "supportsSamplingParameters": false,
        "supportsLongCacheRetention": false,
        "supportsPromptCacheOptions": true,
        "supportedReasoningEfforts": ["low", "medium", "high", "xhigh", "max"]
      },
      "enabled": true
    },
    {
      "id": "gpt-6-sol",
      "name": "GPT-6 Sol",
      "reasoning": true,
      "input": ["text", "image"],
      "cost": {
        "input": 2.0,
        "output": 10.0,
        "cacheRead": 0.2,
        "cacheWrite": 2.5
      },
      "contextWindow": 1050000,
      "maxOutputTokens": 128000,
      "api": "openai-responses",
      "pricingPolicy": {"inputTiers": [{"inputAbove": 272000, "rates": {"input": 4.0, "output": 15.0, "cacheRead": 0.4, "cacheWrite": 5.0}}]},
      "compat": {
        "kind": "openai-responses",
        "supportsSamplingParameters": false,
        "supportsLongCacheRetention": false,
        "supportsPromptCacheOptions": true,
        "supportedReasoningEfforts": ["low", "medium", "high", "xhigh", "max"]
      },
      "enabled": true
    },
    {
      "id": "gpt-6.1-sol",
      "name": "GPT-6.1 Sol",
      "reasoning": true,
      "input": ["text", "image"],
      "cost": {
        "input": 2.0,
        "output": 10.0,
        "cacheRead": 0.1,
        "cacheWrite": 2.5
      },
      "contextWindow": 1050000,
      "maxOutputTokens": 128000,
      "api": "openai-responses",
      "pricingPolicy": {"inputTiers": [{"inputAbove": 272000, "rates": {"input": 4.0, "output": 15.0, "cacheRead": 0.2, "cacheWrite": 5.0}}]},
      "compat": {
        "kind": "openai-responses",
        "supportsSamplingParameters": false,
        "supportsLongCacheRetention": false,
        "supportsPromptCacheOptions": true,
        "supportedReasoningEfforts": ["low", "medium", "high", "xhigh", "max"]
      },
      "enabled": true
    },
    {
      "id": "o1",
      "name": "o1",
      "reasoning": true,
      "input": ["text", "image"],
      "cost": {
        "input": 15.0,
        "output": 60.0,
        "cacheRead": 7.5,
        "cacheWrite": 0.0
      },
      "contextWindow": 200000,
      "maxOutputTokens": 100000,
      "enabled": true
    },
    {
      "id": "o3",
      "name": "o3",
      "reasoning": true,
      "input": ["text", "image"],
      "cost": {
        "input": 2.0,
        "output": 8.0,
        "cacheRead": 0.5,
        "cacheWrite": 0.0
      },
      "contextWindow": 200000,
      "maxOutputTokens": 100000,
      "enabled": true
    },
    {
      "id": "o3-mini",
      "name": "o3-mini",
      "reasoning": true,
      "input": ["text"],
      "cost": {
        "input": 1.1,
        "output": 4.4,
        "cacheRead": 0.55,
        "cacheWrite": 0.0
      },
      "contextWindow": 200000,
      "maxOutputTokens": 100000,
      "enabled": true
    },
    {
      "id": "o4-mini",
      "name": "o4-mini",
      "reasoning": true,
      "input": ["text", "image"],
      "cost": {
        "input": 1.1,
        "output": 4.4,
        "cacheRead": 0.275,
        "cacheWrite": 0.0
      },
      "contextWindow": 200000,
      "maxOutputTokens": 100000,
      "enabled": true
    }
  ]
}