Quickstart
Get your API key
Head to your Venice API Settings and generate a new API key.For a detailed walkthrough, check out the API Key guide.
Set up your API key
Add your API key to your environment. You can export it in your shell:Or add it to a
.env file in your project:Install the SDK
Venice is OpenAI-compatible, so you can use the OpenAI SDK. If you prefer to use cURL or raw HTTP requests, you can skip this step.
Send your first request
system- Instructions for how the model should behaveuser- Your prompts or questionsassistant- Previous model responses (for multi-turn conversations)tool- Function calling results (when using tools)
Switch models by changing the model ID
Every request includes a
model ID. To use a different model, change the model value in your request. Popular choices:zai-org-glm-5- Default model for most use caseskimi-k2-6- Strong reasoning for more complex tasksclaude-opus-4-8- High-intelligence model for complex tasksvenice-uncensored-1-2- Venice’s uncensored model
View All Models
Browse the complete list of models with pricing, capabilities, and context limits
Use Venice Parameters
You can choose to enable Venice-specific features like web search using See all available parameters.
venice_parameters:Customize response behavior (optional)
Control how the model responds with parameters like temperature, max tokens, and more:Check out the Chat Completions docs for more information on all supported parameters.
Next Steps
Now that you’ve made your first requests, explore more of what Venice API has to offer:Browse Models
Compare all available models with their capabilities, pricing, and context limits
API Reference
Explore detailed API documentation with all endpoints and parameters
Structured Responses
Learn how to get JSON responses with guaranteed schemas
AI Agents Guide
Build with agent apps, coding agents, MCP tools, skills, and crypto workflows
Additional Resources
Rate Limiting
Understand rate limits and best practices for production usage
Error Codes
Reference for handling API errors and troubleshooting issues
Postman Collection
Import our complete Postman collection for easy testing
Privacy & Security
Learn about Venice’s privacy-first architecture and data handling
Need Help?
- Discord Community: Join our Discord server for support and discussions
- Documentation: Browse our complete API reference
- Status Page: Check service status at veniceai-status.com
- Twitter: Follow @AskVenice for updates