<?php

return [

    'openai' => [
        'api_key' => env('OPENAI_API_KEY'),
    ],

    // GPT 4
    'openai-gpt-4-turbo' => [
        'tokens' => 128000,
        'model' => 'gpt-4-1106-preview',
        'input_cost_per_thousand_tokens' => 0.01,
        'output_cost_per_thousand_tokens' => 0.03,
    ],

    'openai-gpt-4' => [
        'tokens' => 8192,
        'model' => 'gpt-4-0613',
        'input_cost_per_thousand_tokens' => 0.03,
        'output_cost_per_thousand_tokens' => 0.06,
    ],

    // GPT 3.5

    'openai-gpt-3-5-turbo-1106' => [
        'tokens' => 16385,
        'model' => 'gpt-3.5-turbo-1106',
        'input_cost_per_thousand_tokens' => 0.0010,
        'output_cost_per_thousand_tokens' => 0.002,
    ],

    'openai-3-5-turbo' => [
        'tokens' => 4096,
        'model' => 'gpt-3.5-turbo',
        'input_cost_per_thousand_tokens' => 0.0015,
        'output_cost_per_thousand_tokens' => 0.002,
    ],

    'openai-3-5-turbo-16k' => [
        'tokens' => 16385,
        'model' => 'gpt-3.5-turbo-16k',
        'input_cost_per_thousand_tokens' => 0.003,
        'output_cost_per_thousand_tokens' => 0.004,
    ],

];
