Overview
Parasail is an OpenAI-compatible provider offering high-performance inference. Bifrost delegates to the OpenAI implementation with standard parameter handling. Key characteristics:- OpenAI API compatibility - Identical request/response format
- Full streaming support - Server-Sent Events with usage tracking
- Tool calling - Complete function definition and execution
- Parameter filtering - Removes unsupported OpenAI-specific fields
- Responses API - Fallback to Chat Completions
Supported Operations
| Operation | Non-Streaming | Streaming | Endpoint |
|---|---|---|---|
| Chat Completions | ✅ | ✅ | /v1/chat/completions |
| Responses API | ✅ | ✅ | /v1/chat/completions |
| List Models | ✅ | - | /v1/models |
| Text Completions | ❌ | ❌ | - |
| Embeddings | ❌ | ❌ | - |
| Speech (TTS) | ❌ | ❌ | - |
| Transcriptions (STT) | ❌ | ❌ | - |
| Files | ❌ | ❌ | - |
| Batch | ❌ | ❌ | - |
Unsupported Operations (❌): Text Completions, Embeddings, Speech, Transcriptions, Files, and Batch are not supported by the upstream Parasail API. These return
UnsupportedOperationError.1. Chat Completions
Request Parameters
Parasail supports all standard OpenAI chat completion parameters. For full parameter reference and behavior, see OpenAI Chat Completions.Filtered Parameters
Removed for Parasail compatibility:prompt_cache_key- Not supportedverbosity- Anthropic-specificstore- Not supportedservice_tier- Not supported
Reasoning Parameter
Reasoning via standard OpenAI format:2. Responses API
Converted internally to Chat Completions:3. List Models
Lists available Parasail models with capabilities and context information.Unsupported Features
| Feature | Reason |
|---|---|
| Text Completions | Not offered by Parasail API |
| Embedding | Not offered by Parasail API |
| Speech/TTS | Not offered by Parasail API |
| Transcription/STT | Not offered by Parasail API |
| Batch Operations | Not offered by Parasail API |
| File Management | Not offered by Parasail API |
Caveats
Cache Control Stripped
Cache Control Stripped
Severity: Medium
Behavior: Cache control directives are removed from messages
Impact: Prompt caching features don’t work
Code: Stripped during JSON marshaling
Parameter Filtering
Parameter Filtering
Severity: Low
Behavior: OpenAI-specific parameters filtered out
Impact: prompt_cache_key, verbosity, store removed
Code: filterOpenAISpecificParameters
User Field Size Limit
User Field Size Limit
Severity: Low
Behavior: User field > 64 characters silently dropped
Impact: Longer user identifiers are lost
Code: SanitizeUserField enforces 64-char max

