GPT-3.5-Turbo is a time-tested, cost-effective classic LLM. It delivers high generation speed and stability while maintaining excellent comprehension capabilities. It is ideally suited for routine chat, simple text generation, format conversion, and lightweight applications with strict requirements on response latency.
Generate image
All API requests must be authenticated using a Bearer token in the Authorization header. Please ensure your API key is active.Authorization: Bearer sk-xxxxxx
These parameters come from the selected model form_schema. Switching models updates this list and the request example.
system_prompt?stringGlobal instructions or persona for the model.
prompt*stringtemperature?numberHigher values make output more random, lower more deterministic.
top_p?numberNucleus sampling threshold; an alternative to temperature.
presence_penalty?numberIncreases the tendency to talk about new topics.
frequency_penalty?numberReduces the likelihood of repeating the same text verbatim.
seed?numberA fixed seed yields more reproducible results (optional).
max_completion_tokens?numberresponse_format?stringstream?booleancreated?integerParameter description for Created
data?arrayParameter description for Data