model function

Extract Model from OpenAI API response