Conclusion The specification version of models accepted by 'ai' is determined by the major version of 'ai'. Models with specification v4, returned by the latest versions of providers (openai, ...