Download Latest Version v4.9.0_ OpenAI-Compatible Models source code.tar.gz (36.5 MB)
Email in envelope

Get an email when there's a new version of Large Language Models (LLMs)

Home / v4.9.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-04-15 1.5 kB
v4.9.0_ OpenAI-Compatible Models source code.tar.gz 2026-04-15 36.5 MB
v4.9.0_ OpenAI-Compatible Models source code.zip 2026-04-15 36.6 MB
Totals: 3 Items   73.0 MB 3

Support for APIs compatible with OpenAI Chat Completions API

You can now connect to APIs that are compatible with the OpenAI® Chat Completions API by using the openAIChat function with these options:

  • Set the BaseURL name-value argument to the base URL of the API. For example, for OpenAI, BaseURL is "https://api.openai.com/v1".
  • Set the ModelName name-value argument to the name of the model you want to use.
  • Specify the OpenAI API key environment variable. If your API does not need an API key, set the environment variable OPENAI_API_KEY to "EMPTY". Alternatively, you can set the APIKey name-value argument of the openAIChat function.

Functionality being removed or changed

Changed Model Defaults

By default, these model parameters are now set to "auto":

  • Temperature
  • TopP
  • PresencePenalty
  • FrequencyPenalty
  • MinP (ollamaChat)
  • TopK (ollamaChat)
  • TailFreeSamplingZ (ollamaChat)

If a model supports an option and if that option is set to "auto", then the software uses the default option of the model.

Removed Models

Support for the OpenAI models gpt-4-turbo-preview, gpt-4-0125-preview, and gpt-4-1106-preview has been removed because OpenAI no longer supports these models.

Minor Updates

This release includes:

  • bug fixes
  • documentation updates

Full Changelog: https://github.com/matlab-deep-learning/llms-with-matlab/compare/v4.8.0...v4.9.0

Source: README.md, updated 2026-04-15