LLMCraft allows you to implement different LLM APIs, such as GPT-3, GPT-4 (OpenAI), Claude (Anthropic). You can easily configure your models with a config, and add models to NPC.
See https://www.spigotmc.org/resources/llmcraft.117211/ for more information