Skip to content

onedotnet/soxai-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SoxAI Examples

Code examples for SoxAI — the unified AI API gateway that gives you access to 200+ AI models through a single OpenAI-compatible endpoint.

What is SoxAI?

SoxAI is an AI API gateway that sits between your application and AI providers (OpenAI, Anthropic, Google, DeepSeek, etc.). You get:

  • One API key for 200+ models from 40+ providers
  • Automatic failover — if one provider goes down, requests route to another
  • Team management — per-developer API keys with spending limits
  • OpenAI SDK compatible — just change base_url, your existing code works

Quick Start

# Sign up at https://console.soxai.io/register (free $5 credit, no card required)
# Get your API key from the dashboard
export SOXAI_API_KEY="sox-your-key-here"

Examples

Python

Node.js / TypeScript

Go

cURL

CLI Tools

Supported Models (Partial List)

Provider Models
OpenAI GPT-4o, GPT-4o Mini, GPT-4.1, o3, o4-mini
Anthropic Claude Opus 4.6, Claude Sonnet 4.6, Claude Haiku 4.5
Google Gemini 2.5 Pro, Gemini 2.5 Flash
DeepSeek DeepSeek V3, DeepSeek R1
Meta Llama 4 Scout, Llama 4 Maverick
And 35+ more providers... Full model list →

Links

License

MIT