Parasail
Overview
Section titled “Overview”Parasail is an OpenAI-compatible provider offering high-performance inference. DeepIntShield 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
Section titled “Supported Operations”| Operation | Non-Streaming | Streaming | Endpoint |
|---|---|---|---|
| Chat Completions | ✅ | ✅ | /v1/chat/completions |
| Responses API | ✅ | ✅ | /v1/chat/completions |
| List Models | ✅ | - | /v1/models |
| Text Completions | ❌ | ❌ | - |
| Embeddings | ❌ | ❌ | - |
| Image Generation | ❌ | ❌ | - |
| Speech (TTS) | ❌ | ❌ | - |
| Transcriptions (STT) | ❌ | ❌ | - |
| Files | ❌ | ❌ | - |
| Batch | ❌ | ❌ | - |
1. Chat Completions
Section titled “1. Chat Completions”Request Parameters
Section titled “Request Parameters”Parasail supports all standard OpenAI chat completion parameters. For full parameter reference and behavior, see OpenAI Chat Completions.
Filtered Parameters
Section titled “Filtered Parameters”Removed for Parasail compatibility:
prompt_cache_key- Not supportedverbosity- Anthropic-specificstore- Not supportedservice_tier- Not supported
Reasoning Parameter
Section titled “Reasoning Parameter”Reasoning via standard OpenAI format:
{ "model": "parasail-llama-33-70b-fp8", "messages": [...], "reasoning_effort": "high"}Parasail supports all standard OpenAI message types, tools, responses, and streaming formats. For details on message handling, tool conversion, responses, and streaming, refer to OpenAI Chat Completions.
2. Responses API
Section titled “2. Responses API”Converted internally to Chat Completions:
ResponsesRequest → ChatRequest → ChatCompletion → ResponsesResponseSame parameter support as Chat Completions.
3. List Models
Section titled “3. List Models”Lists available Parasail models with capabilities and context information.
Unsupported Features
Section titled “Unsupported Features”| Feature | Reason |
|---|---|
| Text Completions | Not offered by Parasail API |
| Embedding | Not offered by Parasail API |
| Image Generation | 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
Section titled “Caveats”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
Severity: Low Behavior: OpenAI-specific parameters filtered out Impact: prompt_cache_key, verbosity, store removed Code: filterOpenAISpecificParameters
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