The 2-Line Migration
Environment variables
Models
Pass a Venice model ID, a trait such asdefault or most_uncensored, or, for chat and embedding models, a familiar OpenAI-style name. Venice maps OpenAI chat and embedding model names through compatibility mapping; other endpoints, including audio, need Venice model IDs. Traits always resolve to the current model for that role — see model traits.
Browse the live catalog on Text models and Pricing. For a first-request walkthrough, see the Quickstart.
Feature compatibility
For native image options beyond the OpenAI-compatible endpoint, see Image generation.
Streaming format
Chat Completions streams use the OpenAI chunk format and end withdata: [DONE]. Two details differ:
- Usage chunk. Every stream ends with a usage chunk before
[DONE], even whenstream_options.include_usageis false. Itschoicesarray is empty and it carriesusageand acostobject. Clients that readchoices[0]on every chunk should skip chunks with no choices. - Errors after the stream starts. The HTTP status is already 200, so the error arrives as a
data:event with anerrorobject (message,type,code), followed bydata: [DONE]. When the model is overloaded, the object also includesretry_afterin seconds.
Venice-only features
Pass Venice-specific options throughextra_body as venice_parameters. Built-in web search is the usual first extra:
venice_parameters are ignored rather than rejected, so check the spelling of each key against the API reference.
The same pattern covers web scraping, citations, and Characters. If a client cannot change the request body, append a model feature suffix such as default:enable_web_search=auto.
Venice also has native video, music, web retrieval, and x402 APIs alongside the OpenAI-compatible surface.
Frameworks
Most AI frameworks work with Venice by changing the base URL:LangChain
base_url in ChatOpenAI; check_embedding_ctx_length=False on OpenAIEmbeddingsVercel AI SDK
baseURL in createOpenAILlamaIndex
api_base on the OpenAI-compatible clientCrewAI
OPENAI_API_BASE env varPydanticAI
OpenAI-compatible model with Venice base URL
Cursor
Custom API endpoint in settings
Claude Code
Route Claude Code through Venice
Codex CLI
config.toml model providerAider
OPENAI_API_BASE env varUncensored models
Venice’s private uncensored models have no content filtering, making them suitable for:- Creative writing without guardrails
- Security research and red teaming
- Honest analysis without refusal patterns
- Medical and legal information without extra disclaimers
most_uncensored trait or a current uncensored model ID from Text models.
Get Your API Key
Generate a Venice API key and start migrating in minutes