What is Samurai AI?
Samurai AI is a unified AI API gateway giving you access to 400+ cutting-edge AI models through a single OpenAI-compatible endpoint — at 50% of the original provider price.Quick Start
First API call in under 5 minutes.
Authentication
Get your API key and start building.
Browse Models
GPT-4.1, Claude Opus 4, Gemini 2.5 Pro, and 400+ more.
API Playground
Test every endpoint live in your browser.
Base URL
Why Samurai AI?
50% Cheaper
gpt-4o for **2.50 direct). claude-3-5-sonnet for **3.00). Every model, every time.OpenAI Compatible
Change
base_url and your API key. Everything else — SDKs, streaming, function calling, vision — works exactly the same.400+ Models
Chat, image (DALL-E 3, Flux), video (Sora, Veo 3), audio (Whisper, TTS), embeddings — all in one API.
One-Line Migration
Compatible Libraries
| Library | Language | How to Configure |
|---|---|---|
openai | Python / Node.js | base_url / baseURL |
langchain | Python / JS | openai_api_base |
llama_index | Python | api_base |
@ai-sdk/openai | TypeScript | baseURL in createOpenAI() |
litellm | Python | api_base param |
No special SDK needed. Any library that supports a custom
base_url works instantly.Setting up
Get your documentation site up and running in minutes.Start here
Follow our three step quickstart guide.
Make it yours
Design a docs site that looks great and empowers your users.Edit locally
Edit your docs locally and preview them in real time.
Customize your site
Customize the design and colors of your site to match your brand.
Set up navigation
Organize your docs to help users find what they need and succeed with your product.
API documentation
Auto-generate API documentation from OpenAPI specifications.
Create beautiful pages
Everything you need to create world-class documentation.Write with MDX
Use MDX to style your docs pages.
Code samples
Add sample code to demonstrate how to use your product.
Images
Display images and other media.
Reusable snippets
Write once and reuse across your docs.
Need inspiration?
See complete examples
Browse our showcase of exceptional documentation sites.