<?php

namespace XZD\AI\V5\AI\Providers;

use XZD\AI\V5\AI\OpenAICompatibleProvider;

class ZhipuProvider extends OpenAICompatibleProvider
{
    public static function defaultBaseUrl(): string
    {
        return 'https://open.bigmodel.cn/api/paas/v4';
    }

    public static function defaultModel(): string
    {
        return 'glm-4.7-flash';
    }

    public function getProviderKey(): string
    {
        return 'zhipu';
    }
}
