const OPENAI_PRESET = {
  id: "openai",
  name: "OpenAI",
  baseURL: void 0,
  baseURLEnvKeys: ["OPENAI_BASE_URL"],
  envKeys: ["OPENAI_API_KEY", "OPENCODE_OPENAI_API_KEY"],
  defaultModel: "gpt-5-mini",
  defaultModels: [
    {
      id: "gpt-5-mini",
      name: "GPT-5 Mini",
      contextWindow: 128e3,
      tags: ["budget"]
    },
    {
      id: "gpt-5",
      name: "GPT-5",
      contextWindow: 128e3,
      tags: ["flagship"]
    },
    {
      id: "gpt-4o-mini",
      name: "GPT-4o Mini",
      contextWindow: 128e3,
      tags: ["budget"]
    },
    {
      id: "gpt-4o",
      name: "GPT-4o",
      contextWindow: 128e3
    }
  ]
};
const DEEPINFRA_PRESET = {
  id: "deepinfra",
  name: "DeepInfra",
  baseURL: "https://api.deepinfra.com/v1/openai",
  baseURLEnvKeys: ["DEEPINFRA_BASE_URL"],
  envKeys: ["DEEPINFRA_API_KEY"],
  defaultModel: "zai-org/GLM-5.1",
  defaultModels: [
    {
      id: "zai-org/GLM-5.1",
      name: "GLM-5.1 (Zhipu)",
      contextWindow: 202752,
      tags: ["flagship"]
    },
    {
      id: "zai-org/GLM-4.7-Flash",
      name: "GLM-4.7 Flash",
      contextWindow: 202752,
      tags: ["budget"]
    },
    {
      id: "Qwen/Qwen3-235B-A22B-Instruct-2507",
      name: "Qwen3 235B (MoE)",
      contextWindow: 262144,
      tags: ["flagship"]
    },
    {
      id: "meta-llama/Llama-4-Scout-17B-16E-Instruct",
      name: "Llama 4 Scout",
      contextWindow: 327680
    },
    {
      id: "deepseek-ai/DeepSeek-V3.2-Exp",
      name: "DeepSeek V3.2",
      contextWindow: 163840,
      tags: ["reasoning"]
    },
    {
      id: "Qwen/Qwen3-Coder-30B-A3B-Instruct",
      name: "Qwen3 Coder 30B",
      contextWindow: 262144,
      tags: ["coding"]
    }
  ]
};
const GROQ_PRESET = {
  id: "groq",
  name: "Groq",
  baseURL: "https://api.groq.com/openai/v1",
  baseURLEnvKeys: ["GROQ_BASE_URL"],
  envKeys: ["GROQ_API_KEY"],
  defaultModel: "llama-3.3-70b-versatile",
  defaultModels: [
    {
      id: "llama-3.3-70b-versatile",
      name: "Llama 3.3 70B Versatile",
      contextWindow: 131072
    },
    {
      id: "llama-4-scout-17b",
      name: "Llama 4 Scout 17B",
      contextWindow: 131072
    },
    {
      id: "mixtral-8x22b-32768",
      name: "Mixtral 8x22B",
      contextWindow: 32768
    }
  ]
};
const TOGETHER_PRESET = {
  id: "together",
  name: "Together AI",
  baseURL: "https://api.together.xyz/v1",
  baseURLEnvKeys: ["TOGETHER_BASE_URL"],
  envKeys: ["TOGETHER_API_KEY"],
  defaultModel: "meta-llama/Llama-3.3-70B-Instruct-Turbo",
  defaultModels: [
    {
      id: "meta-llama/Llama-3.3-70B-Instruct-Turbo",
      name: "Llama 3.3 70B Turbo",
      contextWindow: 131072
    },
    {
      id: "Qwen/Qwen2.5-72B-Instruct-Turbo",
      name: "Qwen 2.5 72B Turbo",
      contextWindow: 32768
    }
  ]
};
const FIREWORKS_PRESET = {
  id: "fireworks",
  name: "Fireworks AI",
  baseURL: "https://api.fireworks.ai/inference/v1",
  baseURLEnvKeys: ["FIREWORKS_BASE_URL"],
  envKeys: ["FIREWORKS_API_KEY"],
  defaultModel: "accounts/fireworks/models/llama-v3p3-70b-instruct",
  defaultModels: [
    {
      id: "accounts/fireworks/models/llama-v3p3-70b-instruct",
      name: "Llama 3.3 70B",
      contextWindow: 131072
    }
  ]
};
const AZURE_PRESET = {
  id: "azure",
  name: "Azure OpenAI",
  baseURL: void 0,
  baseURLEnvKeys: ["AZURE_OPENAI_BASE_URL"],
  envKeys: ["AZURE_OPENAI_API_KEY"],
  defaultModel: "gpt-5-mini",
  defaultModels: [
    {
      id: "gpt-5-mini",
      name: "GPT-5 Mini",
      contextWindow: 128e3
    },
    {
      id: "gpt-5",
      name: "GPT-5",
      contextWindow: 128e3
    }
  ]
};
const LITELLM_PRESET = {
  id: "litellm",
  name: "LiteLLM",
  baseURL: "http://localhost:4000/v1",
  baseURLEnvKeys: ["LITELLM_BASE_URL"],
  envKeys: ["LITELLM_API_KEY"],
  defaultModel: "gpt-4o-mini",
  defaultModels: [
    {
      id: "gpt-4o-mini",
      name: "GPT-4o Mini (via LiteLLM)",
      contextWindow: 128e3
    }
  ]
};
const OLLAMA_PRESET = {
  id: "ollama",
  name: "Ollama (local)",
  baseURL: "http://localhost:11434/v1",
  baseURLEnvKeys: ["OLLAMA_BASE_URL"],
  envKeys: ["OLLAMA_API_KEY"],
  defaultModel: "llama3.3",
  defaultModels: [
    {
      id: "llama3.3",
      name: "Llama 3.3 (local)",
      contextWindow: 131072
    },
    {
      id: "qwen2.5-coder",
      name: "Qwen 2.5 Coder (local)",
      contextWindow: 131072,
      tags: ["coding"]
    }
  ]
};
const OPENROUTER_PRESET = {
  id: "openrouter",
  name: "OpenRouter",
  baseURL: "https://openrouter.ai/api/v1",
  baseURLEnvKeys: ["OPENROUTER_BASE_URL"],
  envKeys: ["OPENROUTER_API_KEY"],
  defaultModel: "meta-llama/llama-3.3-70b-instruct",
  defaultModels: [
    {
      id: "meta-llama/llama-3.3-70b-instruct",
      name: "Llama 3.3 70B Instruct",
      contextWindow: 131072
    }
  ]
};
const LM_STUDIO_PRESET = {
  id: "lm-studio",
  name: "LM Studio (local)",
  baseURL: "http://localhost:1234/v1",
  baseURLEnvKeys: ["LM_STUDIO_BASE_URL"],
  envKeys: ["LM_STUDIO_API_KEY"],
  defaultModel: "",
  defaultModels: []
};
const OPENAI_COMPATIBLE_PRESETS = [
  OPENAI_PRESET,
  DEEPINFRA_PRESET,
  GROQ_PRESET,
  TOGETHER_PRESET,
  FIREWORKS_PRESET,
  AZURE_PRESET,
  LITELLM_PRESET,
  OLLAMA_PRESET,
  OPENROUTER_PRESET,
  LM_STUDIO_PRESET
];
export {
  OPENAI_COMPATIBLE_PRESETS
};
//# sourceMappingURL=openai-compatible-presets.js.map
