Onie AI API
One API for Claude, Gemini, DeepSeek, GLM, Kimi & GPT-OSS. Compatible with OpenAI & Anthropic Claude SDKs. Up to 40% below list price. Start with just $5.
Why Onie AI API?
Works with OpenAI & Anthropic Claude SDKs. Switch your base URL, keep your code.
2 SDKs Compatible
Works with OpenAI SDK and Anthropic Claude SDK. Change one line of code, keep everything else.
Up to 40% Cheaper
Claude Sonnet 5 at $1.20/1M input — up to 40% below list price. GPT-OSS 120B from just $0.0216/1M tokens.
2 Key Formats
OpenAI (sk-onie-) and Claude (sk-ant-onie-) key formats supported.
Spending Limits
Set spending limits per API key. Auto-stop when limit reached. Never overspend.
Real-time Usage
Track tokens, costs, and requests in real-time. Per-model and per-key analytics.
Streaming Support
Full streaming support for real-time text generation. SSE protocol compatible.
Models & Pricing
Choose the right model for your workload. All prices per 1 million tokens.
Flagship Models
Best quality for complex tasks. Deep reasoning, creative writing, and advanced analysis.
Input/1M
$6.00 ≈150.000₫
Output/1M
$30.00 ≈750.000₫
Context
200K
ID
claude-fable-5Input/1M
$3.00 ≈75.000₫
Output/1M
$15.00 ≈375.000₫
Context
200K
ID
claude-opus-5Input/1M
$3.00 ≈75.000₫
Output/1M
$15.00 ≈375.000₫
Context
200K
ID
claude-opus-4-8Input/1M
$3.00 ≈75.000₫
Output/1M
$15.00 ≈375.000₫
Context
200K
ID
claude-opus-4-7Input/1M
$3.00 ≈75.000₫
Output/1M
$15.00 ≈375.000₫
Context
200K
ID
claude-opus-4-6Input/1M
$3.00 ≈75.000₫
Output/1M
$15.00 ≈375.000₫
Context
200K
ID
claude-opus-4-6-thinkingInput/1M
$3.00 ≈75.000₫
Output/1M
$15.00 ≈375.000₫
Context
200K
ID
claude-opus-4-5-20251101Input/1M
$9.00 ≈225.000₫
Output/1M
$45.00 ≈1.125.000₫
Context
200K
ID
claude-opus-4-1-20250805Complete Pricing Overview
Compare all models at a glance. Click any category above for details.
OpenAI & Claude SDK Compatible
Use your existing OpenAI or Anthropic Claude code. Just change the base URL and API key — everything else stays the same.
Model IDs
Call every model directly by its ID — the same ID works across both SDKs. No aliases needed.
OpenAI SDK
claude-sonnet-5Directgemini-3-flashDirectgpt-oss-120b-mediumDirectAnthropic Claude SDK
claude-opus-4-8Directclaude-sonnet-5Directclaude-haiku-4-5-20251001DirectAPI Key Formats
All formats work with the same endpoint. Choose based on your SDK.
OpenAI
sk-onie-...Python/JS SDK, LangChain, LlamaIndex
Anthropic Claude
sk-ant-onie-...Anthropic Claude SDK (Python/JS)
Base URL: https://api.onie.net/ai/v1
Quick Start
Get started in minutes with your favorite language.
from openai import OpenAI
client = OpenAI(
api_key="sk-onie-xxxxxxxxxxxx",
base_url="https://api.onie.net/ai/v1"
)
response = client.chat.completions.create(
model="claude-sonnet-5",
messages=[{"role": "user", "content": "Hello!"}],
max_tokens=100
)
print(response.choices[0].message.content)Start Building with AI
Create an API key with just $5 and start calling AI models in minutes. Compatible with OpenAI & Anthropic Claude SDKs. No vendor lock-in.
Claude, Gemini & GPT-OSS models. Up to 40% below list price.