onStream callbacks.
Provider directory: api/integration-api/internal/caller/openai/
Vault Credential
| Key | Description |
|---|---|
key | OpenAI API key from platform.openai.com/api-keys |
Setup
Get an OpenAI API key
Sign in at platform.openai.com → API Keys → Create new secret key.
Add to Rapida vault
In the Rapida dashboard → Credentials → Create Credential, select provider OpenAI, enter
key = your API key.Supported Models
| Model | Context | Notes |
|---|---|---|
gpt-4o | 128k | Best balance of speed and capability |
gpt-4o-mini | 128k | Fastest, lowest cost |
gpt-4-turbo | 128k | High-capability |
gpt-4 | 8k | Legacy |
gpt-3.5-turbo | 16k | Low cost |
Model Parameters
| Key | Supported | Notes |
|---|---|---|
model.name | ✅ | Required |
model.temperature | ✅ | 0.0–2.0 |
model.max_tokens | ✅ | |
model.top_p | ✅ | |
model.stop | ✅ | Array of stop sequences |
model.tool_choice | ✅ | auto, none, required |
model.frequency_penalty | ✅ | -2.0–2.0 |
model.presence_penalty | ✅ | -2.0–2.0 |
model.seed | ✅ | Deterministic output |
model.response_format | ✅ | json_object, text |
model.reasoning_effort | ✅ | low, medium, high (o-series models) |