v0.8 ships chat, embeddings, TTS, STT, full-duplex
realtime, and rerank — against every major LLM
vendor plus specialist audio, embedding, realtime, and
rerank shops. Structured outputs (JSON Schema) work
cross-vendor on the chat surface. A new
router package picks the right provider
from the model id + available credentials.
CHAT
18 chat providers
OpenAI, Anthropic, Azure OpenAI,
Azure Foundry Anthropic,
Azure Foundry Serverless
(Llama / Mistral / Cohere / Phi / DeepSeek), Bedrock,
Vertex, Vertex Anthropic,
Gemini, Cohere, Mistral — plus OpenRouter,
Together, Groq, DeepSeek, Fireworks, xAI, Perplexity,
Cerebras via the OpenAI-compatible path.
M×P
The router (new in v0.8)
router.Resolve(Request{Model, Platform, Credentials})
returns a working Provider. 12 platforms
× 9 model families. Pass
PlatformAuto and the router picks the
first platform with credentials present. See
The Router.
EMB
11 embedding providers
OpenAI, Azure, Bedrock (Titan + Cohere), Vertex,
Gemini, Cohere, Mistral, Together,
Fireworks, DeepSeek,
and Voyage AI — the canonical
pairing for Anthropic Claude.
TTS
5 text-to-speech providers
OpenAI tts-1 / tts-1-hd,
Azure, Gemini, ElevenLabs for highest
quality, and Cartesia Sonic-2 for
sub-100 ms latency real-time agents.
STT
5 speech-to-text providers
OpenAI Whisper, Azure Whisper, Groq Whisper, Gemini
audio understanding, ElevenLabs Scribe,
and Deepgram Nova-3 — now with
WebSocket live transcription on Deepgram (v0.4).
RT
Realtime voice agents
OpenAI Realtime (now with typed
tool use) and Gemini Live for
full-duplex audio + text, plus
SpeakRealtime on
Cartesia and
ElevenLabs for multi-turn TTS. See
Realtime sessions.
JSON
Structured outputs
One ChatRequest.ResponseSchema field,
three wire translations: native
response_format on OpenAI, forced
tool-use on Anthropic, ResponseMIMEType
on Vertex / Gemini. See
Structured outputs.
RNK
Rerank for RAG
One Reranker interface across
Cohere (rerank-v3.5),
Voyage (rerank-2),
and Together
(Llama-Rank-V1). Second-stage filter
for any RAG pipeline. See
Rerank.
URL
Any OpenAI-compatible endpoint
One WithBaseURL call points the OpenAI
provider at OpenRouter, Together, Groq, vLLM, Ollama,
LM Studio, or your private model behind a firewall.
No new SDK per vendor.
A2
Apache-2.0, pre-1.0
Apache-2.0 licensed. Currently v0.8.x — expect
minor API churn between minor versions until v1.0
freezes the surface. Patch versions never break the
API.