GPT API: Difference between revisions

Line 5: Line 5:
<pre>
<pre>
  model: "gpt-3.5-turbo"
  model: "gpt-3.5-turbo"
</prev>
</pre>


The value for the model field is a string that contains the name of the [[GPT]] [[model]] you want to use.
The value for the model field is a string that contains the name of the [[GPT]] [[model]] you want to use.
Line 25: Line 25:
! Context Window
! Context Window
|-
|-
| gpt-3.5-turbo
| gpt-3.5-turbo || 4,096 tokens
| 4,096 tokens
|-
|-
| gpt-3.5-turbo-16k
| gpt-3.5-turbo-16k || 16,384 tokens
| 16,384 tokens
|-
|-
| gpt-4
| gpt-4 || 8,192 tokens
| 8,192 tokens
|-
|-
| gpt-4-32k
| gpt-4-32k || 32,768 tokens
| 32,768 tokens
|}
|}


223

edits