Generate A Single Response
tensormesh(modelId), tensormesh.chatModel(modelId), and tensormesh.languageModel(modelId) create AI SDK chat models backed by /v1/chat/completions.
Stream A Response
Text Completions
UsecompletionModel when you specifically need the /v1/completions route.
tensormesh(modelId) because chat models support richer AI SDK features such as tool calling and structured output.
