"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.XAI_MODEL_CATALOG = exports.XaiVideoPricing = exports.XaiImagePricing = exports.XaiTextPricing = exports.XaiVideoModels = exports.XaiImageModels = exports.XaiDeprecatedTextModels = exports.XaiReasoningModels = exports.XaiResponsesOnlyModels = exports.XaiTextModels = exports.XaiModels = void 0;
const types_1 = require("./types");
exports.XaiModels = {
    Grok_4_20_Reasoning: "grok-4.20-0309-reasoning",
    Grok_4_20_NonReasoning: "grok-4.20-0309-non-reasoning",
    Grok_4_20_MultiAgent: "grok-4.20-multi-agent-0309",
    Grok4_1_Fast_Reasoning: "grok-4-1-fast-reasoning",
    Grok4_1_Fast_NonReasoning: "grok-4-1-fast-non-reasoning",
    GrokCodeFast: "grok-code-fast-1",
    Grok4: "grok-4-0709",
    Grok3Beta: "grok-3-beta",
    Grok3MiniBeta: "grok-3-mini-beta",
    Grok3FastBeta: "grok-3-fast-beta",
    Grok3MiniFastBeta: "grok-3-mini-fast-beta",
    Grok2Latest: "grok-2-latest",
    Grok2VisionLatest: "grok-2-vision-latest",
    Grok3Latest: "grok-3-latest",
    Grok3FastLatest: "grok-3-fast-latest",
    Grok3MiniLatest: "grok-3-mini-latest",
    Grok3MiniFastLatest: "grok-3-mini-fast-latest",
    GrokBeta: "grok-beta",
    GrokVisionBeta: "grok-vision-beta",
    Grok4_1_Fast: "grok-4-1-fast",
    Grok4Fast: "grok-4-fast",
    Grok4FastNonReasoning: "grok-4-fast-non-reasoning",
    Grok21212: "grok-2-1212",
    Grok2Vision1212: "grok-2-vision-1212",
    GrokImagineImage: "grok-imagine-image",
    GrokImagineVideo: "grok-imagine-video",
    Grok2Image1212: "grok-2-image-1212",
};
exports.XaiTextModels = [
    exports.XaiModels.Grok_4_20_Reasoning, exports.XaiModels.Grok_4_20_NonReasoning,
    exports.XaiModels.Grok_4_20_MultiAgent,
    exports.XaiModels.Grok4_1_Fast_Reasoning, exports.XaiModels.Grok4_1_Fast_NonReasoning,
    exports.XaiModels.GrokCodeFast, exports.XaiModels.Grok4,
    exports.XaiModels.Grok3Beta, exports.XaiModels.Grok3MiniBeta, exports.XaiModels.Grok3FastBeta, exports.XaiModels.Grok3MiniFastBeta,
];
exports.XaiResponsesOnlyModels = [
    exports.XaiModels.Grok_4_20_Reasoning,
    exports.XaiModels.Grok_4_20_NonReasoning,
    exports.XaiModels.Grok_4_20_MultiAgent,
    exports.XaiModels.Grok4_1_Fast_Reasoning,
    exports.XaiModels.Grok4_1_Fast_NonReasoning,
];
exports.XaiReasoningModels = [
    exports.XaiModels.Grok_4_20_MultiAgent,
    exports.XaiModels.Grok3MiniBeta,
    exports.XaiModels.Grok3MiniFastBeta,
];
exports.XaiDeprecatedTextModels = [
    exports.XaiModels.Grok21212, exports.XaiModels.Grok2Vision1212,
    exports.XaiModels.Grok2Latest, exports.XaiModels.Grok2VisionLatest,
    exports.XaiModels.Grok3Latest, exports.XaiModels.Grok3FastLatest,
    exports.XaiModels.Grok3MiniLatest, exports.XaiModels.Grok3MiniFastLatest,
    exports.XaiModels.GrokBeta, exports.XaiModels.GrokVisionBeta,
    exports.XaiModels.Grok4_1_Fast, exports.XaiModels.Grok4Fast, exports.XaiModels.Grok4FastNonReasoning,
];
exports.XaiImageModels = [exports.XaiModels.GrokImagineImage, exports.XaiModels.Grok2Image1212];
exports.XaiVideoModels = [exports.XaiModels.GrokImagineVideo];
exports.XaiTextPricing = {
    [exports.XaiModels.Grok_4_20_Reasoning]: { input: 2.0, cache_hit: 0.20, output: 6.0, useResponsesApi: true },
    [exports.XaiModels.Grok_4_20_NonReasoning]: { input: 2.0, cache_hit: 0.20, output: 6.0, useResponsesApi: true },
    [exports.XaiModels.Grok_4_20_MultiAgent]: { input: 2.0, cache_hit: 0.20, output: 6.0, reasoningLevels: ["low", "medium", "high", "xhigh"], useResponsesApi: true },
    [exports.XaiModels.Grok4_1_Fast_Reasoning]: { input: 0.2, cache_hit: 0.05, output: 0.5, useResponsesApi: true },
    [exports.XaiModels.Grok4_1_Fast_NonReasoning]: { input: 0.2, cache_hit: 0.05, output: 0.5, useResponsesApi: true },
    [exports.XaiModels.GrokCodeFast]: { input: 0.2, cache_hit: 0.02, output: 1.5 },
    [exports.XaiModels.Grok4]: { input: 3.0, output: 15.0 },
    [exports.XaiModels.Grok3Beta]: { input: 3.0, output: 15.0 },
    [exports.XaiModels.Grok3MiniBeta]: { input: 0.3, output: 0.5 },
    [exports.XaiModels.Grok3FastBeta]: { input: 5.0, output: 25.0 },
    [exports.XaiModels.Grok3MiniFastBeta]: { input: 0.6, output: 4.0 },
    [exports.XaiModels.Grok21212]: { input: 2.0, output: 10.0, deprecated: true },
    [exports.XaiModels.Grok2Vision1212]: { input: 2.0, output: 10.0, deprecated: true },
    [exports.XaiModels.Grok2Latest]: { input: 2.0, output: 10.0, deprecated: true },
    [exports.XaiModels.Grok2VisionLatest]: { input: 2.0, output: 10.0, deprecated: true },
    [exports.XaiModels.Grok3Latest]: { input: 3.0, output: 15.0, deprecated: true },
    [exports.XaiModels.Grok3FastLatest]: { input: 5.0, output: 25.0, deprecated: true },
    [exports.XaiModels.Grok3MiniLatest]: { input: 0.3, output: 0.5, deprecated: true },
    [exports.XaiModels.Grok3MiniFastLatest]: { input: 0.6, output: 4.0, deprecated: true },
    [exports.XaiModels.GrokBeta]: { input: 5.0, output: 15.0, deprecated: true },
    [exports.XaiModels.GrokVisionBeta]: { input: 5.0, output: 15.0, deprecated: true },
    [exports.XaiModels.Grok4_1_Fast]: { input: 0.2, output: 0.5, deprecated: true },
    [exports.XaiModels.Grok4Fast]: { input: 0.2, output: 0.5, deprecated: true },
    [exports.XaiModels.Grok4FastNonReasoning]: { input: 0.2, output: 0.5, deprecated: true },
};
exports.XaiImagePricing = {
    "grok-imagine-image-pro": { image_generation: 0.07 },
    [exports.XaiModels.GrokImagineImage]: { image_generation: 0.02 },
    [exports.XaiModels.Grok2Image1212]: { image_generation: 0.07 },
};
exports.XaiVideoPricing = {
    [exports.XaiModels.GrokImagineVideo]: { video_generation: 0.05 },
};
exports.XAI_MODEL_CATALOG = [
    ...(0, types_1.completions)([...exports.XaiTextModels, ...exports.XaiDeprecatedTextModels], "xai", exports.XaiTextPricing),
    ...(0, types_1.images)(exports.XaiImageModels, "xai", exports.XaiImagePricing),
    ...(0, types_1.videos)(exports.XaiVideoModels, "xai", exports.XaiVideoPricing),
];
//# sourceMappingURL=xai.js.map