Chat Completions Compatibility
| Parameter | Telnyx | OpenAI |
|---|---|---|
messages | ✅ | ✅ |
model | ✅ | ✅ |
stream | ✅ | ✅ |
max_tokens | ✅ | ✅ |
temperature | ✅ | ✅ |
top_p | ✅ | ✅ |
frequency_penalty | ✅ | ✅ |
presence_penalty | ✅ | ✅ |
n | ✅ | ✅ |
stop | ✅ | ✅ |
logit_bias | ✅ | ✅ |
logprobs | ✅ | ✅ |
top_logprobs | ✅ | ✅ |
seed | ✅ | ✅ |
response_format | ✅ | ✅ |
tool_choice | ✅ | ✅ |
tools | ✅ | ✅ |
function | ✅ | ✅ |
retrieval | ✅ | ❌ |
guided_json | ✅ | ❌ |
guided_regex | ✅ | ❌ |
guided_choice | ✅ | ❌ |
min_p | ✅ | ❌ |
use_beam_search | ✅ | ❌ |
best_of | ✅ | ❌ |
length_penalty | ✅ | ❌ |
early_stopping | ✅ | ❌ |
user | ❌ | ✅ |
Transcriptions Compatibility
| Parameter | Telnyx | OpenAI |
|---|---|---|
file | ✅ | ✅ |
model | ✅ | ✅ |
response_format | ✅ | ✅ |
timestamp_granularities[] → segment | ✅ | ✅ |
timestamp_granularities[] → word | ❌ | ✅ |
language | ❌ | ✅ |
prompt | ❌ | ✅ |
temperature | ❌ | ✅ |