General
What is Samurai AI?
What is Samurai AI?
How many models does Samurai AI support?
How many models does Samurai AI support?
- OpenAI: gpt-4.1, gpt-4o, gpt-4o-mini, gpt-3.5-turbo, o1, o3, o4-mini
- Anthropic: claude-opus-4-5, claude-sonnet-4, claude-3-5-sonnet, claude-3-7-sonnet
- Google: gemini-2.5-pro, gemini-2.0-flash, gemini-1.5-pro
- Meta: llama-3.3-70b, llama-3.1-8b, llama-3.2-vision
- And 400+ more models!
Can I switch between models instantly?
Can I switch between models instantly?
model parameter in your API call. No code changes needed beyond that single parameter.Do I need separate accounts for each AI provider?
Do I need separate accounts for each AI provider?
Pricing & Billing
How does pricing work?
How does pricing work?
gpt-4o: **2.50 direct from OpenAI)claude-3-5-sonnet: **3.00 from Anthropic)gemini-2.5-pro: Half the Google price
Is Samurai AI cheaper than using providers directly?
Is Samurai AI cheaper than using providers directly?
- No integration complexity — one API instead of managing many
- Unified billing — one invoice for all your AI usage
- Saved engineering time — no managing multiple keys, SDKs, or rate limits
Are there plan tiers?
Are there plan tiers?
- Free: Low-cost models (provider output price < $5/1M tokens)
- Starter: Mid-range models (20/1M tokens)
- Pro: Premium models (> $20/1M tokens)
Technical Integration
Is Samurai AI compatible with existing OpenAI code?
Is Samurai AI compatible with existing OpenAI code?
Does streaming work?
Does streaming work?
Does function calling work?
Does function calling work?
Does vision (image input) work?
Does vision (image input) work?
What about embeddings?
What about embeddings?
text-embedding-3-small, text-embedding-3-large, and other embedding models. See our Embeddings guide.What about rate limits?
What about rate limits?
How do I handle errors?
How do I handle errors?
Compatible Libraries
Which SDKs and libraries work with Samurai AI?
Which SDKs and libraries work with Samurai AI?
base_url works with Samurai AI:| 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 |
Does it work with Cursor, Windsurf, or other AI coding tools?
Does it work with Cursor, Windsurf, or other AI coding tools?
https://www.samuraiapi.in/v1 and your Samurai AI API key.Use Cases
Who benefits most from Samurai AI?
Who benefits most from Samurai AI?
Which model should I use for my use case?
Which model should I use for my use case?
- Fast responses:
gpt-4o-mini,gemini-2.0-flash - Complex reasoning:
gpt-4.1,claude-opus-4-5 - Code generation:
gpt-4.1,claude-3-7-sonnet - Creative writing:
claude-opus-4-5 - Cost-effective:
gpt-4o-mini,gemini-2.0-flash - Large context:
gemini-2.5-pro(1M+ tokens)
Can I use Samurai AI in production?
Can I use Samurai AI in production?
Support
How do I get started?
How do I get started?
- Sign up for a Samurai AI account
- Get your API key from the dashboard
- Follow our Quick Start guide to make your first request in minutes
How do I get support?
How do I get support?
- Documentation: You’re already here — use
Cmd+Kto search - Discord: Join our community
- Email: support@samuraiapi.in
- X / Twitter: Follow us @SamuraiAI_hq
Can I migrate from my current provider easily?
Can I migrate from my current provider easily?