"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DEFAULT_CONTEXT_LIMIT = exports.ContextLimits = void 0;
exports.getModelContextLimit = getModelContextLimit;
const types_1 = require("../types");
exports.ContextLimits = {
    [types_1.Models.openai.GPT_54]: 1_000_000,
    [types_1.Models.openai.GPT_54_Mini]: 400_000,
    [types_1.Models.openai.GPT_54_Nano]: 400_000,
    [types_1.Models.openai.GPT_54_Pro]: 1_000_000,
    [types_1.Models.openai.GPT_53_Chat]: 1_000_000,
    [types_1.Models.openai.GPT_53_Codex]: 1_000_000,
    [types_1.Models.openai.GPT_5]: 1_000_000,
    [types_1.Models.openai.GPT_5_Mini]: 1_000_000,
    [types_1.Models.openai.GPT_5_Nano]: 1_000_000,
    [types_1.Models.openai.GPT_51]: 1_000_000,
    [types_1.Models.openai.GPT_52]: 1_000_000,
    [types_1.Models.openai.GPT_41]: 1_047_576,
    [types_1.Models.openai.GPT_41_Mini]: 1_047_576,
    [types_1.Models.openai.GPT_41_Nano]: 1_047_576,
    [types_1.Models.openai.GPT_45]: 128_000,
    [types_1.Models.openai.GPT_4o]: 128_000,
    [types_1.Models.openai.GPT_4o_Mini]: 128_000,
    [types_1.Models.openai.GPT_4o_Audio]: 128_000,
    [types_1.Models.openai.GPT_4o_Realtime]: 128_000,
    [types_1.Models.openai.GPT_4o_Mini_Audio]: 128_000,
    [types_1.Models.openai.GPT_4o_Mini_Realtime]: 128_000,
    [types_1.Models.openai.GPT_4o_Mini_Search]: 128_000,
    [types_1.Models.openai.GPT_4o_Search]: 128_000,
    [types_1.Models.openai.o1]: 200_000,
    [types_1.Models.openai.o1_Mini]: 128_000,
    [types_1.Models.openai.o1_Pro]: 200_000,
    [types_1.Models.openai.o3]: 200_000,
    [types_1.Models.openai.o3_Pro]: 200_000,
    [types_1.Models.openai.o3_Mini]: 200_000,
    [types_1.Models.openai.o4_Mini]: 200_000,
    [types_1.Models.anthropic.Opus4_6]: 1_000_000,
    [types_1.Models.anthropic.Opus4_6Fast]: 1_000_000,
    [types_1.Models.anthropic.Sonnet4_6]: 1_000_000,
    [types_1.Models.anthropic.Opus4_5]: 1_000_000,
    [types_1.Models.anthropic.Opus4]: 200_000,
    [types_1.Models.anthropic.Opus4_1]: 200_000,
    [types_1.Models.anthropic.Sonnet4]: 200_000,
    [types_1.Models.anthropic.Sonnet4_5]: 200_000,
    [types_1.Models.anthropic.Haiku4_5]: 200_000,
    [types_1.Models.anthropic.Sonnet3_7]: 200_000,
    [types_1.Models.anthropic.Sonnet3_5]: 200_000,
    [types_1.Models.anthropic.Opus3]: 200_000,
    [types_1.Models.anthropic.Haiku3]: 200_000,
    [types_1.Models.anthropic.Haiku3_5]: 200_000,
    [types_1.Models.google.Gemini_31_Pro_Preview]: 1_000_000,
    [types_1.Models.google.Gemini_31_Flash_Image_Preview]: 1_000_000,
    [types_1.Models.google.Gemini_31_Flash_Lite_Preview]: 1_000_000,
    [types_1.Models.google.Gemini_3_Flash_Preview]: 1_000_000,
    [types_1.Models.google.Gemini_3_Pro_Image_Preview]: 1_000_000,
    [types_1.Models.google.Gemini_25_Pro]: 1_000_000,
    [types_1.Models.google.Gemini_25_Flash]: 1_000_000,
    [types_1.Models.google.Gemini_25_Flash_Lite]: 1_000_000,
    [types_1.Models.google.Gemini_25_Flash_Preview]: 1_000_000,
    [types_1.Models.google.Gemini_25_Pro_Preview]: 1_000_000,
    [types_1.Models.google.Gemini_25_Flash_Image]: 1_000_000,
    [types_1.Models.google.Gemini_25_Flash_Live]: 1_000_000,
    [types_1.Models.google.Gemini_25_Flash_Native_Audio]: 1_000_000,
    [types_1.Models.google.Gemini_25_Flash_TTS]: 1_000_000,
    [types_1.Models.google.Gemini_25_Pro_TTS]: 1_000_000,
    [types_1.Models.google.Gemini_20_Flash]: 1_000_000,
    [types_1.Models.google.Gemini_20_Flash_Preview_Image_Generation]: 1_000_000,
    [types_1.Models.google.Gemini_20_Flash_Live]: 1_000_000,
    [types_1.Models.google.Gemini_20_Flash_TTS]: 1_000_000,
    [types_1.Models.google.Gemini_15_Flash]: 1_000_000,
    [types_1.Models.google.Gemini_15_Flash_8B]: 1_000_000,
    [types_1.Models.google.Gemini_15_Pro]: 2_000_000,
    [types_1.Models.xai.Grok4_1_Fast_Reasoning]: 2_000_000,
    [types_1.Models.xai.Grok4_1_Fast_NonReasoning]: 2_000_000,
    [types_1.Models.xai.Grok_4_20_Reasoning]: 131_072,
    [types_1.Models.xai.Grok_4_20_NonReasoning]: 131_072,
    [types_1.Models.xai.Grok_4_20_MultiAgent]: 2_000_000,
    [types_1.Models.xai.GrokCodeFast]: 2_000_000,
    [types_1.Models.xai.Grok4]: 131_072,
    [types_1.Models.xai.Grok3Beta]: 131_072,
    [types_1.Models.xai.Grok3MiniBeta]: 131_072,
    [types_1.Models.xai.Grok3FastBeta]: 131_072,
    [types_1.Models.xai.Grok3MiniFastBeta]: 131_072,
    [types_1.Models.xai.Grok21212]: 131_072,
    [types_1.Models.xai.Grok2Vision1212]: 131_072,
};
exports.DEFAULT_CONTEXT_LIMIT = 30_000;
function getModelContextLimit(model) {
    return exports.ContextLimits[model] ?? exports.DEFAULT_CONTEXT_LIMIT;
}
//# sourceMappingURL=contextLimits.js.map